diff --git a/.sourcemaps/main.js.map b/.sourcemaps/main.js.map index 545b09e1..d3ad0202 100755 --- a/.sourcemaps/main.js.map +++ b/.sourcemaps/main.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/pages/otp/otp.ts","../../src/providers/common-provider/camera.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/providers/constants/constants.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/input/input.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/providers/database/database.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/providers/common-provider/loading.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/pages/pd-question/pd-question-business/pd-question-business.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/aws-service/aws-service.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/providers/common-provider/toast.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAE3D;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B;QAAlD,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QACnE,OAAO,CAAC,GAAG,C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YACd,QAAQ,EAAE,QAAQ;YAClB,mBAAmB,EAAE,IAAI;SAC5B,CAAC,CAAC;QAEH,QAAQ,CAAC,OAAO,EAAE,CAAC;IACrB,CAAC;IAdY,aAAa;QADzB,yEAAU,EAAE;yCAGc,wEAAU,EAAc,sEAAe;OAFrD,aAAa,CAezB;IAAD,oBAAC;CAAA;AAfyB","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ConstantsProvider } from '../constants/constants';\r\n\r\n/*\r\n Generated class for the QuestionCategoryProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class QuestionCategoryProvider {\r\napiurl:any;\r\n constructor(public http: HttpClient,public constant:ConstantsProvider) {\r\n console.log('Hello QuestionCategoryProvider Provider');\r\n this.apiurl = constant.apiurl();\r\n }\r\n \r\n \r\n getLoadTemplate(pdid)\r\n {\r\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\r\n }\r\n saveQusetion(saveData)\r\n {\r\n let records = {'records':[saveData]};\r\n return this.http.post(this.apiurl+'savePDQuestions',records);\r\n }\r\n\r\n \r\n getAnswerTemplate(qustDetails)\r\n {\r\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\r\n }\r\n\r\n /***\r\n * Get PD Questions dropdown api\r\n * sriram\r\n */\r\n getcommondrop(tableName)\r\n {\r\n let masters = {'master_name':tableName}\r\n return this.http.post(this.apiurl+'getListOfMaster',masters);\r\n }\r\n\r\n saveForm(records)\r\n { let record = {'records':records};\r\n return this.http.post(this.apiurl+'savePDFormDetails',record);\r\n }\r\n\r\n retiverForm(records)\r\n {\r\n return this.http.post(this.apiurl+'getPDFormDetails',records);\r\n }\r\n\r\n /**Assessed Form Details API */\r\n saveassessedForms(api,saveData)\r\n {\r\n return this.http.post(this.apiurl+api,saveData);\r\n }\r\n\r\n retiverassessedForm(api,records)\r\n {\r\n return this.http.post(this.apiurl+api,records);\r\n }\r\n\r\n updatePdApplicant(editData: any) {\r\n // editData.fk_updatedby = this._aws.getlocale();\r\n // editData.updatedon = currentdate;\r\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\r\n\r\n \r\n}\r\n\r\ngetEndUseForLoan(pdid:any){\r\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid}})\r\n}\r\ngetCompaniesListsForBusiness(pdid:any){\r\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\r\n}\r\ngetStateWiseCities(stateid:any){\r\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\r\n}\r\ngetAllPersonsName(pdid:any){\r\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\r\n \r\n}\r\ngetStateCityDetails(){\r\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\r\n}\r\ngetAssetsWithLoanFromBusiness(pdid:any){\r\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\r\n\r\n}\r\n\r\n\r\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\r\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\r\n}\r\n\r\n/** For Stock Details \r\n * To Get The Products With TypeofActivity From Business \r\n **/\r\nstockFormAccess(pdid: any,companyid: any) {\r\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\r\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\r\n}\r\n\r\n\r\n\r\n/*****Save Images */\r\nsavePDImages(imagesDetails)\r\n{ \r\n let record = {'records':imagesDetails};\r\n return this.http.post(this.apiurl+'savePDPhotos',record);\r\n}\r\ngetFamilyDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\r\n}\r\ngetAddressDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdQuestionPage } from '../pd-question/pd-question';\r\nimport Chart from 'chart.js';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\r\n\r\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\r\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\r\nimport { PdQuestionBusinessPage } from '../pd-question/pd-question-business/pd-question-business'\r\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\r\n/**\r\n * Generated class for the PdQuestionCategoryPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-category',\r\n templateUrl: 'pd-question-category.html',\r\n})\r\nexport class PdQuestionCategoryPage {\r\n searchTempForm: any;\r\n searchQuestion: any;\r\n viewchange: boolean;\r\n templateAccess: boolean;\r\n bgColortempForm: any=[];\r\n bgColorqustCat: any=[];\r\n // @ViewChild('doughnutCanvas') doughnutCanvas;\r\n pdinfo: any;\r\nquestionList:any;\r\nquestionCate:any;\r\nquestionCateAccess:boolean = null;\r\nquestionfinishedList:any =[];\r\npddetails:any;\r\noverallqustioncountAccess:boolean = true;\r\ndoughnutChart: any;\r\ncompletedAccess:any;\r\nsearchitem:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,public pdstatusprovide:PdtriggerProvider) {\r\n this.pddetails = this.navParams.get('pdDetails');\r\n \r\n \r\n }\r\n\r\n ionViewCanEnter()\r\n {\r\n this.getcategoryList(); \r\n }\r\n // doughuntChart()\r\n // {\r\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\r\n \r\n // type: 'doughnut',\r\n // data: {\r\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\r\n // datasets: [{\r\n // label: '# of Votes',\r\n // data: [12],\r\n // backgroundColor: [\r\n // // 'rgba(255, 99, 132, 0.2)',\r\n // 'rgba(54, 162, 235, 0.2)',\r\n // // 'rgba(255, 206, 86, 0.2)',\r\n // // 'rgba(75, 192, 192, 0.2)',\r\n // // 'rgba(153, 102, 255, 0.2)',\r\n // // 'rgba(255, 159, 64, 0.2)'\r\n // ],\r\n // hoverBackgroundColor: [\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\",\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\"\r\n // ]\r\n // }]\r\n // }\r\n\r\n // });\r\n // }\r\n ionViewDidLoad() {\r\n this.shared.refresh();\r\n //this.doughuntChart();\r\n console.log('ionViewDidLoad PdQuestionCategoryPage');\r\n }\r\n \r\n getcategoryList()\r\n {\r\n let j = 1;\r\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\r\n {\r\n this.questionCate = res;\r\n if(this.questionCate.dataStatus == true)\r\n {\r\n \r\n this.questionCate = this.questionCate.records;\r\n this.random_ng_past(); \r\n if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\r\n {\r\n this.questionCateAccess = true;\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate;\r\n this.searchQuestion = this.questionCate.question_answers;\r\n\r\n if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n {\r\n this.overallqustioncountAccess = false;\r\n }else\r\n {\r\n this.overallqustioncountAccess = true;\r\n }\r\n \r\n \r\n \r\n \r\n \r\n }else if(this.questionCate.template_forms!='')\r\n {\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate;\r\n this.searchTempForm = this.questionCate.template_forms\r\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n // {\r\n // this.overallqustioncountAccess = false;\r\n // }else\r\n // {\r\n // this.overallqustioncountAccess = true;\r\n // }\r\n }\r\n else\r\n {\r\n this.questionCateAccess = false;\r\n this.templateAccess = false; \r\n this.questionCate = \"No Template Available\";\r\n }\r\n }\r\n })\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.questionCate.question_answers){\r\n var a = Math.floor(Math.random() * 256);\r\n var b = Math.floor(Math.random() * 256);\r\n var c = Math.floor(Math.random() * 256);\r\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\r\n \r\n }\r\n for(let id of this.questionCate.template_forms){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n questionsTag(categroyId){\r\n \r\n this.pdinfo = this.pddetails; \r\n \r\n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\r\n // if(this.questionCate.questions.length !=\"0\"){\r\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\r\n \r\n // }else\r\n // {\r\n // this.getcategoryList();\r\n // this.toast.pdTriggerappmessage('No Question Available');\r\n // }\r\n }\r\n\r\n tempQustionTag(categroyId)\r\n {\r\n this.pdinfo = this.pddetails; \r\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\r\n if(categroyId ==5)\r\n {\r\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n \r\n }else if(categroyId==12){\r\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }else if(categroyId==10)\r\n {\r\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==8){\r\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==13)\r\n {\r\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n \r\n }else if(categroyId==7)\r\n {\r\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n\r\n }else if(categroyId==6)\r\n {\r\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==4){\r\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==9){\r\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==3){\r\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==11)\r\n {\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==14)\r\n {\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==2)\r\n {\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId ==17)\r\n {\r\n this.navCtrl.push(PdQuestionRentalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }\r\n else if(categroyId==16)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==15)\r\n {\r\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==18)\r\n {\r\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==19)\r\n {\r\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }\r\n else if(categroyId==20)\r\n {\r\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n }\r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n // this.questionCate = this.searchQuestion;\r\n // this.questionCate.template_forms = this.searchTempForm;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n if(this.searchQuestion !== undefined){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\r\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n // return true;\r\n // }\r\n // })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\r\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n// return true;\r\n// }\r\n// })\r\n }\r\n }\r\n}\r\n completed()\r\n {\r\n let users = this.aws.getlocale();\r\n \r\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':'COMPLETED','fk_updatedby':users,'updatedon':currentdate};\r\n \r\n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.completedAccess = res;\r\n if(this.completedAccess.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage);\r\n }\r\n })\r\n }\r\n doRefresh(refresher) {\r\n this.questionCate = [];\r\n this.questionfinishedList = [];\r\n this.shared.refresh();\r\n this.getcategoryList();\r\n setTimeout(() => {\r\n refresher.complete();\r\n }, 2000);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { Geolocation } from '@ionic-native/geolocation'; \r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n/**\r\n * Generated class for the OtpPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-otp',\r\n templateUrl: 'otp.html',\r\n})\r\nexport class OtpPage {\r\n\r\n \r\n timeLimit: any;\r\n reason_otp: any;\r\n users: any;\r\n timerOn: boolean = true;\r\n balance_time: string;\r\n otpStatus: any;\r\n pin:any;\r\n otpStatusAccess:boolean = true;\r\n applicatentDetails: any;\r\n commonImage:any;\r\n maxtime: any=30;\r\n \r\n reasonForm:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.reasonForm = this.fb.group(\r\n {\r\n reason:[null,Validators.compose([Validators.required])],\r\n others_reason:[null],\r\n })\r\n this.getDropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad OtpPage');\r\n }\r\n ionViewDidEnter(){\r\n //this.Menu.enable(false);\r\n this.setPermission();\r\n this.timer(120);\r\n \r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n ionViewWillLeave(){\r\n //this.Menu.enable(true);\r\n clearTimeout(this.timeLimit);\r\n }\r\n getDropdown()\r\n {\r\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\r\n console.log(this.reason_otp);\r\n \r\n }\r\n })\r\n }\r\n checkotp(otp)\r\n {\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n console.log(\"Otp\",res)\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }\r\n\r\n timer(remaining) {\r\n // console.log(remaining);\r\n let m:any = Math.floor(remaining / 60);\r\n let s:any = remaining % 60;\r\n \r\n m = m < 10 ? '0' + m : m;\r\n s = s < 10 ? '0' + s : s;\r\n // var balance_time = m + ':' + s;\r\n this.balance_time = m + ':' + s;\r\n remaining -=1;\r\n // console.log(this.balance_time);\r\n if(remaining >= 0 && this.timerOn) {\r\n this.timeLimit = setTimeout(()=> {\r\n this.timer(remaining);\r\n }, 1000);\r\n return;\r\n }\r\n \r\n if(!this.timerOn) {\r\n // Do validate stuff here\r\n return;\r\n }\r\n \r\n // Do timeout stuff here\r\n this.users = this.aws.getlocale();\r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'OTP Expired ',\r\n message: 'Do you want sure resend OTP',\r\n buttons: [\r\n {\r\n text: 'OTP Without Start',\r\n \r\n handler: () => {\r\n \r\n this.otpStatusAccess = false;\r\n }\r\n },\r\n {\r\n text: 'Resend OTP',\r\n handler: () => {\r\n \r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\r\n console.log(data);\r\n this.pddetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.timer(60);\r\n })\r\n });\r\n // console.log('Buy clicked');\r\n \r\n } \r\n }\r\n \r\n ]\r\n \r\n });\r\n alert.present();\r\n }\r\n \r\n saveotpreasno()\r\n {\r\n console.log(this.reasonForm.value);\r\n if(this.reasonForm.valid)\r\n {\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Camera } from '@ionic-native/camera';\r\n/*\r\n Generated class for the CameraProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class CameraProvider {\r\n\r\n constructor(public http: HttpClient,public camera:Camera) {\r\n console.log('Hello CameraProvider Provider');\r\n }\r\n getpicture() \r\n {\r\n const options = {\r\n quality: 100,\r\n destinationType: this.camera.DestinationType.DATA_URL,\r\n targetWidth: 500,\r\n targetHeight: 500,\r\n correctOrientation: true\r\n };\r\n\r\n // If set to crop, restricts the image to a square of 600 by 600\r\n \r\n\r\n return this.camera.getPicture(options).then(imageData => {\r\n const base64Image = 'data:image/png;base64,' + imageData;\r\n // console.log(base64Image);\r\n return base64Image;\r\n }, error => {\r\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionSupplierInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-supplier-info',\r\n templateUrl: 'pd-question-supplier-info.html',\r\n})\r\n\r\nexport class PdQuestionSupplierInfoPage {\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n company_id: any;\r\n form_id: any;\r\n questionDetails: any;\r\n supplierInfoForm: FormGroup;\r\n\r\n business_manufacturingProducts: any = [];\r\n business_tradingProducts: any = [];\r\n m_titleList: any = [];\r\n m_paymentList: any = [];\r\n m_companyRelationShipList: any = [];\r\n\r\n noRecordsFound: Boolean = false;\r\n public submitted = false;\r\n errorMessage: any = '';\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider) {\r\n\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id = this.pdDetails.company_id;\r\n this.users = this.aws.getlocale();\r\n\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n this.business_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n\r\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropList();\r\n }\r\n\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\r\n }\r\n\r\n\r\n serviceProviderForm: Boolean = false;\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.pd_id = this.pdDetails.pd_id;\r\n params.pd_form_id = this.form_id;\r\n params.company_id = this.company_id;\r\n\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus'] == true) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details[0] != null){\r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\r\n }\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details[0] != null){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.serviceProviderForm = true;\r\n }\r\n } else {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.serviceProviderForm = true;\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [''],\r\n manufacturing_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: [''],\r\n manufacturing_frequency_of_purchase: [''],\r\n person_stdcode: [''],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [''],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\r\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\r\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\r\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\r\n person_stdcode: [records.person_stdcode || null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline || null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n person_title_name: [records.person_title_name],\r\n person_designation: [records.person_designation],\r\n other_person_designation: [records.other_person_designation],\r\n trade_supplier_name: [records.trade_supplier_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\r\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [records.person_stdcode],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.m_companyRelationShipList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n\r\n\r\n saveSupplierInfo(FormValues) {\r\n\r\n var answerFormValues = FormValues;\r\n\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n e == 1 ? '' : '';\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n e == 1 ? '' : '';\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n checkCard(e, flag, index) {\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n }\r\n\r\n selectedPaymentTerms(items, e, flag) {\r\n if (flag == 2) {\r\n if (e == 3) {\r\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\r\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['trade_product_credit_days_from'].clearValidators();\r\n items.controls['trade_product_credit_days_from'].setValue('');\r\n items.controls['trade_product_credit_days_to'].clearValidators();\r\n items.controls['trade_product_credit_days_to'].setValue('');\r\n }\r\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\r\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\r\n }\r\n else if (flag == 1) {\r\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\r\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['manufacturing_credit_days_from'].clearValidators();\r\n items.controls['manufacturing_credit_days_from'].setValue('');\r\n items.controls['manufacturing_credit_days_to'].clearValidators();\r\n items.controls['manufacturing_credit_days_to'].setValue('');\r\n }\r\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\r\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionStockInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-stock-info',\r\n templateUrl: 'pd-question-stock-info.html',\r\n})\r\nexport class PdQuestionStockInfoPage {\r\n\r\n uomData: any;\r\n rawmaterial: any;\r\n users: any;\r\n formDetails: any;\r\n pdDetails: any;\r\n company_id : any;\r\n pdid:any;\r\n stockForm: FormGroup;\r\n noRecordsFound: Boolean;\r\n errorMessage: any = '';\r\n M_rawValueInWords : any = []; \r\n M_goodsValueInWords : any = [];\r\n R_tradedGoodsValueInWords : any = [];\r\n T_tradedGoodsValueInWords : any = [];\r\n mrmCommentFlag:any=[];\r\n mfgCommentFlag:any=[];\r\n rtrdCommentFlag:any=[];\r\n wtrdCommentFlag:any=[];\r\n serviceProviderForm: Boolean = false;\r\n suppliers_raw_materials : any = [];\r\n suppliers_retail_trade_details : any = [];\r\n suppliers_wholesale_trade_details : any = [];\r\n suppliers_finished_goods : any =[];\r\n finishedAndTradedGoodsCommentCard:boolean;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.pdid=this.pdDetails.pd_id;\r\n this.qustCat.stockFormAccess(this.pdid,this.company_id).subscribe(data => {\r\n if(data.dataStatus == true){\r\n this.initstockForm(data.record);\r\n }\r\n else if(data.dataStatus == false)\r\n {\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID '+ this.company_id ); \r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id +'! ....';\r\n return;\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID '+ this.company_id ); \r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id +'! ....';\r\n return;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropdown();\r\n }\r\n\r\n public initstockForm(record){\r\n let api = Object.keys(record.from_business).map(function (key) {\r\n return record.from_business[key];\r\n });\r\n\r\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\r\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\r\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\r\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\r\n\r\n\r\n let rm_api = record.from_supplier;\r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(value => {\r\n if (value['status'] == 200) {\r\n let dataForm = value['records']; \r\n if(dataForm !== undefined) {\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [dataForm.stock_remarks],\r\n\r\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\r\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\r\n is_sufficiant_finished_and_traded_goods:[dataForm.is_sufficiant_finished_and_traded_goods],\r\n finished_and_traded_goods_remarks:[dataForm.finished_and_traded_goods_remarks],\r\n\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(api)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(api)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\r\n let manufacturing_temparr = [];\r\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials; \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\r\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods; \r\n this.initManufacturingDetails(manufacturing_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n let retail_temparr = [];\r\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\r\n \r\n this.initRetailDetails(retail_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n let trading_temparr = [];\r\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\r\n console.log(\"Trade\",trading_temparr)\r\n this.initTradingDetails(trading_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n this.serviceProviderForm = true;\r\n }\r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n else{\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [''],\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods:[''],\r\n finished_and_traded_goods_remarks:[''],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(record.from_business)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record.from_business)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.initManufacturingDetails(null); \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null); \r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details = val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details =val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n // this.suppliers_service_product = val.products;\r\n this.serviceProviderForm = true;\r\n } \r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n }\r\n else {\r\n console.log(\"Record\",record)\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [''],\r\n\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods:[''],\r\n finished_and_traded_goods_remarks:[''],\r\n \r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(record.from_business)]),\r\n \r\n trade_details: this.fb.array([this.tradingFormCreation(record.from_business)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.suppliers_raw_materials = rm_api;\r\n this.initManufacturingDetails(null); \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details= val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details = val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n // this.suppliers_service_product = val.products;\r\n this.serviceProviderForm = true;\r\n } \r\n } \r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\r\n }\r\n\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('UOM').subscribe(data => {\r\n if(data['dataStatus']==true){\r\n this.uomData = data['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(record) {\r\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\r\n let rm_arr = record.from_supplier;\r\n //console.log(\"Manufacturing \",arr);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n is_sufficiant_raw: [],\r\n rawmaterial_remarks:[],\r\n manufacturing_raw_materials: this.fb.array([]),\r\n manufacturing_finished_goods: this.fb.array([]),\r\n })\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n retailForm: Boolean = false;\r\n retailFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 3);\r\n // console.log(\"retail Form \",arr);\r\n if (arr.length > 0) {\r\n // if(arr.products != undefined){\r\n this.retailForm = true;\r\n return this.fb.group({\r\n retail_traded_goods: this.fb.array([])\r\n }); \r\n // }else{\r\n // this.retailForm = false;\r\n // return;\r\n // } \r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n \r\n let arr = val.filter(data => data.type_of_activity_id == 4);\r\n \r\n if (arr.length > 0) {\r\n \r\n // if(arr.products === undefined){\r\n \r\n // this.tradingForm = false;\r\n // return;\r\n // }\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_traded_goods: this.fb.array([])\r\n }); \r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingDetails(datas) {\r\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; \r\n if(datas === null){\r\n if(this.suppliers_raw_materials.length > 0){\r\n this.suppliers_raw_materials.forEach(val => {\r\n let Ref_RawMaterials : any = {'raw_name': val,\r\n 'stock_observed':'',\r\n 'raw_quantity': '',\r\n 'raw_uom': '',\r\n 'other_uom': '',\r\n 'raw_value': '',\r\n 'is_sufficiant_raw': '',\r\n 'rawmaterial_remarks':''};\r\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials)); \r\n });\r\n }\r\n else{ \r\n rawMaterial.push(this.createRawmaterial(null)); \r\n } \r\n if(this.suppliers_finished_goods.length > 0){\r\n this.suppliers_finished_goods.forEach(val => {\r\n let Ref_Finished_Goods : any = {'goods_name': val,\r\n 'goods_observed': '',\r\n 'goods_quantity': '',\r\n 'goods_uom': '',\r\n 'goods_other_uom': '',\r\n 'goods_value': '',\r\n 'is_sufficiant_goods': '',\r\n 'finishedgoods_remarks':''};\r\n finishedGoods.push(this.createGoods(Ref_Finished_Goods)); \r\n });\r\n }\r\n else{ \r\n finishedGoods.push(this.createGoods(null)); \r\n }\r\n } else {\r\n if(datas.manufacturing_raw_materials != undefined){\r\n datas.manufacturing_raw_materials.forEach((val,index) => {\r\n if(val.raw_value){\r\n this.inWords(val.raw_value,1,index);\r\n }\r\n this.checkComments(val.is_sufficiant_raw,1,index);\r\n rawMaterial.push(this.createRawmaterial(val)); \r\n });\r\n }\r\n else{\r\n rawMaterial.push(this.createRawmaterial(null)); \r\n }\r\n if(datas.manufacturing_finished_goods != undefined){ \r\n datas.manufacturing_finished_goods.forEach((val,index) => {\r\n if(val.goods_value){\r\n this.inWords(val.goods_value,2,index);\r\n }\r\n this.checkComments(val.is_sufficiant_goods,2,index);\r\n finishedGoods.push(this.createGoods(val)); \r\n \r\n });\r\n }\r\n else{\r\n finishedGoods.push(this.createGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n createRawmaterial(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n raw_name: [''],\r\n stock_observed:[''],\r\n raw_quantity: [''],\r\n raw_uom: [''],\r\n other_uom : [''],\r\n raw_value: [''],\r\n is_sufficiant_raw: [''],\r\n rawmaterial_remarks:['']\r\n })\r\n } else { \r\n return this.fb.group({\r\n raw_name: [records.raw_name],\r\n stock_observed:[records.stock_observed],\r\n raw_quantity: [records.raw_quantity],\r\n raw_uom: [records.raw_uom],\r\n other_uom : [records.other_uom],\r\n raw_value: [records.raw_value],\r\n is_sufficiant_raw: [records.is_sufficiant_raw],\r\n rawmaterial_remarks:[records.rawmaterial_remarks]\r\n })\r\n }\r\n }\r\n \r\n initRetailDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n if(datas === null){\r\n if(this.suppliers_retail_trade_details.length > 0){\r\n // this.rawMaterialAccess = true;\r\n this.suppliers_retail_trade_details.forEach(val => {\r\n let Ref_Trade_Goods : any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n 'is_sufficiant_traded_goods': '',\r\n 'traded_goods_remarks':''};\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); \r\n });\r\n }\r\n else{ \r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n } else {\r\n if(datas.retail_traded_goods !== undefined){\r\n datas.retail_traded_goods.forEach((val,index) => {\r\n if(val.estimated_traded_goods_value){\r\n this.inWords(val.estimated_traded_goods_value,3,index);\r\n }\r\n this.checkComments(val.is_sufficiant_traded_goods,3,index);\r\n tradedGoods.push(this.createTradedGoods(val)); \r\n });\r\n }\r\n else{\r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n\r\n createGoods(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n goods_name: [''],\r\n goods_observed: [''],\r\n goods_quantity: [''],\r\n goods_uom: [''],\r\n goods_other_uom: [''],\r\n goods_value: [''],\r\n is_sufficiant_goods: [''],\r\n finishedgoods_remarks:['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n goods_name: [records.goods_name],\r\n goods_observed: [records.goods_observed],\r\n goods_quantity: [records.goods_quantity],\r\n goods_uom: [records.goods_uom],\r\n goods_other_uom: [records.goods_other_uom],\r\n goods_value: [records.goods_value],\r\n is_sufficiant_goods: [records.is_sufficiant_goods],\r\n finishedgoods_remarks:[records.finishedgoods_remarks]\r\n })\r\n }\r\n }\r\n\r\n initTradingDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; \r\n if(datas === null){\r\n if(this.suppliers_wholesale_trade_details.length > 0){\r\n this.suppliers_wholesale_trade_details.forEach(val => {\r\n let Ref_Trade_Goods : any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n 'is_sufficiant_traded_goods': '',\r\n 'traded_goods_remarks':''};\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); \r\n });\r\n }\r\n else{ \r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n\r\n } else {\r\n if(datas.trading_traded_goods !==undefined)\r\n {\r\n datas.trading_traded_goods.forEach((val,index) => { \r\n if(val.estimated_traded_goods_value){\r\n this.inWords(val.estimated_traded_goods_value,4,index);\r\n }\r\n this.checkComments(val.is_sufficiant_traded_goods,4,index);\r\n tradedGoods.push(this.createTradedGoods(val)); \r\n });\r\n }\r\n else{\r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n createTradedGoods(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n traded_goods_name: [''],\r\n traded_goods_observed: [''],\r\n traded_goods_quantity: [''],\r\n traded_goods_uom: [''],\r\n traded_goods_other_uom: [''],\r\n estimated_traded_goods_value: [''],\r\n is_sufficiant_traded_goods: [''],\r\n traded_goods_remarks:['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n traded_goods_name: [records.traded_goods_name],\r\n traded_goods_observed: [records.traded_goods_observed],\r\n traded_goods_quantity: [records.traded_goods_quantity],\r\n traded_goods_uom: [records.traded_goods_uom],\r\n traded_goods_other_uom: [records.traded_goods_other_uom],\r\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\r\n is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\r\n traded_goods_remarks:[records.traded_goods_remarks]\r\n })\r\n }\r\n }\r\n \r\n /** Manufacturing -> To Add More Raw Material Details */\r\n addRawMaterials(flag) {\r\n if(flag==1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.push(this.createRawmaterial(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Raw Material Details */\r\n deleteRawMaterials(index,flag) {\r\n if(flag==1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Add More Finished Goods */\r\n addGoods(flag) {\r\n if(flag == 1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.push(this.createGoods(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Finished Goods */\r\n deleteGoods(index,flag) {\r\n if(flag == 1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To Add More trade Goods\r\n * Case 2 wholesale Traded -> To Add More trade Goods\r\n */\r\n addTradedGoods(flag) {\r\n switch(flag){\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To remove trade Goods\r\n * Case 2 wholesale Traded -> To remove trade Goods\r\n */\r\n deleteTradedGoods(index,flag) {\r\n switch(flag){\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n \r\n //const control = this.stockForm.controls['traded_goods'];\r\n\r\n }\r\n\r\n checkComments(e,flag,index){\r\n if(flag == 1 && e=='no'){\r\n this.mrmCommentFlag[index] = true;\r\n }\r\n else if(flag == 1 && e!='no'){\r\n this.mrmCommentFlag[index] = false;\r\n }\r\n if(flag == 2 && e=='no'){\r\n this.mfgCommentFlag[index] = true;\r\n }\r\n else if(flag == 2 && e!='no'){\r\n this.mfgCommentFlag[index] = false;\r\n }\r\n if(flag == 3 && e=='no'){\r\n this.rtrdCommentFlag[index] = true;\r\n }\r\n else if(flag == 3 && e!='no'){\r\n this.rtrdCommentFlag[index] = false;\r\n }\r\n if(flag == 4 && e=='no'){\r\n this.wtrdCommentFlag[index] = true;\r\n }\r\n else if(flag == 4 && e!='no'){\r\n this.wtrdCommentFlag[index] = false;\r\n }\r\n }\r\n\r\n /** To Save/Edited Popup Data */\r\n saveStockInfo(answerFormValues) {\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if(responsed['status'] == 200) { \r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }else{\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); \r\n }\r\n });\r\n }\r\n\r\n inWords(e,flag:number,i){\r\n switch(flag){\r\n case 1 :\r\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 2 : \r\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 3 : \r\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 4 : \r\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\r\nimport { FormGroup,Validators,FormBuilder, FormArray } from '@angular/forms'\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionFinancialInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-financial-info',\r\n templateUrl: 'pd-question-financial-info.html',\r\n})\r\nexport class PdQuestionFinancialInfoPage {\r\n \r\n public financialForm: FormGroup;\r\n\r\n pdDetails:any;\r\n FormId:any;\r\n users:any;\r\n company_id:any;\r\n isDisplay:boolean;\r\n customerCommentsFlag:boolean;\r\n FY_annualSalesInwords: any =[]\r\n FY_netProfitAmtInwords: any=[]\r\n FY_netLossAmtInwords: any=[]\r\n AV_annualSalesInwords: any=[]\r\n AV_netProfitAmtInwords: any=[]\r\n AV_netLossAmtInwords: any=[]\r\n AV_netProfitAmtFrmInwords: any=[]\r\n AV_netProfitAmtToInwords: any=[]\r\n AV_netLossAmtFrmInwords: any=[]\r\n AV_netLossAmtToInwords: any=[]\r\n AV_SalesFrmInwords: any=[]\r\n AV_SalesToInwords: any=[]\r\n AV_SalesInwords: any=[];\r\n AV_marginProfitAmtInwords: any=[];\r\n AV_marginLossAmtInwords: any=[];\r\n formDetails: any;\r\n\r\n av : any =[{id:6, name:'Letter of Credit'},\r\n {id:2, name:'Bank Guarantee'},\r\n {id:3, name:'Cash Credit Limit'},\r\n {id:7, name:'OD Limit'},\r\n {id:4, name:'Factoring'},\r\n {id:5, name:'Forfaiting'},\r\n {id:1, name:'Others'}]\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\r\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.FormId = this.formDetails.form_id;\r\n // this.FormId=this.navParams.get('FormId');\r\n this.company_id=this.pdDetails.company_id\r\n this.users=this.aws.getlocale();\r\n \r\n this.initFinancialForm()\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\r\n this.getDetails()\r\n }\r\n\r\n selectedStatement(e :any):void{\r\n\r\n if(e == 'yes'){\r\n\r\n this.isDisplay = true;\r\n this.financialForm.controls['is_financial_customer'].setValue('');\r\n \r\n }\r\n else if(e == 'no'){\r\n\r\n this.isDisplay = false;\r\n this.financialForm.controls['is_financial_customer'].setValue('no');\r\n // this.selectedFinancialCustomer('no');\r\n \r\n const statementControl = this.financialForm.controls['date_per_financial'];\r\n \r\n while (statementControl.length !== 0) {\r\n statementControl.removeAt(0);\r\n }\r\n\r\n this.financialForm.controls['financial_starting_year'].setValue('');\r\n this.financialForm.controls['financial_no_of_year'].setValue('');\r\n\r\n // alert((new Date()).getFullYear());\r\n // let year1 = (new Date()).getFullYear();\r\n // let year2 = ((new Date()).getFullYear() + 1); \r\n // let Year = year1 +'-'+ year2;\r\n \r\n }\r\n\r\n}\r\n /** fin customer data from Fin statement*/\r\n selectedFinancialCustomer(e: any): void {\r\n if(e == 'yes'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n }\r\n else if (e == 'no'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n control.push(this.createValue('')); \r\n }\r\n }\r\n\r\n selectedProfitOrLossType(e,detail){\r\n \r\n if(e.value == 1){\r\n detail.controls.financial_net_loss.setValue('');\r\n detail.controls.financial_margin_of_loss.setValue('');\r\n }\r\n else if(e.value == 2){\r\n detail.controls.financial_net_profit.setValue('');\r\n detail.controls.financial_margin_of_profit.setValue('');\r\n }\r\n}\r\n\r\n\r\n /** For Auto-generating FinYear */\r\n dynamicalFinYear($event){\r\n \r\n let e = $event.target.value;\r\n if(e == 1){\r\n this.customerCommentsFlag = false;\r\n }\r\n else{\r\n this.customerCommentsFlag = true;\r\n }\r\n\r\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\r\n\r\n const control = this.financialForm.controls['date_per_financial'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\r\n control.push(this.createDate(Year));\r\n }\r\n }\r\n}\r\n\r\n\r\n initFinancialForm(){\r\n this.financialForm = this.fb.group({\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId,\r\n company_id: this.company_id,\r\n fk_createdby: this.users,\r\n financial_remarks: [''],\r\n is_financial_statements:[''],\r\n is_financial_customer:[''],\r\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n financial_no_of_year : [''],\r\n financial_reason: [''],\r\n financial_customer:[''],\r\n receive_the_money_in_days:[''],\r\n pay_the_money_in_days:[''],\r\n unsold_stock_lies_in_days:[''],\r\n is_there_working_capital_available:[''],\r\n working_capital_facilities_availed:[''],\r\n reason_for_working_capital_facilities_availed:[''],\r\n // same_as_financial_statements:[''],\r\n date_per_financial: this.fb.array([]),\r\n estimated_value: this.fb.array([])\r\n });\r\n }\r\n createDate(date){\r\n return this.fb.group({\r\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\r\n finanical_profit_or_loss:[''],\r\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_margin_of_profit: [''],\r\n financial_margin_of_loss: [''],\r\n financial_variation: [''],\r\n financial_profit_to_sale_variation:[''],\r\n financial_annualsales_variation : [''],\r\n })\r\n }\r\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\r\n createValue(date) {\r\n return this.fb.group({\r\n \r\n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n estimate_sales_from: [''],\r\n estimate_sales_to: [''],\r\n estimate_sales_average: [''],\r\n estimate_profit_or_loss:[''],\r\n estimate_net_margin_availablity:[''],\r\n estimate_profit_range_from:[''],\r\n estimate_profit_range_to:[''],\r\n estimate_profit_margin_percent:[''],\r\n estimate_profit_margin:[''],\r\n estimate_net_profit_from:[''],\r\n estimate_net_profit_to:[''],\r\n estimate_net_profit_percent:[''],\r\n estimate_net_profit:[''],\r\n estimate_loss_range_from:[''],\r\n estimate_loss_range_to:[''],\r\n estimate_loss_margin_percent:[''],\r\n estimate_loss_margin:[''],\r\n estimate_net_loss_from:[''],\r\n estimate_net_loss_to:[''],\r\n estimate_net_loss_percent:[''],\r\n estimate_net_loss:[''],\r\n estimate_reason_for_loss:[''],\r\n estimate_receive_the_money_in_days:[''],\r\n estimate_pay_the_money_in_days:[''],\r\n estimate_unsold_stock_lies_in_days:[''],\r\n estimate_working_capital_facilities_availed:[''],\r\n reason_for_working_capital_facilities_availed:[''],\r\n is_there_working_capital_available:['']\r\n\r\n });\r\n}\r\nsubmitDetails(){\r\n \r\n \r\n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n}\r\n let records=this.financialForm.value;\r\n this.qustCat.saveForm(records).subscribe(res=>{\r\n if(res['status']== 200){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n this.navCtrl.pop()\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\r\n }\r\n },err=>{\r\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\r\n })\r\n}\r\n getDetails(){\r\n const financeDate=this.financialForm.controls['date_per_financial']\r\n //financeDate.push(this.createDate(''))\r\n const estimate= this.financialForm.controls['estimated_value']\r\n //estimate.push(this.createValue(''))\r\n let params:any={}\r\n params.pd_id=this.pdDetails.pd_id\r\n params.pd_form_id=this.FormId\r\n params.company_id=this.company_id\r\n this.qustCat.retiverForm(params).subscribe(value=>{\r\n if(value['dataStatus']==true){\r\n let retrieveData=value['records'];\r\n if(value['records'].is_financial_statements == 'yes'){\r\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\r\n return value['records'].date_per_financial[key]\r\n })\r\n if(result.length>0){\r\n this.customerCommentsFlag=result.length == 1 ? false : true\r\n result.forEach((val,index)=>{\r\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\r\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\r\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\r\n financeDate.push(this.createDate(''));\r\n });\r\n retrieveData.date_per_financial=result;\r\n }\r\n else{\r\n financeDate.push(this.createDate(''))\r\n }\r\n }\r\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\r\n return value['records'].estimated_value[key]\r\n });\r\n if(result_val.length>0){\r\n result_val.forEach((val,index)=>{\r\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\r\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\r\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\r\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\r\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\r\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\r\n estimate.push(this.createValue(''))\r\n });\r\n retrieveData.estimated_value=result_val\r\n }\r\n else{\r\n estimate.push(this.createValue(''));\r\n }\r\n retrieveData.pdid=this.pdDetails.pd_id\r\n retrieveData.company_id=this.company_id\r\n retrieveData.fk_createdby=this.users\r\n retrieveData.formid=this.FormId\r\n this.financialForm.setValue(retrieveData)\r\n }\r\n else {\r\n //financial_date.push(this.createDate());\r\n //estimated_val.push(this.createValue(''));\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * New Calculation for Finanical Statement \r\n **/\r\n calculationForFinanicalStatement(){\r\n \r\n let parentArray = this.financialForm.controls['date_per_financial'];\r\n // let prev_annual_sale : any = '';\r\n // let prev_profit_margin : any = '';\r\n // let prev_loss_margin : any = '';\r\n // let prev_profit_amt : any = '';\r\n // let prev_loss_amt : any = '';\r\n // let profit_margin : any = '';\r\n // let loss_margin : any = '';\r\n // let annual_sale : any = '';\r\n // let profit_amt : any = '';\r\n // let loss_amt : any = '';\r\n let prev_annual_sale : any = '';\r\n let prev_profit_margin : any = [];\r\n let prev_loss_margin : any = [];\r\n let prev_profit_amt : any = '';\r\n let prev_loss_amt : any = '';\r\n let profit_margin : any = '';\r\n let loss_margin : any = '';\r\n let annual_sale : any = '';\r\n let profit_amt : any = '';\r\n let loss_amt : any = '';\r\n\r\n parentArray.value.forEach((val,index) => {\r\n\r\n let childArray : any = parentArray.controls[index];\r\n annual_sale = val.financial_annual_sale;\r\n \r\n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \r\n * Label name = \" Sale Variation from Previous Year in % \"\r\n */\r\n \r\n if (index != 0) { \r\n if(annual_sale != ''){\r\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\r\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\r\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\r\n }\r\n }\r\n else{\r\n childArray.controls.financial_annualsales_variation.setValue(0.00);\r\n }\r\n \r\n\r\n prev_annual_sale = annual_sale;\r\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\r\n\r\n\r\n profit_amt = val.financial_net_profit;\r\n loss_amt = val.financial_net_loss;\r\n\r\n /** Calculating Profit's Variation - STARTS HERE\r\n * Label name = \"Profit Variation from Previous Year in %\"\r\n */\r\n if((profit_amt != '' || loss_amt != '') && index != 0) {\r\n if(+profit_amt > +annual_sale){\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n } \r\n else{\r\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\r\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\r\n\r\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \r\n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\r\n childArray.controls.financial_variation.setValue(final_variation);\r\n\r\n }\r\n }\r\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\r\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\r\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \r\n * Label name = \"Net Profit to Sales in % (or) Net Loss to Sales in % \r\n **/\r\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\r\n \r\n if(SelectedlossOrProfit == 1){\r\n\r\n loss_margin = '';\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_profit != '') {\r\n if(+profit_amt>+annual_sale){\r\n // alert(\"profit is greater than Annual Sale \");\r\n this.toast.pdTriggerappmessage(\"profit is greater than Annual Sale \")\r\n childArray.controls.financial_net_profit.setValue(0);\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\r\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\r\n \r\n }\r\n }\r\n }\r\n else if(SelectedlossOrProfit == 2){\r\n profit_margin = '';\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_loss != '') {\r\n if(+val.financial_net_loss>+annual_sale){\r\n // alert(\"Loss is greater than Annual Sale \");\r\n this.toast.pdTriggerappmessage(\"Loss is greater than Annual Sale \")\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n if(+loss_amt>+annual_sale){\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n \r\n\r\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\r\n\r\n\r\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\r\n \r\n }\r\n }\r\n }\r\n\r\n prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\r\n prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\r\n \r\n // if(index != 0 ){\r\n \r\n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \r\n \r\n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\r\n \r\n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\r\n\r\n // }\r\n\r\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Sales's Profit Variation \r\n * Label name = \"Variation of Profit % over sales\"\r\n **/\r\n \r\n if ((profit_margin != '' || loss_margin != '') && index != 0) {\r\n \r\n\r\n loss_margin = loss_margin !== undefined ? loss_margin : 0;\r\n profit_margin = profit_margin !== undefined ? profit_margin:0;\r\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\r\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\r\n\r\n \r\n if(annual_sale != ''){\r\n\r\n \r\n let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\r\n let b = a / (temp_prev_profit_margin != 0 ? Math.abs(temp_prev_profit_margin) : Math.abs(temp_prev_loss_margin));\r\n let c = b * 100;\r\n \r\n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\r\n \r\n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\r\n }\r\n }\r\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\r\n\r\n\r\n });\r\n }\r\n\r\n confirmAlert(i, details){\r\n\r\n let estimate_sales_from = +details.value.estimate_sales_from;\r\n let estimate_sales_to = +details.value.estimate_sales_to;\r\n\r\n if (estimate_sales_from != null && estimate_sales_to != null){\r\n \r\n if(+estimate_sales_from>+estimate_sales_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_sales_to.setValue('');\r\n details.controls.estimate_sales_average.setValue('');\r\n return;\r\n }\r\n\r\n let C = (estimate_sales_to - estimate_sales_from)\r\n let D = (C / estimate_sales_from) * 100;\r\n \r\n if(estimate_sales_from <= 5000000){\r\n if(D > 20){\r\n var r = confirm(\"Given Sales Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\r\n if(D > 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 10000000){\r\n if(D > 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n\r\n // if(D >= 30){\r\n // var r = confirm(\"Given Sales Range is greater than 30%\");\r\n // if (r == true) {\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \r\n // }else{\r\n // details.controls.estimate_sales_to.setValue('');\r\n // return;\r\n // }\r\n // }\r\n // else{\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\r\n // }\r\n }\r\n this.calculateSalesAverage(i, details);\r\n }\r\n\r\n calculateSalesAverage(i, details){\r\n \r\n let estimate_sales_from = details.value.estimate_sales_from;\r\n let estimate_sales_to = details.value.estimate_sales_to;\r\n\r\n if(estimate_sales_from != '' && estimate_sales_to != ''){\r\n\r\n let range1 = +estimate_sales_from/10;\r\n \r\n let lower = (+estimate_sales_from)+range1;\r\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\r\n\r\n if(lower > higer){\r\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue('');\r\n }\r\n\r\n }\r\n calculateMarginProfit( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\r\n if(+estimate_profit_range_from > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_profit_range_to = details.value.estimate_profit_range_to;\r\n \r\n if(+estimate_profit_range_to > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n\r\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\r\n if(+estimate_profit_range_from>+estimate_profit_range_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \r\n let Profit_Average = (profit_percent*sales_average)/100;\r\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n }else{\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n }\r\n \r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\r\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\r\n \r\n \r\n \r\n }\r\n \r\n }\r\n\r\n\r\n calculateProfitAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n //alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\r\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\r\n\r\n if(+estimate_net_profit_to>+sales_average){\r\n \r\n //alert(\"Given Profit is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n\r\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\r\n if(+estimate_net_profit_from>+estimate_net_profit_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n \r\n let C = (estimate_net_profit_to - estimate_net_profit_from)\r\n let D = (C / estimate_net_profit_from) * 100;\r\n \r\n let range1 = +estimate_net_profit_from/10;\r\n \r\n let lower = (+estimate_net_profit_from)+range1;\r\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\r\n\r\n if(estimate_net_profit_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_profit_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n \r\n }\r\n \r\n}\r\n\r\ncalculateMarginLoss( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n // else{\r\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\r\n if(+estimate_loss_range_from > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_loss_range_to = details.value.estimate_loss_range_to;\r\n if(+estimate_loss_range_to > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n\r\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\r\n \r\n if(+estimate_loss_range_from>+estimate_loss_range_to){\r\n //alert(\"Given Loss Percent is more than 100\");\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n \r\n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\r\n let loss_Average = (loss_percent*sales_average)/100;\r\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\r\n\r\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\r\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\r\n \r\n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n \r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }else{\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n } \r\n \r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }\r\n\r\n}\r\n\r\n\r\ncalculateLossAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\r\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\r\n\r\n if(+estimate_net_loss_to > +sales_average){\r\n \r\n // alert(\"Given Loss is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\r\n if(+estimate_net_loss_from > +estimate_net_loss_to){\r\n //alert(\"Given To value is Lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n \r\n // if(+estimate_net_loss_to > +estimate_net_loss_from){\r\n // alert(\"loss is greater than sales\");\r\n // details.controls.estimate_net_loss_to.setValue('');\r\n // details.controls.estimate_net_loss.setValue('');\r\n // details.controls.estimate_net_loss_percent.setValue('');\r\n // return;\r\n // }\r\n \r\n \r\n let C = (estimate_net_loss_to - estimate_net_loss_from)\r\n let D = (C / estimate_net_loss_from) * 100;\r\n \r\n let range1 = +estimate_net_loss_from/10;\r\n \r\n let lower = (+estimate_net_loss_from)+range1;\r\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\r\n\r\n if(estimate_net_loss_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_loss_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n \r\n }\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n \r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n }\r\n \r\n }\r\n \r\n}\r\n\r\n \r\n\r\n\r\n \r\n\r\n /** On Key Press Event For Input Field */\r\n keyPress(event: any) {\r\n //const pattern = /[0-9\\-\\.\\ ]/;\r\n const pattern = /[0-9\\.]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n /** To Convert Amount into Words */\r\n inWords(e,i,flag:number){\r\n\r\n switch(flag){\r\n case 1 :\r\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\r\n break;\r\n case 2 : \r\n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\r\n break;\r\n case 3 : \r\n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\r\n break;\r\n case 4 : \r\n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 : \r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 6 : \r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 7 : \r\n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 8 : \r\n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 9 : \r\n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 10 : \r\n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 11 : \r\n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 12 : \r\n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionClientInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-client-info',\r\n templateUrl: 'pd-question-client-info.html',\r\n})\r\nexport class PdQuestionClientInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n pdid: any;\r\n company_id: any;\r\n questionDetails: any;\r\n clientInfoForm: FormGroup;\r\n\r\n\r\n\r\n\r\n public submitted = false;\r\n\r\n public m_paymentType = [];\r\n\r\n companyRelationShipList: any = [];\r\n\r\n titleList: any = [];\r\n noRecordsFound: Boolean = false;\r\n errorMessage: any = '';\r\n m_manufacturingProducts: any = [];\r\n m_tradingProducts: any = [];\r\n m_suplierProducts: any = [];\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.pdid = this.pdDetails.pd_id;\r\n this.company_id = this.pdDetails.company_id;\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\r\n\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n });\r\n\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\r\n }\r\n\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus']) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n // Load form details for manufacturing\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n // if(dataForm.manufacturing_details[0].main_raw_materials){\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details){\r\n console.log(dataForm)\r\n \r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n console.log(\"NO Data\",dataForm)\r\n this.initManufacturingProductsDetails(null)\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n // }\r\n\r\n // Load form details for the wholeshale trading details\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n\r\n // Load form details for the service provider prduct details \r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n // return dataForm.service_products[key];\r\n // });\r\n if(dataForm.service_provider_details){\r\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initServiceProviderProductsDetails(null)\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n return dataForm.service_products[key];\r\n });\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.initServiceProviderProductsDetails(null);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n // let arr = val.filter(data => data.type_of_activity_id == 4);\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n serviceProviderForm: Boolean = false;\r\n serviceProviderFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 5);\r\n if (arr.length > 0) {\r\n this.serviceProviderForm = true;\r\n return this.fb.group({\r\n service_products: this.fb.array([]),\r\n service_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initManufacturingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_product_name: [''],\r\n manufacturing_client_name: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n // manufacturing_credit_days: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: ['']\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_product_name: [records.manufacturing_product_name || null],\r\n manufacturing_client_name: [records.manufacturing_client_name || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\r\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initTradingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_client_name: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n trade_client_name: [records.trade_client_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n initServiceProviderProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n if (datas === null) {\r\n control.push(this.initServiceProviderProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\r\n control.push(this.initServiceProviderProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initServiceProviderProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initServiceProviderProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n service_provider_product_name: [''],\r\n service_provider_client_name: [''],\r\n service_provider_product_contact_person_name: [''],\r\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [''],\r\n service_provider_product_payment_mode: [''],\r\n service_provider_product_frequency_of_purchase: [''],\r\n service_provider_product_credit_days_from: [''],\r\n service_provider_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n service_provider_product_name: [records.service_provider_product_name],\r\n service_provider_client_name: [records.service_provider_client_name],\r\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\r\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\r\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\r\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\r\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\r\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoreServiceProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n\r\n control.push(this.initServiceProviderProducts(null));\r\n }\r\n\r\n removeServiceProduct(inx): void {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.companyRelationShipList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n // saveclientDetails(answerData)\r\n // {\r\n // let records:any ={};\r\n\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId.form_id;\r\n // records.fk_createdby = this.users;\r\n\r\n // records.client_details = answerData.clientArray;\r\n\r\n // this.qustCat.saveForm(records).subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.navCtrl.pop();\r\n // }\r\n // });\r\n\r\n\r\n // }\r\n /** To Save/Edited Popup Data */\r\n saveClientInfo(answerFormValues) {\r\n \r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n if (answerFormValues.manufacturing_details[0] == null) {\r\n delete answerFormValues['manufacturing_details'];\r\n }\r\n if (answerFormValues.trade_details[0] == null) {\r\n delete answerFormValues['trade_details'];\r\n }\r\n if (answerFormValues.service_provider_details[0] == null) {\r\n delete answerFormValues['service_provider_details'];\r\n }\r\n\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 3) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n spCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n spCounter: any = [];\r\n checkCard(e, flag, index) {\r\n\r\n if (flag == 3 && e == 3) {\r\n this.spCounter[index] = 1;\r\n }\r\n else if (flag == 3 && e != 3) {\r\n this.spCounter[index] = 0;\r\n }\r\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\r\n this.spCreditCardFlag = SP > 0 ? true : false;\r\n\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n\r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\n\r\n/*\r\n Generated class for the ConstantsProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ConstantsProvider {\r\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\r\n constructor(public http: HttpClient) {\r\n console.log('Hello ConstantsProvider Provider');\r\n }\r\n\r\n apiurl()\r\n {\r\n let testapiurl = 'http://ssa.sineedge.com/sparqtest/api/';\r\n let devapiurl = 'http://ssa.sineedge.com/sparqapi/api/';\r\n let localapiurl = 'http://192.168.0.9/sparqapi/api/';\r\n return devapiurl;\r\n }\r\n\r\n getcurrentDate()\r\n {\r\n var today = new Date();\r\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\r\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\r\n var time = today.getHours() + \":\" + today.getMinutes();\r\n let CurrentDate = date+\"T00:00\";\r\n return CurrentDate.toString();\r\n }\r\n \r\n convertNumberToWords(amount) {\r\n var words = new Array();\r\n words[0] = '';\r\n words[1] = 'One';\r\n words[2] = 'Two';\r\n words[3] = 'Three';\r\n words[4] = 'Four';\r\n words[5] = 'Five';\r\n words[6] = 'Six';\r\n words[7] = 'Seven';\r\n words[8] = 'Eight';\r\n words[9] = 'Nine';\r\n words[10] = 'Ten';\r\n words[11] = 'Eleven';\r\n words[12] = 'Twelve';\r\n words[13] = 'Thirteen';\r\n words[14] = 'Fourteen';\r\n words[15] = 'Fifteen';\r\n words[16] = 'Sixteen';\r\n words[17] = 'Seventeen';\r\n words[18] = 'Eighteen';\r\n words[19] = 'Nineteen';\r\n words[20] = 'Twenty';\r\n words[30] = 'Thirty';\r\n words[40] = 'Forty';\r\n words[50] = 'Fifty';\r\n words[60] = 'Sixty';\r\n words[70] = 'Seventy';\r\n words[80] = 'Eighty';\r\n words[90] = 'Ninety';\r\n amount = amount.toString();\r\n var atemp = amount.split(\".\");\r\n var number = atemp[0].split(\",\").join(\"\");\r\n var n_length = number.length;\r\n let value:any = \"\";\r\n var words_string = \"\";\r\n if (n_length <= 9) {\r\n var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\r\n var received_n_array = new Array();\r\n for (var i = 0; i < n_length; i++) {\r\n received_n_array[i] = number.substr(i, 1);\r\n }\r\n for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\r\n n_array[i] = received_n_array[j];\r\n }\r\n for (var i = 0, j = 1; i < 9; i++, j++) {\r\n if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n if (n_array[i] == 1) {\r\n n_array[j] = 10 + parseInt(n_array[j]);\r\n n_array[i] = 0;\r\n }\r\n }\r\n }\r\n value = \"\";\r\n for (var i = 0; i < 9; i++) {\r\n if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n value = n_array[i] * 10;\r\n } else {\r\n value = n_array[i];\r\n }\r\n if (value != 0) {\r\n words_string += words[value] + \" \";\r\n }\r\n if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Crores \";\r\n }\r\n if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Lakhs \";\r\n }\r\n if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Thousand \";\r\n }\r\n if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\r\n words_string += \"Hundred and \";\r\n } else if (i == 6 && value != 0) {\r\n words_string += \"Hundred \";\r\n }\r\n }\r\n words_string = words_string.split(\" \").join(\" \");\r\n }\r\n return words_string;\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 246;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 246\n// module chunks = 0","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 289;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 289\n// module chunks = 0","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\nimport { AlertController } from 'ionic-angular';\r\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\r\n// import { GridPage } from '../grid/grid';\r\n\r\n\r\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\r\nimport { Camera } from '@ionic-native/camera';\r\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\r\n\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\n// import { CustomValidators } from 'ng2-validation';\r\n\r\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PasswordPage } from '../password/password';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n\r\n@Component({\r\n selector: 'page-login',\r\n templateUrl: 'login.html',\r\n})\r\nexport class LoginPage {\r\n users: any;\r\nchangepass: FormGroup;\r\nemail: string;\r\npassword: string;\r\nnewpassword: any;\r\nconfirmPassword: any;\r\nchangePassword: any;\r\nstatus: Boolean = false;\r\nconfig: MatDialogConfig = {\r\n disableClose: false,\r\n width: '',\r\n height: '',\r\n position: {\r\n top: '',\r\n bottom: '',\r\n left: '',\r\n right: ''\r\n }\r\n};\r\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\r\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\r\n,public toast:ToastProvider) {\r\n \r\n}\r\nngOnInit(){\r\n //this.loggedInCheck();\r\n \r\n}\r\nionViewDidEnter(){\r\n this.Menu.enable(false);\r\n}\r\nionViewWillLeave(){\r\n this.Menu.enable(true);\r\n}\r\n/**\r\n* @param email\r\n* @param password\r\n* AWS login service\r\n*/\r\nlogin() {\r\n // console.log(this.email);\r\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\r\n let auth = { 'Username': this.email, 'Password': this.password };\r\n this.aws.dologin(auth).subscribe(awsres => {\r\n let userid = this.aws.getlocale();\r\n \r\n this.aws.getuserprofile(userid).subscribe(usersres=>\r\n {\r\n this.users = usersres; \r\n \r\n if (this.users.dataStatus == true) {\r\n \r\n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\r\n this.navCtrl.setRoot(PdListPage);\r\n \r\n }else\r\n {\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n\r\n \r\n }\r\n });\r\n }, err => {\r\n console.log(JSON.stringify(err.message));\r\n if (err.message == \"New password is required.\") {\r\n //console.log(\"if\");\r\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\r\n } else {\r\n console.log(JSON.stringify(err.message));\r\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\r\n\r\n }\r\n //alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter Email or Password');\r\n }\r\n}\r\n/**\r\n * New password set\r\n * Defalut aws function \r\n * @param email password,newpassword\r\n */\r\n// newpassopen() {\r\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\r\n// dialogRef.afterClosed().subscribe(result => {\r\n// if (result !== undefined) {\r\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\r\n// console.log(auth);\r\n// this.aws.dologin(auth).subscribe(res => {\r\n// console.log(res);\r\n// // this.router.navigate(['/home']);\r\n// }, err => {\r\n// // alert(err.message);\r\n\r\n// })\r\n// }\r\n// });\r\n// }\r\n\r\nforgotopen() {\r\n this.status = true;\r\n}\r\n\r\n\r\nforgotpassword() {\r\n\r\n let auth = { 'Username': this.email };\r\n console.log(auth);\r\n // this.aws.userforgotpass(auth).subscribe(res => {\r\n // console.log(res);\r\n\r\n // })\r\n}\r\nloggedInCheck(){\r\n //alert(this.shared.isLoggedIn);\r\n if(this.shared.isLoggedIn){\r\n alert(\"if\");\r\n // this.router.navigate(['/home']);\r\n return false;\r\n }else{\r\n alert(\"else\");\r\n \r\n return true;\r\n }\r\n}\r\n\r\n}\r\n\r\n// ======================= END ==============================\r\n/**\r\n* New password Dialog\r\n*/\r\n\r\n// const newpassword = new FormControl('', Validators.required);\r\n// const confirmPassword = new FormControl('');\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
New Password Change.
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n//
\r\n// \r\n// \r\n// \r\n\r\n// Passwords do not math.\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class NewPasswordDialog {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n\r\n// }\r\n\r\n\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
Forgot Password
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class ForgotPass {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n// }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,AlertController } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\r\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\r\nimport {MatDatepicker} from '@angular/material/datepicker';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \r\nimport { AuthPage } from '../auth/auth';\r\n\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { OtpPage } from '../otp/otp';\r\n\r\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\r\nimport {DatePipe } from '@angular/common';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { observable, Observable } from 'rxjs';\r\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\r\n\r\n\r\n/**\r\n * Generated class for the InputPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19);\r\n\r\n\r\n@Component({\r\n selector: 'page-input',\r\n templateUrl: 'input.html',\r\n})\r\n\r\n\r\nexport class InputPage {\r\n enableStartPD: boolean;\r\n diffInHours: number;\r\n updatestarted: any;\r\n updateinitiated: any;\r\n appdata: any;\r\n users: any;\r\n initiatedAccess: boolean = false;\r\n scheduleAccess: boolean = false;\r\napplicatentDetails:any;\r\nmaxdate :any;\r\npipe = new DatePipe('en-US');\r\nupdateStatus:any;\r\nscheduleDate:any;\r\nupdateSchedule:any;\r\nacceptedAccess:boolean = false;\r\nstartedAccess:boolean = false;\r\ntimeOut:any = 15*1000;\r\ntimeInterval:any;\r\ncurrentPosPDofficer:any;\r\nother_applicant:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\r\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\r\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\r\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions, ) {\r\n\r\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddThh:mm').toString();\r\n \r\n /***Header value pass */\r\n this.statusBar.styleDefault();\r\n \r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\r\n \r\n \r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n \r\n this.getFullPD();\r\n \r\n \r\n if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n {\r\n \r\n this.initiatedAccess = true;\r\n }\r\n //console.log(this.initiatedAccess);\r\n if(this.applicatentDetails.pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n this.getenableAccuracy();\r\n \r\n }\r\n this.users = this.aws.getlocale();\r\n }\r\n\r\n \r\n ionViewDidLoad() {\r\n this.setPermission();\r\n \r\n }\r\n ionViewCanLeave()\r\n {\r\n clearInterval(this.timeInterval);\r\n }\r\n locationnavicate(address)\r\n {\r\n this.launchNavigator.navigate(address);\r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n\r\n getFullPD()\r\n {\r\n let records = {'pdid':this.applicatentDetails.pd_id};\r\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.other_applicant=res['records'].applicants_details\r\n console.log(this.other_applicant);\r\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \r\n let scheduledDateTime: string= res['records'].pd_master_details[0].scheduled_on_for_validation;\r\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\r\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\r\n \r\n if(diffInHours <=-4){\r\n this.enableStartPD=true;\r\n }\r\n else\r\n {\r\n this.enableStartPD = false;\r\n }\r\n } \r\n })\r\n \r\n }\r\n pdStatus(status,appdetails)\r\n {\r\n let data :any;\r\n \r\n if(status == 'BOUNCED')\r\n {\r\n data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.navCtrl.push(BouncedRejectPage,{'details':data})\r\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n // {\r\n // this.updateStatus = res;\r\n // if(this.updateStatus.dataStatus == true)\r\n // {\r\n // this.navCtrl.setRoot(PdListPage); \r\n // }\r\n // })\r\n }else if(status == 'ACCEPTED')\r\n {\r\n data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateStatus = res;\r\n if(this.updateStatus.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n this.scheduleAccess = true;\r\n \r\n }else\r\n {\r\n this.scheduleAccess = false;\r\n }\r\n })\r\n }\r\n \r\n }\r\n\r\n pdschedule(scheduledate,appdetails)\r\n {\r\n \r\n let data :any;\r\n console.log(scheduledate);\r\n if(scheduledate != undefined){\r\n let schDate = scheduledate.slice(0,19).replace('T',' ');\r\n console.log(schDate);\r\n data = {'pd_id':appdetails.pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateSchedule = res;\r\n if(this.updateSchedule.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n this.initiatedAccess = true;\r\n }\r\n });\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\r\n }\r\n}\r\n\r\n getenableAccuracy()\r\n {\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.getcurrentLocation();\r\n },\r\n error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n getcurrentLocation() \r\n {\r\n let data:any;\r\n let options = {\r\n frequency: 3000, \r\n enableHighAccuracy: true,\r\n timeOut:1000,\r\n };\r\n \r\n this.timeInterval = setInterval(()=>{\r\n this.currentPosPDofficer = '';\r\n this.geolocation.getCurrentPosition(options).then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n if((resp as Geoposition).coords !=undefined){\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\r\n console.log(this.currentPosPDofficer);\r\n data = {'pd_id':this.applicatentDetails.pd_id,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\r\n {\r\n // this.updateinitiated = res;\r\n // if(this.updateinitiated.dataStatus == true)\r\n // { \r\n // // this.getNewpdupdate();\r\n // // this.startedAccess = true;\r\n // }else\r\n // {\r\n // this.startedAccess = false;\r\n // }\r\n })\r\n }\r\n }).catch((error)=>{\r\n this.toast.pdTriggerappmessage(error.message);\r\n })\r\n \r\n },this.timeOut);\r\n }\r\n pdreschedule()\r\n {\r\n this.scheduleAccess = true;\r\n this.initiatedAccess = false;\r\n }\r\n pdinitiated(appdetails)\r\n { let data:any;\r\n\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n \r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':appdetails.pd_id,'pd_status':'INITIATED','mobile_no':appdetails.applicat_details[0].mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':appdetails.applicat_details[0].applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateinitiated = res;\r\n if(this.updateinitiated.dataStatus == true)\r\n { \r\n this.getNewpdupdate();\r\n this.getcurrentLocation();\r\n this.startedAccess = true;\r\n }else\r\n {\r\n this.startedAccess = false;\r\n }\r\n })\r\n }).catch((error) => {\r\n console.log('Error getting location', error);\r\n });\r\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n\r\n startPdDiscussion(appdetails)\r\n {\r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'Starting PD Officer',\r\n message: 'Do you want sure PD officer Start',\r\n buttons: [\r\n {\r\n text: 'No',\r\n role: 'cancel',\r\n handler: () => {\r\n \r\n // console.log('Cancel clicked');\r\n // this.toast.pdTriggerappmessage('')\r\n }\r\n },\r\n {\r\n text: 'YES',\r\n handler: () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n \r\n data = {'pd_id':appdetails.pd_id,'pd_status':'STARTED','mobile_no':appdetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n console.log(data);\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {this.updatestarted = res;\r\n if(this.updatestarted.dataStatus == true)\r\n {\r\n clearInterval(this.timeInterval);\r\n this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\r\n }\r\n \r\n })\r\n // console.log('Buy clicked');\r\n })\r\n } \r\n }\r\n ]\r\n });\r\n alert.present();\r\n }\r\n getNewpdupdate()\r\n {\r\n this.acceptedAccess = false;\r\n this.initiatedAccess = false;\r\n this.scheduleAccess = false;\r\n this.startedAccess = false;\r\n this.pdDetails.getpddetails(this.users).subscribe(res=>\r\n {\r\n this.appdata = res;\r\n if(this.appdata.dataStatus == true)\r\n {\r\n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\r\n if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n {\r\n this.initiatedAccess = true;\r\n this.getFullPD();\r\n }\r\n\r\n if(this.applicatentDetails.pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n }\r\n }\r\n })\r\n }\r\n\r\n camerasetup()\r\n {\r\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\n\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question',\r\n templateUrl: 'pd-question.html',\r\n})\r\nexport class PdQuestionPage {\r\n \r\n docqustid: any;\r\n docName: any = [];\r\n docArray: any = [];\r\n imageArray:any = [];\r\n questionCate: any;\r\n qustCate: any;\r\n pdinfo: any;\r\n items: FormArray;\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= false;\r\n isLeft:boolean= false;\r\n tabs:any=[];\r\n \r\n questionDetails: any;\r\n questionAnswer:FormGroup;\r\n questionanotherData:FormGroup;\r\n userid:any;\r\n questionId:any;\r\n qustType:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\r\n \r\n this.screenWidth_px=platform.width();\r\n\r\n \r\n this.questionAnswer = this.fb.group(\r\n {\r\n answerDetails:[null],\r\n items:this.fb.array([]),\r\n })\r\n this.questionanotherData = this.fb.group(\r\n {\r\n questionRemarks:[null]\r\n })\r\n this.getpdQuestionDetails();\r\n this.userid = this.aws.getlocale();\r\n}\r\n\r\n ionViewDidLoad() {\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n ionViewWillLeave() {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n // let answerDetails = this.questionAnswer.value;\r\n // let remarks = this.questionanotherData.value;\r\n if(this.isLeft)\r\n {\r\n //this.prev(answerDetails,remarks,this.questionDetails);\r\n }\r\n if(this.isRight)\r\n {\r\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\r\n }\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n \r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n \r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n \r\n this.isLeft=false;\r\n this.isRight=false;\r\n \r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n \r\n \r\n }\r\n /**\r\n * Pd Discussion Qustion Load\r\n */\r\n getpdQuestionDetails()\r\n {\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdinfo = this.navParams.get('pdDetails');\r\n for(let qustimage of this.questionDetails.questions)\r\n { \r\n if(qustimage.images !==undefined){\r\n for(let image of qustimage.images)\r\n {\r\n image.questionId = qustimage.fk_question_id; \r\n this.docArray.push(image);\r\n }\r\n for(let answers of qustimage.answers)\r\n {\r\n if(qustimage.fk_question_answertype == 3)\r\n {\r\n this.items = this.questionAnswer.get('items') as FormArray;\r\n \r\n this.items.push(this.getquestionAnswer(answers));\r\n \r\n \r\n }\r\n }\r\n }\r\n }\r\n for(let i=1;i<=this.questionDetails.questions_count;i++){\r\n let j = i.toString();\r\n this.tabs.push(j);\r\n }\r\n }\r\n\r\ngetquestionAnswer(answers)\r\n{\r\n return this.fb.group(\r\n {\r\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\r\n \"pd_answer_id\":answers.question_answer_id,\r\n \"pd_answer\": answers.answer,\r\n \"pd_answer_weightage\": answers.template_answer_weightage,\r\n \"fk_pd_id\":this.pdinfo.pd_id,\r\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\r\n \"checkbox\":(answers.isactive == null?false:true)\r\n \r\n \r\n })\r\n}\r\n // count = 0;\r\n getDocUpload(qustid)\r\n {\r\n // this.docqustid = qustId;\r\n this.camera.getpicture().then(res=>\r\n {\r\n if(res !== undefined){\r\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\r\n }\r\n });\r\n // this.count++;\r\n }\r\n docnames(name,id,image,qustid)\r\n {\r\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\r\n }\r\n removeimage(index){\r\n //for(let i=0;i<=this.igrimage.length;i++){\r\n //if(this.igrimage[i]== this.igrimage[index]){\r\n this.docArray.splice(index,1);\r\n //}\r\n //}\r\n }\r\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\r\n {\r\n \r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n\t\t\"fk_pd_id\": pd_id,\r\n\t\t\"fk_category_id\": catid,\r\n\t\t\"fk_question_id\": qut_id,\r\n\t\t\"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n\t\t\"pd_answer\": pd_answer,\r\n\t\t\"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n\t\t\r\n\t\t\"fk_createdon\": createon,\r\n\t\t\"createdby\": createdby,\r\n\t\t\"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n // {\r\n // this.qustCate = res;\r\n // if(this.qustCate.dataStatus == true){\r\n // this.SwipedTabsSlider.slideNext();\r\n // this.docArray = [];\r\n // this.getcategoryList(qt_id,pd_id);\r\n // }\r\n // })\r\n // }else\r\n // {\r\n \r\n // this.SwipedTabsSlider.slideNext(); \r\n }\r\n } \r\n\r\n getcategoryList(qustinfo,pdId)\r\n {\r\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\r\n };\r\n let answerData:any;\r\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\r\n {\r\n answerData = res;\r\n if(answerData.dataStatus == true)\r\n {\r\n \r\n // answerData = answerData.records;\r\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\r\n // eachquestion['answers'] = answerData.answers; \r\n \r\n // this.questionDetails =\r\n // this.imageArray = answerData.images;\r\n // for(let docs of this.imageArray)\r\n // {\r\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\r\n // }\r\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\r\n }\r\n });\r\n }\r\n prev(answerDetails,questionRemarks,questionDetails) {\r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n \"fk_pd_id\": pd_id,\r\n \"fk_category_id\": catid,\r\n \"fk_question_id\": qut_id,\r\n \"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n \"pd_answer\": pd_answer,\r\n \"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n \r\n \"fk_createdon\": createon,\r\n \"createdby\": createdby,\r\n \"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n {\r\n this.qustCate = res;\r\n if(this.qustCate.dataStatus == true){\r\n this.SwipedTabsSlider.slidePrev();\r\n this.docArray = [];\r\n this.getcategoryList(qt_id,pd_id);\r\n }\r\n })\r\n }else{\r\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\r\n this.SwipedTabsSlider.slidePrev();\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { Observable } from 'rxjs';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n/**\r\n * Generated class for the PdQuestionAddressPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-address',\r\n templateUrl: 'pd-question-address.html',\r\n})\r\nexport class PdQuestionAddressPage {\r\n\r\n // additional_premises: any=[];\r\n // bussiness_address_type: any=[];\r\n // formPremisesCityArray: any=[];\r\n // tempArr: any[];\r\n // cityData: any = [];\r\n // PremisesLabel: any=[];\r\n // formPremisesArray: any=[];\r\n // z:number = 0;\r\n \r\n // PremisesOtherFlag: boolean;\r\n CITY: any;\r\n residence: any;\r\n FormId: any;\r\n getaddressDetails: any;\r\n users: any;\r\n address: string;\r\n custBehaviour: any;\r\n cmtlocality: any;\r\n\r\n //placeholderName : any = 'Estimated area of the (Address Type)';\r\n placeholderName:any=[];\r\n premisesRentAmtInwords:any=[];\r\n rentAmtInwords : any ;\r\n\r\n locality: any = [];\r\n pdlocation: any = [];\r\n pdDetails: any;\r\n questionDetails: any;\r\n pdQuestionAddress:FormGroup;\r\n addressTypes:any=[];\r\n addressRemarksAccess:boolean = false;\r\n items:FormArray;\r\n pdState: any;\r\n pdCity: any;\r\n pdPincode: any;\r\n pdOtherPincode: any;\r\n cityData: any=[];\r\n pincodeData: any=[];\r\n stateData: any=[];\r\n uomData: any=[];\r\n addressesList: any;\r\n // counts:number = 1;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n \r\n this.FormId = this.navParams.get('FormId');\r\n\r\n this.users = this.aws.getlocale();\r\n\r\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\r\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\r\n // }else{\r\n // this.address = this.pdDetails.addressline1+', - , -'; \r\n // }\r\n // this.pdState = this.pdDetails.fk_state;\r\n // this.getCityAndPincodeDetails(this.pdState);\r\n // this.pdCity = this.pdDetails.fk_city;\r\n // this.pdPincode = this.pdDetails.pincode_id;\r\n \r\n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\r\n \r\n this.getdropdownlist();\r\n\r\n this.pdQuestionAddress = this.fb.group(\r\n {\r\n addresses:this.fb.array([]),\r\n address_form_remark:['']\r\n // address_ownership:[null],\r\n // other_ownership:[null],\r\n // rent_amt:[null],\r\n // other_premises_bussiness_activity : [null],\r\n // bussiness_activity_remark:[null],\r\n // bussiness_activity:[null],\r\n // bussiness_address_type:[null],\r\n // bussiness_address_type_others:[null], \r\n // business_years:[null],\r\n // business_month:[null],\r\n // additional_address_units: this.fb.array([]),\r\n \r\n });\r\n this.getaddressForm(); \r\n //this.loadPD()\r\n }\r\n\r\n ionViewDidLoad() {\r\n //this.addUnits();\r\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\r\n \r\n }\r\n\r\n ionViewWillLeave()\r\n {\r\n \r\n\r\n // let method = this.alerCtrl.create({\t\t\t\r\n // message: 'Do You Want Save',\r\n // buttons: [\r\n // {\r\n // text: 'Save',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // }\r\n // },\r\n // {\r\n // text: 'Cancel',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // this.navCtrl.pop(); \r\n // }\r\n // }\r\n // ]\r\n // });\r\n // method.present()\r\n \r\n \r\n \r\n }\r\n\r\n /** To Get City And Pincode Data For Address Form \r\n * Param 'stateID' -> selected StateId\r\n */\r\n getCityAndPincodeDetails(stateID: string,i) {\r\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\r\n if (data.status == 200) {\r\n this.cityData[i] = data.records.cities;\r\n this.pincodeData[i] = data.records.pincode;\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n getdropdownlist()\r\n {\r\n // this.addressTypes = [\r\n \r\n // {'id':'Office','Name':'Office'},\r\n // {'id':'Clinic','Name':'Clinic'},\r\n // {'id':'Factory','Name':'Factory'},\r\n // {'id':'Warehouse','Name':'Warehouse'},\r\n // {'id':'Shop','Name':'Shop'},\r\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\r\n // {'id':'Residence','Name':'Residence'},\r\n // {'id':'OTHERS','Name':'OTHERS'}\r\n // ];\r\n\r\n \r\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \r\n }\r\n \r\n })\r\n \r\n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\r\n {\r\n this.pdlocation = res;\r\n if(this.pdlocation.dataStatus == true)\r\n {\r\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\r\n {\r\n this.cmtlocality = res;\r\n if(this.cmtlocality.dataStatus ==true)\r\n {\r\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\r\n }\r\n });\r\n\r\n \r\n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\r\n // {\r\n // this.custBehaviour = res;\r\n // if(this.custBehaviour.dataStatus == true)\r\n // {\r\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\r\n // }\r\n // })\r\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.locality = res['records'].filter(loc=>loc.isactive==1);\r\n }\r\n })\r\n\r\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.residence = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('CITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.CITY = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\r\n this.stateData=res['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\r\n this.uomData=res['records'].filter(val=>val.isactive == 1)\r\n })\r\n \r\n }\r\n\r\n // checkaddress(value)\r\n // {\r\n // \r\n // if(value==\"OTHERS\")\r\n // {\r\n // this.addressRemarksAccess = true;\r\n // }else\r\n // {\r\n // this.addressRemarksAccess = false;\r\n // }\r\n // }\r\n\r\n // createItem(): FormGroup {\r\n // return this.fb.group({\r\n // name: [null],\r\n // do_you_know: [null],\r\n // how_long: [null],\r\n // is_owner: [null],\r\n // });\r\n // };\r\n \r\n createUnits(val): FormGroup {\r\n if(val==null){\r\n return this.fb.group({\r\n no_of_additional_units: [''],\r\n premises_type: [''],\r\n premises_type_others: [''],\r\n premises_city: [''],\r\n // premises_ownership: [''],\r\n //premises_ownership_others: [''],\r\n //premises_rent_amt:[''],\r\n premises_remarks: [''],\r\n });\r\n }\r\n else{\r\n \r\n return this.fb.group({\r\n no_of_additional_units: [val.no_of_additional_units],\r\n premises_type: [val.premises_type],\r\n premises_type_others: [val.premises_type_others],\r\n premises_city: [val.premises_city],\r\n // premises_ownership: [val.premises_ownership],\r\n // premises_ownership_others: [val.other_ownership],\r\n // premises_rent_amt:[val.rent_amt],\r\n premises_remarks: [val.premises_remarks],\r\n });\r\n \r\n }\r\n }\r\n\r\n addUnits() {\r\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n this.items.push(this.createUnits(null));\r\n}\r\n\r\n\r\n removeUnits(i){\r\n this.items.removeAt(i);\r\n }\r\n\r\n ConvertMonthintoYear(e){\r\n \r\n let business_year = this.pdQuestionAddress.controls.business_years.value;\r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\r\n \r\n }\r\n initAddress(AddressDetails){\r\n if(AddressDetails != null){\r\n return this.fb.group({\r\n address: [AddressDetails.address, Validators.compose([Validators.required])],\r\n address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\r\n address_type_others: [AddressDetails.address_type_others],\r\n state: [AddressDetails.state],\r\n city: [AddressDetails.city],\r\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\r\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n locality: [AddressDetails.locality, Validators.compose([Validators.required])],\r\n locality_others: [AddressDetails.locality_others],\r\n locality_mixuse: [AddressDetails.locality_mixuse],\r\n pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\r\n comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\r\n estimated_area: [AddressDetails.estimated_area],\r\n uom: [AddressDetails.uom],\r\n uom_others: [AddressDetails.uom_others] \r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n address: ['', Validators.compose([Validators.required])],\r\n address_type: ['', Validators.compose([Validators.required])],\r\n address_type_others: [''],\r\n state: [''],\r\n city: [''],\r\n pincode: [''],\r\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n locality: ['', Validators.compose([Validators.required])],\r\n locality_others: [''],\r\n locality_mixuse: [''],\r\n pd_location: ['', Validators.compose([Validators.required])],\r\n comment_locality: ['', Validators.compose([Validators.required])],\r\n estimated_area: [''],\r\n uom: [''],\r\n uom_others: [''] \r\n });\r\n }\r\n \r\n }\r\n /** On Key Press Event For Numbers */\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n \r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n inWords(e,i){ \r\n \r\n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n \r\n }\r\n\r\n inWordsForRent(e){\r\n \r\n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\r\n }\r\n\r\n selectedAddressType(e: any,i){\r\n this.placeholderName[i] = 'Estimated area of the ' + e;\r\n }\r\n\r\n\r\n savepdQuestion(answerData)\r\n {\r\n let records: any = {};\r\n // records.address = answerData.address;\r\n // if(answerData.address_type_others != null){\r\n // records.address_type_others = answerData.address_type_others;\r\n // }\r\n // // records.state =answerData.state\r\n // records.city = answerData.city\r\n\r\n // records.pincode = answerData.pincode\r\n // records.pincode_others = answerData.pincode== 1 ?\r\n // this.pdQuestionAddress.controls.pincode_others.value : '';\r\n\r\n // records.address_type = answerData.address_type;\r\n // records.locality = answerData.locality;\r\n \r\n // records.locality_others = answerData.locality == 1 ?\r\n // this.pdQuestionAddress.controls.locality_others.value : '';\r\n\r\n // records.locality_mixuse = answerData.locality == 5 ?\r\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\r\n\r\n // records.pd_location = answerData.pd_location;\r\n // records.comment_locality = answerData.comment_locality;\r\n // records.other_comment_locality = answerData.other_comment_locality;\r\n // records.estimated_area = answerData.estimated_area;\r\n\r\n // records.uom = answerData.uom;\r\n // records.uom_others = answerData.uom == 1 ?\r\n // this.pdQuestionAddress.controls.uom_others.value : '';\r\n // records.customer_behaviour = answerData.customer_behaviour;\r\n // records.neighbourhood = answerData.neighbourhood;\r\n console.log(\"Answer DAta\",answerData)\r\n records.addresses=answerData.addresses\r\n records.address_form_remark=answerData.address_form_remark\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.address_form_remark = answerData.address_form_remark;\r\n // records.address_ownership = answerData.address_ownership;\r\n // records.other_ownership = answerData.other_ownership;\r\n // records.rent_amt = answerData.rent_amt;\r\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\r\n // records.bussiness_activity = answerData.bussiness_activity;\r\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\r\n // records.business_years = answerData.business_years;\r\n // records.business_month = answerData.business_month;\r\n \r\n // records.additional_address_units = answerData.additional_address_units;\r\n \r\n \r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n // let params: any = {};\r\n // params.pd_id = '250';\r\n // params.pd_form_id = '250';\r\n \r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n\r\n },err=>{\r\n this.toast.pdTriggerappmessage('Something went wrong ');\r\n });\r\n }\r\n\r\n getaddressForm()\r\n {\r\n \r\n let res:any;\r\n\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.getaddressDetails = res;\r\n \r\n if(this.getaddressDetails.dataStatus ==true){\r\n if(this.getaddressDetails.records.addresses ){\r\n \r\n this.getaddressDetails = this.getaddressDetails.records.addresses;\r\n\r\n if(this.getaddressDetails.length == 0 ){\r\n control.push(this.initAddress(''));\r\n }\r\n else{\r\n this.getaddressDetails.forEach((datas,index)=>{\r\n \r\n let val={\r\n 'address': datas.address,\r\n 'address_type': datas.address_type,\r\n 'address_type_others': datas.address_type_others,\r\n 'state': datas.state,\r\n 'city': datas.city,\r\n 'pincode': datas.pincode,\r\n 'pincode_others': datas.pincode_others,\r\n 'locality': datas.locality,\r\n 'locality_others': datas.locality_others,\r\n 'locality_mixuse': datas.locality_mixuse,\r\n 'pd_location': datas.pd_location,\r\n 'comment_locality': datas.comment_locality,\r\n 'estimated_area': datas.estimated_area,\r\n 'uom': datas.uom,\r\n 'uom_others': datas.uom_others\r\n }\r\n this.getCityAndPincodeDetails(datas.state,index)\r\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\r\n this.selectedAddressType(selectedAddressType.address_type,index);\r\n if (datas.address_type == 1) {\r\n this.selectedAddressType(datas.address_type_others,index);\r\n }\r\n control.push(this.initAddress(val))\r\n })\r\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\r\n }\r\n // if(this.getaddressDetails.additional_address_units != null){\r\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\r\n // // return res['records'].additional_address_units[key];\r\n // //for slicing the automatically created\r\n \r\n // });\r\n // //this.removeUnits(0);\r\n // }\r\n\r\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n\r\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\r\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\r\n\r\n // if (this.getaddressDetails.state != '') {\r\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\r\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\r\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\r\n // if (this.getaddressDetails.pincode == 1) {\r\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\r\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\r\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\r\n // }\r\n // }\r\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\r\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\r\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\r\n // this.selectedAddressType(selectedAddressType);\r\n\r\n // if(this.getaddressDetails.address_type != null) {\r\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\r\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\r\n // }\r\n\r\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\r\n\r\n // if(this.getaddressDetails.comment_locality != null){\r\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\r\n // }\r\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\r\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\r\n // if(this.getaddressDetails.locality == 1 ){\r\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\r\n // }\r\n // if(this.getaddressDetails.locality == 5){\r\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\r\n // }\r\n \r\n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\r\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\r\n // if (this.getaddressDetails.uom == 1) {\r\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\r\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\r\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\r\n // }\r\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\r\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\r\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\r\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\r\n // if(this.getaddressDetails.rent_amt != null){\r\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\r\n // }\r\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // } \r\n // else{\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\r\n // }\r\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\r\n\r\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\r\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\r\n \r\n \r\n \r\n\r\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\r\n \r\n if (result.length == 0) {\r\n \r\n control.push(this.createUnits(null));\r\n } else {*/\r\n \r\n //for(let val of this.getaddressDetails.additional_address_units){\r\n //control.push(this.createUnits(val));\r\n //}\r\n //result.forEach((datas,index) => {\r\n \r\n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\r\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\r\n \r\n //});\r\n \r\n //}\r\n \r\n // }\r\n\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else\r\n this.loadPD();\r\n });\r\n }\r\n loadPD(){\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus == true){\r\n this.addressesList = res.records.filter(item => item.isactive == 1);\r\n console.log('this.addressesList',this.addressesList);\r\n if(this.addressesList.length > 0){\r\n this.addressesList.forEach((datas,index)=>{\r\n let obj ={\r\n 'address': datas.addressline1,\r\n 'address_type': '',\r\n 'address_type_others': '',\r\n 'state': datas.fk_state,\r\n 'city': datas.fk_city,\r\n 'pincode': datas.pincode_id,\r\n 'pincode_others': datas.other_pincode,\r\n 'locality': '',\r\n 'locality_others': '',\r\n 'locality_mixuse':'',\r\n 'pd_location': '',\r\n 'comment_locality': '',\r\n 'estimated_area': '',\r\n 'uom': '',\r\n 'uom_others': ''\r\n }\r\n this.getCityAndPincodeDetails(datas.fk_state,index)\r\n control.push(this.initAddress(obj))\r\n })\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n })\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup} from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionEmpInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-emp-info',\r\n templateUrl: 'pd-question-emp-info.html',\r\n})\r\nexport class PdQuestionEmpInfoPage {\r\n questionDetails: any;\r\n pdDetails: any;\r\n empInfo:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n\r\n this.empInfo = this.fb.group(\r\n {\r\n nameOfEmp:[null],\r\n yearWithEmp:[null],\r\n empMet:[null],\r\n designationOfEmp:[null],\r\n salaryConfirm:[null],\r\n actualSalary:[null],\r\n attRegisterSeen:[null],\r\n salaryRegisterSeen:[null]\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\r\n }\r\n\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionCurrentLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-current-loans',\n templateUrl: 'pd-question-current-loans.html',\n})\nexport class PdQuestionCurrentLoansPage {\n public applicants: any=[]\n placeholderName: any = [];\n lenderData: any;\n frequencyData: any;\n loanTypeData:any;\n FormId: any;\n users: any;\n pdDetails: any;\n questionDetails: any;\n currentLoans:FormGroup;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n pdid:number;\n amtInwords: any=[];\n emiAmtInwords: any=[];\n dataFromAssets : any = [];\n labelArr : any = [];\n investmentTypeData: any=[];\n addressTypeData: any;\n propertyTypeData: any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider, public aws:AwsServiceProvider,public constant:ConstantsProvider) {\n this.applicants=[]\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n\n this.getdropdown();\n // this.applicants.push\n \n this.users = this.aws.getlocale();\n this.currentLoans = this.fb.group(\n {\n existing_loan: [null],\n currentloan_remarks:[null],\n loan_details: this.fb.array([])\n });\n \n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n this.getcurrentLoans()\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\n });\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\n });\n\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n \n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\n \n \n });\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\n })\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\n })\n }\n \n exitsCheck(val)\n { \n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n if(val ==\"Yes\")\n {\n \n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n other_frequency:[''],\n loan_amount: [''],\n frequency:[''],\n emi: [''],\n loan_type: [''],\n others_loan_type:[''],\n loan_taken_by:[''],\n others_loan_taken:[''],\n lender: [''],\n others_lender:[''],\n original_tenure: [''],\n current_balance_tenure: [''],\n elapsed_tenure:[],\n });\n}\naddLoanDetails() {\n const control = this.currentLoans.controls['loan_details'];\n control.push(this.createLoanDetail(null));\n}\ndeleteLoanDetails(index) {\n const control = this.currentLoans.controls['loan_details'];\n if(control.length==1)\n {\n this.currentLoans.controls['loan_details'].reset();\n }else{\n control.removeAt(index);\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncheckOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\n details.controls.current_balance_tenure.updateValueAndValidity();\n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n // let BalanceTenure = details.value.current_balance_tenure;\n // if( originalTenure < BalanceTenure){\n // alert('Greater');\n // details.controls.current_balance_tenure.setValue('');\n // alert('validation setted For');\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n \n \n // }\n}\ncalculateTenure(details)\n{\n let ElapsedValues;\n \n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != ''){\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n\n}\nkeyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n}\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n\nselectedfrequency(e,i){\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n \n // alert('function in');\n \n \n switch(+e){\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\n default: this.placeholderName[i] = 'Instalment Amount'; break;\n}\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n}\n\nsubmitCurrentloan(answerData) {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n let records: any = {};\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.existing_loan = answerData.existing_loan;\n records.loan_details = answerData.loan_details;\n records.currentloan_remarks = answerData.currentloan_remarks;\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n this.qustCat.saveForm(records).subscribe(data => {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control = this.currentLoans.controls['loan_details'];\n if(res['dataStatus']==true )\n {\n let currentLoanDetails = res['records'];\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n return res['records'].loan_details[key];\n \n });\n \n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n const control = this.currentLoans.controls['loan_details'];\n if(currentLoanDetails.existing_loan != 'No')\n {\n if(result.length ==0)\n {\n control.push(this.createLoanDetail(null));\n }else\n {\n result.forEach((datas,index)=>\n {\n // let objs = { \n // 'label': datas.label,\n // 'loan_amount': datas.loan_amount,\n // 'frequency':datas.frequency,\n // 'other_frequency':datas.other_frequency,\n // 'emi': datas.emi,\n // 'loan_type': datas.loan_type,\n // 'others_loan_type': datas.others_loan_type,\n // 'loan_taken_by':datas.loan_taken_by,\n // 'others_loan_taken':datas.others_loan_taken,\n // 'lender': datas.lender,\n // 'others_lender':datas.others_lender,\n // 'original_tenure': datas.original_tenure,\n // 'current_balance_tenure': datas.current_balance_tenure,\n // 'elapsed_tenure':datas.elapsed_tenure\n // }\n control.push(this.createLoanDetail(null));\n this.selectedfrequency(datas.frequency,index);\n if(datas.loan_amount!=''){\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\n }\n if(datas.emi!=''){\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\n }\n })\n\n this.currentLoans.controls['loan_details'].setValue(result);\n \n }\n }\n }\n else\n {\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n }\n\n }\n else {\n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n\n if(data.dataStatus == true){\n \n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n \n let AssetData = data.record;\n \n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n if(AssetData.business_address_asset.length > 0){\n AssetData.business_address_asset.map(element=>{\n this.dataFromAssets.push({mode:0,\n mode_name:element.address_label,\n details:[],\n owner_name:element.business_name_of_the_owner,\n form_type:'Data From Bussiness Address'})\n })\n }\n\n if(AssetData.business_assets.length>0){\n AssetData.business_assets.map(element => {\n this.dataFromAssets.push({mode:element.business_assets_mode,\n mode_name:element.business_assets_mode_name,\n details:element.business_details,\n owner_name:element.business_name_of_the_owner,\n form_type:'Data From Business Assets'})\n });\n }\n\n if(AssetData.other_assests.length > 0){\n AssetData.other_assests.map(element => {\n this.dataFromAssets.push({mode:element.assets_mode,\n mode_name:element.assets_mode_name,\n details:element.details,\n owner_name:element.name_of_the_owner,\n form_type:'Data From Other Asset'\n })\n });\n \n \n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\n\n if(this.dataFromAssets.length > 0){ \n let labelarray : any = [];\n \n this.dataFromAssets.forEach((val,index) => {\n if(val.mode == 0){\n let owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n // labelarray[index] = ' : '+owner +' - '+ val.mode_name.split(\"/\")[0] + ' ( ' + val.mode_name.split(\"/\")[1] + ' )';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n let data;\n let owner;\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n let owner\n let data;\n val.details.forEach((v,index) => {\n data = v.property_type_name;\n if(v.property_type != 1){\n if(val.form_type == 'Data From Business Assets'){\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\n }\n else if(val.form_type == 'Data From Other Asset'){\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\n }\n else{\n data = '';\n }\n }else{\n data=v.other_property_type;\n }\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n let data;\n let owner\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n let data;\n let owner\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n let owner\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n let data;\n let owner\n val.details.forEach((v,index) => {\n data = v.investments_type != 1 \n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \n : v.other_investments_type ;\n\n });\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n });\n const control = this.currentLoans.controls['loan_details'];\n this.labelArr = labelarray;\n let arr : any = [];\n if(this.labelArr.length > 0){\n this.currentLoans.controls['existing_loan'].setValue('Yes');\n this.labelArr.forEach((v,index) => {\n arr = { \n 'label': v,\n 'loan_amount': '',\n 'frequency':'',\n 'other_frequency':'',\n 'emi': '',\n 'loan_type': '',\n 'others_loan_type': '',\n 'loan_taken_by':'',\n 'others_loan_taken':'',\n 'lender': '',\n 'others_lender':'',\n 'original_tenure': '',\n 'current_balance_tenure': '',\n 'elapsed_tenure':''\n }\n control.push(this.createLoanDetail(arr));\n });\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\n }\n }\n else{\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n control.push(this.createLoanDetail(null));\n }\n }\n }\n });\n }\n })\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormArray, FormBuilder, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionLoansPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-loans',\r\n templateUrl: 'pd-question-loans.html',\r\n})\r\nexport class PdQuestionLoansPage {\r\n enduse: any = [];\r\n propertyType: any;\r\n mortagetypeAccess: boolean;\r\n mortageAccess: boolean = false;\r\n mortageCardAccess: boolean;\r\n topUpAmtInWords: any;\r\n ownContributionInWords: any;\r\n valAsPerAgmtInWords: any;\r\n balTxrfAmtInWords: any;\r\n loanAmtInWords: any;\r\n\r\n emiAmtInWords:any;\r\n emvAmtInWords:any;\r\n\r\n m_btLenderList: any;\r\n applicants: any;\r\n m_endUseofLoad: any;\r\n m_sourceofamount: any;\r\n m_mortageTypeProperty: any;\r\n m_statusofCunstruction: any;\r\n ownerNames: any=[];\r\n isOtherPurpose: boolean=false;\r\n endUserList: any=[];\r\n pdDetails: any;\r\n FormId: any;\r\n productAbbr:any;\r\n loanDetailsForm: FormGroup;\r\n users: any;\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any;\r\n m_endUseOFTopUpList:any=[]\r\n isContribution: boolean = false;\r\n\r\n \r\n isOtherSource: boolean = false;\r\n isPLSource: boolean = false;\r\n\r\n sourceList:any=[];\r\n pdid:number;\r\n m_endUseForLoan:any;\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider,public constant:ConstantsProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.applicants = this.pdDetails.applicat_details\r\n this.productAbbr = this.pdDetails.product_abbr;\r\n this.users = this.aws.getlocale();\r\n this.pdid=this.pdDetails.pd_id;\r\n this.getDropdown();\r\n this.loanDetailsForm = this.fb.group({\r\n loan_amount: [this.pdDetails.loan_amount],\r\n loan_tenure:[''],\r\n end_use: ['', Validators.compose([Validators.required])],\r\n end_use_other: [''],\r\n is_transfer: ['', Validators.compose([Validators.required])],\r\n //is_topup: ['', Validators.compose([Validators.required])],\r\n // is_topup: [''],\r\n balance_transfer_amount: [''],\r\n topup_amount: [''],\r\n end_use_topup:[''],\r\n other_end_use_topup:[''],\r\n lender: [''],\r\n other_bt_lender : [''],\r\n own_contribution: ['', Validators.compose([Validators.required])],\r\n source: [''],\r\n //personal_loan_source:[''],\r\n other_source:[''],\r\n //lender_name_type: [''],\r\n emi_level: ['', Validators.compose([Validators.required])],\r\n property_type: ['', Validators.compose([Validators.required])],\r\n property_type_others:[''],\r\n owner_name: ['', Validators.compose([Validators.required])],\r\n construction_status: ['', Validators.compose([Validators.required])],\r\n //percentage_of_construction : [''],\r\n emv_per_customer: ['', Validators.compose([Validators.required])],\r\n //value_per_agreement: ['', Validators.compose([Validators.required])],\r\n loandetails_remarks: ['', Validators.compose([Validators.required])],\r\n });\r\n \r\n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\r\n {\r\n this.mortagetypeAccess = true;\r\n }else\r\n {\r\n this.mortagetypeAccess = false;\r\n }\r\n \r\n \r\n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\r\n this.isContribution = true;\r\n }\r\n \r\n }\r\n\r\n\r\n ionViewDidLoad() {\r\n console .log('ionViewDidLoad PdQuestionLoansPage');\r\n this.getLoanDetails();\r\n }\r\n\r\n\r\n getDropdown() {\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n })\r\n this.qustCat.getEndUseForLoan(this.pdid).subscribe(data=>{\r\n \r\n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\r\n \r\n });\r\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\r\n data => {\r\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n let that = this;\r\n this.m_mortageTypeProperty = data['records'].filter(\r\n function(data){\r\n \r\n if(that.pdDetails.product_abbr !=\"LAP\" && data.group_name==that.pdDetails.product_abbr && data.isactive==1 )\r\n {\r\n return data;\r\n \r\n }else if(that.pdDetails.product_abbr ==\"LAP\" && data.sub_group_name==that.pdDetails.subproduct_name)\r\n {\r\n return data;\r\n }else\r\n {\r\n return ;\r\n }\r\n });\r\n // this.mortage_type(this.propertyType);\r\n }\r\n });\r\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\r\n data => {\r\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\r\n });\r\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\r\n subdata => {\r\n if(subdata['dataStatus']==true){\r\n let that = this;\r\n this.m_endUseofLoad = subdata['records'].filter(\r\n function(data)\r\n {\r\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\r\n {\r\n return data;\r\n }\r\n });\r\n this.endUserChange(this.enduse);\r\n }\r\n });\r\n \r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n })\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n if(this.productAbbr != 'LAP'){\r\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\r\n }\r\n }\r\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\r\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\r\n })\r\n \r\n \r\n \r\n }\r\n\r\n selectedBalancesTransferChanges(event: any){\r\n // if(event.value == 'no') { \r\n // this.loanDetailsForm.controls['is_topup'].clearValidators();\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // this.loanDetailsForm.controls['is_topup'].setValue('');\r\n //}\r\n //else if(event.value == 'yes'){\r\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // }\r\n if (event.value == 'no') {\r\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n\r\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \r\n this.loanDetailsForm.controls['lender'].setValue('');\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\r\n this.topUpAmtInWords=''\r\n\r\n }\r\n else if (event.value == 'yes') {\r\n this.loanDetailsForm.controls['source'].setValue('');\r\n this.loanDetailsForm.controls['source'].clearValidators();\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['own_contribution'].setValue('');\r\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.isOtherSource = false;\r\n this.loanDetailsForm.controls['other_source'].setValue('');\r\n \r\n }\r\n\r\n}\r\n \r\n mortage_type(mortage_value)\r\n {\r\n \r\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\r\n var property_name=mortagetypes.property_name\r\n if(property_name=='Others (Please Specify)')\r\n {\r\n this.mortageAccess = true;\r\n }else\r\n {\r\n this.mortageAccess = false; \r\n }\r\n \r\n \r\n }\r\n compareObjects(o1: any, o2: any){\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n \r\n }\r\n\r\n\r\n loanCalc()\r\n {\r\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\r\n let loanAmount = this.loanDetailsForm.value.loan_amount;\r\n let topupAmt ;\r\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\r\n {if (loanAmount >= BtAmount) {\r\n topupAmt = loanAmount - BtAmount;\r\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n // this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\r\n } else {\r\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\r\n this.balTxrfAmtInWords = '';\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.topUpAmtInWords = '';\r\n } }\r\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n }\r\n endUserChange(event) {\r\n //this.endUserList = [];\r\n event.forEach(option => {\r\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\r\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\r\n this.endUserList.push({ end_use: option });\r\n if (othresData == 'others') {\r\n \r\n this.isOtherPurpose = true;\r\n return ;\r\n }else\r\n {\r\n this.isOtherPurpose = false;\r\n \r\n }\r\n });\r\n }\r\n ownerNameChange(event) {\r\n this.ownerNames = [];\r\n event.value.forEach(option => {\r\n this.ownerNames.push({ owner_name: option });\r\n });\r\n }\r\n sourceChange(evt) {\r\n\r\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\r\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\r\n\r\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\r\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\r\n\r\n this.sourceList = [];\r\n\r\n evt.forEach(option => {\r\n this.sourceList.push({source: option});\r\n });\r\n}\r\n inWords(e,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 2 : \r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 3 :\r\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 4 :\r\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 :\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 6:\r\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n case 7:\r\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n default:\r\n break;\r\n }\r\n}\r\n submitLoanDetails() {\r\n // if(this.loanDetailsForm.valid){\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\r\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\r\n \r\n // get end user final group data\r\n let dataEnd_user_data = [];\r\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\r\n dataEnd_user_data.push({end_use: element})\r\n });\r\n records.end_use_group = dataEnd_user_data;\r\n\r\n if (this.isOtherPurpose) {\r\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\r\n }\r\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\r\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\r\n }\r\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\r\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\r\n \r\n let dataSource_list=[];\r\n if(this.loanDetailsForm.controls['source'].value != '')\r\n {\r\n \r\n this.loanDetailsForm.controls['source'].value.forEach(element => {\r\n dataSource_list.push({sources : element})\r\n });\r\n }\r\n records.source_group=dataSource_list;\r\n \r\n }\r\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\r\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\r\n //}\r\n if(records.topup_amount > 0){\r\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\r\n if(records.end_use_topup == 1){\r\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\r\n }\r\n }\r\n \r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.lender = this.loanDetailsForm.controls['lender'].value;\r\n }\r\n if(this.loanDetailsForm.controls['lender'].value == 1){\r\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\r\n } \r\n \r\n \r\n\r\n \r\n /* records.source = this.loanDetailsForm.controls['source'].value;\r\n if (this.loanDetailsForm.controls['source'].value == 'other') {\r\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\r\n }*/\r\n if(this.isOtherSource){\r\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\r\n }\r\n else{\r\n records.other_source = ''; \r\n }\r\n \r\n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\r\n if(this.mortageCardAccess == true){\r\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\r\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\r\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\r\n };\r\n // records.owner_name_group = this.ownerNames;\r\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\r\n let dataOwner_name = [];\r\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\r\n dataOwner_name.push({owner_name: element})\r\n });\r\n records.owner_name_group = dataOwner_name;\r\n }\r\n else{\r\n records.owner_name_group='';\r\n }\r\n \r\n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\r\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\r\n \r\n }else{\r\n records.property_type = null;\r\n records.property_type_others = null;\r\n records.owner_name_group = null;\r\n records.construction_status = null;\r\n records.emv_per_customer = null;\r\n }\r\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\r\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\r\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.notifier.notify('success', 'Saved Successfully.');\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter The All Field');\r\n // }\r\n }\r\n\r\n getLoanDetails() {\r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n\r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n let loanDetails = value['records'];\r\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\r\n return loanDetails.end_use_group[key];\r\n });\r\n \r\n\r\n //this.enduse\r\n result.forEach(val => {\r\n this.enduse.push(val.end_use);\r\n //this.endUserList.push({'end_use':val.end_use});\r\n });\r\n let ownername: any = [];\r\n if(loanDetails.owner_name_group != null){\r\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\r\n return loanDetails.owner_name_group[key];\r\n });\r\n owner.forEach(val => {\r\n ownername.push(val.owner_name);\r\n this.ownerNames.push({'end_use':val.end_use});\r\n });\r\n }\r\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\r\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\r\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\r\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\r\n this.endUserChange(this.enduse);\r\n\r\n if (loanDetails.end_use_other!='') {\r\n //this.endUserChange(this.enduse);\r\n // this.isOtherPurpose=true;\r\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\r\n }\r\n \r\n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \r\n if(loanDetails.topup_amount > 0){\r\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\r\n if (loanDetails.end_use_topup == 1) {\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\r\n }\r\n } \r\n }\r\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n }\r\n if (loanDetails.lender) {\r\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\r\n }\r\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\r\n if(loanDetails.own_contribution)\r\n {\r\n this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\r\n }\r\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\r\n if(loanDetails.is_transfer!='yes')\r\n {\r\n let source=Object.keys(loanDetails.source_group).map(function(key){\r\n return loanDetails.source_group[key];\r\n });\r\n let dbsourcelist:any=[];\r\n source.forEach(val=>{\r\n dbsourcelist.push(val.sources);\r\n });\r\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\r\n this.sourceChange(dbsourcelist);\r\n if(loanDetails.other_source) {\r\n // this.isOtherSource = true;\r\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\r\n }\r\n \r\n \r\n }\r\n\r\n/* if (loanDetails.lender_name_type) {\r\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\r\n }*/\r\n \r\n if(loanDetails.emi_level){\r\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\r\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\r\n }\r\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \r\n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\r\n this.propertyType =loanDetails.property_type;\r\n if(loanDetails.property_type !=null){\r\n this.mortage_type(this.propertyType);\r\n if(this.mortageCardAccess == true){\r\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \r\n // this.mortage_type(loanDetails.property_type_others);\r\n \r\n }\r\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\r\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\r\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\r\n if(loanDetails.emv_per_customer)\r\n {\r\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\r\n }\r\n }\r\n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\r\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\r\n } else {\r\n\r\n }\r\n })\r\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL'){\r\n this.mortageCardAccess = false;\r\n this.loanDetailsForm.controls['owner_name'].setValue('');\r\n this.loanDetailsForm.controls['owner_name'].clearValidators();\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }else{\r\n this.mortageCardAccess = true;\r\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-banking',\r\n templateUrl: 'pd-question-banking.html',\r\n // changeDetection:ChangeDetectionStrategy.OnPush\r\n})\r\nexport class PdQuestionBankingPage {\r\n \r\n m_btLenderList: any;\r\n applicants: any ;\r\n salaryField: boolean;\r\n FormId: any;\r\n accountType: any;\r\n users: any;\r\n bankDetails:FormGroup;\r\n pdDetails: any;\r\n pdid:any;\r\n bankitems:FormArray;\r\n\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n limitCaseFlag: any=[];\r\n amtInwords: any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons: ConstantsProvider) {\r\n //this.applicants.pop();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n \r\n \r\n // alert();\r\n this.users = this.aws.getlocale();\r\n this.bankDetails = this.fb.group(\r\n {\r\n bankitems:this.fb.array([]),\r\n banking_form_remark:[null],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBankingPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n // let modifyCompanyList : any=[];\r\n // if(this.existCompanyList.length>0){\r\n // modifyCompanyList = this.existCompanyList.map(element => {\r\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n // });\r\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n //}\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n\r\n/** Amount InWords */\r\ninWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n bank_name: [''],\r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n //is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n \r\n addBankDetails() {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n\r\n if(this.bankitems.length==1){\r\n this.bankitems.reset();\r\n }\r\n else\r\n this.bankitems.removeAt(i);\r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.banking_details = answerData.bankitems;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n \r\n }\r\n\r\n retiveBankDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n if(result.length ==0){\r\n \r\n this.bankitems.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n \r\n \r\n \r\n result.forEach((datas,index)=>\r\n {\r\n this.selectedAccTypeChanges(+datas.account_type,index)\r\n if(datas.limit != ''){\r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n } \r\n // this.selectedBorrower(datas.applicant_name,index);\r\n this.bankitems.push(this.createBankItem(''));\r\n })\r\n this.bankDetails.controls['bankitems'].setValue(result);\r\n }\r\n \r\n \r\n }else\r\n {\r\n \r\n this.addBankDetails();\r\n }\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFamilyPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-family',\n templateUrl: 'pd-question-family.html',\n})\nexport class PdQuestionFamilyPage {\n\n\n earningStatus = [{\n type: 'Earning',\n id: 1\n}, {\n type: 'Non Earning',\n id: 2\n}]\nearning_gross_income_per_month:any;\n\n nofamily:number;\ndata:any;\n familyAddStatus: boolean;\n ownerShip: any;\n cusSeg: any;\n FormId: any;\n users: any;\n pdDetails: any;\n occupationData: any;\n membersitem: FormArray;\n items: FormArray;\n relationData: any;\n familyForm: FormGroup;\n total_number_of_family_members;\n filteredStates: any ;\n public selected_person;\n stateData:any;\n cityData: any =[];\n pincodeData:any=[];\n FamilyMemberAsLabel: any=[];\n selectPerson: any=[];\n apiFamilyMembers: any=[];\n isReadOnly: any=[];\n RentAmount: any=[];\n IncomePerMonth: any=[];\n // cons: any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.selected_person=this.pdDetails.pdapplicants_details;\n this.selectPerson=this.pdDetails.applicat_details\n this.users = this.aws.getlocale();\n \n \n this.familyForm = this.fb.group({\n family_details: this.fb.array([\n //this.initFamilyDetails()\n \n ]),\n family_details_form_remark:[''],\n \n \n });\n this.getRelation();\n this.getoccupation();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n }\n initFamilyDetails(records) : void\n {\n if (records === null) {\n let formData: FormGroup = this.fb.group({\n selected_person: ['', Validators.compose([Validators.required])],\n residence_place: ['', Validators.compose([])],\n residence_city: ['', Validators.compose([])],\n residence_state: ['', Validators.compose([])],\n residence_pin: ['', Validators.compose([])],\n residence_other_pincode:['',Validators.compose([])],\n residence_No_of_years: ['', Validators.compose([])],\n residence_ownership: ['', Validators.compose([])],\n ownershipOther: [''],\n rent: [''],\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details: this.fb.array([])\n });\n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n }\n else{\n records.forEach((val,index)=>{\n if(val.rent != null){\n \n this.RentAmount[index] = this.cons.convertNumberToWords(val.rent); \n }\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\n this.getCity(val.residence_state,index);\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n residence_state:[val.residence_state],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years,Validators.compose([])],\n residence_ownership:[val.residence_ownership],\n rent:[val.rent || null],\n ownershipOther:[val.ownershipOther || null],\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details:this.fb.array([])\n \n });\n \n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n let inx=control.length-1;\n //this.getNumberOfFamilyMemberDetails(inx);\n this.initFamilyMembersDetails(inx, val.family_members_details);\n \n \n //this.initFamilyMembersDetails\n \n })\n }\n /*\n return this.fb.group({\n //family_details\n selected_person:[''],\n residence_place:[''],\n residence_city:[''],\n residence_state:[''],\n residence_pin:[''],\n residence_No_of_years: ['',Validators.compose([])],\n residence_ownership:[],\n rent:[''],\n ownershipOther:[''],\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\n \n //family_member_details\n \n \n \n family_members_details:this.fb.array([]),\n \n\n // person: [null],\n /* personOther: [''],\n members: [''],\n residence: [''],\n years: [null],\n family_details_form_remark:[''],\n \n });*/\n\n }\n initFamilyMembersDetails(inx,val) :void {\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n val.forEach((vals,index)=>{\n\n \n if(vals.earning_gross_income_per_month != null){\n this.IncomePerMonth[index] = this.cons.convertNumberToWords(vals.earning_gross_income_per_month);\n }\n let datas = this.fb.group({\n family_member_name: [vals.family_member_name || null, Validators.compose([])],\n family_member_relationship: [vals.family_member_relationship || null, Validators.compose([])],\n family_member_age: [vals.family_member_age || null, Validators.compose([])],\n family_member_earning_status: [vals.family_member_earning_status || null, Validators.compose([])],\n earning_segment: [vals.earning_segment || null, Validators.compose([])],\n earning_if_others_segment:[vals.earning_if_others_segment || null, Validators.compose([])],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null, Validators.compose([])],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null, Validators.compose([])],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null, Validators.compose([])],\n non_earning_occupation: [vals.non_earning_occupation || null, Validators.compose([])],\n non_earning_if_others: [vals.non_earning_if_others || null, Validators.compose([])],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null, Validators.compose([])],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null, Validators.compose([])],\n })\n \n control.push(datas);\n });\n }\n \n /*return this.fb.group({\n family_member_name:[''],\n family_member_relationship:[],\n family_member_age:[],\n family_member_earning_status:['',Validators.compose([])],\n //family_member_earnings\n earning_segment:[''],\n earning_gross_income_per_month:[''],\n earning_name_of_the_employer_or_business:[''],\n earning_number_of_years_in_employment_or_business:[''],\n \n non_earning_occupation:[''],\n non_earning_if_others:[''],\n non_earning_if_retired_from:[''],\n });*/\n \n\n\n add() :void { \n // const control=this.familyForm.controls['family_details'];\n //control.push(this.initFamilyDetails('chck'));\n this.initFamilyDetails(null);\n this.toast.pdTriggerappmessage(\"Family Details Added\");\n }\n remove_family_details(i:number):void{\n const control=this.familyForm.controls['family_details'];\n control.removeAt(i);\n }\n addMemberDet(data:any){\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n //this.initFamilyMembersDetails('','')\n control.push(this.generateFamilyMembersDetailsGet())\n }\n removeMemberDet(index:any,f_index:any){\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\n if(control.length>1){\n control.removeAt(index); \n }\n else{\n control.reset()\n }\n // if(control.value !=null && index == 0)\n\n }\n getNumberOfFamilyMemberDetails(data)\n {\n \n var datavalue=data;\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\n if(formData['total_number_of_family_members'].valid)\n {\n let totmem=formData['total_number_of_family_members'].value;\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n if(totmem>=control.length){\n let len=totmem-control.length;\n for( let i=0;i=totmem;i--)\n {\n control.removeAt(i);\n }\n \n // var nn=control.length-totmem; \n // control.controls = [];\n /*for (let i = 0; i < totmem; i++) {\n control.push(this.generateFamilyMembersDetailsGet());\n\n }*/\n // this.initFamilyDetails(this.resValue['records'].family_details);\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\n }\n \n \n }\n else{\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.removeAt(control.length);\n control.controls=[];\n }\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.push(this.initFamilyMembersDetails());\n */ \n }\n generateFamilyMembersDetailsGet(): FormGroup {\n return this.fb.group({\n family_member_name: ['', Validators.compose([])],\n family_member_relationship: ['', Validators.compose([])],\n family_member_age: ['', Validators.compose([])],\n family_member_earning_status: ['', Validators.compose([])],\n earning_segment: ['', Validators.compose([])],\n earning_if_others_segment:['',Validators.compose([])],\n earning_gross_income_per_month: ['', Validators.compose([])],\n earning_name_of_the_employer_or_business: ['', Validators.compose([])],\n earning_number_of_years_in_employment_or_business: ['', Validators.compose([])],\n non_earning_occupation: ['', Validators.compose([])],\n non_earning_if_others: ['', Validators.compose([])],\n non_earning_if_schoolorcollege:['',Validators.compose([])],\n non_earning_if_retired_from: ['', Validators.compose([])],\n })\n}\n \n getRelation() {\n let master_name = 'RELATIONSHIPS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n \n if(data['dataStatus'] == true){\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\n }\n });\n\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\n }\n });\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n // }\n // });\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\n if(res['dataStatus']==true){\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n }\n })\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\n }\n });\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.stateData=res['records'].filter(item=>item.isactive==1);\n }\n })\n \n}\ngetCity(e,i){\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \n // this._pd.retriveForm(params).subscribe(data => {\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\n if (data['dataStatus'] == true) {\n this.cityData[i] = data.records.cities; \n this.pincodeData[i] = data.records.pincode;\n }\n });\n}\ngetoccupation()\n{\n let master_name = 'OCCUPATIONMEMBERS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true){\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\n }\n });\n}\n /* createMembers(): FormGroup {\n return this.fb.group({\n earning_member_name : [null],\n earning_member_age : [null],\n relation: [null],\n segment: [null],\n income: [null],\n employer_name: [null],\n });\n}\ncount :number = 0;\naddearningMembers()\n{\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.items.push(this.createMembers());\n this.count++;\n this.checkfamilystatus(this.count,''); \n\n}\n\ndeleteEarningMembers(i)\n{\n\n if(this.items.length==1)\n {\n this.familyForm.controls['earningMembers'].reset();\n }else{\n this.items.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncreateNonMembers(): FormGroup {\n return this.fb.group({\n non_earning_member_name : [''],\n non_earning_member_age : [''],\n relationship: [null],\n occupation: [null],\n retired: [null],\n others_occupation:[null],\n });\n}\naddMembers()\n{\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n this.count++;\n this.checkfamilystatus(this.count,''); \n this.membersitem.push(this.createNonMembers());\n \n}\ndeleteMembers(i)\n{\n if(this.membersitem.length==1){\n this.familyForm.controls['nonEarningMembers'].reset();\n \n }else{\n this.membersitem.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncheckfamilystatus(count,familystatus)\n{\n if(familystatus !='' && familystatus !==undefined){\n\n }else{\n familystatus = this.familyForm.get('members').value;\n }\n if(familystatus !== null ){\n if(familystatus == count)\n {\n\n this.familyAddStatus = true;\n }else\n {\n this.familyAddStatus = false;\n }\n }\n}*/\n/* Old\nsavepdfamily(answerData)\n{\n let records: any = {};\n records.no_of_years = answerData.years;\n if (answerData.ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n records.residence = answerData.residence;\n if (answerData.ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.ownership\n records.family_members = answerData.members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })\n}*/\n\nsavepdfamily(answerData)\n{\n \n let records:any={};\n \n records=this.familyForm.value;\n\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n this.qustCat.saveForm(records).subscribe(res=>{\n\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n this.navCtrl.pop();\n \n },err=>{\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\n })\n\n /*let records: any = {};\n records.no_of_years = answerData.residence_No_of_years;\n if (answerData.residence_ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n //records.residence = answerData.residence;\n if (answerData.residence_ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.residence_ownership\n records.family_members = answerData.total_number_of_family_members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })*/\n}\n\nselectedPerson(e,inx){\n \n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\n \n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n \n let newControlLength: number;\n let oldControlLength: number = control.length;\n\n if(this.apiFamilyMembers.length>0){\n\n let arraydata : any;\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\n\n \n // data_gets_from:'GeneralForm'\n // data_gets_from:'BusinessForm'\n \n if(data.length > 0){\n \n \n newControlLength = data.length;\n let index: number = 0;\n while(index < oldControlLength)\n {\n control.removeAt(index);\n index++;\n }\n oldControlLength = newControlLength\n\n\n data.forEach((val,inx) => {\n \n // family_member_earning_status\n if(val.age){\n this.isReadOnly[inx] = true;\n }else{\n this.isReadOnly[inx] = false;\n }\n arraydata = {\n 'family_member_name' : val.name,\n 'family_member_relationship' : val.relationship,\n 'family_member_age' : val.age,\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\n 'earning_segment': '',\n 'earning_gross_income_per_month': '',\n 'earning_name_of_the_employer_or_business':'',\n 'earning_number_of_years_in_employment_or_business': '',\n 'earning_if_others_segment':'',\n 'non_earning_occupation': '',\n 'non_earning_if_others': '',\n 'non_earning_if_retired_from': '',\n 'non_earning_if_schoolorcollege': ''\n }\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\n \n });\n }\n else{\n\n let index: number = 0;\n while(index < oldControlLength)\n {\n control.removeAt(index);\n index++;\n }\n oldControlLength = 1;\n\n control.push(this.generateFamilyMembersDetailsGet()); \n }\n }\n else{\n \n control.push(this.generateFamilyMembersDetailsGet());\n } \n}\n\ngenerateFamilyMembersDetailsGetData(data){\n var result = Object.keys(data).map(function (key) {\n return data[key];\n});\nif (result.length > 0) {\n for (let val of result) {\n const control = this.familyForm.controls['family_members_details'];\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\n }\n}\n}\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\n return this.fb.group({\n family_member_name: [val.family_member_name, Validators.compose([])],\n family_member_relationship: [val.family_member_relationship, Validators.compose([])],\n family_member_age: [val.family_member_age, Validators.compose([])],\n family_member_earning_status: [val.family_member_earning_status, Validators.compose([])],\n earning_segment: [val.earning_segment, Validators.compose([])],\n earning_if_others_segment:[val.earning_if_others_segment,Validators.compose([])],\n earning_gross_income_per_month: [val.earning_gross_income_per_month, Validators.compose([])],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business, Validators.compose([])],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business, Validators.compose([])],\n non_earning_occupation: [val.non_earning_occupation, Validators.compose([])],\n non_earning_if_others: [val.non_earning_if_others, Validators.compose([])],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege,Validators.compose([])],\n non_earning_if_retired_from: [val.non_earning_if_retired_from, Validators.compose([])],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res['dataStatus']==true){\n let Temparr : any = [];\n\n if(res.record.from_general_form.length>0){\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\n return res.record.from_general_form[key]\n });\n let datas=familyMembersGeneralForm.map(element=>{\n return {id:element.pd_co_applicant_id.toString(),\n name:element.applicant_name,\n relationship:element.relationship,\n relation_to:element.relation_to,\n age:element.age,\n data_gets_from:'GeneralForm'};\n \n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in General Form\")\n }\n if(res.record.from_business_form.length >0){\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\n return res.record.from_business_form[key]\n });\n let datas=familyMembersBusinessForm.map(element=>{\n return {id:element.other_family_relationship_id,\n name:element.family_member_name,\n relationship:element.other_family_relationship_id,\n relation_to:element.relation_to_id,\n age:'',\n data_gets_from:'BusinessForm'};\n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in Business Form\")\n }\n this.apiFamilyMembers = [].concat.apply([],Temparr);\n }\n })\n let records={'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>{\n console.log(\"Entering Retrieve\");\n \n if(res['status']==200){\n if(res['records'].family_details.length > 0){\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\n this.resValue=res;\n this.initFamilyDetails(res['records'].family_details);\n \n }\n \n }\n else{\n console.log(\"No Data Found\");\n this.initFamilyDetails(null);\n \n }\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\n \n },err=>{\n console.log(\"Error\",err)\n })\n /*let earning:any = [];\n let non_earning:any = [];\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\n\n return res['records'].non_earning_members[key];\n });\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\n earning = Object.keys(res['records'].earning_members).map(function(key) {\n return res['records'].earning_members[key];\n });\n let familyDetails = res['records'];\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\n // this.familyForm.controls['earningMembers'].setValue(earning);\n // for(this.)\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n if(earning.length==0)\n {\n this.addearningMembers();\n }else\n {\n earning.forEach(datas => {\n this.count++;\n this.items.push(this.createMembers());\n });\n this.familyForm.controls['earningMembers'].setValue(earning);\n \n }\n\n if(non_earning.length==0)\n {\n this.addMembers(); \n }else\n {\n non_earning.forEach(datas => {\n this.count++;\n this.membersitem.push(this.createNonMembers());\n \n });\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\n // this.checkfamilystatus(this.count);\n }\n \n // for(let earningDetails of earning){\n // this.items = this.familyForm.get('earningMembers') as FormArray;\n // this.items.push(earning);\n // }\n\n }else\n {\n this.addearningMembers();\n this.addMembers();\n }\n }) */ \n }\n /** To Convert Amount into Words */\n inWords(e,flag:number,i){\n switch(flag){\n case 1 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 2 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n \n default:\n break;\n }\n }\n initSetValue(records):void{\n for(let val of records){\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person],\n residence_place:[val.residence_place]\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssestsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assests',\r\n templateUrl: 'pd-question-assests.html',\r\n})\r\nexport class PdQuestionAssestsPage {\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n m_relation: any;\r\n applicants: any ;\r\n users: any;\r\n FormId: any;\r\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\r\n m_investmentType: { 'id': string; 'name': string; }[];\r\n m_insuranceType: { 'id': string; 'name': string; }[];\r\n m_propertyType: { 'id': string; 'name': string; }[];\r\n m_assets_type: { 'id': string; 'name': string; }[];\r\n pdDetails: any;\r\n assetItem: any;\r\n items:FormArray;\r\n AssetsDetailsForm:FormGroup;\r\n details:FormArray;\r\n FormList:boolean = false;\r\n loadDetails:boolean = true;\r\n assestInfo:any;\r\n\r\n appxMarketAmtInwords: any=[];\r\n OtherAppxMarketAmtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n OtherEmiAmtInwords: any=[];\r\n PremiumPaidInwords: any=[];\r\n OtherPremiumPaidInwords: any=[];\r\n SumAssuredInwords: any=[];\r\n OtherSumAssuredInwords: any=[];\r\n AmtInvestInwords: any=[];\r\n OtherAmtInvestInwords: any;\r\n AssetValueInwords: any=[];\r\n OtherAssetValueInwords: any=[];\r\n B_emiAmtInwords: any=[];\r\n O_emiAmtInwords: any=[];\r\n\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n pdid:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider) {\r\n \r\n this.assestInfo = \"busass\";\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.users = this.aws.getlocale();\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n this.AssetsDetailsForm = this.fb.group(\r\n {\r\n assets_details:this.fb.array([]),\r\n // business_assets_details:this.fb.array([]),\r\n assets_form_remark:['']\r\n \r\n })\r\n \r\n this.getAssetDetails();\r\n this.getdropList();\r\n //this. addAsset(1);\r\n this.loadDetails = true;\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssestsPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n\r\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\r\n }\r\n })\r\n \r\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_propertyType = res['records'];\r\n }\r\n })\r\n \r\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_investmentType = res['records'];\r\n }\r\n })\r\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.m_insuranceType =res['records'];\r\n }\r\n })\r\n \r\n \r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'];\r\n }\r\n })\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_relation = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n })\r\n \r\n \r\n \r\n \r\n }\r\n createAsset() : FormGroup\r\n {\r\n return this.fb.group(\r\n {\r\n assets_mode: [null],\r\n details: this.fb.array([]),\r\n approximate_market_value: [null],\r\n name_of_the_owner: [''],\r\n other_owner:[''],\r\n // purchase_year: [null],\r\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n vintage_personal : [''],\r\n // purchase_month: [null],\r\n emi: [null],\r\n // emi_paid: [null],\r\n // elapsed_tenure: [null],\r\n // balance_tenure: [null],\r\n // original_loan_tenure :[null],\r\n });\r\n }\r\n\r\n addAsset(flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n this.assetItem.push(this.createAsset());\r\n }\r\n }\r\n\r\n deleteAsset(i,flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n if(this.assetItem.length==1)\r\n {\r\n this.AssetsDetailsForm.controls['assets_details'].reset();\r\n }else{\r\n this.assetItem.removeAt(i);\r\n } \r\n }\r\n }\r\n \r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n \r\n\r\n loanCalc(details ,flag)\r\n {\r\n if(flag == 1){\r\n \r\n let ElapsedValues;\r\n \r\n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\r\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\r\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\r\n }\r\n }\r\n \r\n\r\n }\r\n \r\n show: boolean;\r\n selectedAssetsType(e: any, i: any,flag : any): void {\r\n \r\n let val = i;\r\n if(flag == 1){\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n }\r\n \r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n \r\n control.push(this.loadEquipmentManufacturingDescription());\r\n \r\n break;\r\n }\r\n case '5': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.loadConsumerDurableDescription());\r\n break;\r\n }\r\n case '6': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.loadInsuranceDescription());\r\n break;\r\n }\r\n case '7': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.loadInvestDescription());\r\n break;\r\n }\r\n case '8': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: ['']\r\n });\r\n }\r\n\r\n loadJwellDescription() {\r\n return this.fb.group({\r\n \r\n });\r\n }\r\n\r\n loadConsumerDurableDescription() {\r\n return this.fb.group({\r\n consumer_durable_description: [null]\r\n });\r\n }\r\n \r\n otherBusinessAssetsDescription() {\r\n return this.fb.group({\r\n any_other_assets: [''],\r\n any_other_asset_value : [''],\r\n any_other_asset_loan : [''], \r\n });\r\n }\r\n otherAssetsDescription() {\r\n \r\n return this.fb.group({\r\n any_other_assets: [''],\r\n //any_other_asset_value:[''],\r\n //any_other_asset_loan:['']\r\n });\r\n }\r\n\r\n loadInsuranceDescription() {\r\n return this.fb.group({\r\n insurance_type: [null],\r\n premium_paid: [null],\r\n frequency_mode: [null],\r\n other_frequency_mode:[null],\r\n sum_assured: [null],\r\n members_coverd: [null]\r\n });\r\n }\r\n\r\n loadInvestDescription() {\r\n return this.fb.group({\r\n investments_type: [''],\r\n other_investments_type:[''],\r\n in_which_organisation:[''],\r\n amount_of_invest: [''],\r\n bank_name: ['']\r\n });\r\n }\r\n\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n //manufacturer_model: [''],\r\n manufacturer_model_vehicle: ['']\r\n });\r\n }\r\n\r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n\r\n load_Two_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_two_weeler: ['']\r\n });\r\n }\r\n\r\n\r\n\r\n loadPropertyWithData(data) {\r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type]\r\n });\r\n }\r\n\r\n loadJwellDescriptionWithData(data) {\r\n return this.fb.group({\r\n // jwell_description: [data.jwell_description]\r\n });\r\n }\r\n\r\n loadConsumerDurableDescriptionWithData(data) {\r\n return this.fb.group({\r\n consumer_durable_description: [data.consumer_durable_description]\r\n });\r\n }\r\n\r\n otherAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n //any_other_asset_value : [data.any_other_asset_value],\r\n //any_other_asset_loan:[data.any_other_asset_loan]\r\n });\r\n }\r\n otherBusinessAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n any_other_asset_value : [data.any_other_asset_value],\r\n any_other_asset_loan : [data.any_other_asset_loan],\r\n });\r\n }\r\n\r\n loadInsuranceDescriptionWithData(data) {\r\n return this.fb.group({\r\n //insurance_type: [data.insurance_type],\r\n premium_paid: [data.premium_paid],\r\n frequency_mode: [data.frequency_mode],\r\n other_frequency_mode:[data.other_frequency_mode],\r\n sum_assured: [data.sum_assured],\r\n members_coverd: [data.members_coverd]\r\n });\r\n }\r\n\r\n loadInvestDescriptionWithData(data) {\r\n return this.fb.group({\r\n investments_type: [data.investments_type],\r\n other_investments_type:[data.other_investments_type],\r\n in_which_organisation:[data.in_which_organisation],\r\n amount_of_invest: [data.amount_of_invest],\r\n bank_name: [data.bank_name]\r\n });\r\n }\r\n\r\n \r\n\r\n load_Four_WeelerWithData(data) {\r\n return this.fb.group({\r\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\r\n });\r\n }\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n\r\n load_Two_WeelerWithData(data) {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\r\n });\r\n }\r\n saveAssetDetails(answerData)\r\n {\r\n \r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n // answerData.assets_details.map(val => {\r\n // if (val.emi == 'no') {\r\n // val.emi_paid = '';\r\n // val.elapsed_tenure = '';\r\n // val.balance_tenure = '';\r\n // val.original_loan_tenure ='';\r\n // }\r\n // });\r\n \r\n answerData.pdid = this.pdDetails.pd_id;\r\n answerData.formid = this.FormId.form_id;\r\n answerData.fk_createdby = this.users;\r\n \r\n this.qustCat.saveForm(answerData).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n }\r\n apiLoadFinish:boolean = false;\r\n getAssetDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\r\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n return res['records'].assets_details[key];\r\n });\r\n \r\n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n if (assetArray.length > 0) {\r\n for (let val of assetArray) {\r\n let vals = {\r\n assets_mode: val.assets_mode,\r\n approximate_market_value: val.approximate_market_value,\r\n name_of_the_owner: val.name_of_the_owner,\r\n other_owner:val.other_owner,\r\n purchase_year: val.purchase_year,\r\n vintage_personal:val.vintage_personal,\r\n // purchase_month: val.purchase_month,\r\n emi: val.emi,\r\n // emi_paid: val.emi_paid,\r\n // elapsed_tenure: val.elapsed_tenure,\r\n // balance_tenure: val.balance_tenure,\r\n // original_loan_tenure:val.original_loan_tenure,\r\n //assets_form_remark:val.assets_form_remark\r\n };\r\n const control = this.AssetsDetailsForm.controls['assets_details'];\r\n control.push(this.initDetailsWithdata(vals));\r\n \r\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\r\n }\r\n \r\n }\r\n // if (busarray.length > 0) {\r\n // for (let val of busarray) {\r\n // let vals = {\r\n // assets_mode: val.assets_mode,\r\n // approximate_market_value: val.approximate_market_value,\r\n // name_of_the_owner: val.name_of_the_owner,\r\n // purchase_year: val.purchase_year,\r\n // purchase_month: val.purchase_month,\r\n // emi: val.emi,\r\n // emi_paid: val.emi_paid,\r\n // elapsed_tenure: val.elapsed_tenure,\r\n // balance_tenure: val.balance_tenure,\r\n // original_loan_tenure:val.original_loan_tenure,\r\n // };\r\n // const control = this.AssetsDetailsForm.controls['assets_details'];\r\n // control.push(this.initBusinessDetailsWithdata(vals));\r\n \r\n // this.setAssetsDetailsWithData2(vals.assets_mode, val.details, control.length-1);\r\n // }\r\n \r\n // }\r\n this.apiLoadFinish = true;\r\n \r\n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\r\n }else{\r\n this.apiLoadFinish = true;\r\n this.addAsset(1);\r\n // this.addAsset(2);\r\n }\r\n })\r\n }\r\n\r\n \r\n \r\n \r\n\r\n\r\n initDetailsWithdata(data) {\r\n return this.fb.group({\r\n assets_mode: [data.assets_mode],\r\n details: this.fb.array([]),\r\n approximate_market_value: [data.approximate_market_value],\r\n name_of_the_owner: [data.name_of_the_owner],\r\n other_owner:[data.other_owner || ''],\r\n vintage_personal:[data.vintage_personal],\r\n // purchase_year: [data.purchase_year],\r\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n // purchase_month: [data.purchase_month],\r\n emi: [data.emi || 0],\r\n // emi_paid: [data.emi_paid || ''],\r\n // elapsed_tenure: [data.elapsed_tenure || ''],\r\n // balance_tenure: [data.balance_tenure || ''],\r\n // original_loan_tenure:[data.original_loan_tenure ||''],\r\n //assets_form_remark:[data.assets_form_remark || '']\r\n });\r\n }\r\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\r\n let val = i;\r\n // var data = Object.keys(datas).map(function (key) {\r\n // return datas[key];\r\n // });\r\n // alert(JSON.stringify(datas));\r\n let data = datas;\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n switch (assets_details_mode) {\r\n case '1': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'any_other_assets': datas.any_other_assets,\r\n 'name_of_the_owner':datas.name_of_the_owner,\r\n 'other_owner':datas.other_owner,\r\n //'relation':datas.relation,\r\n // 'any_other_asset_value' : datas.any_other_asset_value,\r\n //'any_other_asset_loan' : datas.any_other_asset_loan,\r\n };\r\n //this.OtherAssetValueInwords[i] = this.constprovider.convertNumberToWords(+datas.any_other_asset_value);\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.otherAssetsDescriptionWithData(array_data));\r\n break;\r\n }\r\n \r\n case '2': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'property_type':datas.property_type,'other_property_type':datas.other_property_type };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadPropertyWithData(array_data));\r\n break;\r\n }\r\n case '3': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.load_Four_WeelerWithData(array_data));\r\n break;\r\n }\r\n case '4': {\r\n let array_data:any\r\n data.forEach((datas,i)=>{\r\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\r\n })\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '5': {\r\n this.FormList = true;\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\r\n break;\r\n }\r\n case '6': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { \r\n 'premium_paid': datas.premium_paid,\r\n 'frequency_mode': datas.frequency_mode,\r\n 'other_frequency_mode':datas.other_frequency_mode,\r\n 'sum_assured': datas.sum_assured,\r\n 'members_coverd': datas.members_coverd\r\n };\r\n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(+datas.premium_paid);\r\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(+datas.sum_assured);\r\n \r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInsuranceDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '7': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(+datas.amount_of_invest);\r\n array_data = { 'investments_type': datas.investments_type,\r\n 'other_investments_type' : datas.other_investments_type,\r\n 'in_which_organisation':datas.in_which_organisation,\r\n 'amount_of_invest': datas.amount_of_invest,\r\n 'bank_name': datas.bank_name };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInvestDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '8': {\r\n this.FormList = true;\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.otherAssetsDescriptionWithData(data));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /** On Key Press Event For Number only Accepting */\r\n keyPress(event: any) {\r\n const pattern = /[0-9\\-\\.\\ ]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.appxMarketAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.OtherAppxMarketAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 3 :\r\n this.emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 4 :\r\n this.OtherEmiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 5 :\r\n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 6 :\r\n this.OtherPremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 7 :\r\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 8 :\r\n this.OtherSumAssuredInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 9 :\r\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 10 :\r\n this.OtherAmtInvestInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 11 :\r\n this.AssetValueInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 12 :\r\n this.OtherAssetValueInwords[i]= this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 13:\r\n this.B_emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 14:\r\n this.O_emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n // check others\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionOtherIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-other-income',\n templateUrl: 'pd-question-other-income.html',\n})\nexport class PdQuestionOtherIncomePage {\n\n FormId: any;\n custSeg: any;\n sourceIncome: any;\n otherIncomeDetails: any;\n users: any;\n pdDetails: any;\n pdid:any;\n incomeEarnedBy:any=[];\n amtInWords:any=[];\n \n frequencyData: any;\n otherIncomeForm: FormGroup;\n incomeDetails:FormArray;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider, public constant:ConstantsProvider) {\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n this.otherIncomeForm = this.fb.group({\n other_income: [null],\n otherincome_remarks:[null],\n income_details: this.fb.array([])\n });\n \n \n \n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\n //this.incomeDetails.push(this.createDetail())\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n }\n\n createDetail():FormGroup {\n return this.fb.group({\n source: [''],\n others_source : [''],\n income_earned_by:[''],\n others_income_earned_by:[''],\n amount: [''],\n frequency: [''],\n others_frequency : ['']\n });\n}\naddIncomeDetails() {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n \n this.incomeDetails.push(this.createDetail());\n}\ndeleteIncomeDetails(index) {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n if(this.incomeDetails.length==1){\n // this.otherIncomeForm.controls['income_details'].reset();\n this.otherIncomeForm.reset();\n this.amtInWords[index]=''\n }else{\n this.incomeDetails.removeAt(index);\n }\n}\ncheckotherDetails(val)\n{\n if(val==\"Yes\")\n {\n this.addIncomeDetails();\n }\n if(val==\"No\"){\n //let length=this.otherIncomeForm.income_details.controls.length\n const control= this.otherIncomeForm.controls['income_details'];\n control.removeAt(0)\n // let len=control.length\n // for(let i=0;i{\n if(res['dataStatus']==true)\n {\n this.incomeEarnedBy=res['record'];\n }\n })\n let master_name = 'FREQUENCY';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\n }\n });\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.sourceIncome = res['records'];\n }\n });\n \n \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\nsubmitOtherIncome(answerData)\n{\n let records: any = {};\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.other_income = answerData.other_income;\n records.income_details = answerData.income_details;\n records.otherincome_remarks = answerData.otherincome_remarks;\n this.qustCat.saveForm(records).subscribe(data => {\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n }, error => {\n \n })\n}\n\ngetOtherIncome()\n{\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n this.otherIncomeDetails = res; \n if(this.otherIncomeDetails.dataStatus == true)\n {\n this.otherIncomeDetails = this.otherIncomeDetails.records;\n if(this.otherIncomeDetails.other_income=='Yes'){\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\n return res['records'].income_details[key];\n\n });\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n \n \n \n \n if(incomeArray.length==0)\n {\n // this.incomeDetails.push(this.createDetail());\n }else\n {\n incomeArray.forEach((datas,index)=>\n {\n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n })\n }\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\n \n }else\n {\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n }\n }\n else{\n // this.incomeDetails.push(this.createDetail())\n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component, OnInit } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionPersonalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-personal-info',\r\n templateUrl: 'pd-question-personal-info.html',\r\n})\r\nexport class PdQuestionPersonalInfoPage implements OnInit{\r\n\r\n questionDetails: any;\r\n pdDetails: any;\r\n users: any;\r\n _personalForm: FormGroup;\r\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\r\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\r\n relationShipList:any=[];\r\n \r\n form_id:number;\r\n \r\n\r\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\r\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\r\n \r\n public mainApplicantDetails :any=[];\r\n public coApplicantDetails :any=[];\r\n \r\n errorMessage:any;\r\n //coItem:any;\r\n //mainItem:any;\r\n\r\n repeat:number=3;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n // this.getRelationMaster();\r\n \r\n \r\n \r\n }\r\n ngOnInit() {\r\n \r\n this.loadPDDetails();\r\n this.getRelationMaster();\r\n this.mainApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 1);\r\n this.coApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 0);\r\n }\r\n\r\n // load form pd details\r\n loadPDDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\r\n \r\n this.qustCat.retiverForm(records).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.loadFormWithIDData(data['records']);\r\n \r\n }\r\n else{\r\n let defaultMainApp=[];\r\n let defaultCoApp=[];\r\n // generate default main applicant form details\r\n if(this.mainApplicantDetails.length>0){ \r\n for(let j=0;j this.errorMessage = error);\r\n}\r\n\r\nloadDataStatus: boolean = false;\r\n\r\nloadFormWithIDData(data) {\r\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\r\n return data.main_applicant_details[key];\r\n});\r\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\r\n return data.co_applicant_details[key];\r\n});\r\n\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n relation_ans:new FormControl(item.relation_ans, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark: [data.personal_info_form_remark]\r\n });\r\n this.loadDataStatus = true;\r\n}\r\n\r\n loadFormData(mainApp,coApp){\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n \r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.coApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.coApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\r\n relation_id:new FormControl(5),\r\n relation_ans:new FormControl(null, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark:null\r\n });\r\nthis.loadDataStatus = true;\r\n }\r\n\r\n //get pd main applicant array values \r\n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\r\n\r\n // get pd co applicant array values\r\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\r\n\r\n // get relation master details\r\n getRelationMaster(){\r\n let relation =\"RELATIONSHIPS\";\r\n this.qustCat.getcommondrop(relation).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.relationShipList=data['records'];\r\n \r\n }\r\n}, error => this.errorMessage = error);\r\n}\r\n\r\n// submit forms details\r\nsubmitPersonalForm(formData:any) {\r\n if(this._personalForm.valid){\r\n let main_applicantDetails:any=[];\r\n let co_applicantDetails:any=[];\r\n\r\n formData.mainItem.forEach((element,key) => {\r\n if(key==0){\r\n main_applicantDetails.push({\r\n \"name_ans\":element.name_ans,\r\n \"age_ans\":element.age_ans,\r\n \"entity_ans\":element.entity_ans,\r\n \"qualification_ans\":element.qualification_ans,\r\n \"earning_ans\":element.earning_ans, \r\n })\r\n }\r\n \r\n });\r\n formData.coItem.forEach((Coelement,Cokey) => {\r\n co_applicantDetails.push({\r\n\r\n \"name_ans\":Coelement.name_ans,\r\n \"age_ans\":Coelement.age_ans,\r\n \"qualification_ans\":Coelement.qualification_ans,\r\n \"entity_ans\":Coelement.entity_ans,\r\n \"earning_ans\":Coelement.earning_ans, \r\n \"relation_ans\":Coelement.relation_ans, \r\n })\r\n \r\n });\r\n\r\n let save_details:any={\r\n \"pdid\" : this.pdDetails.pd_id,\r\n \"formid\" : '341',\r\n \"fk_createdby\":this.users,\r\n \"main_applicant_details\":main_applicantDetails,\r\n \"co_applicant_details\":co_applicantDetails,\r\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\r\n };\r\n this.qustCat.saveForm(save_details).subscribe(result => {\r\n if (result['dataStatus']==true) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.notifier.notify('success', 'Success.');\r\n }\r\n else {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n }\r\n }, error => {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n });\r\n }\r\n}\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionRentalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-rental-info',\r\n templateUrl: 'pd-question-rental-info.html',\r\n})\r\nexport class PdQuestionRentalInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n FormId: any;\r\n rentalForms:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public fb:FormBuilder) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n this.rentalForms = this.fb.group(\r\n {\r\n person_met:[null,Validators.compose([Validators.required])],\r\n property_own:[null,Validators.compose([Validators.required])],\r\n nature_property:[null,Validators.compose([Validators.required])],\r\n nature_others:[null],\r\n rental_home:this.fb.array([])\r\n })\r\n this.getRentalDetails();\r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\r\n }\r\n\r\n createrentalHome()\r\n {\r\n return this.fb.group(\r\n {\r\n complete_add:[null,Validators.compose([Validators.required])],\r\n area_of_property:[null,Validators.compose([Validators.required])],\r\n structure_property:[null,Validators.compose([Validators.required])],\r\n total_room:[null,Validators.compose([Validators.required])],\r\n is_rent:[null,Validators.compose([Validators.required])],\r\n date_agreement:[null,Validators.compose([Validators.required])],\r\n date_validity:[null,Validators.compose([Validators.required])],\r\n rent_agreement:[null,Validators.compose([Validators.required])],\r\n actual_rent:[null,Validators.compose([Validators.required])],\r\n photo_areegment:[null,Validators.compose([Validators.required])],\r\n property_photographs:[null],\r\n bank:[null,Validators.compose([Validators.required])],\r\n cash:[null,Validators.compose([Validators.required])],\r\n rent_each_floor:[null,Validators.compose([Validators.required])],\r\n total_rent:[null,Validators.compose([Validators.required])],\r\n related_doc_owner:[null,Validators.compose([Validators.required])],\r\n details_tenants:this.fb.array([]),\r\n third_party_check:[null,Validators.compose([Validators.required])],\r\n })\r\n }\r\n\r\n createTenantsDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n name:[null,Validators.compose([Validators.required])],\r\n mobile_no:[null,Validators.compose([Validators.required])],\r\n tenants_seen:[null,Validators.compose([Validators.required])],\r\n tenants_con_owner:[null,Validators.compose([Validators.required])],\r\n rent_paid:[null,Validators.compose([Validators.required])],\r\n staying_since:[null,Validators.compose([Validators.required])],\r\n \r\n });\r\n }\r\n\r\n addrentalHome()\r\n {\r\n const control = this.rentalForms.get('rental_home') as FormArray;\r\n control.push(this.createrentalHome());\r\n this.addTenantsDetails(0);\r\n }\r\n\r\n addTenantsDetails(i)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\r\n \r\n // control.controls.splice(0);\r\n control.push(this.createTenantsDetails());\r\n\r\n }\r\n\r\n deleteTenantsDetails(rentIndex,TenantsIndex)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\r\n \r\n control.removeAt(TenantsIndex);\r\n }\r\n\r\n deleterentalHome(i)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n if(control.length==1)\r\n {\r\n this.rentalForms.controls['rental_home'].reset();\r\n }else\r\n {\r\n control.removeAt(i);\r\n }\r\n }\r\n saveRentalDetails(answerData)\r\n {\r\n let records:any={}\r\n \r\n \r\n// if(this.rentalForms.valid){\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.person_met = answerData.person_met;\r\n records.property_own = answerData.property_own;\r\n records.nature_property = answerData.nature_property;\r\n if(answerData.nature_property=='others')\r\n {\r\n records.nature_others = answerData.nature_others\r\n }\r\n records.rental_home = answerData.rental_home;\r\n Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\r\n\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter All Field');\r\n // }\r\n }\r\n\r\n getRentalDetails()\r\n {\r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let rentalDetails = res['records'];\r\n var rentalData = Object.keys(res['records'].rental_home\r\n ).map(function(key) {\r\n return res['records'].rental_home\r\n [key];\r\n\r\n });\r\n var tanantsData = [];\r\n var control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n var tanantscontrol; \r\n rentalData.forEach((val,index)=>\r\n {\r\n \r\n // this.addrentalHome();\r\n // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\r\n // {\r\n \r\n \r\n // return val.details_tenants[key];\r\n // }));\r\n rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\r\n {\r\n \r\n \r\n return val.details_tenants[key];\r\n });\r\n control.push(this.createrentalHome()); \r\n tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \r\n \r\n rentalData[index].details_tenants.forEach((val,key)=>\r\n {\r\n //rentalData[index].details_tenants = val;\r\n \r\n // rentalData[index].details_tenants = [key];\r\n tanantscontrol.push(this.createTenantsDetails());\r\n });\r\n \r\n // control[index].details_tenants =tanantscontrol; \r\n });\r\n this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\r\n this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\r\n this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\r\n if(rentalDetails.nature_property=='others'){\r\n this.rentalForms.controls['nature_others'].\r\n setValue(rentalDetails.nature_others);\r\n }\r\n \r\n this.rentalForms.controls['rental_home'].setValue(rentalData); \r\n }else\r\n {\r\n this.addrentalHome();\r\n // this.addTenantsDetails(0);\r\n }\r\n })\r\n }\r\n createTenantsDetailswithData(index,data)\r\n {\r\n return this.fb.group(\r\n {\r\n name:[data.name],\r\n mobile_no:[data.mobile_no],\r\n tenants_seen:[data.tenants_seen],\r\n tenants_con_owner:[data.tenants_con_owner],\r\n rent_paid:[data.rent_paid],\r\n staying_since:[data.staying_since]\r\n });\r\n }\r\n\r\n validateAllFormFields(formGroup: any) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n \r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { \r\n this.validateAllFormFields(control);\r\n } else if (control instanceof FormArray) { \r\n this.validateAllFormFields(control);\r\n }\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDashPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-dash',\r\n templateUrl: 'pd-question-assessed-dash.html',\r\n})\r\nexport class PdQuestionAssessedDashPage {\r\n\r\n businessIncome: boolean;\r\n grossAccess: boolean;\r\n finalAccess: boolean;\r\n finalExpense: any;\r\n finalIncome: any;\r\n finalData: any;\r\n houseExpenseData: boolean;\r\n businessData: boolean;\r\n salesData: boolean;\r\n purchaseData: boolean;\r\n grossprofit: any;\r\n assessedProcess: boolean;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n calc_type_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n mode:[null,Validators.compose([Validators.required])],\r\n margin:[null],\r\n fk_createdby:[this.users],\r\n fk_updatedby:[null],\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getassessedIncome(); \r\n }\r\n getViewPage(pageId)\r\n {\r\n\r\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\r\n }\r\n\r\n saveAssessedForm(answerData)\r\n {\r\n \r\n if(this.assessedForm.valid)\r\n {\r\n \r\n \r\n \r\n let records = {'records':this.assessedForm.value};\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.getassessedIncome();\r\n }else\r\n {\r\n\r\n }\r\n })\r\n \r\n }\r\n }\r\n\r\n getassessedIncome()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.assessedProcess = true;\r\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\r\n if(res['records'].purchase_details.length !=0)\r\n {\r\n this.purchaseData = true;\r\n }\r\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\r\n {\r\n this.salesData = true;\r\n }\r\n if(res['records'].business_expenses.length !=0)\r\n {\r\n this.businessData = true;\r\n }\r\n if(res['records'].house_hold_expenses.length !=0)\r\n {\r\n this.houseExpenseData = true;\r\n }\r\n if(res['records'].othre_business_income.length !=0)\r\n {\r\n this.businessIncome = true;\r\n }\r\n \r\n if(res['records'].final_data.length !=0){\r\n this.finalAccess = true;\r\n this.finalData = res['records'].final_data[0]; \r\n this.finalIncome = this.finalData.income;\r\n this.finalExpense = this.finalData.expense; \r\n }\r\n \r\n if(this.grossprofit !==undefined)\r\n {\r\n this.grossAccess = true;\r\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\r\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\r\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\r\n }\r\n \r\n }else\r\n {\r\n this.assessedProcess = false;\r\n }\r\n });\r\n }\r\n\r\n\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { FormatWidth } from '@angular/common';\r\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-info',\r\n templateUrl: 'pd-question-assessed-info.html',\r\n})\r\nexport class PdQuestionAssessedInfoPage {\r\n\r\n busissnessIncome: any;\r\n mode: any;\r\n grossprofitCalc: any;\r\n houseHold_details: any;\r\n grandHouseExpenseTotal: any;\r\n houseannual: any=[];\r\n businessExpenses_details: any;\r\n grandExpenseTotal: any;\r\n expenseannual: any=[];\r\n businessExpenses: any;\r\n purchse_details: any;\r\n sales_item_month_value: any=[];\r\n sales_wise_month_headers:any = [];\r\n sales_month_wise_data:any = [];\r\n sales_item_value: any;\r\n grandpurchaseTotal: any=null;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n users: any;\r\n pageId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n FormName:any;\r\n annual:any = [];\r\n rawMaterialForm:FormGroup;\r\n BuissnessForm:FormGroup;\r\n houseHoldForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pageId = this.navParams.get('pageId');\r\n\r\n switch(this.pageId)\r\n {\r\n case 1:\r\n this.FormName = \"Sales Page\";\r\n break;\r\n case 2:\r\n this.FormName = \"Purchase Page\";\r\n break;\r\n case 3:\r\n this.FormName = \"Business Expense Page\";\r\n break;\r\n case 4:\r\n this.FormName = \"House Hold Page\";\r\n break;\r\n default:\r\n this.FormName = \"Question Page\";\r\n break;\r\n }\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n sdc_id:[null],\r\n sales_declared_by_customer:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n margin_per:[null],\r\n margin_value:[null],\r\n isactive:[1],\r\n fk_createdby:[this.users],\r\n \r\n });\r\n \r\n \r\n \r\n \r\n // this.getdropList();\r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\r\n }\r\n\r\n\r\n \r\n \r\n\r\n ionViewDidEnter() {\r\n \r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getAssessedDetails(); \r\n }\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n getMarginCalc()\r\n {\r\n let margin_per = this.assessedForm.controls['margin_per'].value;\r\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\r\n if(margin_per !=null && sales_declared_by_customer !=null)\r\n {\r\n let value = sales_declared_by_customer * (margin_per/100);\r\n this.assessedForm.controls['margin_value'].setValue(value);\r\n }\r\n }\r\n\r\n saveData(answerData)\r\n {\r\n let records:any = {};\r\n\r\n records ={'records':answerData};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\r\n {\r\n // console.log(res);\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.getAssessedDetails();\r\n }\r\n })\r\n }\r\n \r\n getAssessedDetails()\r\n {\r\n this.sales_item_month_value = [];\r\n this.sales_month_wise_data = [];\r\n this.sales_item_value= [];\r\n let records = {'pd_id':this.pdDetails.pd_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let sales_value = res['records'].sales_declared_by_customer[0];\r\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\r\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\r\n this.purchse_details = res['records'].purchase_details; \r\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0];\r\n this.mode = this.grossprofitCalc.mode;\r\n console.log(this.grossprofitCalc);\r\n var result = this.purchse_details.reduce(function(p, c) {\r\n \r\n return p;\r\n },[]);\r\n console.log(result);\r\n\r\n\r\n this.businessExpenses_details = res['records'].business_expenses;\r\n this.houseHold_details = res['records'].house_hold_expenses;\r\n this.busissnessIncome = res['records'].othre_business_income;\r\n // console.log(this.sales_item_month_value);\r\n // this.getpurchaseDetails(this.purchse_details);\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\r\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\r\n let listItems: any=[];\r\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\r\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\r\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\r\n })\r\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\r\n \r\n let convertYear : number = 12 / listItems.length;\r\n let footerMessage: any=[];\r\n footerMessage.push({\r\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\r\n month_value:calculateAllItemsTotal,\r\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\r\n year_value: calculateAllItemsTotal * convertYear,\r\n })\r\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id});\r\n });\r\n\r\n\r\n console.log(this.sales_month_wise_data);\r\n if(sales_value!==undefined){\r\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\r\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\r\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\r\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\r\n \r\n }\r\n \r\n }\r\n })\r\n\r\n }\r\n\r\n /**\r\n * Add Assessed Forms\r\n */\r\n\r\n AddAssessedForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'grossprofit':this.grossprofitCalc}); \r\n \r\n }\r\n\r\n editDetails(salesCal)\r\n {\r\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \r\n \r\n }\r\n editAllDetails(AllsalesData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'grossprofit':this.grossprofitCalc}); \r\n }\r\n\r\n /**Assessed Daily Form Details */\r\n\r\n AddAssessedDailyForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'grossprofit':this.grossprofitCalc})\r\n }\r\n editAssessedDailyForm(simId)\r\n {\r\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\r\n console.log(dailySaleDetails);\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'grossprofit':this.grossprofitCalc})\r\n \r\n }\r\n\r\n /**purchase Details Forms */\r\n AddPurchaseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \r\n \r\n }\r\n\r\n editPurchaseDetails(purchaseCal)\r\n {\r\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \r\n \r\n }\r\n editPurchaseAllDetails(AllpurchaseData)\r\n {\r\n console.log('260',AllpurchaseData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \r\n }\r\n \r\n\r\n /**Business Expense */\r\n AddExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editExpenseAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \r\n }\r\n \r\n\r\n /** Household Expenses Details */\r\n AddHouseExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editHouseExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editHouseExpenseAllDetails(AllExpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \r\n }\r\n\r\n /**\r\n * Income Details\r\n */\r\n AddIncomeForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \r\n \r\n }\r\n\r\n editIncomeDetails(expenseCal)\r\n {\r\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \r\n \r\n }\r\n editIncomeAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \r\n }\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedSalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-sales',\r\n templateUrl: 'pd-question-assessed-sales.html',\r\n})\r\nexport class PdQuestionAssessedSalesPage {\r\n\r\n grossprofitCalc: any;\r\n salesData: any =[];\r\n annual: any=[];\r\n grandTotal: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n assessedForm: FormGroup;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n \r\n salesCalItemwise:this.fb.array([]),\r\n });\r\n this.salesData = this.navParams.get('sales');\r\n if(this.salesData!=null)\r\n {\r\n this.getSalesItemData(this.salesData);\r\n }else\r\n {\r\n this.addSalesCal();\r\n }\r\n // this.addSalesCal();\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n }\r\n\r\n createSalesCal()\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n\r\n sales_item:[null,Validators.compose([Validators.required])],\r\n sales_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_sale_value:[null],\r\n margin_per:[null],\r\n margin_per_uom:[null],\r\n margin_final_value:[null],\r\n });\r\n }\r\n\r\n addSalesCal()\r\n {\r\n if(this.assessedForm.valid){\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n control.push(this.createSalesCal());\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the all fields');\r\n }\r\n }\r\n \r\n removeSalesCal(i)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n console.log(this.grandTotal);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(i);\r\n this.addSalesCal(); \r\n } else{\r\n control.removeAt(i);\r\n }\r\n }\r\n /**\r\n * frequency Type \r\n * 1.Weekly no need\r\n * 2.Daily 250\r\n * 3.Yearly \r\n * 4.Hourly no need\r\n * 5.Monthly 12\r\n * 6.none\r\n * 7.none\r\n * 8.none\r\n */\r\n salecalculat(index,details)\r\n {\r\n // console.log(details,index);\r\n let frequencyId = details.value.fk_frequency_id;\r\n let salesQty = details.value.sales_qty;\r\n let UOM = details.value.rate_per_unit;\r\n // console.log(frequencyId,salesQty,UOM,index);\r\n // console.log(frequencyId);\r\n let annual\r\n if(salesQty!=null && UOM!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (salesQty*UOM*250);\r\n this.annual[index] = annual;\r\n details.controls['annual_sale_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (salesQty*UOM);\r\n this.annual[index] = annual;\r\n details.controls['annual_sale_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (salesQty*UOM*12);\r\n this.annual[index] = annual;\r\n details.controls['annual_sale_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n }else\r\n {\r\n // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\r\n }\r\n \r\n \r\n \r\n \r\n console.log(this.annual);\r\n }\r\n\r\n getSalesCalc(details)\r\n {\r\n // console.log(details);\r\n let margin_per = details.value.margin_per;\r\n let margin_amount = details.value.margin_per_uom;\r\n let annual_sale_value = details.value.annual_sale_value;\r\n let sales_qty = details.value.sales_qty;\r\n // console.log(sales_qty,margin_amount);\r\n let value:any = '';\r\n if(margin_per !=null || margin_amount !=null){\r\n if(margin_per !=null)\r\n {\r\n value = +annual_sale_value * (+margin_per/100);\r\n }else\r\n {\r\n console.log('else');\r\n value = +sales_qty* +margin_amount;\r\n }\r\n console.log(value);\r\n details.controls['margin_final_value'].setValue(value);\r\n }\r\n }\r\n saveData(answerData)\r\n {\r\n let records = {'records':answerData.salesCalItemwise};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n })\r\n }\r\n \r\n getSalesItemData(salesData)\r\n {\r\n console.log(salesData);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n\r\n salesData.forEach((sale,index)=>{\r\n \r\n this.annual[index] = sale.annual_sale_value\r\n control.push(this.createSaleswithData(sale));\r\n })\r\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\r\n // console.log(control);\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n }\r\n\r\n createSaleswithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[data.sci_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\r\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_sale_value:[data.annual_sale_value],\r\n margin_per:[data.margin_per],\r\n margin_per_uom:[data.margin_per_uom],\r\n margin_final_value:[data.margin_final_value],\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDailySalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-daily-sales',\r\n templateUrl: 'pd-question-assessed-daily-sales.html',\r\n})\r\nexport class PdQuestionAssessedDailySalesPage {\r\n\r\n currentDate: string;\r\n grossprofitCalc: any;\r\n salesDaily: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n salesDailyForm: FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.salesDaily = this.navParams.get('salesDaily');\r\n this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.users = this.aws.getlocale();\r\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\r\n \r\n this.salesDailyForm = this.fb.group(\r\n {\r\n sales_product: this.fb.array([]),\r\n })\r\n if (this.salesDaily != null) {\r\n this.getDailySalesData(this.salesDaily);\r\n } else {\r\n this.adddailySalaesProduct();\r\n\r\n }\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\r\n }\r\n\r\n createdailysalesProduct() {\r\n return this.fb.group(\r\n {\r\n sim_id: [null],\r\n sales_item: [null, Validators.compose([Validators.required])],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n margin_per: [null],\r\n margin_value: [null],\r\n fk_createdby: [this.users],\r\n isactive: ['1'],\r\n });\r\n }\r\n createdailyChildSaleProduct() {\r\n return this.fb.group({\r\n simc_id: [null],\r\n fk_sim_id: [null],\r\n sales_date: [null, Validators.compose([Validators.required])],\r\n sales_value: [null, Validators.compose([Validators.required])],\r\n isactive: ['1'],\r\n })\r\n }\r\n temparr = [];\r\n tempdate = [];\r\n getSalesCalc(subchild,child,key) {\r\n \r\n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\r\n let totalitemmargin = child.value.margin_per;\r\n \r\n if (totalitemmargin != null && subchild.value.sales_value !=null) {\r\n let loopAccess = false;\r\n let loopindex = 0;\r\n if (this.tempdate.length != 0) {\r\n for (var i = 0; i < this.tempdate.length; i++) {\r\n\r\n if (this.tempdate[i].month == saledate) {\r\n loopAccess = true;\r\n loopindex = i;\r\n }\r\n }\r\n\r\n if (loopAccess) {\r\n\r\n \r\n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\r\n this.temparr.push(subchild.value.sales_value);\r\n loopAccess = false;\r\n loopindex = 0;\r\n \r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n\r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\r\n this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n let totalMonth = 12 / this.tempdate.length;\r\n \r\n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\r\n \r\n // let value = tempgrandTotal * (totalitemmargin / 100);\r\n let value = tempgrandTotal*totalMonth ;\r\n \r\n let grandValue = value * (totalitemmargin / 100);\r\n child.controls['margin_value'].setValue(grandValue);\r\n \r\n }\r\n \r\n }\r\n adddailySalaesProduct() {\r\n this.tempdate = [];\r\n if (this.salesDailyForm.valid) {\r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n control.push(this.createdailysalesProduct());\r\n \r\n this.adddailyChildSaleProduct(control.length - 1);\r\n }\r\n }\r\n adddailyChildSaleProduct(index) {\r\n // if(this.salesDailyForm.valid){\r\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\r\n\r\n control.push(this.createdailyChildSaleProduct());\r\n // }\r\n }\r\n\r\n deletedailySalesProduct(index) {\r\n \r\n this.tempdate.slice(index,1);\r\n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\r\n if (control.length == 1) {\r\n this.salesDailyForm.controls['sales_product'].reset();\r\n } else {\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n deletedailyChildSaleProduct(saleIndex, saleChildIndex) {\r\n this.tempdate = [];\r\n const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(saleChildIndex);\r\n this.adddailyChildSaleProduct(saleIndex); \r\n }else{\r\n control.removeAt(saleChildIndex);\r\n }\r\n }\r\n saveData(answerData) {\r\n if (this.salesDailyForm.valid) {\r\n let records = { 'records': answerData.sales_product };\r\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\r\n if (res['dataStatus'] == true) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n });\r\n }\r\n\r\n\r\n }\r\n getDailySalesData(dailySalesData) {\r\n \r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n let salesChildControl;\r\n let salesChildControlarr = [];\r\n dailySalesData.forEach((val, index) => {\r\n\r\n control.push(this.dailySalesWithData(val));\r\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\r\n\r\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\r\n\r\n salesChildControlarr[index].forEach((vals, i) => {\r\n vals.forEach((item, key) => {\r\n let saleDate = new Date(item.sales_date);\r\n\r\n item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() + 1)).slice(-2);\r\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id));\r\n })\r\n\r\n\r\n\r\n });\r\n\r\n });\r\n }\r\n\r\n dailySalesWithData(data) {\r\n\r\n return this.fb.group(\r\n {\r\n sim_id: [data.sim_id],\r\n sales_item: [data.sales_item, Validators.compose([Validators.required])],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n fk_createdby: [this.users],\r\n isactive: ['1'],\r\n margin_per: [data.margin_per],\r\n margin_value: [data.margin_value],\r\n })\r\n }\r\n dailySalesChildWithData(data, fk_id) {\r\n\r\n\r\n return this.fb.group(\r\n {\r\n simc_id: [data.simc_id],\r\n fk_sim_id: [fk_id],\r\n sales_date: [data.sales_date, Validators.compose([Validators.required])],\r\n sales_value: [data.sales_value, Validators.compose([Validators.required])],\r\n isactive: ['1'],\r\n })\r\n\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedPurchasePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-purchase',\r\n templateUrl: 'pd-question-assessed-purchase.html',\r\n})\r\nexport class PdQuestionAssessedPurchasePage {\r\n purchaseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n businessExpenses: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n annual: any = [];\r\n grandpurchaseTotal: any;\r\n rawMaterialForm:FormGroup;\r\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.purchaseDetails = this.navParams.get('purchase');\r\n this.users = this.aws.getlocale();\r\n this.rawMaterialForm = this.fb.group(\r\n {\r\n purchase:this.fb.array([]),\r\n });\r\n if(this.purchaseDetails!=null)\r\n {\r\n this.getpurchaseDetails(this.purchaseDetails);\r\n }else\r\n {\r\n this.addPurchaseDetails();\r\n }\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\r\n }\r\n\r\n\r\n createPurchaseDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n purchase_item:[null,Validators.compose([Validators.required])],\r\n purchase_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_purchase_value:[null,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n }\r\n })\r\n }\r\n addPurchaseDetails()\r\n {\r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.push(this.createPurchaseDetails());\r\n }\r\n\r\n deletePurchaseDetails(i)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.removeAt(i); \r\n }\r\n\r\n\r\n salecalculat(index,details)\r\n {\r\n console.log(this.grandpurchaseTotal);\r\n console.log(details,index);\r\n let frequencyId = details.value.fk_frequency_id;\r\n let purchaseQty = details.value.purchase_qty;\r\n let UOM = details.value.rate_per_unit;\r\n console.log(frequencyId,purchaseQty,UOM,index);\r\n // console.log(frequencyId);\r\n let annual\r\n if(purchaseQty!=null && UOM!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (purchaseQty*UOM*250);\r\n this.annual[index] = annual;\r\n details.controls['annual_purchase_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (purchaseQty*UOM);\r\n this.annual[index] = annual;\r\n details.controls['annual_purchase_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (purchaseQty*UOM*12);\r\n this.annual[index] = annual;\r\n details.controls['annual_purchase_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\r\n }\r\n }\r\n savepurchaseData(answerData)\r\n {\r\n if(this.rawMaterialForm.valid){\r\n let records = {'records':answerData.purchase};\r\n console.log('data',records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.getAssessedDetails();\r\n \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getpurchaseDetails(purchaseDetails)\r\n {\r\n console.log('function in',purchaseDetails);\r\n \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \r\n console.log(control); \r\n if(purchaseDetails.length ==0)\r\n {\r\n console.log('if');\r\n this.addPurchaseDetails();\r\n }else{\r\n console.log('else');\r\n purchaseDetails.forEach((val,index)=>\r\n {\r\n // console.log(index);\r\n control.push(this.createPurchasewithData(val));\r\n this.annual[index] = val.annual_purchase_value;\r\n });\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\r\n }\r\n // console.log(control); \r\n \r\n }\r\n\r\n createPurchasewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[data.purchase_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\r\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business',\r\n templateUrl: 'pd-question-assessed-business.html',\r\n})\r\nexport class PdQuestionAssessedBusinessPage {\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n grandpurchaseTotal(arg0: any): any {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n grandExpenseTotal: any=[];\r\n expenseannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessExpenses:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busExpense:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\r\n }\r\n\r\n\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[null,Validators.compose([Validators.required])],\r\n expense_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_expenses_value:[null,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.expenseannual.splice(i,1); \r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busExpensecalculat(index,details)\r\n {\r\n \r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let expenseValue = details.value.expense_value;\r\n let UOM = details.value.rate_per_unit;\r\n \r\n let annual\r\n if(expenseValue!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (expenseValue*250);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (expenseValue);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (expenseValue*12);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busExpense};\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.expenseannual[index] = val.annual_expenses_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n })\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[data.pd_expense_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\r\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedHouseholdPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-household',\r\n templateUrl: 'pd-question-assessed-household.html',\r\n})\r\nexport class PdQuestionAssessedHouseholdPage {\r\n\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n houseExpenseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n houseannual: any =[];\r\n grandHouseExpenseTotal: any=[];\r\n houseHoldForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.houseExpenseDetails = this.navParams.get('FormId');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.houseHoldForm = this.fb.group(\r\n {\r\n houseExpense:this.fb.array([]),\r\n });\r\n if(this.expenseDetails !=null)\r\n {\r\n this.getHouseholdExpense(this.expenseDetails);\r\n }else\r\n {\r\n this.addHouseExpenses();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n createHouseExpense()\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[null],\r\n\t\t fk_pd_id:[this.pdDetails.pd_id] ,\r\n\t\t expense_item: [null,Validators.compose([Validators.required])],\r\n\t\t expense_value: [null,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\r\n\t\t annual_expense_value: [null,Validators.compose([Validators.required])],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n\r\n addHouseExpenses()\r\n {\r\n \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n\r\n control.push(this.createHouseExpense());\r\n }\r\n\r\n deleteHouseExpense(i)\r\n {\r\n this.houseannual.splice(i,1); \r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n control.removeAt(i) \r\n }\r\n houseExpensecalculat(index,details)\r\n {\r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let expenseValue = details.value.expense_value;\r\n // let UOM = details.value.rate_per_unit;\r\n // console.log(frequencyId,purchaseQty,UOM,index);\r\n // console.log(details);\r\n let annual\r\n if(expenseValue!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (expenseValue*250);\r\n this.houseannual[index] = annual;\r\n details.controls['annual_expense_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (expenseValue);\r\n this.houseannual[index] = annual;\r\n details.controls['annual_expense_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (expenseValue*12);\r\n this.houseannual[index] = annual;\r\n details.controls['annual_expense_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n console.log(this.grandHouseExpenseTotal); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n saveHouseExpenseData(answerData)\r\n {\r\n if(this.houseHoldForm.valid)\r\n {\r\n let records = {'records':answerData.houseExpense};\r\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n getHouseholdExpense(houseExpesneDetails)\r\n {\r\n if(houseExpesneDetails.length==0)\r\n {\r\n this.addHouseExpenses(); \r\n }else\r\n {\r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \r\n houseExpesneDetails.forEach((val,index)=>\r\n {\r\n this.houseannual[index] = val.annual_expense_value;\r\n control.push(this.createHouseholdwithData(val));\r\n \r\n });\r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createHouseholdwithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[data.household_expense_id],\r\n\t\t fk_pd_id:[this.pdDetails.pd_id] ,\r\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\r\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\r\n\t\t annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business-income',\r\n templateUrl: 'pd-question-assessed-business-income.html',\r\n})\r\nexport class PdQuestionAssessedBusinessIncomePage {\r\n m_freqOfPurchase: any = [];\r\n expenseDetails: any;\r\n \r\n grandIncomeTotal: any=[];\r\n incomeannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessIncome:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('income');\r\n \r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busIncome:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\r\n }\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[null,Validators.compose([Validators.required])],\r\n income_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_income_value:[null,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[null],\r\n other_frequncy_item:[null],\r\n })\r\n }\r\n\r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.incomeannual.splice(i,1); \r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busIncomecalculate(index,details)\r\n {\r\n \r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let incomeValue = details.value.income_value;\r\n // let UOM = details.value.rate_per_unit;\r\n \r\n let annual:any;\r\n if(incomeValue!=null && incomeValue !=null){\r\n let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \r\n if(frequencyId==1)\r\n {\r\n \r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual); \r\n }else if(frequencyId==2)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual);\r\n }else if(frequencyId==5)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual); \r\n }else if(frequencyId==7)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual); \r\n }else if(frequencyId==8)\r\n {\r\n annual = (incomeValue);\r\n this.incomeannual[index] = annual; \r\n details.controls['annual_income_value'].setValue(annual); \r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busIncome};\r\n \r\n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.incomeannual[index] = val.annual_income_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n })\r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[data.pd_business_income_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\r\n income_value:[data.income_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[data.other_income_item],\r\n other_frequncy_item:[data.other_frequncy_item],\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionLenderRepresentativePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-lender-representative',\r\n templateUrl: 'pd-question-lender-representative.html',\r\n})\r\nexport class PdQuestionLenderRepresentativePage {\r\n\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n representativeForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.users = this.aws.getlocale();\r\n this.representativeForm = this.fb.group({\r\n pdid:[this.pdDetails.pd_id],\r\n formid:[this.FormId.form_id],\r\n fk_createdby:[this.users],\r\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\r\n representative_remarks: ['', Validators.compose([Validators.required])],\r\n lender_representative_details: this.fb.array([]),\r\n });\r\n this.getLenderReDetails();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\r\n }\r\n \r\n createlenReDetails()\r\n {\r\n return this.fb.group({\r\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\r\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\r\n });\r\n }\r\n\r\n selectedLoanChanges(e): void {\r\n if (e.value == 'Yes') {\r\n const control = this.representativeForm.controls['lender_representative_details'];\r\n control.push(this.createlenReDetails());\r\n } else if (e.value == 'No') {\r\n const arr = this.representativeForm.controls.lender_representative_details;\r\n arr.removeAt(0);\r\n }\r\n }\r\n\r\n sumbitData(answerData)\r\n { \r\n if(this.representativeForm.valid)\r\n {\r\n let records = this.representativeForm.value;\r\n \r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n });\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getLenderReDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let lenderReDetails = res['records'];\r\n if(lenderReDetails.lender_representative_accompany=='Yes'){\r\n\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n\r\n\r\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\r\n {\r\n return res['records'].lender_representative_details[key];\r\n });\r\n \r\n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \r\n lender_represent_details.forEach(val=>\r\n {\r\n control.push(this.createlenReDetails());\r\n })\r\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\r\n\r\n }else\r\n {\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n }\r\n }\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\r\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { DatePipe} from '@angular/common';\r\nimport {PdPipe} from './../../../pipes/pd/pd';\r\nimport { removeSummaryDuplicates } from '@angular/compiler';\r\nimport { DataSource } from '@angular/cdk/table';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-info',\r\n templateUrl: 'pd-question-general-info.html',\r\n providers:[PdPipe],\r\n})\r\nexport class PdQuestionGeneralInfoPage {\r\n pipe=new DatePipe('en-US');\r\n // person_name:any;\r\n qualification_name:any;\r\n individuals_order_id:any;\r\n is_new:any;\r\n pd_co_applicant_id:any;\r\n lengthv:any;\r\n qual_name:any;\r\n curr_qualification_name;\r\n curr_business_name;\r\n \r\n\r\n applicant_name: any;\r\n otherapp: any;\r\n fetch_related_details: any = [];\r\n checkApplicantExist: any;\r\n pd_applicants_details: any = [];\r\n companyRelationShipList: any;\r\n qualificationList:any;\r\n businessEntityTypeList:any;\r\n relationShipList: any;\r\n titleList:any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n generalForm:FormGroup;\r\n list_value:FormArray;\r\n fulldata:any\r\n public buttonClick:boolean;\r\n public h_companies:boolean\r\n public addIndi:boolean\r\n datav:any;\r\n individualsListBothCase:any;\r\n individualsList:any;\r\n companyList:any;\r\n i:number;\r\n data_all:any;\r\n maxDate:any;\r\n OldData:any=[];\r\n OldData_indi:any=[];\r\n updateIndex_indi:any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController) {\r\n this.maxDate = new Date();\r\n this.pd_applicants_details = []; \r\n this.pd_applicants_details.pop(); \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdDetails)\r\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\r\n //this.maxDate=new Date(get_max_date)\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.users = this.aws.getlocale();\r\n this.getdropdown();\r\n \r\n this.generalForm = this.fb.group({\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n applicant_list: this.fb.array([]),\r\n applicant_relation: this.fb.array([]),\r\n list_value:this.fb.array([]),\r\n company_value:this.fb.array([]),\r\n individuals:this.fb.array([]),\r\n companies:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n company_with_relationships:this.fb.array([]),\r\n \r\n general_remark:''\r\n });\r\n \r\n //this.initIndividuals();\r\n this.pd_applicants_details = this.pdDetails.applicat_details;\r\n \r\n \r\n \r\n // this.getcoapplicantDetails();\r\n this.buttonClick=false;\r\n this.h_companies=false;\r\n this.addIndi=false\r\n // this.initCompanies()\r\n this.datav=[{\r\n name:\"fairoj\",\r\n id:1\r\n },\r\n {\r\n name:\"ff\",\r\n id:2\r\n }\r\n \r\n ]\r\n //this.fulldata=this.generalForm.value\r\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['list_value'];\r\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\r\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\r\n this.fulldata=control.value;\r\n //control.controls.length\r\n //control.push()\r\n });\r\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['company_value'];\r\n this.companyList=control.value.filter(element=>element.company_name )\r\n })\r\n this.i=0;\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n // this.pd_applicants_details.pop();\r\n console.log('ionViewDidLoad PdQuestionGeneralInfoPage');\r\n this.getGeneralForm()\r\n }\r\n\r\n initlistv(data,purpose) :void\r\n {\r\n const control=this.generalForm.controls['list_value'];\r\n console.log(\"control\",control.length)\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[control.length+1],\r\n is_new:true,\r\n is_active:true,\r\n pd_co_applicant_id:[control.length+1], \r\n \r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n if(purpose=='get'){\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[val.individuals_order_id],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n pd_co_applicant_id:[val.pd_co_applicant_id] , \r\n \r\n \r\n \r\n \r\n\r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n}\r\n\r\n qualificationById(data):string{\r\n for(let i of this.qualificationList){\r\n if(data==i.qualification_id){\r\n this.qual_name=i.qualification_name\r\n return this.qual_name\r\n }\r\n }\r\n \r\n }\r\n initCompanyValue(data,purpose):void{\r\n const control=this.generalForm.controls['company_value'];\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n \r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n // company_order_id:[this.lengthv.companies.length+1],\r\n company_order_id:[control.length+1],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:true,\r\n is_active:true,\r\n company_messrs_name:['M/s'],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n if(purpose=='get')\r\n {\r\n for(let val of data)\r\n {\r\n \r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n company_order_id:[val.company_order_id],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n company_messrs_name:[val.company_messrs_name],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n }\r\n businessEntityById(val):string{\r\n for(let v of this.businessEntityTypeList){\r\n if(val==v.business_entity_type_id){\r\n var name=v.business_entity_type_name\r\n return name\r\n }\r\n }\r\n \r\n }\r\n \r\n\r\n initIndividuals(data):void{\r\n \r\n const control=this.generalForm.controls['individuals'];\r\n control.controls=[]\r\n if(data==null){\r\n let formData : FormGroup=this.fb.group({\r\n applicant_name:['',Validators.required],\r\n is_person_met:false,\r\n is_applicant:false,\r\n age:['',Validators.required],\r\n qualification:['',Validators.required],\r\n course_name:[''],\r\n applicant_title_name:['']\r\n\r\n });\r\n control.push(formData);\r\n }\r\n else{\r\n let formData : FormGroup=this.fb.group({\r\n applicant_name:[data.applicant_name,Validators.required],\r\n is_person_met:data.is_person_met,\r\n is_applicant:data.is_applicant,\r\n age:[data.age,Validators.required],\r\n qualification:[data.qualification,Validators.required],\r\n course_name:[data.course_name],\r\n applicant_title_name:[data.applicant_title_name],\r\n \r\n });\r\n this.buttonClick=!this.buttonClick;\r\n control.push(formData);\r\n\r\n }\r\n \r\n \r\n \r\n \r\n }\r\n initCompanies():void{\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[''],\r\n is_company_applicant:false,\r\n business_entity_type:[''],\r\n business_entity_type_other:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_date_object:['']\r\n });\r\n const control=this.generalForm.controls['companies'];\r\n control.controls=[]\r\n control.push(formData)\r\n }\r\n initPersonRelationship(value):void{\r\n const control=this.generalForm.controls['persons_with_relationships'];\r\n if(value=='')\r\n {\r\n \r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[''],\r\n applicant_name:[''],\r\n relationship:[''],\r\n relation_to:[''],\r\n individuals_order_id:[control.length+1],\r\n \r\n });\r\n \r\n control.push(formData);\r\n }\r\n else{\r\n for(let val of value)\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[val.pd_co_applicant_id],\r\n applicant_name:[val.applicant_name],\r\n relationship:[val.relationship],\r\n relation_to:[val.relation_to],\r\n });\r\n \r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n initCompanyRelationShip(value):void{\r\n if(value=='')\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[''],\r\n company_relationship:[''],\r\n relation_to_company:[''],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n else{\r\n for(let val of value){\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[val.applicant_name],\r\n company_relationship:[val.company_relationship],\r\n relation_to_company:[val.relation_to_company],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n\r\n \r\n \r\n add():void{\r\n \r\n this.initIndividuals(null);\r\n }\r\ndata:any;\r\ncart=[];\r\ndatajson:any;\r\ndataobj:any;\r\n\r\n addRec(v){\r\n if(v=='1')\r\n {\r\n this.addIndi=true;\r\n this.buttonClick=!this.buttonClick;\r\n this.initIndividuals(null);\r\n }\r\n if(v=='2')\r\n {\r\n this.h_companies=!this.h_companies;\r\n this.initCompanies();\r\n }\r\n }\r\n editIndividuals(index){\r\n let values=this.generalForm.controls.list_value.value[index]\r\n console.log(values)\r\n this.addIndi=false\r\n this.updateIndex_indi=index;\r\n this.initIndividuals(values);\r\n\r\n }\r\n update(v){\r\n if(v=='1'){\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n let val=this.generalForm.controls.individuals.value[0]\r\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\r\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\r\n // const control=this.list_value\r\n var c_qualification_name=this.qualificationById(val.qualification) \r\n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\r\n control.patchValue({\r\n \r\n applicant_title_name:val.applicant_title_name,\r\n applicant_name:val.applicant_name,\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:val.age,\r\n qualification:val.qualification,\r\n course_name:val.course_name,\r\n \r\n individuals_order_id:old.individuals_order_id,\r\n is_new:old.is_new,\r\n is_active:old.is_active,\r\n pd_co_applicant_id:old.pd_co_applicant_id, \r\n \r\n qualification_name:c_qualification_name\r\n });\r\n this.buttonClick=false;\r\n //this.toast.pdTriggerappmessage(\"Make Sure to save Changes click Save button at last\");\r\n // this.generalForm.controls.list_value.patchValue({\r\n\r\n // })\r\n \r\n // let formData:FormGroup=this.fb.group({\r\n // applicant_title_name:[val.applicant_title_name],\r\n // applicant_name:[val.applicant_name],\r\n // is_person_met:val.is_person_met,\r\n // is_applicant:val.is_applicant,\r\n // age:[val.age],\r\n // qualification:[val.qualification],\r\n // course_name:[val.course_name],\r\n \r\n // individuals_order_id:[old.individuals_order_id],\r\n // is_new:[old.is_new],\r\n // is_active:[old.is_active],\r\n // pd_co_applicant_id:[old.pd_co_applicant_id], \r\n \r\n // qualification_name:[c_qualification_name]\r\n // })\r\n // // console.log(\"control\",control)\r\n //control.push(formData)\r\n \r\n console.log(\"values\",val)\r\n console.log(\"old\",old);\r\n console.log(control);\r\n // this.initlistv(this.generalForm.value.individuals,'ins')\r\n // this.initPersonRelationship('');\r\n }\r\n }\r\n\r\n }\r\n \r\n delete(v):void{\r\n // const control=this.generalForm.controls['individuals'];\r\n //control.removeAt(i);\r\n //this.data=this.generalForm.value.individuals;\r\n this.cart.push(this.generalForm.value.individuals);\r\n this.data=Object.assign(this.cart);\r\n // this.data=Object.assign(this.generalForm.value.individuals)\r\n this.datajson=JSON.stringify(this.cart)\r\n if(v=='1')\r\n {\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initlistv(this.generalForm.value.individuals,'ins')\r\n this.initPersonRelationship('');\r\n }\r\n }\r\n else if(v=='2')\r\n {\r\n if(!this.generalForm.controls['companies'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initCompanyValue(this.generalForm.value.companies,'ins')\r\n }\r\n }\r\n \r\n }\r\n removeList(i,index){\r\n if(index=='1')\r\n {\r\n //For List List_value(Individuals)\r\n const control=this.generalForm.controls['list_value'];\r\n control.value[i].is_active=false;\r\n this.OldData_indi.push(control.value[i])\r\n control.removeAt(i);\r\n //For Person RelationShip auto Delete\r\n // const control1=this.generalForm.controls['persons_with_relationships'];\r\n //control1.removeAt(i);\r\n \r\n }\r\n if(index==2){\r\n //For Company_values(Companies)\r\n const control=this.generalForm.controls['company_value']\r\n control.value[i].is_active=false\r\n var vla=control.value[i]\r\n this.OldData.push(vla);\r\n control.removeAt(i);\r\n \r\n\r\n // let control: any = this.generalForm.get('companies') as FormArray;\r\n //this.generalForm.controls['companies']\r\n //control.controls['is_active'].setValue(false);\r\n //control.controls[i].clearValidators();\r\n //control.controls[i].updateValueAndValidity();\r\n //control.clear\r\n // control.controls[i].is_active.setValue(false);\r\n /* control.controls[i].controls.company_name.clearValidators();\r\n control.controls[i].controls.company_name.updateValueAndValidity();\r\n control.controls[i].controls.business_years.clearValidators();\r\n control.controls[i].controls.business_years.updateValueAndValidity();\r\n control.controls[i].controls.business_entity_type.clearValidators();\r\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\r\n }\r\n if(index==\"companyrel\")\r\n {\r\n //For company_relationship\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.removeAt(i);\r\n }\r\n }\r\n \r\n \r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\r\n if(res['dataStatus']==true)\r\n {\r\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\r\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\r\n });\r\n\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.titleList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n }\r\n\r\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\r\n {\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n if(checkApplicantExist.length > 0)\r\n {\r\n checkApplicantExist.forEach(val => {\r\n applicantControl.push(this.createApplicant(val));\r\n });\r\n \r\n }\r\n if(exist_applicant_relation.length > 0){\r\n exist_applicant_relation.forEach(val => {\r\n relationControl.push(this.createApplicantRelation(val));\r\n //push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }\r\n }\r\n\r\n createApplicant(elementValue:any){\r\n return this.fb.group({\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name],\r\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\r\n });\r\n }\r\n\r\n coapplicantChange(event,index,item)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n if(item.exist_status.value)\r\n {\r\n if(item.pd_co_applicant_id.value==0){\r\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\r\n modal.onDidDismiss(data => {\r\n if(data!=1){\r\n data.otherName.forEach(val=>\r\n {\r\n\r\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n \r\n }\r\n });\r\n modal.present();\r\n }else\r\n {\r\n \r\n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(item.applicant_name.value);\r\n }\r\n }\r\n else\r\n {\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let pos_id = relationControl.value.map(e=> \r\n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\r\n if(item.pd_co_applicant_id.value !=0){\r\n relationControl.removeAt(pos_id);\r\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\r\n this.fetch_related_details.splice(pos_name, 1); \r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n }\r\n // remove related to details\r\n \r\n }\r\n\r\n }\r\n\r\n createApplicantRelation(elementValue: any) {\r\n return this.fb.group({\r\n \r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\r\n company_relationship: [elementValue.company_relationship],\r\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\r\n relationship: [elementValue.relationship],\r\n });\r\n }\r\n // temparr=[];\r\n removereferance(index)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n \r\n \r\n relationControl.removeAt(index);\r\n // this.temparr = [];\r\n \r\n }\r\n // createApplicateOthers()\r\n // {\r\n // return this.fb.group(\r\n // {\r\n // Name:\r\n // })\r\n // }\r\n ConvertMonthintoYearforBusiness(e,controlIndex){\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control = control.controls[controlIndex];\r\n let business_year = control.controls.business_years.value;\r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n control.controls.business_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\ngetDateObjects(values: any, controlIndex) {\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control.controls['business_years']=''\r\n control.controls['business_month']=''\r\n control = control.controls[controlIndex];\r\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\r\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\r\n let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\r\n let diff: number = Math.floor(diffInMs / 1000);\r\n diff /= (60 * 60 * 24 * 30);\r\n diff=Math.abs(Math.round(diff));\r\n control.controls['business_years'].setValue(0);\r\n control.controls['business_month'].setValue(0);\r\n \r\n if(diff){\r\n control.controls['business_years'].setValue(Math.floor(diff / 12));\r\n control.controls['business_month'].setValue(Math.floor(diff % 12));\r\n }\r\n\r\n}\r\n submitData(answerData)\r\n {\r\n \r\n let saveRecords:any={}\r\n var valuesData_indi:any=[]\r\n\r\n var valuesData:any=[]\r\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\r\n return answerData.list_value[key]\r\n })\r\n existData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n if(this.OldData_indi.length>0){\r\n this.OldData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n }\r\n\r\n var existData=Object.keys(answerData.company_value).map(function(key){\r\n return answerData.company_value[key]\r\n })\r\n existData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n if(this.OldData.length>0){\r\n this.OldData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n }\r\n \r\n saveRecords.individuals=valuesData_indi;\r\n saveRecords.companies=valuesData\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.fk_createdby=this.users;\r\n \r\n \r\n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\r\n saveRecords.company_with_relationships=answerData.company_with_relationships\r\n saveRecords.general_remark=answerData.general_remark;\r\n \r\n \r\n \r\n \r\n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\r\n if(dataResult['dataStatus']==true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Error');\r\n }\r\n })\r\n \r\n /* Old Data\r\n if(this.generalForm.valid)\r\n {\r\n let saveRecords:any = {}\r\n let applicantList:any=[];\r\n let applicantRelationList:any=[];\r\n // this for applicant list for selected\r\n answerData.applicant_list.forEach((element,key) => {\r\n if(element.exist_status==1){\r\n applicantList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n }) \r\n }\r\n });\r\n // this is for selected applicant relation \r\n answerData.applicant_relation.forEach((element,key) => {\r\n applicantRelationList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n \"company_name\":element.company_name,\r\n \"company_relationship\":element.company_relationship,\r\n \"applicant_relation_to\":element.applicant_relation_to,\r\n \"relationship\":element.relationship,\r\n }) \r\n });\r\n \r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.general_remark=answerData.general_remark;\r\n saveRecords.selected_applicant=applicantList;\r\n saveRecords.applicant_relation=applicantRelationList;\r\n saveRecords.fk_createdby = this.users;\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n } \r\n })\r\n }*/\r\n }\r\n\r\n getGeneralForm()\r\n {\r\n let records={'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n this.data_all=res['records'];\r\n var exist_companies:any;\r\n let companyControl = this.generalForm.get('companies') as FormArray;\r\n companyControl.controls=[]\r\n this.lengthv=this.data_all;\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n \r\n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\r\n this.initlistv(this.data_all.individuals,'get')\r\n\r\n /* var arrlist_indi:any=[] \r\n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\r\n return res['records'].individuals[key];\r\n }) \r\n if(exist_individuals.length>0){\r\n exist_individuals.forEach((element)=>{\r\n if(element.is_active != false){\r\n arrlist_indi.push(element);\r\n }\r\n })\r\n }*/\r\n \r\n \r\n \r\n\r\n var arraylis:any=[]\r\n exist_companies=Object.keys(res['records'].companies).map(function(key){\r\n return res['records'].companies[key];\r\n })\r\n if(exist_companies.length>0){\r\n exist_companies.forEach((element,cindex)=>{\r\n if(element.is_active!=false){\r\n arraylis.push(element);\r\n }\r\n else{\r\n this.OldData.push(element);\r\n }\r\n })\r\n \r\n }\r\n this.initCompanyValue(arraylis,'get');\r\n \r\n if(this.data_all.persons_with_relationships != ''){\r\n this.initPersonRelationship(this.data_all.persons_with_relationships);\r\n }\r\n\r\n if(this.data_all.company_with_relationships != ''){\r\n this.initCompanyRelationShip(this.data_all.company_with_relationships);\r\n }\r\n \r\n }\r\n else{\r\n this.pd_applicants_details.forEach((datas,index)=>{\r\n datas.is_applicant=true,\r\n datas.is_person_met = false;\r\n datas.is_new = false;\r\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\r\n datas.is_active = true;\r\n datas.individuals_order_id = index + 1;\r\n // company_order_id = index+1,\r\n datas.age = '',\r\n datas.qualification = '',\r\n datas.course_name = ''\r\n if (datas.company_name != '' && datas.company_name != null) {\r\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true }\r\n companyControl.push(this.createCompanies(setCompanyValues))\r\n }\r\n });\r\n // this.lengthv.push(\"individuals\")\r\n // this.lengthv.push(\"companies\")\r\n // this.lengthv.push('persons_with_relationships')\r\n //this.lengthv.push(\"\")\r\n console.log(\"applicant\",this.lengthv)\r\n this.initlistv(this.pd_applicants_details,'get');\r\n this.initPersonRelationship(this.pd_applicants_details)\r\n // this.initCompanyValue(this.pd_applicants_details,'get');\r\n this.initCompanyRelationShip('')\r\n\r\n }\r\n })\r\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n let generalDetails = res['records'];\r\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\r\n\r\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\r\n {\r\n return res['records'].applicant_relation[key];\r\n });\r\n\r\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\r\n {\r\n return res['records'].selected_applicant[key].pd_co_applicant_id;\r\n });\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\r\n let checkApplicantExist =actual_applicant.map((id, index) => {\r\n if (selected_applicant.indexOf(id) < 0) {\r\n this.pd_applicants_details[index].exist_status=0;\r\n return this.pd_applicants_details[index];\r\n }\r\n else{\r\n this.pd_applicants_details[index].exist_status=1;\r\n this.pd_applicants_details[index].applicant_relation_to='';\r\n this.pd_applicants_details[index].relation='';\r\n return this.pd_applicants_details[index];\r\n }\r\n }).filter(item => item != undefined);\r\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\r\n }else\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n }\r\n })*/\r\n }\r\n createCompanies(elementValue:any) {\r\n return this.fb.group({\r\n company_order_id: [elementValue.company_order_id],\r\n company_name: [elementValue.company_name,],\r\n company_messrs_name: ['M/s'],\r\n is_company_applicant:[elementValue.is_company_applicant],\r\n business_entity_type :[elementValue.business_entity_type,Validators.required],\r\n business_years: [elementValue.business_years, Validators.required],\r\n business_month: [elementValue.business_month],\r\n business_date_object: [elementValue.business_date_object],\r\n is_active: [elementValue.is_active],\r\n is_new:[elementValue.is_new],\r\n \r\n });\r\n }\r\n \r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-other-applicant',\r\n templateUrl: 'pd-question-general-other-applicant.html',\r\n})\r\nexport class PdQuestionGeneralOtherApplicantPage {\r\n otherForm:FormGroup;\r\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\r\n this.otherForm = this.fb.group(\r\n {\r\n otherName:this.fb.array([]),\r\n })\r\n this.addmore();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\r\n }\r\n\r\n createName(elementValue:any)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name, Validators.required],\r\n })\r\n }\r\n\r\n addmore()\r\n {\r\n if(this.otherForm.valid)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n control.push(this.createName(this.applicantInfo));\r\n }\r\n }\r\n\r\n deleteappdata(index)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n if(control.length==1){\r\n control.reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n closeModal(){\r\n this.viewCtrl.dismiss(1); \r\n }\r\n submitData(answerData)\r\n {\r\n if(this.otherForm.valid){\r\n this.viewCtrl.dismiss(this.otherForm.value);\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n/**\r\n * Generated class for the PdPipe pipe.\r\n *\r\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\r\n */\r\n@Pipe({\r\n name: 'pdPipe',\r\n})\r\nexport class PdPipe implements PipeTransform {\r\n /**\r\n * Takes a value and makes it lowercase.\r\n */\r\n transform(value: any, searchItem:any):any {\r\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\r\n if(findExistIndex.length>0){\r\n let check = value.filter(function(fVal){\r\n return !findExistIndex.some(function(sVal){\r\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\r\n }\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionNeighbourHoodPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-neighbour-hood',\r\n templateUrl: 'pd-question-neighbour-hood.html',\r\n})\r\nexport class PdQuestionNeighbourHoodPage {\r\n\r\n frequency: any;\r\n relationBusiness: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n neighbourhoodForm:FormGroup;\r\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\r\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\r\n {'id': 2,'name': \"Negative\"},\r\n {'id': 3,'name': \"Insufficient information provided\"}];\r\n\r\n amtInWords:any=[];\r\n applicants:any;\r\n isDisplay:any = [];\r\n isDisplay2:any = [];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder, public constant: ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2);\r\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\r\n this.neighbourhoodForm = this.fb.group(\r\n {\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n check_type:0,\r\n neighbourhood_list: this.fb.array([]),\r\n neighbourhood_status:[''],\r\n referencecheck_list: this.fb.array([]),\r\n neighbour_reference_remark:'' \r\n })\r\n this.users = this.aws.getlocale();\r\n this.getneighbourhood();\r\n \r\n this.getdropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console .log('ionViewDidLoad PdQuestionNeighbourHoodPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n inWords(val,i)\r\n {\r\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\r\n }\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e,flag){\r\n if(flag == 2){\r\n\r\n let year = itemrow.controls.year_relation_applicant.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\r\n }\r\n else if(flag == 1){\r\n \r\n let year = itemrow.controls.how_long_do_know_in_year.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\r\n }\r\n}\r\n\r\ntoggleVisibility(e,index,flag){ \r\n let val\r\n \r\n if(flag == 1){\r\n this.isDisplay[index] = e;\r\n }\r\n else if(flag==2){\r\n this.isDisplay2[index] = e;\r\n }\r\n}\r\n\r\ncheckOthers(values){\r\n if(values!=null) {\r\n return values==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n}\r\n\r\n createreferance()\r\n {\r\n return this.fb.group({\r\n reference_name: [null],\r\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n statecode:[null],\r\n landline: [null],\r\n location:[null],\r\n relationship_with:[null],\r\n others:[null],\r\n year_relation_applicant:[null],\r\n months_relation_applicant:[null],\r\n business_volume_amount:[null],\r\n business_volume_unit:[null],\r\n others_unit:[null],\r\n reference_final_remarks:[null],\r\n specify_final_remark:[null]\r\n });\r\n }\r\n addreferance()\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n control.push(this.createreferance());\r\n }\r\n\r\n removereferance(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n createNeighbourhood(){\r\n return this.fb.group({\r\n neighbourhood_name: [null],\r\n do_know: [''],\r\n \r\n how_long_do_know_in_year: [''],\r\n how_long_do_know_in_month:[''],\r\n organisation_owner: [''],\r\n is_applicant_owner:[''],\r\n other_organisation_owner:[''],\r\n did_not_know_the_business_operation:[''],\r\n did_not_know_the_owner:[''],\r\n });\r\n }\r\n\r\n addneighbourhood()\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n control.push(this.createNeighbourhood());\r\n }\r\n\r\n removeneighbourhood(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n submitData(answerData)\r\n {\r\n \r\n \r\n \r\n let saveRecords:any = {}\r\n let referencecheck_list:any=[];\r\n let neighbourhood_list:any=[];\r\n if(answerData.check_type==0){\r\n answerData.neighbourhood_list.forEach((element,key) => {\r\n neighbourhood_list.push({\r\n \"neighbourhood_name\":element.neighbourhood_name,\r\n \"do_know\":element.do_know,\r\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\r\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\r\n \"is_applicant_owner\":element.is_applicant_owner,\r\n \"organisation_owner\":element.organisation_owner,\r\n \"other_organisation_owner\":element.other_organisation_owner,\r\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\r\n \"did_not_know_the_owner\":element.did_not_know_the_owner\r\n }) \r\n });\r\n saveRecords.neighbourhood_list=neighbourhood_list;\r\n \r\n }\r\n else{\r\n // this for referencecheck_list for selected\r\n answerData.referencecheck_list.forEach((element,key) => {\r\n referencecheck_list.push({\r\n \"reference_name\":element.reference_name,\r\n \"mobile\":element.mobile,\r\n \"landline\":element.statecode+'-'+element.landline,\r\n \"location\":element.location,\r\n \"relationship_with\":element.relationship_with,\r\n \"others\":element.others,\r\n \"year_relation_applicant\":element.year_relation_applicant,\r\n \"months_relation_applicant\":element.months_relation_applicant,\r\n \"business_volume_amount\":element.business_volume_amount,\r\n \"business_volume_unit\":element.business_volume_unit,\r\n \"others_unit\":element.others_unit,\r\n \"reference_final_remarks\":element.reference_final_remarks,\r\n \"specify_final_remark\":element.specify_final_remark\r\n }) \r\n });\r\n saveRecords.referencecheck_list=referencecheck_list;\r\n \r\n }\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.check_type=answerData.check_type;\r\n saveRecords.fk_createdby = this.users;\r\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\r\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\r\n\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n })\r\n \r\n }\r\n\r\n getneighbourhood()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \r\n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let neighbourDetails = res['records'];\r\n // neighbourDetails.neighbourhood_list.=''\r\n \r\n if(neighbourDetails.check_type==0)\r\n {\r\n \r\n this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\r\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\r\n {\r\n return res['records'].neighbourhood_list[key];\r\n });\r\n neighbourhood_list.forEach((element,index)=>\r\n {\r\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\r\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\r\n neicontrol.push(this.createNeighbourhood());\r\n });\r\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\r\n \r\n\r\n }else\r\n {\r\n this.addneighbourhood();\r\n }\r\n if(neighbourDetails.check_type==1)\r\n {\r\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\r\n {\r\n return res['records'].referencecheck_list[key];\r\n });\r\n this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n referencecheck_list.forEach((val,index)=>\r\n {\r\n let statecodesearch = val.landline.search(\"-\");\r\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\r\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\r\n control.push(this.createreferance());\r\n this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\r\n });\r\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\r\n \r\n }else\r\n {\r\n this.addreferance();\r\n }\r\n }else\r\n {\r\n this.addneighbourhood();\r\n this.addreferance();\r\n }\r\n })\r\n }\r\n\r\n\r\n}\r\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,Validators} from '@angular/forms';\r\n// import { t } from '@angular/core/src/render3';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionFinalRemarkPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-final-remark',\r\n templateUrl: 'pd-question-final-remark.html',\r\n})\r\nexport class PdQuestionFinalRemarkPage {\r\n\r\n m_remarkTypeCustomerBehaviour:any=[];\r\n\r\n users:any;\r\n pdDetails:any;\r\n pdid:any;\r\n FormId:any;\r\n _finalRemarkForm:FormGroup;\r\n m_recommendationList: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder, public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=aws.getlocale()\r\n \r\n this._finalRemarkForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n pdid:[this.pdid],\r\n formid:[this.FormId.form_id],\r\n final_custormer_remark_type:[null],\r\n final_other_customer_behaviour:[null],\r\n is_service_provided:[null],\r\n final_form_remarks:[null],\r\n pd_officers_recommendation:[null],\r\n others_pd_officers_recommendation:[''],\r\n reason_for_positive:[''],\r\n reason_for_negative:[''],\r\n reason_for_refer_to_credit:[''],\r\n \r\n })\r\n this.getDropDown();\r\n \r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\r\n this.getFinalRemark();\r\n }\r\ngetDropDown(){\r\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\r\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\r\n })\r\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\r\n this.m_recommendationList=res['records']\r\n })\r\n}\r\nRecommendationChange(e){\r\n // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 1){\r\n \r\n // }\r\n // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 3){\r\n \r\n // }\r\n // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 4){\r\n \r\n // }\r\n \r\n if(e==1){\r\n \r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]); \r\n\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_positive'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_positive'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_negative'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_negative'].setValue('');\r\n\r\n }\r\n if(e==2){\r\n \r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n \r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\r\n\r\n this._finalRemarkForm.controls['reason_for_negative'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_negative'].setValue('');\r\n\r\n\r\n }\r\n if(e==3){\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue('');\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators();\r\n\r\n this._finalRemarkForm.controls['reason_for_positive'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_positive'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\r\n \r\n }\r\n if(e==4){\r\n \r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\r\n\r\n this._finalRemarkForm.controls['reason_for_positive'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_positive'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_negative'].setValue('');\r\n this._finalRemarkForm.controls['reason_for_negative'].clearValidators();\r\n\r\n }\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n this._finalRemarkForm.controls['reason_for_positive'].updateValueAndValidity();\r\n this._finalRemarkForm.controls['reason_for_negative'].updateValueAndValidity(); \r\n}\r\n getFinalRemark(){\r\n let saveRecords={'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\r\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\r\n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\r\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\r\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\r\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\r\n this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\r\n this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\r\n this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\r\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\r\n }\r\n })\r\n }\r\n saveFinalRemark(){\r\n if(this._finalRemarkForm.invalid){\r\n return\r\n }\r\n else{\r\n var answerData=this._finalRemarkForm.value\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n this.qustcat.saveForm(answerData).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n this.navCtrl.pop();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n });\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessGroupPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-group',\r\n templateUrl: 'pd-question-business-group.html',\r\n})\r\nexport class PdQuestionBusinessGroupPage {\r\n \r\n FormId: any;\r\n pdDetails: any = [];\r\n existCompanyList: any = [];\r\n waitLoading:boolean;\r\n\r\n constructor(public navCtrl: NavController, \r\n public navParams: NavParams,\r\n public qustCat:QuestionCategoryProvider){\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.getCompanyListForBusiness();\r\n\r\n }\r\n \r\n /** To Get General Form's Company List */\r\n getCompanyListForBusiness(): void{\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList = data.records.filter(val =>val.is_active);\r\n this.waitLoading = true;\r\n }\r\n else {\r\n this.waitLoading = false;\r\n }\r\n })\r\n }\r\n\r\n /** To Get Related Form Details */\r\n OnSelectBusinessGroupForms(details: any, company: any) {\r\n \r\n this.pdDetails.company_id = company.company_order_id;\r\n this.pdDetails.company_name = company.company_name;\r\n this.pdDetails.business_entity_type = company.business_entity_type;\r\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\r\n this.pdDetails.business_years = company.business_years;\r\n this.pdDetails.business_month = company.business_month;\r\n \r\n if(details.form_id==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n if(details.form_id==2){\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==11){\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==13){\r\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==14){\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==15){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==21){\r\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==22){\r\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n\r\n\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { FormBuilder, FormGroup,FormArray, Validators, FormControl } from '@angular/forms';\r\nimport { createPipe } from '@angular/compiler/src/core';\r\nimport { elementAt } from 'rxjs/operators';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-info',\r\n templateUrl: 'pd-question-business-info.html',\r\n})\r\nexport class PdQuestionBusinessInfoPage {\r\n stateList:any=[];\r\n users: any;formdetails:any;\r\n FormId: any;\r\n pdDetails: any;\r\n businessForm:FormGroup;\r\n applicants:any=[];\r\n businessEntityTypeList: any ={\r\n business_entity_type_id:String,\r\n business_entity_type_name:String,\r\n sourcsection_labeleName:String\r\n }; \r\n generalExistEntityType:string\r\n generalExistEntityType_other:string;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n pdid:any;\r\n step:number\r\n\r\n relationData: any = [];\r\n industryData: any = [];\r\n activityData: any = [];\r\n relativeNames: any;\r\n companyRelationShipList:any=[]\r\n countryDataList:any=[]\r\n exist_status:any;\r\n \r\n filterCityList : any = [];\r\n errorMessage:any=[];\r\n appxSalaryAmtInwords:any;\r\n titleData:any=[]\r\n personsList:any=[]\r\n \r\n ManufacturingChecked: boolean;\r\n RetailedChecked: boolean;\r\n WholeSalesChecked: boolean;\r\n ServiceChecked: boolean;\r\n ExportFlag: boolean=false;\r\n bankList: any=[];\r\n temp_additiondetailofposmachine:any=[]\r\n isreadonlyyear: any=[];\r\n isreadonlymonth: any=[];\r\n EntityTypeFlag:boolean=false\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.getStateCityDet();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n \r\n this.formdetails = this.navParams.get('formDetails');\r\n \r\n this.FormId = this.formdetails.form_id;\r\n this.users = this.aws.getlocale();\r\n \r\n this.applicants=this.pdDetails.applicat_details;\r\n \r\n this.generalExistEntityType=this.pdDetails.business_entity_type\r\n this.generalExistEntityType_other=this.pdDetails.business_entity_type_other\r\n this.generalExistBusinessYear=this.pdDetails.business_years\r\n this.step=0\r\n \r\n \r\n \r\n // this.initBusinessForm();\r\n // this.getBuisnessDetails();\r\n \r\n this.businessForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n pdid:[this.pdid],\r\n formid:[this.FormId],\r\n company_id: this.pdDetails.company_id,\r\n partners:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n select_business_activity_type:this.fb.array([]),\r\n manufacturing_activity_details:this.fb.array([]),\r\n retail_trading_activity_details:this.fb.array([]),\r\n wholesale_trading_activity_details:this.fb.array([]),\r\n service_provider_activity_details:this.fb.array([]),\r\n others_activity_details:this.fb.array([]),\r\n export_sale_of_total_sales:[''],\r\n //applicant_use_mobile_wallets:[''],\r\n //applicant_use_pos_machines:[''],\r\n seasonality:[''],\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n employees_appx_salary:[''],\r\n was_the_company_name_board_sighted:['',Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n shop_eat_act_cert: [''],\r\n gst_Regn_cert: [''],\r\n //export_import_cert: [''],\r\n // factory_cert: [''],\r\n //practice_cert: [''],\r\n pf_regn: [''],\r\n esic_regn: [''],\r\n other_documents: [''],\r\n documents: this.fb.array([]),\r\n business_remarks:['']\r\n\r\n\r\n\r\n \r\n })\r\n this.getdropdown();\r\n \r\n// this.initBusinessForm();\r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\r\n \r\n \r\n \r\n }\r\n getdropdown() {\r\n \r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.relationData.push(val);\r\n }\r\n })\r\n });\r\n \r\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.industryData.push(val);\r\n }\r\n })\r\n });\r\n \r\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\r\n this.activityData.push(val);\r\n }\r\n })\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data=>{\r\n let filterList = data['records'].filter(val=>val.business_entity_type_id==this.generalExistEntityType);\r\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id==1;\r\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id!=1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\r\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id!=1 ? filterList[0].section_label : this.generalExistEntityType_other;\r\n \r\n if(this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship'){ \r\n this.EntityTypeFlag = true;\r\n }\r\n\r\n\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data=>{\r\n this.companyRelationShipList=data['records'].filter(val=>val.isactive==1);\r\n \r\n });\r\n \r\n \r\n \r\n this.qustCat.getcommondrop('COUNTRY').subscribe(data=>{\r\n this.countryDataList=data['records'].filter(val=>val.isactive==1);\r\n \r\n });\r\n this.qustCat.getcommondrop('TITLES').subscribe(data=>{\r\n this.titleData=data['records'].filter(val=>val.isactive==1);\r\n })\r\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data=>{\r\n if(data.dataStatus){\r\n \r\n this.personsList=data['record'].filter(val=>val.applicant_type==1)\r\n \r\n }\r\n })\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data=>{\r\n this.bankList=data['records'].filter(val=>val.isactive ==1 && val.lender_type == 1);\r\n })\r\n \r\n}\r\ngetStateCityDet(){\r\nthis.qustCat.getStateCityDetails().subscribe(data=>{\r\n \r\n\r\n this.stateList=data.records\r\n \r\n this.getDetails();\r\n });\r\n \r\n \r\n}\r\nchangeOfStartedBusiness(members,i,e){\r\n if(e == 'yes'){\r\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\r\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\r\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\r\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\r\n }\r\n else{\r\n this.isreadonlyyear[i] =false;\r\n this.isreadonlymonth[i] = false;\r\n }\r\n }\r\n getDetails(){\r\n \r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = 13\r\n params.company_id = this.pdDetails.company_id;\r\n this.qustCat.retiverForm(params).subscribe(data=>{\r\n let businessVal=data['records']\r\n let constVal: any;\r\n \r\n \r\n const Partnr:any = this.businessForm.controls['partners'];\r\n \r\n const control1:any = this.businessForm.controls['persons_with_relationships'];\r\n \r\n const business_activity:any = this.businessForm.controls['select_business_activity_type'];\r\n \r\n const manufacture_details:any= this.businessForm.controls['manufacturing_activity_details'];\r\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\r\n const wholesaleControl:any=this.businessForm.controls['wholesale_trading_activity_details'];\r\n const serviceProviderControl:any=this.businessForm.controls['service_provider_activity_details'];\r\n const othersControl:any=this.businessForm.controls['others_activity_details'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n //retailControl.push(this.manufactureDetails());\r\n //manufacture_details.push(this.manufactureDetails())\r\n \r\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\r\n //india_sales.push(this.indiaSalesDone())\r\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\r\n // country_sale.push(this.createCountrySale());\r\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\r\n //max_sale_state.push(this.maxSaleState())\r\n\r\n if(data['status']==200){\r\n let DocArray: any;\r\n let PartnrArray=Object.keys(data['records'].partners).map(function(key){\r\n return data['records'].partners[key];\r\n })\r\n \r\n if(PartnrArray.length==0){\r\n Partnr.push(this.createPartners())\r\n }\r\n else{\r\n PartnrArray.forEach((datas,key) => {\r\n Partnr.push(this.createPartners());\r\n if(datas.partner_name=='Others') {\r\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\r\n }\r\n if(parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\r\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else {\r\n Partnr.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n });\r\n }\r\n if(data['records'].persons_with_relationships){\r\n let PartnrArray1=Object.keys(data['records'].persons_with_relationships).map(function (key){\r\n return data['records'].persons_with_relationships[key];\r\n })\r\n if(PartnrArray1.length>0){\r\n PartnrArray1.forEach((datas,key)=>{\r\n control1.push(this.createRelationShip());\r\n })\r\n businessVal.persons_with_relationships=PartnrArray1\r\n \r\n }\r\n else{\r\n //control1.push(this.createRelationShip());\r\n businessVal.persons_with_relationships=[]\r\n }\r\n }\r\n else{\r\n businessVal.persons_with_relationships=[]\r\n \r\n }\r\n \r\n\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{document: ''}];\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n businessVal.pdid = this.pdid;\r\n businessVal.formid = 13;\r\n businessVal.company_id = this.pdDetails.company_id;\r\n businessVal.fk_createdby = this.users;\r\n //businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n // businessVal.persons_with_relationships=PartnrArray1\r\n businessVal.documents=DocArray\r\n \r\n if(businessVal.employees_appx_salary){\r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\r\n }\r\n \r\n \r\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\r\n // this.businessForm.setValue(businessVal);\r\n //this.businessForm.value.seasonality\r\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id}))\r\n let exist_activity_data: any=[];\r\n if(data['records'].select_business_activity_type){\r\n exist_activity_data=Object.keys(data['records'].select_business_activity_type).map(function(key) {\r\n return data['records'].select_business_activity_type[key].type_of_activity_id;\r\n });\r\n }\r\n \r\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\r\n let check_exist_businees_activity =actual_businees_activity.map((id, index) => {\r\n if (exist_activity_data.indexOf(id) < 0) {\r\n activityData[index].exist_status=0;\r\n return activityData[index];\r\n }\r\n else{\r\n activityData[index].exist_status=1;\r\n return activityData[index];\r\n }\r\n }).filter(item => item != undefined);\r\n \r\n if(check_exist_businees_activity.length > 0)\r\n {\r\n check_exist_businees_activity.forEach((val,index) => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\r\n \r\n });\r\n \r\n businessVal.select_business_activity_type=check_exist_businees_activity;\r\n }\r\n // business_activity.push(this.createBusinessActivity())\r\n \r\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\r\n \r\n if(data['records'].manufacturing_activity_details){\r\n let selectedManufacturing=Object.keys(data['records'].manufacturing_activity_details).map(function(key){\r\n return data['records'].manufacturing_activity_details[key];\r\n });\r\n if(selectedManufacturing.length>0){\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n \r\n selectedManufacturing.forEach((element,index)=>{\r\n manufacture_details.push(this.manufactureDetails())\r\n if(element.area_of_sale=='Within India'){\r\n manufacture_details.controls[index].addControl('india_where_sale_done',this.fb.array([]))\r\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n })\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n \r\n }\r\n });\r\n businessVal.manufacturing_activity_details=selectedManufacturing;\r\n \r\n \r\n }\r\n else{\r\n \r\n businessVal.manufacturing_activity_details=[];\r\n }\r\n }\r\n else{\r\n \r\n businessVal.manufacturing_activity_details=[];\r\n }\r\n \r\n if(data['records'].retail_trading_activity_details){ \r\n\r\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\r\n return data['records'].retail_trading_activity_details[key];\r\n });\r\n if(selectedRetail.length > 0) {\r\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedRetail.forEach((element,index)=>{\r\n retailControl.push(this.manufactureDetails());\r\n if(element.area_of_sale=='Within India'){\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n });\r\n businessVal.retail_trading_activity_details=selectedRetail;\r\n }\r\n else{\r\n businessVal.retail_trading_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.retail_trading_activity_details=[];\r\n }\r\n \r\n\r\n // update whole sale details\r\n if(data['records'].wholesale_trading_activity_details){ \r\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\r\n return data['records'].wholesale_trading_activity_details[key];\r\n });\r\n if(selectedWholesale.length > 0) {\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedWholesale.forEach((element,index)=>{\r\n wholesaleControl.push(this.manufactureDetails());\r\n if(element.area_of_sale=='Within India'){\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n \r\n });\r\n businessVal.wholesale_trading_activity_details=selectedWholesale;\r\n }\r\n else{\r\n businessVal.wholesale_trading_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.wholesale_trading_activity_details=[];\r\n\r\n } \r\n \r\n \r\n if(data['records'].service_provider_activity_details){\r\n let selectedService=Object.keys(data['records'].service_provider_activity_details).map(function (key){\r\n return data['records'].service_provider_activity_details[key];\r\n })\r\n if(selectedService.length > 0) {\r\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n \r\n selectedService.forEach((element,index)=>{\r\n \r\n serviceProviderControl.push(this.manufactureDetails());\r\n \r\n if(element.area_of_sale=='Within India'){\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n \r\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n\r\n \r\n }\r\n });\r\n \r\n \r\n businessVal.service_provider_activity_details=selectedService;\r\n \r\n }\r\n else{\r\n businessVal.service_provider_activity_details=[];\r\n \r\n } \r\n }\r\n else {\r\n businessVal.service_provider_activity_details=[];\r\n\r\n }\r\n \r\n if(data['records'].others_activity_details){ \r\n\r\n // update others activity details\r\n let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\r\n return data['records'].others_activity_details[key];\r\n });\r\n if(selectedOthers.length > 0) {\r\n selectedOthers.forEach((element,index)=>{\r\n othersControl.push(this.createOthersActivity());\r\n });\r\n businessVal.others_activity_details=selectedOthers;\r\n }\r\n else{\r\n businessVal.others_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.others_activity_details=[];\r\n\r\n } \r\n \r\n // dynamically add form group control\r\n if(data['dataStatus']){\r\n \r\n if(data['records'].seasonality.toUpperCase()=='YES'){\r\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\r\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)); }\r\n\r\n } \r\n\r\n // this.businessForm.controls['partners'].setValue(PartnrArray);\r\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\r\n \r\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\r\n if(businessVal.applicant_use_pos_machines == 'yes'){\r\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\r\n const posControl: any = this.businessForm.controls['pos_machines_details'];\r\n for(let i = 1; i<= businessVal.no_of_pos_machines; i++ ){\r\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\r\n }\r\n }\r\n \r\n this.businessForm.setValue(businessVal);\r\n \r\n \r\n }\r\n else{\r\n Partnr.push(this.createPartners());\r\n control1.push(this.createRelationShip())\r\n \r\n //otherDoc.push(this.createDocument());\r\n\r\n // find business activity type businees activity type list\r\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id,exist_status:0}))\r\n if(activityData.length > 0)\r\n {\r\n activityData.forEach(val => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n });\r\n }\r\n\r\n }\r\n})\r\n // change business sessional\r\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\r\n val.toUpperCase()=='YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\r\n val.toUpperCase()=='YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\r\n });\r\n \r\n \r\n }\r\n\r\n filterCity(datasource: any,filterid:number) {\r\n \r\n \r\n if(filterid){\r\n let filter = this.stateList.filter(x=>x.state_id==filterid);\r\n return filter.length > 0 ? filter[0].cities : [];\r\n }\r\n}\r\n\r\n // filter max sale options\r\n filterMaxSaleState(datasource: any,filterValues:any){\r\n this.filterCityList = filterValues;\r\n if(filterValues){\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n let getStateValues = filterValues.filter(val =>val.state_name).map(mapVal => mapVal.state_name);\r\n let setStateFilter: any=[];\r\n setStateFilter = getStateValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n return datasource[findIndex];\r\n });\r\n return setStateFilter.length > 0 ? setStateFilter : [];\r\n }\r\n }\r\n filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \r\n let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\r\n existCities = [].concat.apply([], existCities);\r\n if(filterValues){\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n \r\n let setCityFilter = filterValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n findIndex = datasource[findIndex].cities;\r\n return findIndex;\r\n });\r\n \r\n let merged = [].concat.apply([], setCityFilter);\r\n \r\n if(merged.length>0){\r\n let check: any = merged.filter(function(fVal){\r\n return existCities.some(function(sVal){\r\n return fVal.city_id==sVal;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return [];\r\n }\r\n }\r\n else {\r\n return [];\r\n }\r\n}\r\n\r\n\r\ncheckTotalEmployee(FormData){\r\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent ||0)+(+FormData.value.employees_temporary||0));\r\n }\r\n checkWithExistBusinessYear(e,i){\r\n if(e > this.generalExistBusinessYear){\r\n this.errorMessage[i] = \"Higher than Business Vintage\";\r\n }\r\n else{\r\n this.errorMessage[i] = '';\r\n }\r\n }\r\n\r\n// businees activity type change event\r\nchangeBusinessActivity(event: any){\r\n \r\n if(event.value.exist_status==true && event.value.type_of_activity_id==2){\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.controls = [];\r\n manufacturingControl.setValue([]); \r\n \r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==2){\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n \r\n \r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==3){\r\n this.RetailedChecked=event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.controls = [];\r\n retailControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==3){\r\n this.RetailedChecked=event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==4){\r\n this.WholeSalesChecked=event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.controls = [];\r\n wholesaleControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==4){\r\n this.WholeSalesChecked=event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==5){\r\n this.ServiceChecked=event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.controls = [];\r\n serviceControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==5){\r\n this.ServiceChecked=event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n }\r\n\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==1){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.controls = [];\r\n othersControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.push(this.createOthersActivity());\r\n }\r\n // check activity type for make dosument sighted filed dynamically\r\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n // check activity for extra question make dynamic\r\n \r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n\r\n if(this.ManufacturingChecked && this.RetailedChecked && this.WholeSalesChecked && this.ServiceChecked){\r\n this.ExportFlag = false;\r\n }\r\n}\r\n\r\n\r\nchangeManufacturingAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n // change retail options\r\n changeRetailAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n// change whole options\r\nchangeWholesaleAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n// change service provider \r\nchangeServiceArea(getDetails: any, getIndex) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n\r\nchangePanIndiaOptions(type,selectedIndex,value) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n \r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==3){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==4){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n}\r\n\r\n // update partner group other form control\r\n changePartnerGroup(value,key) {\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n value=='Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\r\n }\r\n\r\n createDesignation(): FormGroup {\r\n return this.fb.group({\r\n sec_name: ['', Validators.compose([Validators.required])],\r\n sec_designation: ['', Validators.compose([Validators.required])],\r\n });\r\n}\r\nkeyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n getWorkExperience(event, key) {\r\n let current_experience = event.current_business_experiance_year=='' ? 0 : parseInt(event.current_business_experiance_year);\r\n let total_experience = event.total_business_experiance=='' ? 0 : parseInt(event.total_business_experiance);\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n if(total_experience > current_experience) {\r\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else if(total_experience < current_experience) {\r\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n\r\n else {\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n // let total ;\r\n // if(control.length > 0){\r\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\r\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\r\n // this.businessForm.controls.business_years.updateValueAndValidity();\r\n // }\r\n}\r\nConvertMonthintoYear(itemrow,e){\r\n\r\n let year = itemrow.controls.current_business_experiance_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n\r\n\r\n\r\ncreatePartners(): FormGroup {\r\n return this.fb.group({\r\n partner_name: ['', Validators.compose([Validators.required])],\r\n // partner_other_name:[''],\r\n shareholding:[''],\r\n started_business:[''],\r\n current_business_experiance_year:[''],\r\n current_business_experiance_month:[''],\r\n total_business_experiance:[''],\r\n total_business_previous_experience:['']\r\n /* shareholding: ['', Validators.compose([Validators.required])],\r\n current_business_experiance: ['', Validators.compose([Validators.required])],\r\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\r\n });\r\n}\r\ncreateRelationShip(): FormGroup {\r\n return this.fb.group({\r\n family_member_salutation:[''],\r\n family_member_name:[''],\r\n other_family_relationship_id:[''],\r\n relation_to_id:[''],\r\n relationship_with_company_id:[''],\r\n started_business:['']\r\n });\r\n}\r\ncreateBusinessActivity(details):FormGroup {\r\n return this.fb.group({\r\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\r\n name: [details.name, Validators.compose([Validators.required])],\r\n exist_status:[details.exist_status==1 ? true : false]\r\n });\r\n}\r\ncreateServiceActivity(): FormGroup {\r\n return this.fb.group({\r\n main_products: ['', Validators.compose([Validators.required])],\r\n area_of_sale: ['', Validators.compose([Validators.required])],\r\n description: ['']\r\n });\r\n}\r\ncreateOthersActivity(): FormGroup {\r\n return this.fb.group({\r\n others_details: ['', Validators.compose([Validators.required])]\r\n });\r\n}\r\nmanufactureDetails():FormGroup{\r\n return this.fb.group({\r\n main_products:[''],\r\n area_of_sale:[''],\r\n description:['']\r\n // pan_india_options:[''],\r\n // india_where_sale_done:this.fb.array([]),\r\n //max_sale_state_name:this.fb.array([]),\r\n //countries_where_export_done:this.fb.array([])\r\n })\r\n}\r\nindiaSalesDone():FormGroup{\r\n return this.fb.group({\r\n state_name:[''],\r\n city_name:['']\r\n })\r\n}\r\nmaxSaleState():FormGroup{\r\n return this.fb.group({\r\n state_name:[''],\r\n city_name:['']\r\n })\r\n}\r\ncreateDocument() {\r\n return this.fb.group({\r\n document: ['']\r\n });\r\n}\r\naddDesignation() {\r\n const control = this.businessForm.controls['designation'];\r\n control.push(this.createDesignation());\r\n}\r\ndeleteDesignation(index) {\r\n const control = this.businessForm.controls['designation'];\r\n if(control.length==1){\r\n this.businessForm.controls['designation'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\naddPartnerDetails(event) {\r\n const control = this.businessForm.controls['partners'];\r\n event.stopPropagation()\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createPartners());\r\n}\r\naddPersonRelationship(event){\r\n event.stopPropagation()\r\n const control=this.businessForm.controls['persons_with_relationships']\r\n let length=control.length\r\n this.step=length\r\n control.push(this.createRelationShip());\r\n}\r\ndeletePersonRelationship(index){\r\n const control=this.businessForm.controls['persons_with_relationships'];\r\n control.removeAt(index)\r\n}\r\ndeletePartnerDetails(index) {\r\n const control = this.businessForm.controls['partners'];\r\n if(control.length==1){\r\n this.businessForm.controls['partners'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\naddMoreManufacturing() {\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n}\r\naddMoreRetail(){\r\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n}\r\naddMoreWholesale() {\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n}\r\ncreateCountrySale() {\r\n return this.fb.group({\r\n country_name: ['',Validators.compose([Validators.required])],\r\n approx_sale: ['', Validators.compose([Validators.required])]\r\n }); \r\n}\r\n\r\naddMoreState(mindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n \r\n\r\n}\r\nremoveState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n\r\naddRetailMoreState(rindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n}\r\nremoveRetailState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n// add more whole sale state\r\naddWholesaleMoreState(windex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n\r\n}\r\n// remove for whole sale\r\nremoveWholesaleState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n // add more service provider\r\n addServiceMoreState(sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n }\r\n addMoreServiceprovider() {\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n }\r\n addMoreOthersActivity(){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.push(this.createOthersActivity());\r\n }\r\n // remove service provider\r\n\r\nremoveServiceState(mindex,sindex,type){\r\n if(type==1){\r\n let control:any=this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control=control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control1:any=this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control1=control1.controls[mindex].get('countries_where_export_done') as FormArray\r\n control1.removeAt(sindex)\r\n }\r\n}\r\naddDocuments() {\r\n const control = this.businessForm.controls['documents'];\r\n control.push(this.createDocument());\r\n}\r\ndeleteDocuments(index) {\r\n const control = this.businessForm.controls['documents'];\r\n if(control.length==1){\r\n this.businessForm.controls['documents'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\n\r\nrelationChanged(event) {\r\n this.relativeNames = [];\r\n event.value.forEach(option => {\r\n this.relativeNames.push({member: option});\r\n });\r\n}\r\ncreatePOSMachinesDetails(data){\r\n if(data==null){\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [''],\r\n tid_no_of_pos_machine: [''],\r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\r\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\r\n })\r\n }\r\n}\r\n\r\n public initBusinessForm(): void {\r\n this.businessForm = this.fb.group({\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId.form_id,\r\n fk_createdby: this.users,\r\n profession_name: ['', Validators.compose([Validators.required])],\r\n business_years: ['', Validators.compose([Validators.required])],\r\n industry: ['', Validators.compose([Validators.required])],\r\n type_of_activity: ['', Validators.compose([Validators.required])],\r\n seasonality: ['', Validators.compose([Validators.required])],\r\n designation: this.fb.array([]),\r\n partners: this.fb.array([]),\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n officer_permanent: ['', Validators.compose([Validators.required])],\r\n officer_temporary: ['', Validators.compose([Validators.required])],\r\n invested_amount: ['', Validators.compose([Validators.required])],\r\n working_capital: ['', Validators.compose([Validators.required])],\r\n is_service_provided: ['', Validators.compose([Validators.required])],\r\n ownership_setup: ['', Validators.compose([Validators.required])],\r\n ownership_others: [''],\r\n rent_paid: [''],\r\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\r\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\r\n export_import_cert: ['', Validators.compose([Validators.required])],\r\n factory_cert: ['', Validators.compose([Validators.required])],\r\n practice_cert: ['', Validators.compose([Validators.required])],\r\n pf_regn: ['', Validators.compose([Validators.required])],\r\n esic_regn: ['', Validators.compose([Validators.required])],\r\n other_documents: ['', Validators.compose([Validators.required])],\r\n documents: this.fb.array([]),\r\n business_remarks: ['', Validators.compose([Validators.required])],\r\n who_started: ['', Validators.compose([Validators.required])],\r\n main_person: ['', Validators.compose([Validators.required])],\r\n other_main_person: [''],\r\n family_members_involved: ['', Validators.compose([Validators.required])],\r\n before_business: ['', Validators.compose([Validators.required])],\r\n any_delays: ['', Validators.compose([Validators.required])],\r\n });\r\n}\r\n\r\nsubmitDetails() {\r\n\r\n if(this.EntityTypeFlag == true){\r\n let control: any = this.businessForm.controls['partners'];\r\n let control2:any = control.controls[0];\r\n\r\n control2.controls['shareholding'].clearValidators();\r\n control2.controls['shareholding'].updateValueAndValidity();\r\n control2.controls['shareholding'].setValue('100');\r\n\r\n \r\n // control.controls[0].removeControl('shareholding');\r\n // control.controls[0].removeControl('started_business');\r\n // control.controls[0].removeControl('current_business_experiance_year');\r\n // control.controls[0].removeControl('current_business_experiance_month');\r\n // control.controls[0].removeControl('total_business_experiance');\r\n \r\n control2.controls['started_business'].setValue('');\r\n\r\n control2.controls['current_business_experiance_year'].clearValidators();\r\n control2.controls['current_business_experiance_year'].updateValueAndValidity();\r\n control2.controls['current_business_experiance_year'].setValue('');\r\n\r\n control2.controls['current_business_experiance_month'].setValue('');\r\n\r\n control2.controls['total_business_experiance'].clearValidators();\r\n control2.controls['total_business_experiance'].updateValueAndValidity();\r\n control2.controls['total_business_experiance'].setValue('');\r\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\r\n // control2.controls['total_business_previous_experience'].clearValidators();\r\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\r\n // control2.controls['total_business_previous_experience'].setValue('0');\r\n // }\r\n\r\n }\r\n\r\n \r\n let family: any = [];\r\n \r\n let design: any;\r\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\r\n let records:any;\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId;\r\n // records.fk_createdby = this.users;\r\n records=this.businessForm.value;\r\n\r\n //if(records.persons_with_relationships=='')\r\n if (records.other_documents == 'no') {\r\n delete records.documents;\r\n }\r\n if (records.rent_paid == '') {\r\n delete records.rent_paid;\r\n }\r\n if (records.ownership_others == '') {\r\n delete records.ownership_others;\r\n }\r\n // records.family_members_involved = this.relativeNames;\r\n \r\n\r\n let validationFlag : number = 0;\r\n\r\n //type 1: Checking manufacturing_activity_details \r\n if(records.manufacturing_activity_details.length > 0){\r\n\r\n records.manufacturing_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale!= \"Within India\"){ \r\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n \r\n }\r\n\r\n //type 3 checking wholesale_trading_activity_details\r\n if(records.wholesale_trading_activity_details.length > 0){\r\n\r\n records.wholesale_trading_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){ \r\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n //type 2 checking retail_trading_activity_details\r\n if(records.retail_trading_activity_details.length > 0){\r\n\r\n records.retail_trading_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){ \r\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n\r\n //type 4 checking service_provider_activity_details\r\n if(records.service_provider_activity_details.length > 0){\r\n\r\n records.service_provider_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){\r\n \r\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n //validationFlag is greater then 0 means its display the notifer as warning\r\n if(validationFlag > 0){\r\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\r\n return;\r\n }\r\n\r\n records.select_business_activity_type = records.select_business_activity_type.filter(value=>value.exist_status==1);\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n });\r\n}\r\n getBuisnessDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}; \r\n this.qustCat.retiverForm(records).subscribe(data => {\r\n let businessVal = data['records'];\r\n \r\n let constVal: any;\r\n const Desgn = this.businessForm.controls['designation'];\r\n const Partnr = this.businessForm.controls['partners'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n\r\n if (data['status'] == 200) {\r\n let DocArray: any;\r\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\r\n return data['records'].designation[key];\r\n });\r\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\r\n return data['records'].partners[key];\r\n });\r\n\r\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\r\n return data['records'].family_members_involved[key];\r\n });\r\n let enduse: any = [];\r\n let existRelative: any =[];\r\n selectedMembers.forEach(val => {\r\n enduse.push(val.member);\r\n existRelative.push(val);\r\n });\r\n this.relativeNames = existRelative;\r\n if (DesgnArray.length == 0) {\r\n Desgn.push(this.createDesignation());\r\n } else {\r\n DesgnArray.forEach(datas => {\r\n Desgn.push(this.createDesignation());\r\n });\r\n \r\n }\r\n if (PartnrArray.length == 0) {\r\n Partnr.push(this.createPartners());\r\n } else {\r\n PartnrArray.forEach(datas => {\r\n Partnr.push(this.createPartners());\r\n });\r\n }\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{document: ''}];\r\n otherDoc.push(this.createDocument());\r\n }\r\n if (data['records'].ownership_setup != 'others') {\r\n businessVal.ownership_others = '';\r\n }\r\n if (data['records'].ownership_setup != 'rented') {\r\n businessVal.rent_paid = '';\r\n }\r\n businessVal.family_members_involved = enduse;\r\n businessVal.pdid = this.pdDetails.pd_id;\r\n businessVal.formid = this.FormId.form_id;\r\n businessVal.fk_createdby = this.users;\r\n businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n businessVal.documents = DocArray;\r\n\r\n this.businessForm.setValue(businessVal);\r\n } else {\r\n Desgn.push(this.createDesignation());\r\n Partnr.push(this.createPartners());\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n });\r\n }\r\n setStep(index: number) {\r\n this.step = index;\r\n}\r\ninWords(e,flag){\r\n switch(flag){\r\n case 1 : \r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n }\r\n }\r\n ManufacturingCounterArray: any = [];\r\nRetailCounterArray: any = [];\r\nWholeSaleCounterArray: any = [];\r\nServiceCounterArray: any = [];\r\n\r\n CheckExport(value,stringFlag,index){\r\n //this.ExportFlag=false\r\n const parentControl = this.businessForm.controls['select_business_activity_type'];\r\n const childControl = parentControl.controls[0];\r\n\r\n\r\n // childControl.forEach((datas,index) => {\r\n \r\n \r\n // // exist_status==true && event.value.type_of_activity_id\r\n\r\n // });\r\n\r\n \r\n\r\n \r\n \r\n if(!this.ManufacturingChecked){\r\n if(stringFlag == 'MActivity' && value != \"Within India\"){\r\n this.ManufacturingCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'MActivity' && value != \"Within India\"){\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n }else if (this.ManufacturingChecked && stringFlag == 'MActivity'){\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n\r\n if(!this.RetailedChecked){ \r\n if(stringFlag == 'RActivity' && value != \"Within India\"){\r\n this.RetailCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'RActivity' && value != \"Within India\"){\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n }\r\n else if(stringFlag == 'RActivity' && this.RetailedChecked){\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n\r\n if(!this.WholeSalesChecked){\r\n if(stringFlag == 'WActivity' && value != \"Within India\"){\r\n this.WholeSaleCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'WActivity' && value != \"Within India\"){\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n }\r\n else if(stringFlag == 'WActivity' && this.WholeSalesChecked){\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n \r\n if(!this.ServiceChecked){\r\n \r\n if(stringFlag == 'SPActivity' && value != \"Within India\")\r\n { \r\n this.ServiceCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'SPActivity' && value != \"Within India\"){\r\n this.ServiceCounterArray[index] = 0;\r\n }\r\n\r\n }else if(stringFlag == 'SPActivity'){\r\n this.ServiceCounterArray[index] = 0;\r\n } \r\n\r\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n\r\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter ;\r\n \r\n\r\n this.ExportFlag = overallCounter > 0 ? true : false ;\r\n\r\n}\r\ntoGetPOSMachinesDetails(e,flag){\r\n\r\n if(flag == 1){ this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\r\n const control = this.businessForm.controls['pos_machines_details'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n if(flag == 1){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n control.push(this.createPOSMachinesDetails(null));\r\n }\r\n }\r\n else if(flag == 2){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\r\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessAssetsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-assets',\r\n templateUrl: 'pd-question-business-assets.html',\r\n})\r\nexport class PdQuestionBusinessAssetsPage {\r\n currentYear:any=new Date().getFullYear();\r\n\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n\r\n company_id:any;\r\n pdDetails:any;\r\n formDetails : any;\r\n users:any;\r\n _businessAssetsQuesFrom:FormGroup;\r\n m_assets_type:any;\r\n m_propertyType:any;\r\n AssetValueInwords:any=[];\r\n appxMarketAmtInwords:any=[];\r\n RentAmtInwords:any=[]\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any=[]\r\n applicants:any;\r\n data_all:any;\r\n CustSegAbbr: any;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n yearErrorMessage: any=[];\r\n monthErrorMessage: any=[];\r\n addressLabel: any=[];\r\n placeholderName : any = []\r\n m_address_type:any=[]\r\n pageTitle: string;\r\n main_applicant: any;\r\n lender_applicant_id: any;\r\n subproduct_abbr: any;\r\n customer_segment_abbr: any;\r\n RentAmtInwordsForAddress: any =[];\r\n appxMarketAmtInwordsForAddress: any =[];\r\n isOtherOwnerForAddress : boolean = false;\r\n isOtherOwner: boolean = false;\r\n public m_vehicle_type = [];\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,public cons:ConstantsProvider,public toast:ToastProvider) {\r\n \r\n \r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users=this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n this.generalExistBusinessYear = this.pdDetails.business_years;\r\n this.generalExistBusinessMonth = this.pdDetails.business_month;\r\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\r\n this.main_applicant = this.pdDetails.applicant_name;\r\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\r\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.getDropDown()\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\r\n this.getDetails()\r\n //this.getAddress()\r\n }\r\n getAddress(){\r\n let params:any={};\r\n params.pd_id=this.pdDetails.pd_id;\r\n params.pd_form_id='5'\r\n\r\n this.qustcat.retiverForm(params).subscribe(data => {\r\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n if(data['status'] == 200) {\r\n \r\n \r\n if(data['records'].addresses.length > 0){\r\n data['records'].addresses.forEach((data,inx)=>{\r\n\r\n \r\n this.addressLabel[inx] = '';\r\n \r\n let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\r\n let address = data.address;\r\n let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\r\n \r\n this.placeholderName[inx] = 'Was any business activity seen at the '+addressType+' during PD visit?';\r\n let addressLabel = \" : \"+address+' / '+addressType ;\r\n let values={\r\n address_label:addressLabel,\r\n business_years: '',\r\n business_month: '',\r\n business_address_availability: '',\r\n business_is_pd_visited: '',\r\n business_pd_visited_remark: '', \r\n business_approximate_market_value: '',\r\n business_ownership_type: '',\r\n business_monthly_rented_amt: '',\r\n business_name_of_the_owner: '',\r\n business_name_of_the_other_owner: '',\r\n business_vintage: '',\r\n business_purchase_year: '',\r\n business_emi: ''\r\n }\r\n control.push(this.initBusinessDetailsWithdata(values));\r\n })\r\n }\r\n else{\r\n control.push(this.initBusinessDetails())\r\n }\r\n }\r\n else{\r\n control.push(this.initBusinessDetails());\r\n }\r\n });\r\n }\r\n getDropDown(){\r\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\r\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\r\n data => {\r\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\r\n })\r\n \r\n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\r\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\r\n \r\n })\r\n\r\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\r\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\r\n })\r\n\r\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\r\n \r\n }\r\n \r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n })\r\n\r\n \r\n \r\n }\r\n apiLoadFinish:boolean=false\r\n getDetails(){\r\n let params:any={};\r\n params.pd_id=this.pdDetails.pd_id\r\n params.company_id=this.company_id\r\n params.pd_form_id=22\r\n this.qustcat.retiverForm(params).subscribe(res=>{\r\n \r\n if(res['dataStatus']==true){\r\n \r\n //this.data_all=res['records']\r\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\r\n return res['records'].business_assets_details[key]\r\n });\r\n \r\n //this.formLoadData(assestArray)\r\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\r\n if(assestArray.length>0){\r\n for(let val of assestArray){\r\n let formData={\r\n business_assets_mode: val.business_assets_mode,\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\r\n }\r\n }*/\r\n this.formLoadData(res['records'])\r\n }\r\n\r\n \r\n else{\r\n this.formLoadData(null);\r\n }\r\n this.apiLoadFinish=true\r\n \r\n \r\n })\r\n //this.formLoadData(null);\r\n \r\n }\r\n \r\n formLoadData(data){\r\n if(data==null){\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n \r\n business_assets_for_address: this.fb.array([]),\r\n //this.createBusinessAssetsForAddress(),\r\n business_assets_details : this.fb.array([\r\n this.initBusinessDetails(),\r\n ]),\r\n business_assets_form_remark:['']\r\n });\r\n this.getAddress();\r\n this.loadDetails=true;\r\n }\r\n else{\r\n \r\n let value=data;\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n // business_years:[value.business_years],\r\n // business_month:[value.business_month],\r\n // business_address_availability:[value.business_address_availability],\r\n // business_is_pd_visited:[value.business_is_pd_visited],\r\n // business_pd_visited_remark:[value.business_pd_visited_remark],\r\n business_assets_for_address: this.fb.array([]),\r\n business_assets_details : this.fb.array([]),\r\n business_assets_form_remark:[value.business_assets_form_remark || '']\r\n });\r\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\r\n \r\n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n // }\r\n // else {\r\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n // control.push(this.createBusinessAssetsForAddress());\r\n // } \r\n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n }\r\n\r\n this.loadDetails=true\r\n }\r\n\r\n initBusinessDetails(){\r\n return this.fb.group({\r\n address_label:[''],\r\n business_assets_mode:[''],\r\n business_details: this.fb.array([]),\r\n \r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n \r\n business_approximate_market_value: [''],\r\n business_ownership_type:[''],\r\n business_monthly_rented_amt:[''],\r\n business_name_of_the_owner: [],\r\n business_name_of_the_other_owner: [],\r\n business_vintage: [''],\r\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [''],\r\n \r\n })\r\n }\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: [''],\r\n address_of_the_property: ['']\r\n });\r\n }\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [''],\r\n vehicle_type: [''],\r\n other_vehicle_type: ['']\r\n });\r\n }\r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n otherBusinessAssetsDescription() {\r\n return this.fb.group({\r\n any_other_assets: [''],\r\n any_other_asset_value : [''],\r\n any_other_asset_loan : [''], \r\n });\r\n }\r\n\r\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n addAssetDetails(e) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetails());\r\n \r\n }\r\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n removeAssetsDetails(i: number) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.removeAt(i);\r\n\r\n}\r\n\r\ncreateBusinessAssetsForAddress(): FormGroup {\r\n return this.fb.group({\r\n address_label:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n\r\n business_approximate_market_value: [''],\r\n business_ownership_type: [''],\r\n business_monthly_rented_amt: [''],\r\n business_name_of_the_owner: [''],\r\n business_name_of_the_other_owner: [''],\r\n business_vintage: [''],\r\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: ['']\r\n });\r\n}\r\n\r\n selectedAssetsType(e: any, i: any): void {\r\n let val = i;\r\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n arr.controls.splice(0);\r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n let val = i;\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescription());\r\n break;\r\n }\r\n \r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n loadPropertyWithData(data) { \r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type],\r\n address_of_the_property: [data.address_of_the_property],\r\n });\r\n }\r\n load_Four_WeelerWithData(data){\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\r\n vehicle_type: [data.vehicle_type],\r\n other_vehicle_type: [data.other_vehicle_type]\r\n })\r\n }\r\n\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n otherBusinessAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n any_other_asset_loan : [data.any_other_asset_loan],\r\n });\r\n }\r\n\r\n loadDetails:boolean\r\n addBusinessAssetsForAddress(data) {\r\n var result = Object.keys(data).map(function (key) {\r\n return data[key];\r\n });\r\n if (result.length > 0) {\r\n result.forEach((datas, index) => {\r\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\r\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\r\n let Avaliablity = 1;\r\n \r\n if(datas.business_name_of_the_owner.length > 0){\r\n datas.business_name_of_the_owner.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\r\n });\r\n\r\n for (let val of result) {\r\n let vals = {\r\n address_label:val.address_label,\r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type: val.business_ownership_type,\r\n business_monthly_rented_amt: val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_vintage: val.business_vintage,\r\n business_purchase_year: val.business_purchase_year,\r\n business_emi: val.business_emi\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddressWithData(vals));\r\n }\r\n } else {\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddress());\r\n }\r\n }\r\n addBusinessAssetsDetailsWithData(supp_data){\r\n var result=Object.keys(supp_data).map(function(key){\r\n return supp_data[key];\r\n })\r\n \r\n if(result.length>0){\r\n result.forEach((datas,index)=>{\r\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\r\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\r\n });\r\n for(let val of result){\r\n let formData={\r\n address_label:val.address_label,\r\n business_assets_mode: val.business_assets_mode,\r\n\r\n business_years:val.business_year,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type:val.business_ownership_type,\r\n business_monthly_rented_amt:val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\r\n }\r\n \r\n }\r\n this.loadDetails=true\r\n }\r\n\r\n createBusinessAssetsForAddressWithData(data): FormGroup {\r\n return this.fb.group({\r\n address_label:[data.address_label],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type: [data.business_ownership_type],\r\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\r\n business_vintage: [data.business_vintage],\r\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [data.business_emi]\r\n });\r\n }\r\n\r\n initBusinessDetailsWithdata(data) {\r\n \r\n\r\n let formGroup= this.fb.group({\r\n address_label:[data.address_label],\r\n business_assets_mode: [data.business_assets_mode],\r\n \r\n business_years:[data.business_year],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_details: this.fb.array([]),\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type : [data.business_ownership_type],\r\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\r\n // relation: [data.relation || ''],\r\n business_vintage: [data. business_vintage],\r\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n // purchase_month: [data.purchase_month],\r\n business_emi: [data.business_emi || ''],\r\n });\r\n return formGroup;\r\n }\r\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\r\n \r\n let val = i;\r\n let data = datas;\r\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n control.controls.splice(0);\r\n\r\n switch (assets_details_mode) {\r\n case '2': {\r\n let business_property_datas : any;\r\n data.forEach((datas,i) => {\r\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadPropertyWithData(business_property_datas));\r\n break;\r\n }\r\n case '3': {\r\n let business_Four_Weeler_datas : any;\r\n data.forEach((datas,i) => {\r\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\r\n break;\r\n }\r\n case '4': {\r\n let equipment_manufacturing_description_datas : any;\r\n data.forEach((datas,i) => {\r\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\r\n break;\r\n }\r\n \r\n case '1': {\r\n let array_datas : any;\r\n data.forEach((datas,i) => {\r\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\r\n array_datas = {\r\n 'any_other_assets': datas.any_other_assets,\r\n // 'any_other_asset_value': datas.any_other_asset_value,\r\n 'any_other_asset_loan': datas.any_other_asset_loan,\r\n };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n public paymentModeTextBox: number;\r\n selectedPM(e) {\r\n this.paymentModeTextBox = e.value;\r\n // this.f.supplier_details.controls.get('payment_mode_value');\r\n }\r\n\r\n public freqPurchaseTextBox: number;\r\n selectedFreqPurchase(e) {\r\n this.freqPurchaseTextBox = e.value;\r\n }\r\n \r\n\r\n onSubmit(){\r\n var answerData=this._businessAssetsQuesFrom.value;\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n\r\n this.qustcat.saveForm(answerData).subscribe(result=>{\r\n if(result['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n this.navCtrl.pop();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\r\n }\r\n })\r\n \r\n }\r\n // calculate vintage and purchase {}\r\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\r\n if (type == 1) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 2) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n if (type == 3) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 4) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n }\r\n\r\n\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n\r\n // // check others\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n\r\n\r\n setRequiredValidation(value, item, flag,i) {\r\n\r\n if (flag == 1) {\r\n if (value == 'yes') {\r\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\r\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n }\r\n else {\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n }\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n\r\n\r\n }\r\n // if(flag == 2){\r\n // value==1\r\n // ? item.controls.premises_type_others.setValidators([Validators.required])\r\n // : item.controls.premises_type_others.clearValidators();\r\n // item.controls.premises_type_others.updateValueAndValidity();\r\n // }\r\n if (flag == 3) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if (flag == 4) {\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwner = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwner = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n\r\n // value == 0\r\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\r\n // : item.controls.business_name_of_the_other_owner.clearValidators();\r\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n }\r\n if (flag == 5) {\r\n value == 1\r\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\r\n : item.controls.other_vehicle_type.clearValidators();\r\n item.controls.other_vehicle_type.updateValueAndValidity();\r\n }\r\n if (flag == 6) {\r\n value == 1\r\n ? item.controls.other_property_type.setValidators([Validators.required])\r\n : item.controls.other_property_type.clearValidators();\r\n item.controls.other_property_type.updateValueAndValidity();\r\n\r\n value != ''\r\n ? item.controls.address_of_the_property.setValidators([Validators.required])\r\n : item.controls.address_of_the_property.clearValidators();\r\n item.controls.address_of_the_property.updateValueAndValidity();\r\n }\r\n if (flag == 7) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if(flag == 8){\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n \r\n Avaliablity = option.id;\r\n }\r\n });\r\n // isOtherOwner: boolean = false;\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwnerForAddress = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwnerForAddress = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n \r\n }\r\n\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(e,ind){\r\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\r\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\r\n \r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n let Year = +business_year + +Math.floor(converted_year);\r\n \r\n if(Year > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }\r\n else{\r\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\r\n {\r\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }else{\r\n this.monthErrorMessage[ind] = '';\r\n this.yearErrorMessage[ind] = '';\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\r\n }\r\n }\r\n }\r\n\r\n checkWithExistBusinessYear(e,ind){\r\n \r\n if(+e > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n \r\n }\r\n else{\r\n this.yearErrorMessage[ind] = '';\r\n }\r\n }\r\n\r\n\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1:\r\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 : \r\n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 3:\r\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 9:\r\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 10:\r\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\n// import { QueryState } from '@angular/core/src/render3/interfaces';\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-banking',\r\n templateUrl: 'pd-question-business-banking.html',\r\n})\r\nexport class PdQuestionBusinessBankingPage {\r\npdDetails:any;\r\nm_btLenderList: any;\r\napplicants: any \r\nsalaryField: boolean;\r\nformDetails: any;\r\nform_id:any;\r\naccountType: any;\r\nusers: any;\r\nbankingForm:FormGroup;\r\npublic pd_cus_segment:string\r\ncompany_id:any;\r\n\r\npdid:any;\r\nitemRows:FormArray;\r\n\r\nexistCompanyList: any=[];\r\nmergeCompanyApplicant: any=[];\r\nstep:number\r\n amtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n limitCaseFlag: any=[];\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider,public toast:ToastProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails')\r\n \r\n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\r\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\r\n this.pdid=this.pdDetails.pd_id;\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id=this.pdDetails.company_id\r\n \r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n\r\n this.users = this.aws.getlocale();\r\n this.step=0\r\n this.bankingForm = this.fb.group(\r\n {\r\n itemRows:this.fb.array([]),\r\n banking_form_remark:[''],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\r\n }\r\n getdropdown(){\r\n \r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n /** Amount InWords */\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n setRequiredValidation(value,item,flag) {\r\n \r\n \r\n if(flag == 1){\r\n value==0\r\n ? item.controls.other_applicant.setValidators([Validators.required])\r\n : item.controls.other_applicant.clearValidators();\r\n item.controls.other_applicant.updateValueAndValidity();\r\n }\r\n if(flag == 2){\r\n value==1\r\n ? item.controls.other_bank.setValidators([Validators.required])\r\n : item.controls.other_bank.clearValidators();\r\n item.controls.other_bank.updateValueAndValidity();\r\n }\r\n \r\n }\r\n\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n \r\n bank_name: [''],\r\n \r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n addBankDetails(index,event) {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n event.stopPropagation()\r\n const control = this.bankingForm.controls['itemRows'];\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\r\n \r\n this.itemRows.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n const control = this.bankingForm.controls['itemRows'];\r\n if(control.length==1){\r\n control.reset();\r\n }\r\n else\r\n \r\n \r\n control.removeAt(i);\r\n }\r\n \r\n setStep(index: number) {\r\n this.step = index;\r\n }\r\n\r\n retiveBankDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\r\n const control = this.bankingForm.controls['itemRows'];\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n \r\n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n \r\n \r\n if(result.length == 0){\r\n \r\n control.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n result.forEach((datas,index)=>\r\n {\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n if(datas.limit != ''){\r\n \r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n }\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n control.push(this.createBankItem(''));\r\n })\r\n \r\n this.bankingForm.controls['itemRows'].setValue(result);\r\n } \r\n }else\r\n {\r\n \r\n control.push(this.createBankItem(''));\r\n }\r\n });\r\n \r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.form_id;\r\n records.fk_createdby = this.users;\r\n records.company_id=this.company_id;\r\n records.banking_details = answerData.itemRows;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n })\r\n \r\n }\r\n \r\n\r\n \r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdGeneralImagesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-general-images',\r\n templateUrl: 'pd-general-images.html',\r\n})\r\nexport class PdGeneralImagesPage {\r\n\r\n cameraArr:any = [];\r\n applicatentDetails: any;\r\n count:any = 0;\r\n saveAccess:boolean =false;\r\n FormId:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdGeneralImagesPage');\r\n }\r\n \r\n takePicture()\r\n {\r\n this.camera.getpicture().then(image=>\r\n {\r\n this.count = this.count+1;\r\n \r\n this.cameraArr.push({'image':image,'name':''});\r\n });\r\n }\r\n\r\n removeimage(i)\r\n {\r\n this.count = this.count - 1; \r\n this.cameraArr.splice(i,1);\r\n }\r\n\r\n docnames(doc,i,img)\r\n {\r\n \r\n this.cameraArr[i] = {'image':img,'Name':doc};\r\n // console.log(JSON.stringify(this.pddocdata)); \r\n }\r\n savePDImages()\r\n {\r\n \r\n this.saveAccess = true;\r\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\r\n records.images = this.cameraArr;\r\n this.qustCat.savePDImages(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.saveAccess = false;\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } \r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { PdListPage } from '../../pd-list/pd-list';\r\nimport {ToastProvider} from '../../../providers/common-provider/toast'\r\n\r\n/**\r\n * Generated class for the BouncedRejectPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-bounced-reject',\r\n templateUrl: 'bounced-reject.html',\r\n})\r\nexport class BouncedRejectPage {\r\n\r\n users: any;\r\n bounseMaster: any;\r\n pdDetails: any;\r\n status: any;\r\n bounce_reason:any;\r\n bounce_reason_others:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\r\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\r\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\r\n // this.pdDetails = this.navParams.get('appdetails');\r\n // this.status = this.navParams.get('status');\r\n this.pdDetails=this.navParams.get('details')\r\n // console.log(this.pdDetails)\r\n this.users = this.aws.getlocale();\r\n this.getDropdown();\r\n \r\n }\r\n\r\n getDropdown()\r\n {\r\n \r\n \r\n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\r\n console.log(this.bounseMaster);\r\n }\r\n })\r\n \r\n }\r\n updatePDStatus()\r\n {\r\n if(this.bounce_reason !=null && this.bounce_reason !=1)\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n \r\n \r\n\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\r\n/*\r\n Generated class for the DatabaseProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class DatabaseProvider {\r\n database:SQLiteObject;\r\n constructor(public http: HttpClient,public sql:SQLite) {\r\n console.log('Hello DatabaseProvider Provider');\r\n this.createnewdb();\r\n }\r\n\r\n createnewdb()\r\n {\r\n // alert('function in');\r\n this.sql.create(\r\n {\r\n name:'sinnedge',\r\n location:'defalut',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \r\n {\r\n // alert('db create');\r\n this.getuserDetails();\r\n })\r\n .catch(e => console.log(e));\r\n })\r\n }\r\n getuserDetails()\r\n {\r\n // alert('getusers');\r\n this.sql.create(\r\n {\r\n name:'sineedge',\r\n location:'default',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\r\n {\r\n console.log(res);\r\n })\r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the PasswordPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-password',\r\n templateUrl: 'password.html',\r\n})\r\nexport class PasswordPage {\r\n commonImage: string;\r\n newpassword: any;\r\n confirmPassword: any;\r\n pin:any;\r\n Username:any;\r\n Password:any;\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.Username = this.navParams.get('Username');\r\n this.Password = this.navParams.get('Password');\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PasswordPage');\r\n }\r\n setNewPassword(newpass)\r\n {\r\n if(newpass !='' && newpass !=null && newpass !== undefined){\r\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\r\n console.log(auth);\r\n this.aws.dologin(auth).subscribe(res => {\r\n console.log(res);\r\n this.navCtrl.setRoot(PdListPage);\r\n // this.router.navigate(['/home']);\r\n }, err => {\r\n this.toast.pdTriggerappmessage(err.message);\r\n // alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the new Password');\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\n\r\nimport { LoadingProvider } from '../../providers/common-provider/loading';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the AuthPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n \r\n\r\n@Component({\r\n selector: 'page-auth',\r\n templateUrl: 'auth.html',\r\n})\r\nexport class AuthPage {\r\n pinAccess: any;\r\n newpindetails: any;\r\n userDetails: any;\r\npin:any;\r\n mpinaccess:boolean =false;\r\n newpassword:any;\r\n ConfirmPassword:any;\r\n commonImage:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.shared.refresh();\r\n this.getuserDetails();\r\n \r\n\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad AuthPage');\r\n }\r\n ionViewDidEnter(){\r\n this.Menu.enable(false);\r\n }\r\n ionViewWillLeave(){\r\n this.Menu.enable(true);\r\n }\r\n getuserDetails()\r\n {\r\n this.loadingCtrl.pdloader('loading...');\r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.loadingCtrl.loading.dismiss();\r\n this.userDetails = this.userDetails.records;\r\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\r\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\r\n if(this.userDetails[0].mpin ==null)\r\n {\r\n \r\n this.mpinaccess = true;\r\n \r\n }else\r\n {\r\n this.mpinaccess = false;\r\n }\r\n }else{\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n }else{\r\n this.toast.pdTriggerappmessage('')\r\n }\r\n //console.log(this.mpinaccess);\r\n });\r\n }\r\n setnewpin(newpin)\r\n {\r\n console.log(\"set Pin\")\r\n this.aws.userpinupdate(newpin).subscribe(res=>\r\n {\r\n this.newpindetails = res;\r\n if(this.newpindetails.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n /**Finger print */\r\n \r\n checkpin(pin) {\r\n console.log(\"Check pin\",pin);\r\n if(pin !='' && pin !=null)\r\n {\r\n if(this.userDetails[0].mpin == pin)\r\n {\r\n console.log(\"Entering List page\")\r\n this.navCtrl.setRoot(PdListPage);\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\r\n }\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The PIN');\r\n }\r\n\r\n \r\n \r\n }\r\n checkfingerprint()\r\n {\r\n console.log(\"Check Finger\");\r\n this.faio.show({\r\n clientId: 'Fingerprint-Demo',\r\n clientSecret: 'password', // Only Android\r\n localizedFallbackTitle: 'Use Pin', // Only iOS\r\n localizedReason: 'Please authenticate',\r\n disableBackup:true,\r\n })\r\n .then((result: any) => {\r\n this.navCtrl.setRoot(PdListPage);\r\n })\r\n .catch((error: any) => {\r\n this.toast.pdTriggerappmessage('err: '+ error);\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { LoadingController } from 'ionic-angular';\r\n/*\r\n Generated class for the LoadingProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class LoadingProvider {\r\n\r\n loading: any;\r\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\r\n console.log('Hello LoadingProvider Provider');\r\n }\r\n\r\n pdloader(content)\r\n {\r\n this.loading = this.loadingCtrl.create({\r\n content: content\r\n });\r\n\r\n this.loading.present();\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app.module';\r\nimport { enableProdMode } from '@angular/core';\r\nenableProdMode();\r\nplatformBrowserDynamic().bootstrapModule(AppModule);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\r\nimport { ErrorHandler, NgModule } from '@angular/core';\r\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\r\n\r\nimport { MyApp } from './app.component';\r\n\r\n\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\r\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\r\nimport { SQLite } from '@ionic-native/sqlite';\r\nimport { DatabaseProvider } from '../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\nimport {\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule\r\n} from '@angular/material';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { AuthGuard } from '../providers/_guard/auth.guard';\r\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { ConstantsProvider } from '../providers/constants/constants';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\r\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\r\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\r\nimport { InputPage } from '../pages/input/input';\r\nimport { ToastProvider } from '../providers/common-provider/toast';\r\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\n\r\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\r\nimport { OtpPage } from '../pages/otp/otp';\r\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\r\n\r\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\r\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\r\nimport { CameraProvider } from '../providers/common-provider/camera';\r\nimport { LoadingProvider } from '../providers/common-provider/loading';\r\nimport { Camera } from '@ionic-native/camera';\r\n\r\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\r\n\r\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\r\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { Geolocation } from '@ionic-native/geolocation';\r\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\n// import { DatePicker } from '@ionic-native/date-picker';\r\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\r\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\r\n\r\nimport { PdQuestionBusinessPage } from '../pages/pd-question/pd-question-business/pd-question-business'\r\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\r\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport { PdPipe } from '../pipes/pd/pd';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\r\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\r\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\n\r\n@NgModule({\r\n declarations: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionBusinessPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n ],\r\n imports: [\r\n BrowserModule,ReactiveFormsModule,FormsModule,\r\n IonicModule.forRoot(MyApp),\r\n BrowserAnimationsModule,\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,MatListModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule,HttpClientModule,IonicImageViewerModule\r\n ],\r\n bootstrap: [IonicApp],\r\n entryComponents: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionBusinessPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n \r\n ],\r\n providers: [\r\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\r\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,\r\n {\r\n provide:HTTP_INTERCEPTORS,\r\n useClass: TokenInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: ErrorHandler,\r\n useClass: IonicErrorHandler\r\n },LaunchNavigator,\r\n AwsServiceProvider,\r\n QuestionCategoryProvider,\r\n CameraProvider,Camera,\r\n PdPipe,LocationAccuracy,\r\n LoadingProvider,Geolocation,\r\n DatabaseProvider\r\n ]\r\n})\r\nexport class AppModule {}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { Nav, Platform } from 'ionic-angular';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { MethodCall } from '@angular/compiler';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { AuthPage } from '../pages/auth/auth';\r\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n\r\n@Component({\r\n templateUrl: 'app.html'\r\n})\r\nexport class MyApp {\r\n userDetails: any;\r\n userAccess:boolean = false;\r\n @ViewChild(Nav) nav: Nav;\r\n\r\n rootPage: any = LoginPage;\r\n\r\n pages: Array<{title: string,icon:any, method: any}>;\r\n\r\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider) {\r\n this.initializeApp();\r\n\r\n // used for an example of ngFor and navigation\r\n this.pages = [ \r\n // { title: 'Home', component: HomePage, icon: 'home' },\r\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\r\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)}\r\n ];\r\n\r\n }\r\n\r\n initializeApp() {\r\n this.platform.ready().then(() => {\r\n // Okay, so the platform is ready and our plugins are available.\r\n // Here you can do any higher level native things you might need.\r\n this.statusBar.styleDefault();\r\n if (this.platform.is('android')) {\r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n \r\n }\r\n this.splashScreen.hide();\r\n\r\n this.shared.getAccessToken().then(()=>{\r\n this.getuserDetails();\r\n this.rootPage = AuthPage\r\n }).catch(()=>{\r\n setTimeout(() => {\r\n this.rootPage = LoginPage;\r\n }, 1000);\r\n });\r\n })\r\n }\r\n\r\n \r\n getuserDetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.userAccess = true;\r\n this.userDetails = this.userDetails.records[0];\r\n \r\n }\r\n \r\n });\r\n }\r\n menulist(id){\r\n //alert();\r\n switch(id)\r\n {\r\n case 1:\r\n this.nav.setRoot(PdListPage);\r\n break;\r\n case 2:\r\n this.AWS.logout().subscribe(()=>{\r\n \r\n this.nav.setRoot(LoginPage);\r\n });\r\n break;\r\n case 3:\r\n break;\r\n case 4:\r\n break;\r\n}\r\n}\r\n logout()\r\n {\r\n // this.aws.logout();\r\n this.nav.setRoot(LoginPage);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\r\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n\r\n\r\n\r\n@Injectable()\r\nexport class AuthGuard {\r\n \r\n constructor() { \r\n\r\n \r\n }\r\n\r\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n // // if (this.shared.getToken()) {\r\n // alert(\"if\");\r\n // // this.router.navigate(['']);\r\n // return true\r\n // } else {\r\n // alert(\"else\");\r\n // this.router.navigate(['/login']);\r\n // return false;\r\n // }\r\n // }\r\n getlogin(){\r\n // if (this.shared.getToken()) {\r\n // // alert(\"if\");\r\n // //alert();\r\n // return true;\r\n // } else {\r\n // // alert(\"else\");\r\n \r\n // //this.myGlobalServiceNav.setRoot(LoginPage);\r\n // this.shared.isloggin = false;\r\n // return false;\r\n \r\n \r\n // }\r\n }\r\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\r\n \r\n \r\n // }\r\n\r\n // public getToken(): string {\r\n // return localStorage.getItem('token');\r\n // }\r\n\r\n // public logOut() {\r\n // localStorage.clear();\r\n // if(localStorage.getItem('token') === null){\r\n // this.router.navigate(['/login']);\r\n // }\r\n // }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\r\nimport {\r\n HttpRequest,\r\n HttpHandler,\r\n HttpEvent,\r\n HttpInterceptor,\r\n HttpHeaders\r\n} from '@angular/common/http';\r\n// import { AuthGuard } from './auth.guard';\r\nimport { Observable, of} from 'rxjs';\r\n\r\n// import { Router } from '@angular/router';\r\n\r\nimport { catchError, map, tap } from 'rxjs/operators';\r\nimport { HttpErrorResponse } from \"@angular/common/http\";\r\n\r\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\r\n\r\n@Injectable()\r\nexport class TokenInterceptor implements HttpInterceptor{\r\n constructor(public shared:CognitoServiceProvider ) {\r\n \r\n }\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n // request = request.clone({\r\n // setHeaders: {\r\n // Authorization: `${this.auth.getToken()}`\r\n // }\r\n // });\r\n let token:any;\r\n this.shared.refresh();\r\n token = this.shared.getToken() || null;\r\n \r\n token = token.getIdToken().getJwtToken();\r\n \r\n //console.log(token);\r\n let requests = request.clone({\r\n headers:new HttpHeaders({\r\n \r\n 'Authorization': 'sparqvenba2018',\r\n 'Token':token,\r\n 'From':'1',\r\n \r\n \r\n }) \r\n \r\n });\r\n \r\n return next.handle(requests).pipe(\r\n catchError(this.handleError('role', []))\r\n )\r\n }\r\n\r\n private handleError (operation = 'operation', result?: T) {\r\n return (error: any): Observable => {\r\n if(error instanceof HttpErrorResponse){\r\n console.error(\"Error: \" + error.status);\r\n if(error.status == 401){\r\n localStorage.clear();\r\n // this.router.navigate(['/authentication/login']);\r\n }\r\n return of(result as T);\r\n }\r\n };\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\r\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the GoogleplaytabPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-googleplaytab',\r\n templateUrl: 'googleplaytab.html',\r\n})\r\nexport class GoogleplaytabPage {\r\n\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= true;\r\n isLeft:boolean= true;\r\n tabs:any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\r\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\r\n console.log('Width: ' + platform.width());\r\n this.screenWidth_px=platform.width();\r\n \r\n}\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad GoogleplaytabPage');\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n\r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n\r\n this.isLeft=false;\r\n this.isRight=false;\r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n\r\n }\r\n\r\n\r\n\r\n}\r\n\r\n \r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the PdAllocationPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-allocation',\r\n templateUrl: 'pd-allocation.html',\r\n})\r\nexport class PdAllocationPage {\r\npdFullDetails:any = [];\r\n constructor(public navCtrl: NavController, public navParams: NavParams) {\r\n \r\n this.pdFullDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdFullDetails);\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdAllocationPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category'\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business',\r\n templateUrl: 'pd-question-business.html',\r\n})\r\nexport class PdQuestionBusinessPage {\r\n pdDetails:any;\r\n pdid:any;\r\n users:any;\r\n FormId:any;\r\n existCompanyList:any=[]\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=this.aws.getlocale\r\n\r\n this.getDropDown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessPage');\r\n }\r\ngetDropDown(){\r\n this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(res=>{\r\n this.existCompanyList=res['records'].filter(data=>data.is_active == true && data.is_company_applicant == true);\r\n console.log(this.existCompanyList);\r\n })\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business/pd-question-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionSalaryInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-salary-info',\r\n templateUrl: 'pd-question-salary-info.html',\r\n})\r\nexport class PdQuestionSalaryInfoPage {\r\n\r\n salaryDetails:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\r\n \r\n this.salaryDetails = this.fb.group(\r\n {\r\n gross:[null],\r\n netTakeHome:[null],\r\n bounsIncentive:[null],\r\n salaryDate:[null],\r\n anydelays:[null], \r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Injectable } from '@angular/core';\r\n\r\n// import { CanActivateChild, Router } from '@angular/router';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\n\r\n// import { environment } from '../../environments/environment';\r\n\r\nimport { BehaviorSubject,Observable,of } from 'rxjs';\r\n\r\nconst sineedge_poolData = { \r\n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\r\n};\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"\",\r\n ClientId: \"\"\r\n}\r\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"\";\r\n// serviceProvider\r\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\r\n// const apiurl = \"http://localhost/sparqapi/api/\";\r\n\r\n@Injectable()\r\n\r\nexport class CognitoServiceProvider {\r\n public loggedIn :boolean = false;\r\n // public static _REGION = environment.region;\r\n\r\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\r\n // public static _USER_POOL_ID = environment.UserPoolId;\r\n // public static _CLIENT_ID = environment.ClientId;\r\n\r\n // public static _POOL_DATA: any = {\r\n // UserPoolId: CognitoService._USER_POOL_ID,\r\n // ClientId: CognitoService._CLIENT_ID\r\n // };\r\n \r\n\r\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\r\nisloggin:boolean = false; \r\n\r\n\r\n \r\n\r\n \r\n constructor() { \r\n \r\n }\r\n getCurrentUser() {\r\n \r\n return sineedgedevUserpool.getCurrentUser();\r\n}\r\n get isLoggedIn() {\r\n if(sineedgedevUserpool.getCurrentUser() !=null){\r\n this.loggedIn = true;\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n return this.loggedIn; // {2}\r\n }\r\n \r\nrefresh() {\r\n let tokenexp:boolean;\r\n \r\n if(this.getCurrentUser() !=null){\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n }\r\n\r\n else {\r\n if (session.isValid()) {\r\n tokenexp = session.isValid();\r\n of(tokenexp)\r\n console.log(\"CognitoUtil: refreshed successfully\");\r\n \r\n } else {\r\n tokenexp = session.isValid();\r\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\r\n \r\n }\r\n }\r\n \r\n return tokenexp;\r\n \r\n });\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n}\r\ngetAccessToken(){\r\n this.refresh();\r\n return new Promise((resolve, reject) => {\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n //console.log(JSON.stringify(this.getCurrentUser()));\r\n // console.log('76 if');\r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n jwttoken ='';\r\n // console.log('81 if')\r\n reject(err);\r\n }\r\n else {\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n resolve();\r\n } else {\r\n \r\n }\r\n }\r\n });\r\n }\r\n else {\r\n //console.log(\"else\");\r\n reject();\r\n }\r\n});\r\n}\r\n\r\ngetToken():any {\r\n let isloggin = false;\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n isloggin = false;\r\n //console.log('81 if')\r\n }\r\n else {\r\n //alert('function else');\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n isloggin = true;\r\n } else {\r\n \r\n isloggin = false;\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n // console.log(\"else\");\r\n isloggin = false;\r\n }\r\n return jwttoken;\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n\r\n\r\nimport { Observable } from \"rxjs/Observable\";\r\nimport \"rxjs/add/operator/map\";\r\nimport { CognitoServiceProvider } from './cognito.service';\r\nimport { ConstantsProvider } from '../constants/constants';\r\nimport { UrlResolver } from '@angular/compiler';\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"ap-south-1_K57yPaWxV\",\r\n ClientId: \"\"\r\n}\r\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\r\n\r\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Injectable()\r\nexport class AwsServiceProvider {\r\napiurl:any;\r\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\r\n this.apiurl = con.apiurl();\r\n }\r\n\r\n dologin(authenticationData) {\r\n // alert();\r\n //(authenticationData);\r\n const authenticationDetails = new AuthenticationDetails(authenticationData);\r\n let Newpassword = authenticationData.newpassword;\r\n let attributesData = [];\r\n const userData = {\r\n Username: authenticationData.Username, // User email id\r\n Pool: sineedgedevUserpool // user Pool ID\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observer => {\r\n cognitoUser.authenticateUser(authenticationDetails, {\r\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \r\n cognitoUser.completeNewPasswordChallenge(\r\n Newpassword,\r\n attributesData,\r\n {\r\n onSuccess: function (result) {\r\n observer.next(result);\r\n observer.complete();\r\n },\r\n onFailure: function (err) {\r\n //(err);\r\n observer.error(err);\r\n //LoginComponent.prototype.open();\r\n }\r\n }\r\n );\r\n },\r\n onSuccess: function (result) { // success user login\r\n // let accessToken = result.getAccessToken().getJwtToken();\r\n ////(result);\r\n //window.localStorage.setItem('Currentuser', '1');\r\n observer.next(result);\r\n observer.complete();\r\n this.shared.isloggin = true;\r\n },\r\n onFailure: function (err) { // error user login\r\n\r\n //alert(err.message);\r\n observer.error(err);\r\n }\r\n });\r\n });\r\n }\r\n userforgotpass(auth) {\r\n ////(auth);\r\n const userData = {\r\n Username: auth.Username,\r\n Pool: sineedgedevUserpool\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observe => {\r\n cognitoUser.forgotPassword({\r\n onSuccess: function (data) {\r\n // successfully initiated reset password request\r\n //('CodeDeliveryData from forgotPassword: ' + data);\r\n observe.next(data);\r\n },\r\n onFailure: function (err) {\r\n alert(err.message || JSON.stringify(err));\r\n },\r\n //Optional automatic callback\r\n inputVerificationCode: function (data) {\r\n //('Code sent to: ' + data);\r\n var verificationCode = prompt('Please input verification code ', '');\r\n var newPassword = prompt('Enter new password ', '');\r\n cognitoUser.confirmPassword(verificationCode, newPassword, {\r\n onSuccess() {\r\n //('Password confirmed!');\r\n },\r\n onFailure(err) {\r\n //('Password not confirmed!');\r\n }\r\n });\r\n }\r\n });\r\n });\r\n\r\n\r\n }\r\n /**\r\n * End of the function \r\n */\r\n\r\n /**\r\n * Logout function\r\n */\r\n logout(){\r\n \r\n return Observable.create(observe=>{\r\n this.shared.getCurrentUser().signOut(); \r\n \r\n observe.next();\r\n \r\n observe.complete();\r\n });\r\n }\r\n\r\n\r\n /**\r\n * Config function\r\n */\r\n // getconfig() {\r\n // let session:any = this.shared.getAccessToken() || \"\";\r\n \r\n // let config = \"\";\r\n // config += AWS.config.region = \"ap-south-1\";\r\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\r\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\r\n // Logins: {\r\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\r\n // .getIdToken()\r\n // .getJwtToken()\r\n // }\r\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\r\n // });\r\n // return config;\r\n // }\r\n\r\n getlocale(){\r\n let session:any = this.shared.getToken() || null;\r\n let userid = session.idToken.payload.locale;\r\n return userid;\r\n }\r\n getuserprofile(userid)\r\n {\r\n \r\n \r\n // alert();\r\n \r\n //console.log(cogusers.idToken.payload.locale);\r\n let roles = {'userid':userid}; \r\n \r\n \r\n // let request = new RequestOptions({headers:headers});\r\n return this.http.post(this.apiurl+'getUsersDetails',roles);\r\n \r\n }\r\n\r\n userpinupdate(pin)\r\n {\r\n let userid = this.getlocale(); \r\n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\r\n let formdata = new FormData();\r\n \r\n formdata.append('records',JSON.stringify(records));\r\n return this.http.post(this.apiurl+'updateExistUser',formdata);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts","import { Component,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { InputPage } from '../input/input';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { parseDate } from 'ionic-angular/util/datetime-util';\r\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\r\nimport { OtpPage } from '../otp/otp';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { DatabaseProvider } from '../../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n/**\r\n * Generated class for the PdListPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-list',\r\n templateUrl: 'pd-list.html',\r\n})\r\nexport class PdListPage {\r\n\r\n @ViewChild('slider') slider:Slides;\r\n searchinprogress: any;\r\n searchpast: any;\r\n pdschduleDetails: any;\r\n bgColorPast: any = [];\r\n bgColor: any = [];\r\n pdinprogress: any=[];\r\n pdlistdetails: any=[];\r\n viewchange: boolean;\r\n pdlist:any = \"0\";\r\n pdlistaccess:boolean = null;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\r\n //this.getlenderpddetails(); \r\n // this.getpdTriggerdetails();\r\n \r\n }\r\n selectedTab(ind)\r\n {\r\n this.slider.slideTo(ind)\r\n }\r\n moveButton(event){\r\n this.pdlist=event._snapIndex.toString();\r\n }\r\n\r\n ionViewDidLoad() {\r\n \r\n console.log('ionViewDidLoad PdListPage');\r\n this.db.getuserDetails();\r\n this.setpermission();\r\n }\r\n ionViewCanEnter()\r\n {\r\n console.log(\"Pd list ionViewCanEnter\")\r\n this.getpdTriggerdetails();\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n this.pdinprogress = this.pdinprogress;\r\n this.pdschduleDetails = this.pdschduleDetails;\r\n }\r\n \r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n \r\n this.pdinprogress = this.searchinprogress;\r\n this.pdschduleDetails = this.searchpast;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n \r\n if(this.pdlist == \"inpro\"){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n this.pdinprogress = this.searchinprogress.filter((v) => {\r\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n return true;\r\n }\r\n return false;\r\n })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n \r\n return ;\r\n }else{\r\n this.pdschduleDetails = this.searchpast.filter((v) => {\r\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\r\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n \r\n return true;\r\n }\r\n \r\n return false;\r\n })\r\n }\r\n \r\n}\r\n}\r\n newpage(){\r\n this.navCtrl.push(InputPage);\r\n }\r\n getpdTriggerdetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n //.log(\"User\",userid)\r\n\r\n this.pdofficer.getpddetails(userid).subscribe(res=>\r\n {\r\n this.pdlistdetails = res;\r\n if(this.pdlistdetails.dataStatus == true)\r\n {\r\n \r\n \r\n this.pdlistaccess = true;\r\n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" && sch.applicat_details);\r\n this.searchpast = this.pdschduleDetails;\r\n \r\n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\r\n this.searchinprogress = this.pdinprogress;\r\n \r\n this.random_bg_color();\r\n this.random_ng_past();\r\n }else\r\n {\r\n this.pdlistaccess = false;\r\n this.pdlistdetails = \"No Records Found\";\r\n }\r\n })\r\n }\r\n\r\n random_bg_color() {\r\n for(let id of this.pdinprogress){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n \r\n return this.bgColor;\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.pdschduleDetails){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n doRefresh(refresher) {\r\n this.bgColor = [];\r\n this.pdschduleDetails = [];\r\n this.pdinprogress = [];\r\n \r\n this.shared.refresh();\r\n this.getpdTriggerdetails();\r\n setTimeout(() => {\r\n \r\n refresher.complete();\r\n }, 2000);\r\n }\r\n \r\n PdAllocation(pddetails)\r\n {\r\n \r\n if(pddetails.pd_status == 'STARTED')\r\n {\r\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\r\n }else if(pddetails.pd_status == 'INPROGRESS'){\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':pddetails});\r\n }else{\r\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\r\n }\r\n }\r\n\r\n setpermission()\r\n {\r\n // let permission = this.androidPermissions.PERMISSION; \r\n // let premission_list = [\r\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\r\n // permission.CAMERA,\r\n\r\n\r\n // ];\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {ConstantsProvider} from '../constants/constants';\r\n\r\n/*\r\n Generated class for the PdtriggerProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n\r\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\r\n@Injectable()\r\nexport class PdtriggerProvider {\r\n apiurl:any;\r\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\r\n this.apiurl = constants.apiurl();\r\n console.log('Hello PdtriggerProvider Provider');\r\n }\r\n\r\n \r\n\r\n /**get dropdonw list */\r\n\r\n /**Get list of PD Trigger */\r\n\r\n getpddetails(userid)\r\n { \r\n console.log(userid);\r\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\r\n }\r\n\r\n getFullPDdetails(pdid)\r\n {\r\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\r\n }\r\n\r\n updatepdStatus(dataStatus)\r\n {\r\n let records = {'records':dataStatus};\r\n return this.http.post(this.apiurl+'updatePDMaster',records);\r\n }\r\n\r\n saveCurrentLocation(data)\r\n {\r\n let records = {'records':data};\r\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\r\n }\r\n\r\n checkotp(otpDetails)\r\n {\r\n let records = {'records':otpDetails};\r\n return this.http.post(this.apiurl+'checkOTP',records); \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Toast, ToastController } from 'ionic-angular';\r\n\r\n/*\r\n Generated class for the ToastProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ToastProvider {\r\n\r\n constructor(public http: HttpClient,public toast:ToastController) {\r\n console.log('Hello ToastProvider Provider');\r\n }\r\n pdTriggerappmessage(mess){\r\n let valalert = this.toast.create({\r\n message:mess, \r\n duration: 3000, \r\n position: 'bottom',\r\n dismissOnPageChange: true,\r\n });\r\n\r\n valalert.present();\r\n} \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/pages/otp/otp.ts","../../src/providers/common-provider/camera.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/providers/constants/constants.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/input/input.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/providers/database/database.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/providers/common-provider/loading.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/pages/pd-question/pd-question-business/pd-question-business.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/aws-service/aws-service.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/providers/common-provider/toast.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAE3D;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B;QAAlD,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QACnE,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC;IACpC,CAAC;IAGD,kDAAe,GAAf,UAAgB,IAAI;QAElB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAC,yBAAyB,GAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IACD,+CAAY,GAAZ,UAAa,QAAQ;QAEjB,IAAI,OAAO,GAAG,EAAC,SAAS,EAAC,CAAC,QAAQ,CAAC,EAAC,CAAC;QACrC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAGD,oDAAiB,GAAjB,UAAkB,WAAW;QAE3B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,WAAW,CAAC,CAAC;IACnE,CAAC;IAED;;;OAGG;IACH,gDAAa,GAAb,UAAc,SAAS;QAEnB,IAAI,OAAO,GAAG,EAAC,aAAa,EAAC,SAAS,EAAC;QACvC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;AACY;AAEvD;;;;;EAKE;AAEF;IAEE,uBAAmB,IAAgB,EAAQ,KAAqB;QAA7C,SAAI,GAAJ,IAAI,CAAY;QAAQ,UAAK,GAAL,KAAK,CAAgB;QAC9D,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAC;IAC9C,CAAC;IACD,2CAAmB,GAAnB,UAAoB,IAAI;QACtB,IAAI,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;YAC/B,OAAO,EAAC,IAAI;YACZ,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,QAAQ;YAClB,mBAAmB,EAAE,IAAI;SAC5B,CAAC,CAAC;QAEH,QAAQ,CAAC,OAAO,EAAE,CAAC;IACrB,CAAC;IAdY,aAAa;QADzB,yEAAU,EAAE;yCAGc,wEAAU,EAAc,sEAAe;OAFrD,aAAa,CAezB;IAAD,oBAAC;CAAA;AAfyB","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ConstantsProvider } from '../constants/constants';\r\n\r\n/*\r\n Generated class for the QuestionCategoryProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class QuestionCategoryProvider {\r\napiurl:any;\r\n constructor(public http: HttpClient,public constant:ConstantsProvider) {\r\n console.log('Hello QuestionCategoryProvider Provider');\r\n this.apiurl = constant.apiurl();\r\n }\r\n \r\n \r\n getLoadTemplate(pdid)\r\n {\r\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\r\n }\r\n saveQusetion(saveData)\r\n {\r\n let records = {'records':[saveData]};\r\n return this.http.post(this.apiurl+'savePDQuestions',records);\r\n }\r\n\r\n \r\n getAnswerTemplate(qustDetails)\r\n {\r\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\r\n }\r\n\r\n /***\r\n * Get PD Questions dropdown api\r\n * sriram\r\n */\r\n getcommondrop(tableName)\r\n {\r\n let masters = {'master_name':tableName}\r\n return this.http.post(this.apiurl+'getListOfMaster',masters);\r\n }\r\n\r\n saveForm(records)\r\n { let record = {'records':records};\r\n return this.http.post(this.apiurl+'savePDFormDetails',record);\r\n }\r\n\r\n retiverForm(records)\r\n {\r\n return this.http.post(this.apiurl+'getPDFormDetails',records);\r\n }\r\n\r\n /**Assessed Form Details API */\r\n saveassessedForms(api,saveData)\r\n {\r\n return this.http.post(this.apiurl+api,saveData);\r\n }\r\n\r\n retiverassessedForm(api,records)\r\n {\r\n return this.http.post(this.apiurl+api,records);\r\n }\r\n\r\n updatePdApplicant(editData: any) {\r\n // editData.fk_updatedby = this._aws.getlocale();\r\n // editData.updatedon = currentdate;\r\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\r\n\r\n \r\n}\r\n\r\ngetEndUseForLoan(pdid:any){\r\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid}})\r\n}\r\ngetCompaniesListsForBusiness(pdid:any){\r\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\r\n}\r\ngetStateWiseCities(stateid:any){\r\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\r\n}\r\ngetAllPersonsName(pdid:any){\r\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\r\n \r\n}\r\ngetStateCityDetails(){\r\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\r\n}\r\ngetAssetsWithLoanFromBusiness(pdid:any){\r\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\r\n\r\n}\r\n\r\n\r\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\r\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\r\n}\r\n\r\n/** For Stock Details \r\n * To Get The Products With TypeofActivity From Business \r\n **/\r\nstockFormAccess(pdid: any,companyid: any) {\r\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\r\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\r\n}\r\n\r\n\r\n\r\n/*****Save Images */\r\nsavePDImages(imagesDetails)\r\n{ \r\n let record = {'records':imagesDetails};\r\n return this.http.post(this.apiurl+'savePDPhotos',record);\r\n}\r\ngetFamilyDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\r\n}\r\ngetAddressDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdQuestionPage } from '../pd-question/pd-question';\r\nimport Chart from 'chart.js';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\r\n\r\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\r\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\r\nimport { PdQuestionBusinessPage } from '../pd-question/pd-question-business/pd-question-business'\r\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\r\n/**\r\n * Generated class for the PdQuestionCategoryPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-category',\r\n templateUrl: 'pd-question-category.html',\r\n})\r\nexport class PdQuestionCategoryPage {\r\n searchTempForm: any;\r\n searchQuestion: any;\r\n viewchange: boolean;\r\n templateAccess: boolean;\r\n bgColortempForm: any=[];\r\n bgColorqustCat: any=[];\r\n // @ViewChild('doughnutCanvas') doughnutCanvas;\r\n pdinfo: any;\r\nquestionList:any;\r\nquestionCate:any;\r\nquestionCateAccess:boolean = null;\r\nquestionfinishedList:any =[];\r\npddetails:any;\r\noverallqustioncountAccess:boolean = true;\r\ndoughnutChart: any;\r\ncompletedAccess:any;\r\nsearchitem:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,public pdstatusprovide:PdtriggerProvider) {\r\n this.pddetails = this.navParams.get('pdDetails');\r\n \r\n \r\n }\r\n\r\n ionViewCanEnter()\r\n {\r\n this.getcategoryList(); \r\n }\r\n // doughuntChart()\r\n // {\r\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\r\n \r\n // type: 'doughnut',\r\n // data: {\r\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\r\n // datasets: [{\r\n // label: '# of Votes',\r\n // data: [12],\r\n // backgroundColor: [\r\n // // 'rgba(255, 99, 132, 0.2)',\r\n // 'rgba(54, 162, 235, 0.2)',\r\n // // 'rgba(255, 206, 86, 0.2)',\r\n // // 'rgba(75, 192, 192, 0.2)',\r\n // // 'rgba(153, 102, 255, 0.2)',\r\n // // 'rgba(255, 159, 64, 0.2)'\r\n // ],\r\n // hoverBackgroundColor: [\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\",\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\"\r\n // ]\r\n // }]\r\n // }\r\n\r\n // });\r\n // }\r\n ionViewDidLoad() {\r\n this.shared.refresh();\r\n //this.doughuntChart();\r\n console.log('ionViewDidLoad PdQuestionCategoryPage');\r\n }\r\n \r\n getcategoryList()\r\n {\r\n let j = 1;\r\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\r\n {\r\n this.questionCate = res;\r\n if(this.questionCate.dataStatus == true)\r\n {\r\n \r\n this.questionCate = this.questionCate.records;\r\n this.random_ng_past(); \r\n if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\r\n {\r\n this.questionCateAccess = true;\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate;\r\n this.searchQuestion = this.questionCate.question_answers;\r\n\r\n if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n {\r\n this.overallqustioncountAccess = false;\r\n }else\r\n {\r\n this.overallqustioncountAccess = true;\r\n }\r\n \r\n \r\n \r\n \r\n \r\n }else if(this.questionCate.template_forms!='')\r\n {\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate;\r\n this.searchTempForm = this.questionCate.template_forms\r\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n // {\r\n // this.overallqustioncountAccess = false;\r\n // }else\r\n // {\r\n // this.overallqustioncountAccess = true;\r\n // }\r\n }\r\n else\r\n {\r\n this.questionCateAccess = false;\r\n this.templateAccess = false; \r\n this.questionCate = \"No Template Available\";\r\n }\r\n }\r\n })\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.questionCate.question_answers){\r\n var a = Math.floor(Math.random() * 256);\r\n var b = Math.floor(Math.random() * 256);\r\n var c = Math.floor(Math.random() * 256);\r\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\r\n \r\n }\r\n for(let id of this.questionCate.template_forms){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n questionsTag(categroyId){\r\n \r\n this.pdinfo = this.pddetails; \r\n \r\n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\r\n // if(this.questionCate.questions.length !=\"0\"){\r\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\r\n \r\n // }else\r\n // {\r\n // this.getcategoryList();\r\n // this.toast.pdTriggerappmessage('No Question Available');\r\n // }\r\n }\r\n\r\n tempQustionTag(categroyId)\r\n {\r\n this.pdinfo = this.pddetails; \r\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\r\n if(categroyId ==5)\r\n {\r\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n \r\n }else if(categroyId==12){\r\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }else if(categroyId==10)\r\n {\r\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==8){\r\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==13)\r\n {\r\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n \r\n }else if(categroyId==7)\r\n {\r\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n\r\n }else if(categroyId==6)\r\n {\r\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==4){\r\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==9){\r\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==3){\r\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==11)\r\n {\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==14)\r\n {\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==2)\r\n {\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId ==17)\r\n {\r\n this.navCtrl.push(PdQuestionRentalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }\r\n else if(categroyId==16)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==15)\r\n {\r\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==18)\r\n {\r\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==19)\r\n {\r\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }\r\n else if(categroyId==20)\r\n {\r\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n }\r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n // this.questionCate = this.searchQuestion;\r\n // this.questionCate.template_forms = this.searchTempForm;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n if(this.searchQuestion !== undefined){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\r\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n // return true;\r\n // }\r\n // })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\r\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n// return true;\r\n// }\r\n// })\r\n }\r\n }\r\n}\r\n completed()\r\n {\r\n let users = this.aws.getlocale();\r\n \r\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':'COMPLETED','fk_updatedby':users,'updatedon':currentdate};\r\n \r\n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.completedAccess = res;\r\n if(this.completedAccess.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage);\r\n }\r\n })\r\n }\r\n doRefresh(refresher) {\r\n this.questionCate = [];\r\n this.questionfinishedList = [];\r\n this.shared.refresh();\r\n this.getcategoryList();\r\n setTimeout(() => {\r\n refresher.complete();\r\n }, 2000);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { Geolocation } from '@ionic-native/geolocation'; \r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n/**\r\n * Generated class for the OtpPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-otp',\r\n templateUrl: 'otp.html',\r\n})\r\nexport class OtpPage {\r\n\r\n \r\n timeLimit: any;\r\n reason_otp: any;\r\n users: any;\r\n timerOn: boolean = true;\r\n balance_time: string;\r\n otpStatus: any;\r\n pin:any;\r\n otpStatusAccess:boolean = true;\r\n applicatentDetails: any;\r\n commonImage:any;\r\n maxtime: any=30;\r\n \r\n reasonForm:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.reasonForm = this.fb.group(\r\n {\r\n reason:[null,Validators.compose([Validators.required])],\r\n others_reason:[null],\r\n })\r\n this.getDropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad OtpPage');\r\n }\r\n ionViewDidEnter(){\r\n //this.Menu.enable(false);\r\n this.setPermission();\r\n this.timer(120);\r\n \r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n ionViewWillLeave(){\r\n //this.Menu.enable(true);\r\n clearTimeout(this.timeLimit);\r\n }\r\n getDropdown()\r\n {\r\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\r\n console.log(this.reason_otp);\r\n \r\n }\r\n })\r\n }\r\n checkotp(otp)\r\n {\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n console.log(\"Otp\",res)\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }\r\n\r\n timer(remaining) {\r\n // console.log(remaining);\r\n let m:any = Math.floor(remaining / 60);\r\n let s:any = remaining % 60;\r\n \r\n m = m < 10 ? '0' + m : m;\r\n s = s < 10 ? '0' + s : s;\r\n // var balance_time = m + ':' + s;\r\n this.balance_time = m + ':' + s;\r\n remaining -=1;\r\n // console.log(this.balance_time);\r\n if(remaining >= 0 && this.timerOn) {\r\n this.timeLimit = setTimeout(()=> {\r\n this.timer(remaining);\r\n }, 1000);\r\n return;\r\n }\r\n \r\n if(!this.timerOn) {\r\n // Do validate stuff here\r\n return;\r\n }\r\n \r\n // Do timeout stuff here\r\n this.users = this.aws.getlocale();\r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'OTP Expired ',\r\n message: 'Do you want sure resend OTP',\r\n buttons: [\r\n {\r\n text: 'OTP Without Start',\r\n \r\n handler: () => {\r\n \r\n this.otpStatusAccess = false;\r\n }\r\n },\r\n {\r\n text: 'Resend OTP',\r\n handler: () => {\r\n \r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\r\n console.log(data);\r\n this.pddetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.timer(60);\r\n })\r\n });\r\n // console.log('Buy clicked');\r\n \r\n } \r\n }\r\n \r\n ]\r\n \r\n });\r\n alert.present();\r\n }\r\n \r\n saveotpreasno()\r\n {\r\n console.log(this.reasonForm.value);\r\n if(this.reasonForm.valid)\r\n {\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Camera } from '@ionic-native/camera';\r\n/*\r\n Generated class for the CameraProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class CameraProvider {\r\n\r\n constructor(public http: HttpClient,public camera:Camera) {\r\n console.log('Hello CameraProvider Provider');\r\n }\r\n getpicture() \r\n {\r\n const options = {\r\n quality: 100,\r\n destinationType: this.camera.DestinationType.DATA_URL,\r\n targetWidth: 500,\r\n targetHeight: 500,\r\n correctOrientation: true\r\n };\r\n\r\n // If set to crop, restricts the image to a square of 600 by 600\r\n \r\n\r\n return this.camera.getPicture(options).then(imageData => {\r\n const base64Image = 'data:image/png;base64,' + imageData;\r\n // console.log(base64Image);\r\n return base64Image;\r\n }, error => {\r\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionSupplierInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-supplier-info',\r\n templateUrl: 'pd-question-supplier-info.html',\r\n})\r\n\r\nexport class PdQuestionSupplierInfoPage {\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n company_id: any;\r\n form_id: any;\r\n questionDetails: any;\r\n supplierInfoForm: FormGroup;\r\n\r\n business_manufacturingProducts: any = [];\r\n business_tradingProducts: any = [];\r\n m_titleList: any = [];\r\n m_paymentList: any = [];\r\n m_companyRelationShipList: any = [];\r\n\r\n noRecordsFound: Boolean = false;\r\n public submitted = false;\r\n errorMessage: any = '';\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider) {\r\n\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id = this.pdDetails.company_id;\r\n this.users = this.aws.getlocale();\r\n\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n this.business_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n\r\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropList();\r\n }\r\n\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\r\n }\r\n\r\n\r\n serviceProviderForm: Boolean = false;\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.pd_id = this.pdDetails.pd_id;\r\n params.pd_form_id = this.form_id;\r\n params.company_id = this.company_id;\r\n\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus'] == true) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details[0] != null){\r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\r\n }\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details[0] != null){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.serviceProviderForm = true;\r\n }\r\n } else {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.serviceProviderForm = true;\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [''],\r\n manufacturing_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: [''],\r\n manufacturing_frequency_of_purchase: [''],\r\n person_stdcode: [''],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [''],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\r\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\r\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\r\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\r\n person_stdcode: [records.person_stdcode || null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline || null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n person_title_name: [records.person_title_name],\r\n person_designation: [records.person_designation],\r\n other_person_designation: [records.other_person_designation],\r\n trade_supplier_name: [records.trade_supplier_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\r\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [records.person_stdcode],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.m_companyRelationShipList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n\r\n\r\n saveSupplierInfo(FormValues) {\r\n\r\n var answerFormValues = FormValues;\r\n\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n e == 1 ? '' : '';\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n e == 1 ? '' : '';\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n checkCard(e, flag, index) {\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n }\r\n\r\n selectedPaymentTerms(items, e, flag) {\r\n if (flag == 2) {\r\n if (e == 3) {\r\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\r\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['trade_product_credit_days_from'].clearValidators();\r\n items.controls['trade_product_credit_days_from'].setValue('');\r\n items.controls['trade_product_credit_days_to'].clearValidators();\r\n items.controls['trade_product_credit_days_to'].setValue('');\r\n }\r\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\r\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\r\n }\r\n else if (flag == 1) {\r\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\r\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['manufacturing_credit_days_from'].clearValidators();\r\n items.controls['manufacturing_credit_days_from'].setValue('');\r\n items.controls['manufacturing_credit_days_to'].clearValidators();\r\n items.controls['manufacturing_credit_days_to'].setValue('');\r\n }\r\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\r\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionStockInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-stock-info',\r\n templateUrl: 'pd-question-stock-info.html',\r\n})\r\nexport class PdQuestionStockInfoPage {\r\n\r\n uomData: any;\r\n rawmaterial: any;\r\n users: any;\r\n formDetails: any;\r\n pdDetails: any;\r\n company_id : any;\r\n pdid:any;\r\n stockForm: FormGroup;\r\n noRecordsFound: Boolean;\r\n errorMessage: any = '';\r\n M_rawValueInWords : any = []; \r\n M_goodsValueInWords : any = [];\r\n R_tradedGoodsValueInWords : any = [];\r\n T_tradedGoodsValueInWords : any = [];\r\n mrmCommentFlag:any=[];\r\n mfgCommentFlag:any=[];\r\n rtrdCommentFlag:any=[];\r\n wtrdCommentFlag:any=[];\r\n serviceProviderForm: Boolean = false;\r\n suppliers_raw_materials : any = [];\r\n suppliers_retail_trade_details : any = [];\r\n suppliers_wholesale_trade_details : any = [];\r\n suppliers_finished_goods : any =[];\r\n finishedAndTradedGoodsCommentCard:boolean;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.pdid=this.pdDetails.pd_id;\r\n this.qustCat.stockFormAccess(this.pdid,this.company_id).subscribe(data => {\r\n if(data.dataStatus == true){\r\n this.initstockForm(data.record);\r\n }\r\n else if(data.dataStatus == false)\r\n {\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID '+ this.company_id ); \r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id +'! ....';\r\n return;\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID '+ this.company_id ); \r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id +'! ....';\r\n return;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropdown();\r\n }\r\n\r\n public initstockForm(record){\r\n let api = Object.keys(record.from_business).map(function (key) {\r\n return record.from_business[key];\r\n });\r\n\r\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\r\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\r\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\r\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\r\n\r\n\r\n let rm_api = record.from_supplier;\r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(value => {\r\n if (value['status'] == 200) {\r\n let dataForm = value['records']; \r\n if(dataForm !== undefined) {\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [dataForm.stock_remarks],\r\n\r\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\r\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\r\n is_sufficiant_finished_and_traded_goods:[dataForm.is_sufficiant_finished_and_traded_goods],\r\n finished_and_traded_goods_remarks:[dataForm.finished_and_traded_goods_remarks],\r\n\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(api)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(api)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\r\n let manufacturing_temparr = [];\r\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials; \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\r\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods; \r\n this.initManufacturingDetails(manufacturing_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n let retail_temparr = [];\r\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\r\n \r\n this.initRetailDetails(retail_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n let trading_temparr = [];\r\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\r\n console.log(\"Trade\",trading_temparr)\r\n this.initTradingDetails(trading_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n this.serviceProviderForm = true;\r\n }\r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n else{\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [''],\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods:[''],\r\n finished_and_traded_goods_remarks:[''],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(record.from_business)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record.from_business)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.initManufacturingDetails(null); \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null); \r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details = val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details =val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n // this.suppliers_service_product = val.products;\r\n this.serviceProviderForm = true;\r\n } \r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n }\r\n else {\r\n console.log(\"Record\",record)\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [''],\r\n\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods:[''],\r\n finished_and_traded_goods_remarks:[''],\r\n \r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(record.from_business)]),\r\n \r\n trade_details: this.fb.array([this.tradingFormCreation(record.from_business)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.suppliers_raw_materials = rm_api;\r\n this.initManufacturingDetails(null); \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details= val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details = val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n // this.suppliers_service_product = val.products;\r\n this.serviceProviderForm = true;\r\n } \r\n } \r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\r\n }\r\n\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('UOM').subscribe(data => {\r\n if(data['dataStatus']==true){\r\n this.uomData = data['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(record) {\r\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\r\n let rm_arr = record.from_supplier;\r\n //console.log(\"Manufacturing \",arr);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n is_sufficiant_raw: [],\r\n rawmaterial_remarks:[],\r\n manufacturing_raw_materials: this.fb.array([]),\r\n manufacturing_finished_goods: this.fb.array([]),\r\n })\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n retailForm: Boolean = false;\r\n retailFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 3);\r\n // console.log(\"retail Form \",arr);\r\n if (arr.length > 0) {\r\n // if(arr.products != undefined){\r\n this.retailForm = true;\r\n return this.fb.group({\r\n retail_traded_goods: this.fb.array([])\r\n }); \r\n // }else{\r\n // this.retailForm = false;\r\n // return;\r\n // } \r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n \r\n let arr = val.filter(data => data.type_of_activity_id == 4);\r\n \r\n if (arr.length > 0) {\r\n \r\n // if(arr.products === undefined){\r\n \r\n // this.tradingForm = false;\r\n // return;\r\n // }\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_traded_goods: this.fb.array([])\r\n }); \r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingDetails(datas) {\r\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; \r\n if(datas === null){\r\n if(this.suppliers_raw_materials.length > 0){\r\n this.suppliers_raw_materials.forEach(val => {\r\n let Ref_RawMaterials : any = {'raw_name': val,\r\n 'stock_observed':'',\r\n 'raw_quantity': '',\r\n 'raw_uom': '',\r\n 'other_uom': '',\r\n 'raw_value': '',\r\n 'is_sufficiant_raw': '',\r\n 'rawmaterial_remarks':''};\r\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials)); \r\n });\r\n }\r\n else{ \r\n rawMaterial.push(this.createRawmaterial(null)); \r\n } \r\n if(this.suppliers_finished_goods.length > 0){\r\n this.suppliers_finished_goods.forEach(val => {\r\n let Ref_Finished_Goods : any = {'goods_name': val,\r\n 'goods_observed': '',\r\n 'goods_quantity': '',\r\n 'goods_uom': '',\r\n 'goods_other_uom': '',\r\n 'goods_value': '',\r\n 'is_sufficiant_goods': '',\r\n 'finishedgoods_remarks':''};\r\n finishedGoods.push(this.createGoods(Ref_Finished_Goods)); \r\n });\r\n }\r\n else{ \r\n finishedGoods.push(this.createGoods(null)); \r\n }\r\n } else {\r\n if(datas.manufacturing_raw_materials != undefined){\r\n datas.manufacturing_raw_materials.forEach((val,index) => {\r\n if(val.raw_value){\r\n this.inWords(val.raw_value,1,index);\r\n }\r\n this.checkComments(val.is_sufficiant_raw,1,index);\r\n rawMaterial.push(this.createRawmaterial(val)); \r\n });\r\n }\r\n else{\r\n rawMaterial.push(this.createRawmaterial(null)); \r\n }\r\n if(datas.manufacturing_finished_goods != undefined){ \r\n datas.manufacturing_finished_goods.forEach((val,index) => {\r\n if(val.goods_value){\r\n this.inWords(val.goods_value,2,index);\r\n }\r\n this.checkComments(val.is_sufficiant_goods,2,index);\r\n finishedGoods.push(this.createGoods(val)); \r\n \r\n });\r\n }\r\n else{\r\n finishedGoods.push(this.createGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n createRawmaterial(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n raw_name: [''],\r\n stock_observed:[''],\r\n raw_quantity: [''],\r\n raw_uom: [''],\r\n other_uom : [''],\r\n raw_value: [''],\r\n is_sufficiant_raw: [''],\r\n rawmaterial_remarks:['']\r\n })\r\n } else { \r\n return this.fb.group({\r\n raw_name: [records.raw_name],\r\n stock_observed:[records.stock_observed],\r\n raw_quantity: [records.raw_quantity],\r\n raw_uom: [records.raw_uom],\r\n other_uom : [records.other_uom],\r\n raw_value: [records.raw_value],\r\n is_sufficiant_raw: [records.is_sufficiant_raw],\r\n rawmaterial_remarks:[records.rawmaterial_remarks]\r\n })\r\n }\r\n }\r\n \r\n initRetailDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n if(datas === null){\r\n if(this.suppliers_retail_trade_details.length > 0){\r\n // this.rawMaterialAccess = true;\r\n this.suppliers_retail_trade_details.forEach(val => {\r\n let Ref_Trade_Goods : any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n 'is_sufficiant_traded_goods': '',\r\n 'traded_goods_remarks':''};\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); \r\n });\r\n }\r\n else{ \r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n } else {\r\n if(datas.retail_traded_goods !== undefined){\r\n datas.retail_traded_goods.forEach((val,index) => {\r\n if(val.estimated_traded_goods_value){\r\n this.inWords(val.estimated_traded_goods_value,3,index);\r\n }\r\n this.checkComments(val.is_sufficiant_traded_goods,3,index);\r\n tradedGoods.push(this.createTradedGoods(val)); \r\n });\r\n }\r\n else{\r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n\r\n createGoods(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n goods_name: [''],\r\n goods_observed: [''],\r\n goods_quantity: [''],\r\n goods_uom: [''],\r\n goods_other_uom: [''],\r\n goods_value: [''],\r\n is_sufficiant_goods: [''],\r\n finishedgoods_remarks:['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n goods_name: [records.goods_name],\r\n goods_observed: [records.goods_observed],\r\n goods_quantity: [records.goods_quantity],\r\n goods_uom: [records.goods_uom],\r\n goods_other_uom: [records.goods_other_uom],\r\n goods_value: [records.goods_value],\r\n is_sufficiant_goods: [records.is_sufficiant_goods],\r\n finishedgoods_remarks:[records.finishedgoods_remarks]\r\n })\r\n }\r\n }\r\n\r\n initTradingDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; \r\n if(datas === null){\r\n if(this.suppliers_wholesale_trade_details.length > 0){\r\n this.suppliers_wholesale_trade_details.forEach(val => {\r\n let Ref_Trade_Goods : any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n 'is_sufficiant_traded_goods': '',\r\n 'traded_goods_remarks':''};\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); \r\n });\r\n }\r\n else{ \r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n\r\n } else {\r\n if(datas.trading_traded_goods !==undefined)\r\n {\r\n datas.trading_traded_goods.forEach((val,index) => { \r\n if(val.estimated_traded_goods_value){\r\n this.inWords(val.estimated_traded_goods_value,4,index);\r\n }\r\n this.checkComments(val.is_sufficiant_traded_goods,4,index);\r\n tradedGoods.push(this.createTradedGoods(val)); \r\n });\r\n }\r\n else{\r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n createTradedGoods(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n traded_goods_name: [''],\r\n traded_goods_observed: [''],\r\n traded_goods_quantity: [''],\r\n traded_goods_uom: [''],\r\n traded_goods_other_uom: [''],\r\n estimated_traded_goods_value: [''],\r\n is_sufficiant_traded_goods: [''],\r\n traded_goods_remarks:['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n traded_goods_name: [records.traded_goods_name],\r\n traded_goods_observed: [records.traded_goods_observed],\r\n traded_goods_quantity: [records.traded_goods_quantity],\r\n traded_goods_uom: [records.traded_goods_uom],\r\n traded_goods_other_uom: [records.traded_goods_other_uom],\r\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\r\n is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\r\n traded_goods_remarks:[records.traded_goods_remarks]\r\n })\r\n }\r\n }\r\n \r\n /** Manufacturing -> To Add More Raw Material Details */\r\n addRawMaterials(flag) {\r\n if(flag==1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.push(this.createRawmaterial(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Raw Material Details */\r\n deleteRawMaterials(index,flag) {\r\n if(flag==1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Add More Finished Goods */\r\n addGoods(flag) {\r\n if(flag == 1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.push(this.createGoods(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Finished Goods */\r\n deleteGoods(index,flag) {\r\n if(flag == 1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To Add More trade Goods\r\n * Case 2 wholesale Traded -> To Add More trade Goods\r\n */\r\n addTradedGoods(flag) {\r\n switch(flag){\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To remove trade Goods\r\n * Case 2 wholesale Traded -> To remove trade Goods\r\n */\r\n deleteTradedGoods(index,flag) {\r\n switch(flag){\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n \r\n //const control = this.stockForm.controls['traded_goods'];\r\n\r\n }\r\n\r\n checkComments(e,flag,index){\r\n if(flag == 1 && e=='no'){\r\n this.mrmCommentFlag[index] = true;\r\n }\r\n else if(flag == 1 && e!='no'){\r\n this.mrmCommentFlag[index] = false;\r\n }\r\n if(flag == 2 && e=='no'){\r\n this.mfgCommentFlag[index] = true;\r\n }\r\n else if(flag == 2 && e!='no'){\r\n this.mfgCommentFlag[index] = false;\r\n }\r\n if(flag == 3 && e=='no'){\r\n this.rtrdCommentFlag[index] = true;\r\n }\r\n else if(flag == 3 && e!='no'){\r\n this.rtrdCommentFlag[index] = false;\r\n }\r\n if(flag == 4 && e=='no'){\r\n this.wtrdCommentFlag[index] = true;\r\n }\r\n else if(flag == 4 && e!='no'){\r\n this.wtrdCommentFlag[index] = false;\r\n }\r\n }\r\n\r\n /** To Save/Edited Popup Data */\r\n saveStockInfo(answerFormValues) {\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if(responsed['status'] == 200) { \r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }else{\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); \r\n }\r\n });\r\n }\r\n\r\n inWords(e,flag:number,i){\r\n switch(flag){\r\n case 1 :\r\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 2 : \r\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 3 : \r\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 4 : \r\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\r\nimport { FormGroup,Validators,FormBuilder, FormArray } from '@angular/forms'\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionFinancialInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-financial-info',\r\n templateUrl: 'pd-question-financial-info.html',\r\n})\r\nexport class PdQuestionFinancialInfoPage {\r\n \r\n public financialForm: FormGroup;\r\n\r\n pdDetails:any;\r\n FormId:any;\r\n users:any;\r\n company_id:any;\r\n isDisplay:boolean;\r\n customerCommentsFlag:boolean;\r\n FY_annualSalesInwords: any =[]\r\n FY_netProfitAmtInwords: any=[]\r\n FY_netLossAmtInwords: any=[]\r\n AV_annualSalesInwords: any=[]\r\n AV_netProfitAmtInwords: any=[]\r\n AV_netLossAmtInwords: any=[]\r\n AV_netProfitAmtFrmInwords: any=[]\r\n AV_netProfitAmtToInwords: any=[]\r\n AV_netLossAmtFrmInwords: any=[]\r\n AV_netLossAmtToInwords: any=[]\r\n AV_SalesFrmInwords: any=[]\r\n AV_SalesToInwords: any=[]\r\n AV_SalesInwords: any=[];\r\n AV_marginProfitAmtInwords: any=[];\r\n AV_marginLossAmtInwords: any=[];\r\n formDetails: any;\r\n\r\n av : any =[{id:6, name:'Letter of Credit'},\r\n {id:2, name:'Bank Guarantee'},\r\n {id:3, name:'Cash Credit Limit'},\r\n {id:7, name:'OD Limit'},\r\n {id:4, name:'Factoring'},\r\n {id:5, name:'Forfaiting'},\r\n {id:1, name:'Others'}]\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\r\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.FormId = this.formDetails.form_id;\r\n // this.FormId=this.navParams.get('FormId');\r\n this.company_id=this.pdDetails.company_id\r\n this.users=this.aws.getlocale();\r\n \r\n this.initFinancialForm()\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\r\n this.getDetails()\r\n }\r\n\r\n selectedStatement(e :any):void{\r\n\r\n if(e == 'yes'){\r\n\r\n this.isDisplay = true;\r\n this.financialForm.controls['is_financial_customer'].setValue('');\r\n \r\n }\r\n else if(e == 'no'){\r\n\r\n this.isDisplay = false;\r\n this.financialForm.controls['is_financial_customer'].setValue('no');\r\n // this.selectedFinancialCustomer('no');\r\n \r\n const statementControl = this.financialForm.controls['date_per_financial'];\r\n \r\n while (statementControl.length !== 0) {\r\n statementControl.removeAt(0);\r\n }\r\n\r\n this.financialForm.controls['financial_starting_year'].setValue('');\r\n this.financialForm.controls['financial_no_of_year'].setValue('');\r\n\r\n // alert((new Date()).getFullYear());\r\n // let year1 = (new Date()).getFullYear();\r\n // let year2 = ((new Date()).getFullYear() + 1); \r\n // let Year = year1 +'-'+ year2;\r\n \r\n }\r\n\r\n}\r\n /** fin customer data from Fin statement*/\r\n selectedFinancialCustomer(e: any): void {\r\n if(e == 'yes'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n }\r\n else if (e == 'no'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n control.push(this.createValue('')); \r\n }\r\n }\r\n\r\n selectedProfitOrLossType(e,detail){\r\n \r\n if(e.value == 1){\r\n detail.controls.financial_net_loss.setValue('');\r\n detail.controls.financial_margin_of_loss.setValue('');\r\n }\r\n else if(e.value == 2){\r\n detail.controls.financial_net_profit.setValue('');\r\n detail.controls.financial_margin_of_profit.setValue('');\r\n }\r\n}\r\n\r\n\r\n /** For Auto-generating FinYear */\r\n dynamicalFinYear($event){\r\n \r\n let e = $event.target.value;\r\n if(e == 1){\r\n this.customerCommentsFlag = false;\r\n }\r\n else{\r\n this.customerCommentsFlag = true;\r\n }\r\n\r\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\r\n\r\n const control = this.financialForm.controls['date_per_financial'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\r\n control.push(this.createDate(Year));\r\n }\r\n }\r\n}\r\n\r\n\r\n initFinancialForm(){\r\n this.financialForm = this.fb.group({\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId,\r\n company_id: this.company_id,\r\n fk_createdby: this.users,\r\n financial_remarks: [''],\r\n is_financial_statements:[''],\r\n is_financial_customer:[''],\r\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n financial_no_of_year : [''],\r\n financial_reason: [''],\r\n financial_customer:[''],\r\n receive_the_money_in_days:[''],\r\n pay_the_money_in_days:[''],\r\n unsold_stock_lies_in_days:[''],\r\n is_there_working_capital_available:[''],\r\n working_capital_facilities_availed:[''],\r\n reason_for_working_capital_facilities_availed:[''],\r\n // same_as_financial_statements:[''],\r\n date_per_financial: this.fb.array([]),\r\n estimated_value: this.fb.array([])\r\n });\r\n }\r\n createDate(date){\r\n return this.fb.group({\r\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\r\n finanical_profit_or_loss:[''],\r\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_margin_of_profit: [''],\r\n financial_margin_of_loss: [''],\r\n financial_variation: [''],\r\n financial_profit_to_sale_variation:[''],\r\n financial_annualsales_variation : [''],\r\n })\r\n }\r\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\r\n createValue(date) {\r\n return this.fb.group({\r\n \r\n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n estimate_sales_from: [''],\r\n estimate_sales_to: [''],\r\n estimate_sales_average: [''],\r\n estimate_profit_or_loss:[''],\r\n estimate_net_margin_availablity:[''],\r\n estimate_profit_range_from:[''],\r\n estimate_profit_range_to:[''],\r\n estimate_profit_margin_percent:[''],\r\n estimate_profit_margin:[''],\r\n estimate_net_profit_from:[''],\r\n estimate_net_profit_to:[''],\r\n estimate_net_profit_percent:[''],\r\n estimate_net_profit:[''],\r\n estimate_loss_range_from:[''],\r\n estimate_loss_range_to:[''],\r\n estimate_loss_margin_percent:[''],\r\n estimate_loss_margin:[''],\r\n estimate_net_loss_from:[''],\r\n estimate_net_loss_to:[''],\r\n estimate_net_loss_percent:[''],\r\n estimate_net_loss:[''],\r\n estimate_reason_for_loss:[''],\r\n estimate_receive_the_money_in_days:[''],\r\n estimate_pay_the_money_in_days:[''],\r\n estimate_unsold_stock_lies_in_days:[''],\r\n estimate_working_capital_facilities_availed:[''],\r\n reason_for_working_capital_facilities_availed:[''],\r\n is_there_working_capital_available:['']\r\n\r\n });\r\n}\r\nsubmitDetails(){\r\n \r\n \r\n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n}\r\n let records=this.financialForm.value;\r\n this.qustCat.saveForm(records).subscribe(res=>{\r\n if(res['status']== 200){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n this.navCtrl.pop()\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\r\n }\r\n },err=>{\r\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\r\n })\r\n}\r\n getDetails(){\r\n const financeDate=this.financialForm.controls['date_per_financial']\r\n //financeDate.push(this.createDate(''))\r\n const estimate= this.financialForm.controls['estimated_value']\r\n //estimate.push(this.createValue(''))\r\n let params:any={}\r\n params.pd_id=this.pdDetails.pd_id\r\n params.pd_form_id=this.FormId\r\n params.company_id=this.company_id\r\n this.qustCat.retiverForm(params).subscribe(value=>{\r\n if(value['dataStatus']==true){\r\n let retrieveData=value['records'];\r\n if(value['records'].is_financial_statements == 'yes'){\r\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\r\n return value['records'].date_per_financial[key]\r\n })\r\n if(result.length>0){\r\n this.customerCommentsFlag=result.length == 1 ? false : true\r\n result.forEach((val,index)=>{\r\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\r\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\r\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\r\n financeDate.push(this.createDate(''));\r\n });\r\n retrieveData.date_per_financial=result;\r\n }\r\n else{\r\n financeDate.push(this.createDate(''))\r\n }\r\n }\r\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\r\n return value['records'].estimated_value[key]\r\n });\r\n if(result_val.length>0){\r\n result_val.forEach((val,index)=>{\r\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\r\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\r\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\r\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\r\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\r\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\r\n estimate.push(this.createValue(''))\r\n });\r\n retrieveData.estimated_value=result_val\r\n }\r\n else{\r\n estimate.push(this.createValue(''));\r\n }\r\n retrieveData.pdid=this.pdDetails.pd_id\r\n retrieveData.company_id=this.company_id\r\n retrieveData.fk_createdby=this.users\r\n retrieveData.formid=this.FormId\r\n this.financialForm.setValue(retrieveData)\r\n }\r\n else {\r\n //financial_date.push(this.createDate());\r\n //estimated_val.push(this.createValue(''));\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * New Calculation for Finanical Statement \r\n **/\r\n calculationForFinanicalStatement(){\r\n \r\n let parentArray = this.financialForm.controls['date_per_financial'];\r\n // let prev_annual_sale : any = '';\r\n // let prev_profit_margin : any = '';\r\n // let prev_loss_margin : any = '';\r\n // let prev_profit_amt : any = '';\r\n // let prev_loss_amt : any = '';\r\n // let profit_margin : any = '';\r\n // let loss_margin : any = '';\r\n // let annual_sale : any = '';\r\n // let profit_amt : any = '';\r\n // let loss_amt : any = '';\r\n let prev_annual_sale : any = '';\r\n let prev_profit_margin : any = [];\r\n let prev_loss_margin : any = [];\r\n let prev_profit_amt : any = '';\r\n let prev_loss_amt : any = '';\r\n let profit_margin : any = '';\r\n let loss_margin : any = '';\r\n let annual_sale : any = '';\r\n let profit_amt : any = '';\r\n let loss_amt : any = '';\r\n\r\n parentArray.value.forEach((val,index) => {\r\n\r\n let childArray : any = parentArray.controls[index];\r\n annual_sale = val.financial_annual_sale;\r\n \r\n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \r\n * Label name = \" Sale Variation from Previous Year in % \"\r\n */\r\n \r\n if (index != 0) { \r\n if(annual_sale != ''){\r\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\r\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\r\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\r\n }\r\n }\r\n else{\r\n childArray.controls.financial_annualsales_variation.setValue(0.00);\r\n }\r\n \r\n\r\n prev_annual_sale = annual_sale;\r\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\r\n\r\n\r\n profit_amt = val.financial_net_profit;\r\n loss_amt = val.financial_net_loss;\r\n\r\n /** Calculating Profit's Variation - STARTS HERE\r\n * Label name = \"Profit Variation from Previous Year in %\"\r\n */\r\n if((profit_amt != '' || loss_amt != '') && index != 0) {\r\n if(+profit_amt > +annual_sale){\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n } \r\n else{\r\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\r\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\r\n\r\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \r\n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\r\n childArray.controls.financial_variation.setValue(final_variation);\r\n\r\n }\r\n }\r\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\r\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\r\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \r\n * Label name = \"Net Profit to Sales in % (or) Net Loss to Sales in % \r\n **/\r\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\r\n \r\n if(SelectedlossOrProfit == 1){\r\n\r\n loss_margin = '';\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_profit != '') {\r\n if(+profit_amt>+annual_sale){\r\n // alert(\"profit is greater than Annual Sale \");\r\n this.toast.pdTriggerappmessage(\"profit is greater than Annual Sale \")\r\n childArray.controls.financial_net_profit.setValue(0);\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\r\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\r\n \r\n }\r\n }\r\n }\r\n else if(SelectedlossOrProfit == 2){\r\n profit_margin = '';\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_loss != '') {\r\n if(+val.financial_net_loss>+annual_sale){\r\n // alert(\"Loss is greater than Annual Sale \");\r\n this.toast.pdTriggerappmessage(\"Loss is greater than Annual Sale \")\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n if(+loss_amt>+annual_sale){\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n \r\n\r\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\r\n\r\n\r\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\r\n \r\n }\r\n }\r\n }\r\n\r\n prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\r\n prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\r\n \r\n // if(index != 0 ){\r\n \r\n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \r\n \r\n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\r\n \r\n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\r\n\r\n // }\r\n\r\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Sales's Profit Variation \r\n * Label name = \"Variation of Profit % over sales\"\r\n **/\r\n \r\n if ((profit_margin != '' || loss_margin != '') && index != 0) {\r\n \r\n\r\n loss_margin = loss_margin !== undefined ? loss_margin : 0;\r\n profit_margin = profit_margin !== undefined ? profit_margin:0;\r\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\r\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\r\n\r\n \r\n if(annual_sale != ''){\r\n\r\n \r\n let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\r\n let b = a / (temp_prev_profit_margin != 0 ? Math.abs(temp_prev_profit_margin) : Math.abs(temp_prev_loss_margin));\r\n let c = b * 100;\r\n \r\n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\r\n \r\n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\r\n }\r\n }\r\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\r\n\r\n\r\n });\r\n }\r\n\r\n confirmAlert(i, details){\r\n\r\n let estimate_sales_from = +details.value.estimate_sales_from;\r\n let estimate_sales_to = +details.value.estimate_sales_to;\r\n\r\n if (estimate_sales_from != null && estimate_sales_to != null){\r\n \r\n if(+estimate_sales_from>+estimate_sales_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_sales_to.setValue('');\r\n details.controls.estimate_sales_average.setValue('');\r\n return;\r\n }\r\n\r\n let C = (estimate_sales_to - estimate_sales_from)\r\n let D = (C / estimate_sales_from) * 100;\r\n \r\n if(estimate_sales_from <= 5000000){\r\n if(D > 20){\r\n var r = confirm(\"Given Sales Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\r\n if(D > 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 10000000){\r\n if(D > 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n\r\n // if(D >= 30){\r\n // var r = confirm(\"Given Sales Range is greater than 30%\");\r\n // if (r == true) {\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \r\n // }else{\r\n // details.controls.estimate_sales_to.setValue('');\r\n // return;\r\n // }\r\n // }\r\n // else{\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\r\n // }\r\n }\r\n this.calculateSalesAverage(i, details);\r\n }\r\n\r\n calculateSalesAverage(i, details){\r\n \r\n let estimate_sales_from = details.value.estimate_sales_from;\r\n let estimate_sales_to = details.value.estimate_sales_to;\r\n\r\n if(estimate_sales_from != '' && estimate_sales_to != ''){\r\n\r\n let range1 = +estimate_sales_from/10;\r\n \r\n let lower = (+estimate_sales_from)+range1;\r\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\r\n\r\n if(lower > higer){\r\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue('');\r\n }\r\n\r\n }\r\n calculateMarginProfit( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\r\n if(+estimate_profit_range_from > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_profit_range_to = details.value.estimate_profit_range_to;\r\n \r\n if(+estimate_profit_range_to > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n\r\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\r\n if(+estimate_profit_range_from>+estimate_profit_range_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \r\n let Profit_Average = (profit_percent*sales_average)/100;\r\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n }else{\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n }\r\n \r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\r\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\r\n \r\n \r\n \r\n }\r\n \r\n }\r\n\r\n\r\n calculateProfitAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n //alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\r\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\r\n\r\n if(+estimate_net_profit_to>+sales_average){\r\n \r\n //alert(\"Given Profit is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n\r\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\r\n if(+estimate_net_profit_from>+estimate_net_profit_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n \r\n let C = (estimate_net_profit_to - estimate_net_profit_from)\r\n let D = (C / estimate_net_profit_from) * 100;\r\n \r\n let range1 = +estimate_net_profit_from/10;\r\n \r\n let lower = (+estimate_net_profit_from)+range1;\r\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\r\n\r\n if(estimate_net_profit_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_profit_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n \r\n }\r\n \r\n}\r\n\r\ncalculateMarginLoss( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n // else{\r\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\r\n if(+estimate_loss_range_from > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_loss_range_to = details.value.estimate_loss_range_to;\r\n if(+estimate_loss_range_to > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n\r\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\r\n \r\n if(+estimate_loss_range_from>+estimate_loss_range_to){\r\n //alert(\"Given Loss Percent is more than 100\");\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n \r\n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\r\n let loss_Average = (loss_percent*sales_average)/100;\r\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\r\n\r\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\r\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\r\n \r\n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n \r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }else{\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n } \r\n \r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }\r\n\r\n}\r\n\r\n\r\ncalculateLossAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\r\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\r\n\r\n if(+estimate_net_loss_to > +sales_average){\r\n \r\n // alert(\"Given Loss is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\r\n if(+estimate_net_loss_from > +estimate_net_loss_to){\r\n //alert(\"Given To value is Lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n \r\n // if(+estimate_net_loss_to > +estimate_net_loss_from){\r\n // alert(\"loss is greater than sales\");\r\n // details.controls.estimate_net_loss_to.setValue('');\r\n // details.controls.estimate_net_loss.setValue('');\r\n // details.controls.estimate_net_loss_percent.setValue('');\r\n // return;\r\n // }\r\n \r\n \r\n let C = (estimate_net_loss_to - estimate_net_loss_from)\r\n let D = (C / estimate_net_loss_from) * 100;\r\n \r\n let range1 = +estimate_net_loss_from/10;\r\n \r\n let lower = (+estimate_net_loss_from)+range1;\r\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\r\n\r\n if(estimate_net_loss_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_loss_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n \r\n }\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n \r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n }\r\n \r\n }\r\n \r\n}\r\n\r\n \r\n\r\n\r\n \r\n\r\n /** On Key Press Event For Input Field */\r\n keyPress(event: any) {\r\n //const pattern = /[0-9\\-\\.\\ ]/;\r\n const pattern = /[0-9\\.]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n /** To Convert Amount into Words */\r\n inWords(e,i,flag:number){\r\n\r\n switch(flag){\r\n case 1 :\r\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\r\n break;\r\n case 2 : \r\n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\r\n break;\r\n case 3 : \r\n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\r\n break;\r\n case 4 : \r\n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 : \r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 6 : \r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 7 : \r\n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 8 : \r\n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 9 : \r\n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 10 : \r\n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 11 : \r\n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 12 : \r\n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionClientInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-client-info',\r\n templateUrl: 'pd-question-client-info.html',\r\n})\r\nexport class PdQuestionClientInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n pdid: any;\r\n company_id: any;\r\n questionDetails: any;\r\n clientInfoForm: FormGroup;\r\n\r\n\r\n\r\n\r\n public submitted = false;\r\n\r\n public m_paymentType = [];\r\n\r\n companyRelationShipList: any = [];\r\n\r\n titleList: any = [];\r\n noRecordsFound: Boolean = false;\r\n errorMessage: any = '';\r\n m_manufacturingProducts: any = [];\r\n m_tradingProducts: any = [];\r\n m_suplierProducts: any = [];\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.pdid = this.pdDetails.pd_id;\r\n this.company_id = this.pdDetails.company_id;\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\r\n\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n });\r\n\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\r\n }\r\n\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus']) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n // Load form details for manufacturing\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n // if(dataForm.manufacturing_details[0].main_raw_materials){\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details){\r\n console.log(dataForm)\r\n \r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n console.log(\"NO Data\",dataForm)\r\n this.initManufacturingProductsDetails(null)\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n // }\r\n\r\n // Load form details for the wholeshale trading details\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n\r\n // Load form details for the service provider prduct details \r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n // return dataForm.service_products[key];\r\n // });\r\n if(dataForm.service_provider_details){\r\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initServiceProviderProductsDetails(null)\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n return dataForm.service_products[key];\r\n });\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.initServiceProviderProductsDetails(null);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n // let arr = val.filter(data => data.type_of_activity_id == 4);\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n serviceProviderForm: Boolean = false;\r\n serviceProviderFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 5);\r\n if (arr.length > 0) {\r\n this.serviceProviderForm = true;\r\n return this.fb.group({\r\n service_products: this.fb.array([]),\r\n service_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initManufacturingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_product_name: [''],\r\n manufacturing_client_name: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n // manufacturing_credit_days: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: ['']\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_product_name: [records.manufacturing_product_name || null],\r\n manufacturing_client_name: [records.manufacturing_client_name || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\r\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initTradingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_client_name: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n trade_client_name: [records.trade_client_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n initServiceProviderProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n if (datas === null) {\r\n control.push(this.initServiceProviderProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\r\n control.push(this.initServiceProviderProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initServiceProviderProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initServiceProviderProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n service_provider_product_name: [''],\r\n service_provider_client_name: [''],\r\n service_provider_product_contact_person_name: [''],\r\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [''],\r\n service_provider_product_payment_mode: [''],\r\n service_provider_product_frequency_of_purchase: [''],\r\n service_provider_product_credit_days_from: [''],\r\n service_provider_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n service_provider_product_name: [records.service_provider_product_name],\r\n service_provider_client_name: [records.service_provider_client_name],\r\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\r\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\r\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\r\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\r\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\r\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoreServiceProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n\r\n control.push(this.initServiceProviderProducts(null));\r\n }\r\n\r\n removeServiceProduct(inx): void {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.companyRelationShipList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n // saveclientDetails(answerData)\r\n // {\r\n // let records:any ={};\r\n\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId.form_id;\r\n // records.fk_createdby = this.users;\r\n\r\n // records.client_details = answerData.clientArray;\r\n\r\n // this.qustCat.saveForm(records).subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.navCtrl.pop();\r\n // }\r\n // });\r\n\r\n\r\n // }\r\n /** To Save/Edited Popup Data */\r\n saveClientInfo(answerFormValues) {\r\n \r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n if (answerFormValues.manufacturing_details[0] == null) {\r\n delete answerFormValues['manufacturing_details'];\r\n }\r\n if (answerFormValues.trade_details[0] == null) {\r\n delete answerFormValues['trade_details'];\r\n }\r\n if (answerFormValues.service_provider_details[0] == null) {\r\n delete answerFormValues['service_provider_details'];\r\n }\r\n\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 3) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n spCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n spCounter: any = [];\r\n checkCard(e, flag, index) {\r\n\r\n if (flag == 3 && e == 3) {\r\n this.spCounter[index] = 1;\r\n }\r\n else if (flag == 3 && e != 3) {\r\n this.spCounter[index] = 0;\r\n }\r\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\r\n this.spCreditCardFlag = SP > 0 ? true : false;\r\n\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n\r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\n\r\n/*\r\n Generated class for the ConstantsProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ConstantsProvider {\r\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\r\n constructor(public http: HttpClient) {\r\n console.log('Hello ConstantsProvider Provider');\r\n }\r\n\r\n apiurl()\r\n {\r\n let testapiurl = 'http://ssa.sineedge.com/sparqtest/api/';\r\n let devapiurl = 'http://ssa.sineedge.com/sparqapi/api/';\r\n let localapiurl = 'http://192.168.0.9/sparqapi/api/';\r\n return devapiurl;\r\n }\r\n\r\n getcurrentDate()\r\n {\r\n var today = new Date();\r\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\r\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\r\n var time = today.getHours() + \":\" + today.getMinutes();\r\n let CurrentDate = date+\"T00:00\";\r\n return CurrentDate.toString();\r\n }\r\n \r\n convertNumberToWords(amount) {\r\n var words = new Array();\r\n words[0] = '';\r\n words[1] = 'One';\r\n words[2] = 'Two';\r\n words[3] = 'Three';\r\n words[4] = 'Four';\r\n words[5] = 'Five';\r\n words[6] = 'Six';\r\n words[7] = 'Seven';\r\n words[8] = 'Eight';\r\n words[9] = 'Nine';\r\n words[10] = 'Ten';\r\n words[11] = 'Eleven';\r\n words[12] = 'Twelve';\r\n words[13] = 'Thirteen';\r\n words[14] = 'Fourteen';\r\n words[15] = 'Fifteen';\r\n words[16] = 'Sixteen';\r\n words[17] = 'Seventeen';\r\n words[18] = 'Eighteen';\r\n words[19] = 'Nineteen';\r\n words[20] = 'Twenty';\r\n words[30] = 'Thirty';\r\n words[40] = 'Forty';\r\n words[50] = 'Fifty';\r\n words[60] = 'Sixty';\r\n words[70] = 'Seventy';\r\n words[80] = 'Eighty';\r\n words[90] = 'Ninety';\r\n amount = amount.toString();\r\n var atemp = amount.split(\".\");\r\n var number = atemp[0].split(\",\").join(\"\");\r\n var n_length = number.length;\r\n let value:any = \"\";\r\n var words_string = \"\";\r\n if (n_length <= 9) {\r\n var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\r\n var received_n_array = new Array();\r\n for (var i = 0; i < n_length; i++) {\r\n received_n_array[i] = number.substr(i, 1);\r\n }\r\n for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\r\n n_array[i] = received_n_array[j];\r\n }\r\n for (var i = 0, j = 1; i < 9; i++, j++) {\r\n if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n if (n_array[i] == 1) {\r\n n_array[j] = 10 + parseInt(n_array[j]);\r\n n_array[i] = 0;\r\n }\r\n }\r\n }\r\n value = \"\";\r\n for (var i = 0; i < 9; i++) {\r\n if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n value = n_array[i] * 10;\r\n } else {\r\n value = n_array[i];\r\n }\r\n if (value != 0) {\r\n words_string += words[value] + \" \";\r\n }\r\n if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Crores \";\r\n }\r\n if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Lakhs \";\r\n }\r\n if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Thousand \";\r\n }\r\n if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\r\n words_string += \"Hundred and \";\r\n } else if (i == 6 && value != 0) {\r\n words_string += \"Hundred \";\r\n }\r\n }\r\n words_string = words_string.split(\" \").join(\" \");\r\n }\r\n return words_string;\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 246;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 246\n// module chunks = 0","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 289;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 289\n// module chunks = 0","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\nimport { AlertController } from 'ionic-angular';\r\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\r\n// import { GridPage } from '../grid/grid';\r\n\r\n\r\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\r\nimport { Camera } from '@ionic-native/camera';\r\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\r\n\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\n// import { CustomValidators } from 'ng2-validation';\r\n\r\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PasswordPage } from '../password/password';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n\r\n@Component({\r\n selector: 'page-login',\r\n templateUrl: 'login.html',\r\n})\r\nexport class LoginPage {\r\n users: any;\r\nchangepass: FormGroup;\r\nemail: string;\r\npassword: string;\r\nnewpassword: any;\r\nconfirmPassword: any;\r\nchangePassword: any;\r\nstatus: Boolean = false;\r\nconfig: MatDialogConfig = {\r\n disableClose: false,\r\n width: '',\r\n height: '',\r\n position: {\r\n top: '',\r\n bottom: '',\r\n left: '',\r\n right: ''\r\n }\r\n};\r\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\r\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\r\n,public toast:ToastProvider) {\r\n \r\n}\r\nngOnInit(){\r\n //this.loggedInCheck();\r\n \r\n}\r\nionViewDidEnter(){\r\n this.Menu.enable(false);\r\n}\r\nionViewWillLeave(){\r\n this.Menu.enable(true);\r\n}\r\n/**\r\n* @param email\r\n* @param password\r\n* AWS login service\r\n*/\r\nlogin() {\r\n // console.log(this.email);\r\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\r\n let auth = { 'Username': this.email, 'Password': this.password };\r\n this.aws.dologin(auth).subscribe(awsres => {\r\n let userid = this.aws.getlocale();\r\n \r\n this.aws.getuserprofile(userid).subscribe(usersres=>\r\n {\r\n this.users = usersres; \r\n \r\n if (this.users.dataStatus == true) {\r\n \r\n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\r\n this.navCtrl.setRoot(PdListPage);\r\n \r\n }else\r\n {\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n\r\n \r\n }\r\n });\r\n }, err => {\r\n console.log(JSON.stringify(err.message));\r\n if (err.message == \"New password is required.\") {\r\n //console.log(\"if\");\r\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\r\n } else {\r\n console.log(JSON.stringify(err.message));\r\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\r\n\r\n }\r\n //alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter Email or Password');\r\n }\r\n}\r\n/**\r\n * New password set\r\n * Defalut aws function \r\n * @param email password,newpassword\r\n */\r\n// newpassopen() {\r\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\r\n// dialogRef.afterClosed().subscribe(result => {\r\n// if (result !== undefined) {\r\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\r\n// console.log(auth);\r\n// this.aws.dologin(auth).subscribe(res => {\r\n// console.log(res);\r\n// // this.router.navigate(['/home']);\r\n// }, err => {\r\n// // alert(err.message);\r\n\r\n// })\r\n// }\r\n// });\r\n// }\r\n\r\nforgotopen() {\r\n this.status = true;\r\n}\r\n\r\n\r\nforgotpassword() {\r\n\r\n let auth = { 'Username': this.email };\r\n console.log(auth);\r\n // this.aws.userforgotpass(auth).subscribe(res => {\r\n // console.log(res);\r\n\r\n // })\r\n}\r\nloggedInCheck(){\r\n //alert(this.shared.isLoggedIn);\r\n if(this.shared.isLoggedIn){\r\n alert(\"if\");\r\n // this.router.navigate(['/home']);\r\n return false;\r\n }else{\r\n alert(\"else\");\r\n \r\n return true;\r\n }\r\n}\r\n\r\n}\r\n\r\n// ======================= END ==============================\r\n/**\r\n* New password Dialog\r\n*/\r\n\r\n// const newpassword = new FormControl('', Validators.required);\r\n// const confirmPassword = new FormControl('');\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
New Password Change.
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n//
\r\n// \r\n// \r\n// \r\n\r\n// Passwords do not math.\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class NewPasswordDialog {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n\r\n// }\r\n\r\n\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
Forgot Password
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class ForgotPass {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n// }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\r\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\r\nimport {MatDatepicker} from '@angular/material/datepicker';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \r\nimport { AuthPage } from '../auth/auth';\r\n\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { OtpPage } from '../otp/otp';\r\n\r\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\r\nimport {DatePipe } from '@angular/common';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { observable, Observable } from 'rxjs';\r\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\r\n\r\n\r\n/**\r\n * Generated class for the InputPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19);\r\n\r\n\r\n@Component({\r\n selector: 'page-input',\r\n templateUrl: 'input.html',\r\n})\r\n\r\n\r\nexport class InputPage {\r\n enableStartPD: boolean;\r\n diffInHours: number;\r\n updatestarted: any;\r\n updateinitiated: any;\r\n appdata: any;\r\n users: any;\r\n initiatedAccess: boolean = false;\r\n scheduleAccess: boolean = false;\r\napplicatentDetails:any;\r\nmaxdate :any;\r\npipe = new DatePipe('en-US');\r\nupdateStatus:any;\r\nscheduleDate:any;\r\nupdateSchedule:any;\r\nacceptedAccess:boolean = false;\r\nstartedAccess:boolean = false;\r\ntimeOut:any = 15*1000;\r\ntimeInterval:any;\r\ncurrentPosPDofficer:any;\r\nother_applicant:any;\r\n@ViewChild('focusinp') input_focus ;\r\n@ViewChild('scroll') scrolltop : Content;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\r\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\r\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\r\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions, ) {\r\n\r\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddThh:mm').toString();\r\n \r\n /***Header value pass */\r\n this.statusBar.styleDefault();\r\n \r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\r\n \r\n \r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n \r\n this.getFullPD();\r\n \r\n \r\n if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n {\r\n \r\n this.initiatedAccess = true;\r\n }\r\n //console.log(this.initiatedAccess);\r\n if(this.applicatentDetails.pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n this.getenableAccuracy();\r\n \r\n }\r\n this.users = this.aws.getlocale();\r\n }\r\n\r\n \r\n ionViewDidLoad() {\r\n this.setPermission();\r\n \r\n }\r\n ionViewCanLeave()\r\n {\r\n clearInterval(this.timeInterval);\r\n }\r\n locationnavicate(address)\r\n {\r\n this.launchNavigator.navigate(address);\r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n\r\n getFullPD()\r\n {\r\n let records = {'pdid':this.applicatentDetails.pd_id};\r\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.other_applicant=res['records'].applicants_details\r\n console.log(this.other_applicant);\r\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \r\n let scheduledDateTime: string= res['records'].pd_master_details[0].scheduled_on_for_validation;\r\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\r\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\r\n \r\n if(diffInHours <=-4){\r\n this.enableStartPD=true;\r\n }\r\n else\r\n {\r\n this.enableStartPD = false;\r\n }\r\n } \r\n })\r\n \r\n }\r\n pdStatus(status,appdetails)\r\n {\r\n let data :any;\r\n \r\n if(status == 'BOUNCED')\r\n {\r\n data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.navCtrl.push(BouncedRejectPage,{'details':data})\r\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n // {\r\n // this.updateStatus = res;\r\n // if(this.updateStatus.dataStatus == true)\r\n // {\r\n // this.navCtrl.setRoot(PdListPage); \r\n // }\r\n // })\r\n }else if(status == 'ACCEPTED')\r\n {\r\n data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateStatus = res;\r\n if(this.updateStatus.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n this.scheduleAccess = true;\r\n \r\n }else\r\n {\r\n this.scheduleAccess = false;\r\n }\r\n })\r\n }\r\n \r\n }\r\n\r\n pdschedule(scheduledate,appdetails)\r\n {\r\n \r\n let data :any;\r\n console.log(scheduledate);\r\n if(scheduledate != undefined){\r\n let schDate = scheduledate.slice(0,19).replace('T',' ');\r\n console.log(schDate);\r\n data = {'pd_id':appdetails.pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateSchedule = res;\r\n if(this.updateSchedule.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n this.initiatedAccess = true;\r\n }\r\n });\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\r\n this.input_focus.setFocus();\r\n //this.input_focus.scrollToTop();\r\n this.scrolltop.scrollTop;\r\n }\r\n}\r\n\r\n getenableAccuracy()\r\n {\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.getcurrentLocation();\r\n },\r\n error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n getcurrentLocation() \r\n {\r\n let data:any;\r\n let options = {\r\n frequency: 3000, \r\n enableHighAccuracy: true,\r\n timeOut:1000,\r\n };\r\n \r\n this.timeInterval = setInterval(()=>{\r\n this.currentPosPDofficer = '';\r\n this.geolocation.getCurrentPosition(options).then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n if((resp as Geoposition).coords !=undefined){\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\r\n console.log(this.currentPosPDofficer);\r\n data = {'pd_id':this.applicatentDetails.pd_id,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\r\n {\r\n // this.updateinitiated = res;\r\n // if(this.updateinitiated.dataStatus == true)\r\n // { \r\n // // this.getNewpdupdate();\r\n // // this.startedAccess = true;\r\n // }else\r\n // {\r\n // this.startedAccess = false;\r\n // }\r\n })\r\n }\r\n }).catch((error)=>{\r\n this.toast.pdTriggerappmessage(error.message);\r\n })\r\n \r\n },this.timeOut);\r\n }\r\n pdreschedule()\r\n {\r\n this.scheduleAccess = true;\r\n this.initiatedAccess = false;\r\n }\r\n pdinitiated(appdetails)\r\n { let data:any;\r\n\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n \r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':appdetails.pd_id,'pd_status':'INITIATED','mobile_no':appdetails.applicat_details[0].mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':appdetails.applicat_details[0].applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateinitiated = res;\r\n if(this.updateinitiated.dataStatus == true)\r\n { \r\n this.getNewpdupdate();\r\n this.getcurrentLocation();\r\n this.startedAccess = true;\r\n }else\r\n {\r\n this.startedAccess = false;\r\n }\r\n })\r\n }).catch((error) => {\r\n console.log('Error getting location', error);\r\n });\r\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n\r\n startPdDiscussion(appdetails)\r\n {\r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'Starting PD Officer',\r\n message: 'Are you starting the Discussions',\r\n buttons: [\r\n {\r\n text: 'No',\r\n role: 'cancel',\r\n handler: () => {\r\n \r\n // console.log('Cancel clicked');\r\n // this.toast.pdTriggerappmessage('')\r\n }\r\n },\r\n {\r\n text: 'YES',\r\n handler: () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n \r\n data = {'pd_id':appdetails.pd_id,'pd_status':'STARTED','mobile_no':appdetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n console.log(data);\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {this.updatestarted = res;\r\n if(this.updatestarted.dataStatus == true)\r\n {\r\n clearInterval(this.timeInterval);\r\n this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\r\n }\r\n \r\n })\r\n // console.log('Buy clicked');\r\n })\r\n } \r\n }\r\n ]\r\n });\r\n alert.present();\r\n }\r\n getNewpdupdate()\r\n {\r\n this.acceptedAccess = false;\r\n this.initiatedAccess = false;\r\n this.scheduleAccess = false;\r\n this.startedAccess = false;\r\n this.pdDetails.getpddetails(this.users).subscribe(res=>\r\n {\r\n this.appdata = res;\r\n if(this.appdata.dataStatus == true)\r\n {\r\n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\r\n if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n {\r\n this.initiatedAccess = true;\r\n this.getFullPD();\r\n }\r\n\r\n if(this.applicatentDetails.pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n }\r\n }\r\n })\r\n }\r\n\r\n camerasetup()\r\n {\r\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\n\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question',\r\n templateUrl: 'pd-question.html',\r\n})\r\nexport class PdQuestionPage {\r\n \r\n docqustid: any;\r\n docName: any = [];\r\n docArray: any = [];\r\n imageArray:any = [];\r\n questionCate: any;\r\n qustCate: any;\r\n pdinfo: any;\r\n items: FormArray;\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= false;\r\n isLeft:boolean= false;\r\n tabs:any=[];\r\n \r\n questionDetails: any;\r\n questionAnswer:FormGroup;\r\n questionanotherData:FormGroup;\r\n userid:any;\r\n questionId:any;\r\n qustType:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\r\n \r\n this.screenWidth_px=platform.width();\r\n\r\n \r\n this.questionAnswer = this.fb.group(\r\n {\r\n answerDetails:[null],\r\n items:this.fb.array([]),\r\n })\r\n this.questionanotherData = this.fb.group(\r\n {\r\n questionRemarks:[null]\r\n })\r\n this.getpdQuestionDetails();\r\n this.userid = this.aws.getlocale();\r\n}\r\n\r\n ionViewDidLoad() {\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n ionViewWillLeave() {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n // let answerDetails = this.questionAnswer.value;\r\n // let remarks = this.questionanotherData.value;\r\n if(this.isLeft)\r\n {\r\n //this.prev(answerDetails,remarks,this.questionDetails);\r\n }\r\n if(this.isRight)\r\n {\r\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\r\n }\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n \r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n \r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n \r\n this.isLeft=false;\r\n this.isRight=false;\r\n \r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n \r\n \r\n }\r\n /**\r\n * Pd Discussion Qustion Load\r\n */\r\n getpdQuestionDetails()\r\n {\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdinfo = this.navParams.get('pdDetails');\r\n for(let qustimage of this.questionDetails.questions)\r\n { \r\n if(qustimage.images !==undefined){\r\n for(let image of qustimage.images)\r\n {\r\n image.questionId = qustimage.fk_question_id; \r\n this.docArray.push(image);\r\n }\r\n for(let answers of qustimage.answers)\r\n {\r\n if(qustimage.fk_question_answertype == 3)\r\n {\r\n this.items = this.questionAnswer.get('items') as FormArray;\r\n \r\n this.items.push(this.getquestionAnswer(answers));\r\n \r\n \r\n }\r\n }\r\n }\r\n }\r\n for(let i=1;i<=this.questionDetails.questions_count;i++){\r\n let j = i.toString();\r\n this.tabs.push(j);\r\n }\r\n }\r\n\r\ngetquestionAnswer(answers)\r\n{\r\n return this.fb.group(\r\n {\r\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\r\n \"pd_answer_id\":answers.question_answer_id,\r\n \"pd_answer\": answers.answer,\r\n \"pd_answer_weightage\": answers.template_answer_weightage,\r\n \"fk_pd_id\":this.pdinfo.pd_id,\r\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\r\n \"checkbox\":(answers.isactive == null?false:true)\r\n \r\n \r\n })\r\n}\r\n // count = 0;\r\n getDocUpload(qustid)\r\n {\r\n // this.docqustid = qustId;\r\n this.camera.getpicture().then(res=>\r\n {\r\n if(res !== undefined){\r\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\r\n }\r\n });\r\n // this.count++;\r\n }\r\n docnames(name,id,image,qustid)\r\n {\r\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\r\n }\r\n removeimage(index){\r\n //for(let i=0;i<=this.igrimage.length;i++){\r\n //if(this.igrimage[i]== this.igrimage[index]){\r\n this.docArray.splice(index,1);\r\n //}\r\n //}\r\n }\r\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\r\n {\r\n \r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n\t\t\"fk_pd_id\": pd_id,\r\n\t\t\"fk_category_id\": catid,\r\n\t\t\"fk_question_id\": qut_id,\r\n\t\t\"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n\t\t\"pd_answer\": pd_answer,\r\n\t\t\"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n\t\t\r\n\t\t\"fk_createdon\": createon,\r\n\t\t\"createdby\": createdby,\r\n\t\t\"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n // {\r\n // this.qustCate = res;\r\n // if(this.qustCate.dataStatus == true){\r\n // this.SwipedTabsSlider.slideNext();\r\n // this.docArray = [];\r\n // this.getcategoryList(qt_id,pd_id);\r\n // }\r\n // })\r\n // }else\r\n // {\r\n \r\n // this.SwipedTabsSlider.slideNext(); \r\n }\r\n } \r\n\r\n getcategoryList(qustinfo,pdId)\r\n {\r\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\r\n };\r\n let answerData:any;\r\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\r\n {\r\n answerData = res;\r\n if(answerData.dataStatus == true)\r\n {\r\n \r\n // answerData = answerData.records;\r\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\r\n // eachquestion['answers'] = answerData.answers; \r\n \r\n // this.questionDetails =\r\n // this.imageArray = answerData.images;\r\n // for(let docs of this.imageArray)\r\n // {\r\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\r\n // }\r\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\r\n }\r\n });\r\n }\r\n prev(answerDetails,questionRemarks,questionDetails) {\r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n \"fk_pd_id\": pd_id,\r\n \"fk_category_id\": catid,\r\n \"fk_question_id\": qut_id,\r\n \"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n \"pd_answer\": pd_answer,\r\n \"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n \r\n \"fk_createdon\": createon,\r\n \"createdby\": createdby,\r\n \"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n {\r\n this.qustCate = res;\r\n if(this.qustCate.dataStatus == true){\r\n this.SwipedTabsSlider.slidePrev();\r\n this.docArray = [];\r\n this.getcategoryList(qt_id,pd_id);\r\n }\r\n })\r\n }else{\r\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\r\n this.SwipedTabsSlider.slidePrev();\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { Observable } from 'rxjs';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport { timeInterval } from 'rxjs/operators';\r\n/**\r\n * Generated class for the PdQuestionAddressPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-address',\r\n templateUrl: 'pd-question-address.html',\r\n})\r\nexport class PdQuestionAddressPage {\r\n\r\n // additional_premises: any=[];\r\n // bussiness_address_type: any=[];\r\n // formPremisesCityArray: any=[];\r\n // tempArr: any[];\r\n // cityData: any = [];\r\n // PremisesLabel: any=[];\r\n // formPremisesArray: any=[];\r\n // z:number = 0;\r\n \r\n // PremisesOtherFlag: boolean;\r\n CITY: any;\r\n residence: any;\r\n FormId: any;\r\n getaddressDetails: any;\r\n users: any;\r\n address: string;\r\n custBehaviour: any;\r\n cmtlocality: any;\r\n\r\n //placeholderName : any = 'Estimated area of the (Address Type)';\r\n placeholderName:any=[];\r\n premisesRentAmtInwords:any=[];\r\n rentAmtInwords : any ;\r\n\r\n locality: any = [];\r\n pdlocation: any = [];\r\n pdDetails: any;\r\n questionDetails: any;\r\n pdQuestionAddress:FormGroup;\r\n addressTypes:any=[];\r\n addressRemarksAccess:boolean = false;\r\n items:FormArray;\r\n pdState: any;\r\n pdCity: any;\r\n pdPincode: any;\r\n pdOtherPincode: any;\r\n cityData: any=[];\r\n pincodeData: any=[];\r\n stateData: any=[];\r\n uomData: any=[];\r\n addressesList: any;\r\n // counts:number = 1;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n \r\n this.FormId = this.navParams.get('FormId');\r\n\r\n this.users = this.aws.getlocale();\r\n\r\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\r\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\r\n // }else{\r\n // this.address = this.pdDetails.addressline1+', - , -'; \r\n // }\r\n // this.pdState = this.pdDetails.fk_state;\r\n // this.getCityAndPincodeDetails(this.pdState);\r\n // this.pdCity = this.pdDetails.fk_city;\r\n // this.pdPincode = this.pdDetails.pincode_id;\r\n \r\n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\r\n \r\n this.getdropdownlist();\r\n\r\n this.pdQuestionAddress = this.fb.group(\r\n {\r\n addresses:this.fb.array([]),\r\n address_form_remark:['']\r\n // address_ownership:[null],\r\n // other_ownership:[null],\r\n // rent_amt:[null],\r\n // other_premises_bussiness_activity : [null],\r\n // bussiness_activity_remark:[null],\r\n // bussiness_activity:[null],\r\n // bussiness_address_type:[null],\r\n // bussiness_address_type_others:[null], \r\n // business_years:[null],\r\n // business_month:[null],\r\n // additional_address_units: this.fb.array([]),\r\n \r\n });\r\n this.getaddressForm(); \r\n //this.loadPD()\r\n }\r\n\r\n ionViewDidLoad() {\r\n //this.addUnits();\r\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\r\n \r\n }\r\n\r\n ionViewWillLeave()\r\n {\r\n \r\n\r\n // let method = this.alerCtrl.create({\t\t\t\r\n // message: 'Do You Want Save',\r\n // buttons: [\r\n // {\r\n // text: 'Save',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // }\r\n // },\r\n // {\r\n // text: 'Cancel',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // this.navCtrl.pop(); \r\n // }\r\n // }\r\n // ]\r\n // });\r\n // method.present()\r\n \r\n \r\n \r\n }\r\n\r\n /** To Get City And Pincode Data For Address Form \r\n * Param 'stateID' -> selected StateId\r\n */\r\n getCityAndPincodeDetails(stateID: string,i) {\r\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\r\n if (data.status == 200) {\r\n this.cityData[i] = data.records.cities;\r\n this.pincodeData[i] = data.records.pincode;\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n getdropdownlist()\r\n {\r\n // this.addressTypes = [\r\n \r\n // {'id':'Office','Name':'Office'},\r\n // {'id':'Clinic','Name':'Clinic'},\r\n // {'id':'Factory','Name':'Factory'},\r\n // {'id':'Warehouse','Name':'Warehouse'},\r\n // {'id':'Shop','Name':'Shop'},\r\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\r\n // {'id':'Residence','Name':'Residence'},\r\n // {'id':'OTHERS','Name':'OTHERS'}\r\n // ];\r\n\r\n \r\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \r\n }\r\n \r\n })\r\n \r\n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\r\n {\r\n this.pdlocation = res;\r\n if(this.pdlocation.dataStatus == true)\r\n {\r\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\r\n {\r\n this.cmtlocality = res;\r\n if(this.cmtlocality.dataStatus ==true)\r\n {\r\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\r\n }\r\n });\r\n\r\n \r\n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\r\n // {\r\n // this.custBehaviour = res;\r\n // if(this.custBehaviour.dataStatus == true)\r\n // {\r\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\r\n // }\r\n // })\r\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.locality = res['records'].filter(loc=>loc.isactive==1);\r\n }\r\n })\r\n\r\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.residence = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('CITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.CITY = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\r\n this.stateData=res['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\r\n this.uomData=res['records'].filter(val=>val.isactive == 1)\r\n })\r\n \r\n }\r\n\r\n // checkaddress(value)\r\n // {\r\n // \r\n // if(value==\"OTHERS\")\r\n // {\r\n // this.addressRemarksAccess = true;\r\n // }else\r\n // {\r\n // this.addressRemarksAccess = false;\r\n // }\r\n // }\r\n\r\n // createItem(): FormGroup {\r\n // return this.fb.group({\r\n // name: [null],\r\n // do_you_know: [null],\r\n // how_long: [null],\r\n // is_owner: [null],\r\n // });\r\n // };\r\n \r\n createUnits(val): FormGroup {\r\n if(val==null){\r\n return this.fb.group({\r\n no_of_additional_units: [''],\r\n premises_type: [''],\r\n premises_type_others: [''],\r\n premises_city: [''],\r\n // premises_ownership: [''],\r\n //premises_ownership_others: [''],\r\n //premises_rent_amt:[''],\r\n premises_remarks: [''],\r\n });\r\n }\r\n else{\r\n \r\n return this.fb.group({\r\n no_of_additional_units: [val.no_of_additional_units],\r\n premises_type: [val.premises_type],\r\n premises_type_others: [val.premises_type_others],\r\n premises_city: [val.premises_city],\r\n // premises_ownership: [val.premises_ownership],\r\n // premises_ownership_others: [val.other_ownership],\r\n // premises_rent_amt:[val.rent_amt],\r\n premises_remarks: [val.premises_remarks],\r\n });\r\n \r\n }\r\n }\r\n\r\n addUnits() {\r\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n this.items.push(this.createUnits(null));\r\n}\r\n\r\n\r\n removeUnits(i){\r\n this.items.removeAt(i);\r\n }\r\n\r\n ConvertMonthintoYear(e){\r\n \r\n let business_year = this.pdQuestionAddress.controls.business_years.value;\r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\r\n \r\n }\r\n initAddress(AddressDetails){\r\n if(AddressDetails != null){\r\n return this.fb.group({\r\n address: [AddressDetails.address, Validators.compose([Validators.required])],\r\n address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\r\n address_type_others: [AddressDetails.address_type_others],\r\n state: [AddressDetails.state],\r\n city: [AddressDetails.city],\r\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\r\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n locality: [AddressDetails.locality, Validators.compose([Validators.required])],\r\n locality_others: [AddressDetails.locality_others],\r\n locality_mixuse: [AddressDetails.locality_mixuse],\r\n pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\r\n comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\r\n estimated_area: [AddressDetails.estimated_area],\r\n uom: [AddressDetails.uom],\r\n uom_others: [AddressDetails.uom_others] \r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n address: ['', Validators.compose([Validators.required])],\r\n address_type: ['', Validators.compose([Validators.required])],\r\n address_type_others: [''],\r\n state: [''],\r\n city: [''],\r\n pincode: [''],\r\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n locality: ['', Validators.compose([Validators.required])],\r\n locality_others: [''],\r\n locality_mixuse: [''],\r\n pd_location: ['', Validators.compose([Validators.required])],\r\n comment_locality: ['', Validators.compose([Validators.required])],\r\n estimated_area: [''],\r\n uom: [''],\r\n uom_others: [''] \r\n });\r\n }\r\n \r\n }\r\n /** On Key Press Event For Numbers */\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n \r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n inWords(e,i){ \r\n \r\n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n \r\n }\r\n\r\n inWordsForRent(e){\r\n \r\n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\r\n }\r\n\r\n selectedAddressType(e: any,i){\r\n this.placeholderName[i] = 'Estimated area of the ' + e;\r\n }\r\n\r\n\r\n savepdQuestion(answerData)\r\n {\r\n let records: any = {};\r\n // records.address = answerData.address;\r\n // if(answerData.address_type_others != null){\r\n // records.address_type_others = answerData.address_type_others;\r\n // }\r\n // // records.state =answerData.state\r\n // records.city = answerData.city\r\n\r\n // records.pincode = answerData.pincode\r\n // records.pincode_others = answerData.pincode== 1 ?\r\n // this.pdQuestionAddress.controls.pincode_others.value : '';\r\n\r\n // records.address_type = answerData.address_type;\r\n // records.locality = answerData.locality;\r\n \r\n // records.locality_others = answerData.locality == 1 ?\r\n // this.pdQuestionAddress.controls.locality_others.value : '';\r\n\r\n // records.locality_mixuse = answerData.locality == 5 ?\r\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\r\n\r\n // records.pd_location = answerData.pd_location;\r\n // records.comment_locality = answerData.comment_locality;\r\n // records.other_comment_locality = answerData.other_comment_locality;\r\n // records.estimated_area = answerData.estimated_area;\r\n\r\n // records.uom = answerData.uom;\r\n // records.uom_others = answerData.uom == 1 ?\r\n // this.pdQuestionAddress.controls.uom_others.value : '';\r\n // records.customer_behaviour = answerData.customer_behaviour;\r\n // records.neighbourhood = answerData.neighbourhood;\r\n console.log(\"Answer DAta\",answerData)\r\n records.addresses=answerData.addresses\r\n records.address_form_remark=answerData.address_form_remark\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.address_form_remark = answerData.address_form_remark;\r\n // records.address_ownership = answerData.address_ownership;\r\n // records.other_ownership = answerData.other_ownership;\r\n // records.rent_amt = answerData.rent_amt;\r\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\r\n // records.bussiness_activity = answerData.bussiness_activity;\r\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\r\n // records.business_years = answerData.business_years;\r\n // records.business_month = answerData.business_month;\r\n \r\n // records.additional_address_units = answerData.additional_address_units;\r\n \r\n \r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n // let params: any = {};\r\n // params.pd_id = '250';\r\n // params.pd_form_id = '250';\r\n \r\n // setTimeout(function(){\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // },5000)\r\n if(data){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } \r\n this.navCtrl.pop();\r\n \r\n\r\n },err=>{\r\n this.toast.pdTriggerappmessage('Something went wrong ');\r\n });\r\n }\r\n\r\n getaddressForm()\r\n {\r\n \r\n let res:any;\r\n\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.getaddressDetails = res;\r\n \r\n if(this.getaddressDetails.dataStatus ==true){\r\n if(this.getaddressDetails.records.addresses ){\r\n \r\n this.getaddressDetails = this.getaddressDetails.records.addresses;\r\n\r\n if(this.getaddressDetails.length == 0 ){\r\n control.push(this.initAddress(''));\r\n }\r\n else{\r\n this.getaddressDetails.forEach((datas,index)=>{\r\n \r\n let val={\r\n 'address': datas.address,\r\n 'address_type': datas.address_type,\r\n 'address_type_others': datas.address_type_others,\r\n 'state': datas.state,\r\n 'city': datas.city,\r\n 'pincode': datas.pincode,\r\n 'pincode_others': datas.pincode_others,\r\n 'locality': datas.locality,\r\n 'locality_others': datas.locality_others,\r\n 'locality_mixuse': datas.locality_mixuse,\r\n 'pd_location': datas.pd_location,\r\n 'comment_locality': datas.comment_locality,\r\n 'estimated_area': datas.estimated_area,\r\n 'uom': datas.uom,\r\n 'uom_others': datas.uom_others\r\n }\r\n this.getCityAndPincodeDetails(datas.state,index)\r\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\r\n this.selectedAddressType(selectedAddressType.address_type,index);\r\n if (datas.address_type == 1) {\r\n this.selectedAddressType(datas.address_type_others,index);\r\n }\r\n control.push(this.initAddress(val))\r\n })\r\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\r\n }\r\n // if(this.getaddressDetails.additional_address_units != null){\r\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\r\n // // return res['records'].additional_address_units[key];\r\n // //for slicing the automatically created\r\n \r\n // });\r\n // //this.removeUnits(0);\r\n // }\r\n\r\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n\r\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\r\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\r\n\r\n // if (this.getaddressDetails.state != '') {\r\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\r\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\r\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\r\n // if (this.getaddressDetails.pincode == 1) {\r\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\r\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\r\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\r\n // }\r\n // }\r\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\r\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\r\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\r\n // this.selectedAddressType(selectedAddressType);\r\n\r\n // if(this.getaddressDetails.address_type != null) {\r\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\r\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\r\n // }\r\n\r\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\r\n\r\n // if(this.getaddressDetails.comment_locality != null){\r\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\r\n // }\r\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\r\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\r\n // if(this.getaddressDetails.locality == 1 ){\r\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\r\n // }\r\n // if(this.getaddressDetails.locality == 5){\r\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\r\n // }\r\n \r\n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\r\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\r\n // if (this.getaddressDetails.uom == 1) {\r\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\r\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\r\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\r\n // }\r\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\r\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\r\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\r\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\r\n // if(this.getaddressDetails.rent_amt != null){\r\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\r\n // }\r\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // } \r\n // else{\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\r\n // }\r\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\r\n\r\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\r\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\r\n \r\n \r\n \r\n\r\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\r\n \r\n if (result.length == 0) {\r\n \r\n control.push(this.createUnits(null));\r\n } else {*/\r\n \r\n //for(let val of this.getaddressDetails.additional_address_units){\r\n //control.push(this.createUnits(val));\r\n //}\r\n //result.forEach((datas,index) => {\r\n \r\n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\r\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\r\n \r\n //});\r\n \r\n //}\r\n \r\n // }\r\n\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else\r\n this.loadPD();\r\n });\r\n }\r\n loadPD(){\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus == true){\r\n this.addressesList = res.records.filter(item => item.isactive == 1);\r\n console.log('this.addressesList',this.addressesList);\r\n if(this.addressesList.length > 0){\r\n this.addressesList.forEach((datas,index)=>{\r\n let obj ={\r\n 'address': datas.addressline1,\r\n 'address_type': '',\r\n 'address_type_others': '',\r\n 'state': datas.fk_state,\r\n 'city': datas.fk_city,\r\n 'pincode': datas.pincode_id,\r\n 'pincode_others': datas.other_pincode,\r\n 'locality': '',\r\n 'locality_others': '',\r\n 'locality_mixuse':'',\r\n 'pd_location': '',\r\n 'comment_locality': '',\r\n 'estimated_area': '',\r\n 'uom': '',\r\n 'uom_others': ''\r\n }\r\n this.getCityAndPincodeDetails(datas.fk_state,index)\r\n control.push(this.initAddress(obj))\r\n })\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n })\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup} from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionEmpInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-emp-info',\r\n templateUrl: 'pd-question-emp-info.html',\r\n})\r\nexport class PdQuestionEmpInfoPage {\r\n questionDetails: any;\r\n pdDetails: any;\r\n empInfo:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n\r\n this.empInfo = this.fb.group(\r\n {\r\n nameOfEmp:[null],\r\n yearWithEmp:[null],\r\n empMet:[null],\r\n designationOfEmp:[null],\r\n salaryConfirm:[null],\r\n actualSalary:[null],\r\n attRegisterSeen:[null],\r\n salaryRegisterSeen:[null]\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\r\n }\r\n\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionCurrentLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-current-loans',\n templateUrl: 'pd-question-current-loans.html',\n})\nexport class PdQuestionCurrentLoansPage {\n public applicants: any=[]\n placeholderName: any = [];\n lenderData: any;\n frequencyData: any;\n loanTypeData:any;\n FormId: any;\n users: any;\n pdDetails: any;\n questionDetails: any;\n currentLoans:FormGroup;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n pdid:number;\n amtInwords: any=[];\n emiAmtInwords: any=[];\n dataFromAssets : any = [];\n labelArr : any = [];\n investmentTypeData: any=[];\n addressTypeData: any;\n propertyTypeData: any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider, public aws:AwsServiceProvider,public constant:ConstantsProvider) {\n this.applicants=[]\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n\n this.getdropdown();\n // this.applicants.push\n \n this.users = this.aws.getlocale();\n this.currentLoans = this.fb.group(\n {\n existing_loan: [null],\n currentloan_remarks:[null],\n loan_details: this.fb.array([])\n });\n \n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n this.getcurrentLoans()\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\n });\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\n });\n\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n \n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\n \n \n });\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\n })\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\n })\n }\n \n exitsCheck(val)\n { \n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n if(val ==\"Yes\")\n {\n \n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n other_frequency:[''],\n loan_amount: [''],\n frequency:[''],\n emi: [''],\n loan_type: [''],\n others_loan_type:[''],\n loan_taken_by:[''],\n others_loan_taken:[''],\n lender: [''],\n others_lender:[''],\n original_tenure: [''],\n current_balance_tenure: [''],\n elapsed_tenure:[],\n });\n}\naddLoanDetails() {\n const control = this.currentLoans.controls['loan_details'];\n control.push(this.createLoanDetail(null));\n}\ndeleteLoanDetails(index) {\n const control = this.currentLoans.controls['loan_details'];\n if(control.length==1)\n {\n this.currentLoans.controls['loan_details'].reset();\n }else{\n control.removeAt(index);\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncheckOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\n details.controls.current_balance_tenure.updateValueAndValidity();\n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n // let BalanceTenure = details.value.current_balance_tenure;\n // if( originalTenure < BalanceTenure){\n // alert('Greater');\n // details.controls.current_balance_tenure.setValue('');\n // alert('validation setted For');\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n \n \n // }\n}\ncalculateTenure(details)\n{\n let ElapsedValues;\n \n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != ''){\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n\n}\nkeyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n}\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n\nselectedfrequency(e,i){\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n \n // alert('function in');\n \n \n switch(+e){\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\n default: this.placeholderName[i] = 'Instalment Amount'; break;\n}\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n}\n\nsubmitCurrentloan(answerData) {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n let records: any = {};\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.existing_loan = answerData.existing_loan;\n records.loan_details = answerData.loan_details;\n records.currentloan_remarks = answerData.currentloan_remarks;\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n this.qustCat.saveForm(records).subscribe(data => {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control = this.currentLoans.controls['loan_details'];\n if(res['dataStatus']==true )\n {\n let currentLoanDetails = res['records'];\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n return res['records'].loan_details[key];\n \n });\n \n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n const control = this.currentLoans.controls['loan_details'];\n if(currentLoanDetails.existing_loan != 'No')\n {\n if(result.length ==0)\n {\n control.push(this.createLoanDetail(null));\n }else\n {\n result.forEach((datas,index)=>\n {\n // let objs = { \n // 'label': datas.label,\n // 'loan_amount': datas.loan_amount,\n // 'frequency':datas.frequency,\n // 'other_frequency':datas.other_frequency,\n // 'emi': datas.emi,\n // 'loan_type': datas.loan_type,\n // 'others_loan_type': datas.others_loan_type,\n // 'loan_taken_by':datas.loan_taken_by,\n // 'others_loan_taken':datas.others_loan_taken,\n // 'lender': datas.lender,\n // 'others_lender':datas.others_lender,\n // 'original_tenure': datas.original_tenure,\n // 'current_balance_tenure': datas.current_balance_tenure,\n // 'elapsed_tenure':datas.elapsed_tenure\n // }\n control.push(this.createLoanDetail(null));\n this.selectedfrequency(datas.frequency,index);\n if(datas.loan_amount!=''){\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\n }\n if(datas.emi!=''){\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\n }\n })\n\n this.currentLoans.controls['loan_details'].setValue(result);\n \n }\n }\n }\n else\n {\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n }\n\n }\n else {\n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n\n if(data.dataStatus == true){\n \n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n \n let AssetData = data.record;\n \n // console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n if(AssetData.business_address_asset.length > 0){\n AssetData.business_address_asset.map(element=>{\n this.dataFromAssets.push({mode:0,\n mode_name:element.address_label,\n details:[],\n owner_name:element.business_name_of_the_owner,\n form_type:'Data From Bussiness Address'})\n })\n }\n\n if(AssetData.business_assets.length>0){\n AssetData.business_assets.map(element => {\n this.dataFromAssets.push({mode:element.business_assets_mode,\n mode_name:element.business_assets_mode_name,\n details:element.business_details,\n owner_name:element.business_name_of_the_owner,\n form_type:'Data From Business Assets'})\n });\n }\n\n if(AssetData.other_assests.length > 0){\n AssetData.other_assests.map(element => {\n this.dataFromAssets.push({mode:element.assets_mode,\n mode_name:element.assets_mode_name,\n details:element.details,\n owner_name:element.name_of_the_owner,\n form_type:'Data From Other Asset'\n })\n });\n \n \n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\n\n if(this.dataFromAssets.length > 0){ \n let labelarray : any = [];\n \n this.dataFromAssets.forEach((val,index) => {\n if(val.mode == 0){\n let owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n // labelarray[index] = ' : '+owner +' - '+ val.mode_name.split(\"/\")[0] + ' ( ' + val.mode_name.split(\"/\")[1] + ' )';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n let data;\n let owner;\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n let owner\n let data;\n val.details.forEach((v,index) => {\n data = v.property_type_name;\n if(v.property_type != 1){\n if(val.form_type == 'Data From Business Assets'){\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\n }\n else if(val.form_type == 'Data From Other Asset'){\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\n }\n else{\n data = '';\n }\n }else{\n data=v.other_property_type;\n }\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n let data;\n let owner\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n let data;\n let owner\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n let owner\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n let data;\n let owner\n val.details.forEach((v,index) => {\n data = v.investments_type != 1 \n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \n : v.other_investments_type ;\n\n });\n if(val.form_type == 'Data From Business Assets'){\n owner = val.owner_name.map((e => {\n return e.name.split(',')\n }));\n }\n else {\n owner = val.owner_name;\n }\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n });\n const control = this.currentLoans.controls['loan_details'];\n this.labelArr = labelarray;\n let arr : any = [];\n if(this.labelArr.length > 0){\n this.currentLoans.controls['existing_loan'].setValue('Yes');\n this.labelArr.forEach((v,index) => {\n arr = { \n 'label': v,\n 'loan_amount': '',\n 'frequency':'',\n 'other_frequency':'',\n 'emi': '',\n 'loan_type': '',\n 'others_loan_type': '',\n 'loan_taken_by':'',\n 'others_loan_taken':'',\n 'lender': '',\n 'others_lender':'',\n 'original_tenure': '',\n 'current_balance_tenure': '',\n 'elapsed_tenure':''\n }\n control.push(this.createLoanDetail(arr));\n });\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\n }\n }\n else{\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n control.push(this.createLoanDetail(null));\n }\n }\n }\n });\n }\n })\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormArray, FormBuilder, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionLoansPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-loans',\r\n templateUrl: 'pd-question-loans.html',\r\n})\r\nexport class PdQuestionLoansPage {\r\n enduse: any = [];\r\n propertyType: any;\r\n mortagetypeAccess: boolean;\r\n mortageAccess: boolean = false;\r\n mortageCardAccess: boolean;\r\n topUpAmtInWords: any;\r\n ownContributionInWords: any;\r\n valAsPerAgmtInWords: any;\r\n balTxrfAmtInWords: any;\r\n loanAmtInWords: any;\r\n\r\n emiAmtInWords:any;\r\n emvAmtInWords:any;\r\n\r\n m_btLenderList: any;\r\n applicants: any;\r\n m_endUseofLoad: any;\r\n m_sourceofamount: any;\r\n m_mortageTypeProperty: any;\r\n m_statusofCunstruction: any;\r\n ownerNames: any=[];\r\n isOtherPurpose: boolean=false;\r\n endUserList: any=[];\r\n pdDetails: any;\r\n FormId: any;\r\n productAbbr:any;\r\n loanDetailsForm: FormGroup;\r\n users: any;\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any;\r\n m_endUseOFTopUpList:any=[]\r\n isContribution: boolean = false;\r\n\r\n \r\n isOtherSource: boolean = false;\r\n isPLSource: boolean = false;\r\n\r\n sourceList:any=[];\r\n pdid:number;\r\n m_endUseForLoan:any;\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider,public constant:ConstantsProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.applicants = this.pdDetails.applicat_details\r\n this.productAbbr = this.pdDetails.product_abbr;\r\n this.users = this.aws.getlocale();\r\n this.pdid=this.pdDetails.pd_id;\r\n this.getDropdown();\r\n this.loanDetailsForm = this.fb.group({\r\n loan_amount: [this.pdDetails.loan_amount],\r\n loan_tenure:[''],\r\n end_use: ['', Validators.compose([Validators.required])],\r\n end_use_other: [''],\r\n is_transfer: ['', Validators.compose([Validators.required])],\r\n //is_topup: ['', Validators.compose([Validators.required])],\r\n // is_topup: [''],\r\n balance_transfer_amount: [''],\r\n topup_amount: [''],\r\n end_use_topup:[''],\r\n other_end_use_topup:[''],\r\n lender: [''],\r\n other_bt_lender : [''],\r\n own_contribution: ['', Validators.compose([Validators.required])],\r\n source: [''],\r\n //personal_loan_source:[''],\r\n other_source:[''],\r\n //lender_name_type: [''],\r\n emi_level: ['', Validators.compose([Validators.required])],\r\n property_type: ['', Validators.compose([Validators.required])],\r\n property_type_others:[''],\r\n owner_name: ['', Validators.compose([Validators.required])],\r\n construction_status: ['', Validators.compose([Validators.required])],\r\n //percentage_of_construction : [''],\r\n emv_per_customer: ['', Validators.compose([Validators.required])],\r\n //value_per_agreement: ['', Validators.compose([Validators.required])],\r\n loandetails_remarks: ['', Validators.compose([Validators.required])],\r\n });\r\n \r\n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\r\n {\r\n this.mortagetypeAccess = true;\r\n }else\r\n {\r\n this.mortagetypeAccess = false;\r\n }\r\n \r\n \r\n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\r\n this.isContribution = true;\r\n }\r\n \r\n }\r\n\r\n\r\n ionViewDidLoad() {\r\n console .log('ionViewDidLoad PdQuestionLoansPage');\r\n this.getLoanDetails();\r\n }\r\n\r\n\r\n getDropdown() {\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n })\r\n this.qustCat.getEndUseForLoan(this.pdid).subscribe(data=>{\r\n \r\n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\r\n \r\n });\r\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\r\n data => {\r\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n let that = this;\r\n this.m_mortageTypeProperty = data['records'].filter(\r\n function(data){\r\n \r\n if(that.pdDetails.product_abbr !=\"LAP\" && data.group_name==that.pdDetails.product_abbr && data.isactive==1 )\r\n {\r\n return data;\r\n \r\n }else if(that.pdDetails.product_abbr ==\"LAP\" && data.sub_group_name==that.pdDetails.subproduct_name)\r\n {\r\n return data;\r\n }else\r\n {\r\n return ;\r\n }\r\n });\r\n // this.mortage_type(this.propertyType);\r\n }\r\n });\r\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\r\n data => {\r\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\r\n });\r\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\r\n subdata => {\r\n if(subdata['dataStatus']==true){\r\n let that = this;\r\n this.m_endUseofLoad = subdata['records'].filter(\r\n function(data)\r\n {\r\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\r\n {\r\n return data;\r\n }\r\n });\r\n this.endUserChange(this.enduse);\r\n }\r\n });\r\n \r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n })\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n if(this.productAbbr != 'LAP'){\r\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\r\n }\r\n }\r\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\r\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\r\n })\r\n \r\n \r\n \r\n }\r\n\r\n selectedBalancesTransferChanges(event: any){\r\n // if(event.value == 'no') { \r\n // this.loanDetailsForm.controls['is_topup'].clearValidators();\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // this.loanDetailsForm.controls['is_topup'].setValue('');\r\n //}\r\n //else if(event.value == 'yes'){\r\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // }\r\n if (event.value == 'no') {\r\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n\r\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \r\n this.loanDetailsForm.controls['lender'].setValue('');\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\r\n this.topUpAmtInWords=''\r\n\r\n }\r\n else if (event.value == 'yes') {\r\n this.loanDetailsForm.controls['source'].setValue('');\r\n this.loanDetailsForm.controls['source'].clearValidators();\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['own_contribution'].setValue('');\r\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.isOtherSource = false;\r\n this.loanDetailsForm.controls['other_source'].setValue('');\r\n \r\n }\r\n\r\n}\r\n \r\n mortage_type(mortage_value)\r\n {\r\n \r\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\r\n var property_name=mortagetypes.property_name\r\n if(property_name=='Others (Please Specify)')\r\n {\r\n this.mortageAccess = true;\r\n }else\r\n {\r\n this.mortageAccess = false; \r\n }\r\n \r\n \r\n }\r\n compareObjects(o1: any, o2: any){\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n \r\n }\r\n\r\n\r\n loanCalc()\r\n {\r\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\r\n let loanAmount = this.loanDetailsForm.value.loan_amount;\r\n let topupAmt ;\r\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\r\n {if (loanAmount >= BtAmount) {\r\n topupAmt = loanAmount - BtAmount;\r\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n \r\n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\r\n } else {\r\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\r\n this.balTxrfAmtInWords = '';\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.topUpAmtInWords = '';\r\n } }\r\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n }\r\n endUserChange(event) {\r\n //this.endUserList = [];\r\n event.forEach(option => {\r\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\r\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\r\n this.endUserList.push({ end_use: option });\r\n if (othresData == 'others') {\r\n \r\n this.isOtherPurpose = true;\r\n return ;\r\n }else\r\n {\r\n this.isOtherPurpose = false;\r\n \r\n }\r\n });\r\n }\r\n ownerNameChange(event) {\r\n this.ownerNames = [];\r\n event.value.forEach(option => {\r\n this.ownerNames.push({ owner_name: option });\r\n });\r\n }\r\n sourceChange(evt) {\r\n\r\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\r\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\r\n\r\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\r\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\r\n\r\n this.sourceList = [];\r\n\r\n evt.forEach(option => {\r\n this.sourceList.push({source: option});\r\n });\r\n}\r\n inWords(e,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 2 : \r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 3 :\r\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 4 :\r\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 :\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 6:\r\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n case 7:\r\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n default:\r\n break;\r\n }\r\n}\r\n submitLoanDetails() {\r\n // if(this.loanDetailsForm.valid){\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\r\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\r\n \r\n // get end user final group data\r\n let dataEnd_user_data = [];\r\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\r\n dataEnd_user_data.push({end_use: element})\r\n });\r\n records.end_use_group = dataEnd_user_data;\r\n\r\n if (this.isOtherPurpose) {\r\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\r\n }\r\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\r\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\r\n }\r\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\r\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\r\n \r\n let dataSource_list=[];\r\n if(this.loanDetailsForm.controls['source'].value != '')\r\n {\r\n \r\n this.loanDetailsForm.controls['source'].value.forEach(element => {\r\n dataSource_list.push({sources : element})\r\n });\r\n }\r\n records.source_group=dataSource_list;\r\n \r\n }\r\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\r\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\r\n //}\r\n if(records.topup_amount > 0){\r\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\r\n if(records.end_use_topup == 1){\r\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\r\n }\r\n }\r\n \r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.lender = this.loanDetailsForm.controls['lender'].value;\r\n }\r\n if(this.loanDetailsForm.controls['lender'].value == 1){\r\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\r\n } \r\n \r\n \r\n\r\n \r\n /* records.source = this.loanDetailsForm.controls['source'].value;\r\n if (this.loanDetailsForm.controls['source'].value == 'other') {\r\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\r\n }*/\r\n if(this.isOtherSource){\r\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\r\n }\r\n else{\r\n records.other_source = ''; \r\n }\r\n \r\n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\r\n if(this.mortageCardAccess == true){\r\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\r\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\r\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\r\n };\r\n // records.owner_name_group = this.ownerNames;\r\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\r\n let dataOwner_name = [];\r\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\r\n dataOwner_name.push({owner_name: element})\r\n });\r\n records.owner_name_group = dataOwner_name;\r\n }\r\n else{\r\n records.owner_name_group='';\r\n }\r\n \r\n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\r\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\r\n \r\n }else{\r\n records.property_type = null;\r\n records.property_type_others = null;\r\n records.owner_name_group = null;\r\n records.construction_status = null;\r\n records.emv_per_customer = null;\r\n }\r\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\r\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\r\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.notifier.notify('success', 'Saved Successfully.');\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter The All Field');\r\n // }\r\n }\r\n\r\n getLoanDetails() {\r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n\r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n let loanDetails = value['records'];\r\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\r\n return loanDetails.end_use_group[key];\r\n });\r\n \r\n\r\n //this.enduse\r\n result.forEach(val => {\r\n this.enduse.push(val.end_use);\r\n //this.endUserList.push({'end_use':val.end_use});\r\n });\r\n let ownername: any = [];\r\n if(loanDetails.owner_name_group != null){\r\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\r\n return loanDetails.owner_name_group[key];\r\n });\r\n owner.forEach(val => {\r\n ownername.push(val.owner_name);\r\n this.ownerNames.push({'end_use':val.end_use});\r\n });\r\n }\r\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\r\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\r\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\r\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\r\n this.endUserChange(this.enduse);\r\n\r\n if (loanDetails.end_use_other!='') {\r\n //this.endUserChange(this.enduse);\r\n // this.isOtherPurpose=true;\r\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\r\n }\r\n \r\n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \r\n if(loanDetails.topup_amount > 0){\r\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\r\n if (loanDetails.end_use_topup == 1) {\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\r\n }\r\n } \r\n }\r\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n }\r\n if (loanDetails.lender) {\r\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\r\n }\r\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\r\n if(loanDetails.own_contribution)\r\n {\r\n this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\r\n }\r\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\r\n if(loanDetails.is_transfer!='yes')\r\n {\r\n let source=Object.keys(loanDetails.source_group).map(function(key){\r\n return loanDetails.source_group[key];\r\n });\r\n let dbsourcelist:any=[];\r\n source.forEach(val=>{\r\n dbsourcelist.push(val.sources);\r\n });\r\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\r\n this.sourceChange(dbsourcelist);\r\n if(loanDetails.other_source) {\r\n // this.isOtherSource = true;\r\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\r\n }\r\n \r\n \r\n }\r\n\r\n/* if (loanDetails.lender_name_type) {\r\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\r\n }*/\r\n \r\n if(loanDetails.emi_level){\r\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\r\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\r\n }\r\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \r\n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\r\n this.propertyType =loanDetails.property_type;\r\n if(loanDetails.property_type !=null){\r\n this.mortage_type(this.propertyType);\r\n if(this.mortageCardAccess == true){\r\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \r\n // this.mortage_type(loanDetails.property_type_others);\r\n \r\n }\r\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\r\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\r\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\r\n if(loanDetails.emv_per_customer)\r\n {\r\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\r\n }\r\n }\r\n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\r\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\r\n } else {\r\n\r\n }\r\n })\r\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL'){\r\n this.mortageCardAccess = false;\r\n this.loanDetailsForm.controls['owner_name'].setValue('');\r\n this.loanDetailsForm.controls['owner_name'].clearValidators();\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }else{\r\n this.mortageCardAccess = true;\r\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-banking',\r\n templateUrl: 'pd-question-banking.html',\r\n // changeDetection:ChangeDetectionStrategy.OnPush\r\n})\r\nexport class PdQuestionBankingPage {\r\n \r\n m_btLenderList: any;\r\n applicants: any ;\r\n salaryField: boolean;\r\n FormId: any;\r\n accountType: any;\r\n users: any;\r\n bankDetails:FormGroup;\r\n pdDetails: any;\r\n pdid:any;\r\n bankitems:FormArray;\r\n\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n limitCaseFlag: any=[];\r\n amtInwords: any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons: ConstantsProvider) {\r\n //this.applicants.pop();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n \r\n \r\n // alert();\r\n this.users = this.aws.getlocale();\r\n this.bankDetails = this.fb.group(\r\n {\r\n bankitems:this.fb.array([]),\r\n banking_form_remark:[null],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBankingPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n // let modifyCompanyList : any=[];\r\n // if(this.existCompanyList.length>0){\r\n // modifyCompanyList = this.existCompanyList.map(element => {\r\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n // });\r\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n //}\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n\r\n/** Amount InWords */\r\ninWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n bank_name: [''],\r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n //is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n \r\n addBankDetails() {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n\r\n if(this.bankitems.length==1){\r\n this.bankitems.reset();\r\n }\r\n else\r\n this.bankitems.removeAt(i);\r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.banking_details = answerData.bankitems;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n \r\n }\r\n\r\n retiveBankDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n if(result.length ==0){\r\n \r\n this.bankitems.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n \r\n \r\n \r\n result.forEach((datas,index)=>\r\n {\r\n this.selectedAccTypeChanges(+datas.account_type,index)\r\n if(datas.limit != ''){\r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n } \r\n // this.selectedBorrower(datas.applicant_name,index);\r\n this.bankitems.push(this.createBankItem(''));\r\n })\r\n this.bankDetails.controls['bankitems'].setValue(result);\r\n }\r\n \r\n \r\n }else\r\n {\r\n \r\n this.addBankDetails();\r\n }\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFamilyPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-family',\n templateUrl: 'pd-question-family.html',\n})\nexport class PdQuestionFamilyPage {\n\n\n earningStatus = [{\n type: 'Earning',\n id: 1\n}, {\n type: 'Non Earning',\n id: 2\n}]\nearning_gross_income_per_month:any;\n\n nofamily:number;\ndata:any;\n familyAddStatus: boolean;\n ownerShip: any;\n cusSeg: any;\n FormId: any;\n users: any;\n pdDetails: any;\n occupationData: any;\n membersitem: FormArray;\n items: FormArray;\n relationData: any;\n familyForm: FormGroup;\n total_number_of_family_members;\n filteredStates: any ;\n public selected_person;\n stateData:any;\n cityData: any =[];\n pincodeData:any=[];\n FamilyMemberAsLabel: any=[];\n selectPerson: any=[];\n apiFamilyMembers: any=[];\n isReadOnly: any=[];\n RentAmount: any=[];\n IncomePerMonth: any=[];\n // cons: any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.selected_person=this.pdDetails.pdapplicants_details;\n this.selectPerson=this.pdDetails.applicat_details\n this.users = this.aws.getlocale();\n \n \n this.familyForm = this.fb.group({\n family_details: this.fb.array([\n //this.initFamilyDetails()\n \n ]),\n family_details_form_remark:[''],\n \n \n });\n this.getRelation();\n this.getoccupation();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n }\n initFamilyDetails(records) : void\n {\n if (records === null) {\n let formData: FormGroup = this.fb.group({\n selected_person: ['', Validators.compose([Validators.required])],\n residence_place: ['', Validators.compose([])],\n residence_city: ['', Validators.compose([])],\n residence_state: ['', Validators.compose([])],\n residence_pin: ['', Validators.compose([])],\n residence_other_pincode:['',Validators.compose([])],\n residence_No_of_years: ['', Validators.compose([])],\n residence_ownership: ['', Validators.compose([])],\n ownershipOther: [''],\n rent: [''],\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details: this.fb.array([])\n });\n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n }\n else{\n records.forEach((val,index)=>{\n if(val.rent != null){\n \n this.RentAmount[index] = this.cons.convertNumberToWords(val.rent); \n }\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\n this.getCity(val.residence_state,index);\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n residence_state:[val.residence_state],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years,Validators.compose([])],\n residence_ownership:[val.residence_ownership],\n rent:[val.rent || null],\n ownershipOther:[val.ownershipOther || null],\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details:this.fb.array([])\n \n });\n \n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n let inx=control.length-1;\n //this.getNumberOfFamilyMemberDetails(inx);\n this.initFamilyMembersDetails(inx, val.family_members_details);\n \n \n //this.initFamilyMembersDetails\n \n })\n }\n /*\n return this.fb.group({\n //family_details\n selected_person:[''],\n residence_place:[''],\n residence_city:[''],\n residence_state:[''],\n residence_pin:[''],\n residence_No_of_years: ['',Validators.compose([])],\n residence_ownership:[],\n rent:[''],\n ownershipOther:[''],\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\n \n //family_member_details\n \n \n \n family_members_details:this.fb.array([]),\n \n\n // person: [null],\n /* personOther: [''],\n members: [''],\n residence: [''],\n years: [null],\n family_details_form_remark:[''],\n \n });*/\n\n }\n initFamilyMembersDetails(inx,val) :void {\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n val.forEach((vals,index)=>{\n\n \n if(vals.earning_gross_income_per_month != null){\n this.IncomePerMonth[index] = this.cons.convertNumberToWords(vals.earning_gross_income_per_month);\n }\n let datas = this.fb.group({\n family_member_name: [vals.family_member_name || null, Validators.compose([])],\n family_member_relationship: [vals.family_member_relationship || null, Validators.compose([])],\n family_member_age: [vals.family_member_age || null, Validators.compose([])],\n family_member_earning_status: [vals.family_member_earning_status || null, Validators.compose([])],\n earning_segment: [vals.earning_segment || null, Validators.compose([])],\n earning_if_others_segment:[vals.earning_if_others_segment || null, Validators.compose([])],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null, Validators.compose([])],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null, Validators.compose([])],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null, Validators.compose([])],\n non_earning_occupation: [vals.non_earning_occupation || null, Validators.compose([])],\n non_earning_if_others: [vals.non_earning_if_others || null, Validators.compose([])],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null, Validators.compose([])],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null, Validators.compose([])],\n })\n \n control.push(datas);\n });\n }\n \n /*return this.fb.group({\n family_member_name:[''],\n family_member_relationship:[],\n family_member_age:[],\n family_member_earning_status:['',Validators.compose([])],\n //family_member_earnings\n earning_segment:[''],\n earning_gross_income_per_month:[''],\n earning_name_of_the_employer_or_business:[''],\n earning_number_of_years_in_employment_or_business:[''],\n \n non_earning_occupation:[''],\n non_earning_if_others:[''],\n non_earning_if_retired_from:[''],\n });*/\n \n\n\n add() :void { \n // const control=this.familyForm.controls['family_details'];\n //control.push(this.initFamilyDetails('chck'));\n this.initFamilyDetails(null);\n this.toast.pdTriggerappmessage(\"Family Details Added\");\n }\n remove_family_details(i:number):void{\n const control=this.familyForm.controls['family_details'];\n control.removeAt(i);\n }\n addMemberDet(data:any){\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n //this.initFamilyMembersDetails('','')\n control.push(this.generateFamilyMembersDetailsGet())\n }\n removeMemberDet(index:any,f_index:any){\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\n if(control.length>1){\n control.removeAt(index); \n }\n else{\n control.reset()\n }\n // if(control.value !=null && index == 0)\n\n }\n getNumberOfFamilyMemberDetails(data)\n {\n \n var datavalue=data;\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\n if(formData['total_number_of_family_members'].valid)\n {\n let totmem=formData['total_number_of_family_members'].value;\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n if(totmem>=control.length){\n let len=totmem-control.length;\n for( let i=0;i=totmem;i--)\n {\n control.removeAt(i);\n }\n \n // var nn=control.length-totmem; \n // control.controls = [];\n /*for (let i = 0; i < totmem; i++) {\n control.push(this.generateFamilyMembersDetailsGet());\n\n }*/\n // this.initFamilyDetails(this.resValue['records'].family_details);\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\n }\n \n \n }\n else{\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.removeAt(control.length);\n control.controls=[];\n }\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.push(this.initFamilyMembersDetails());\n */ \n }\n generateFamilyMembersDetailsGet(): FormGroup {\n return this.fb.group({\n family_member_name: ['', Validators.compose([])],\n family_member_relationship: ['', Validators.compose([])],\n family_member_age: ['', Validators.compose([])],\n family_member_earning_status: ['', Validators.compose([])],\n earning_segment: ['', Validators.compose([])],\n earning_if_others_segment:['',Validators.compose([])],\n earning_gross_income_per_month: ['', Validators.compose([])],\n earning_name_of_the_employer_or_business: ['', Validators.compose([])],\n earning_number_of_years_in_employment_or_business: ['', Validators.compose([])],\n non_earning_occupation: ['', Validators.compose([])],\n non_earning_if_others: ['', Validators.compose([])],\n non_earning_if_schoolorcollege:['',Validators.compose([])],\n non_earning_if_retired_from: ['', Validators.compose([])],\n })\n}\n \n getRelation() {\n let master_name = 'RELATIONSHIPS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n \n if(data['dataStatus'] == true){\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\n }\n });\n\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\n }\n });\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n // }\n // });\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\n if(res['dataStatus']==true){\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n }\n })\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\n }\n });\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.stateData=res['records'].filter(item=>item.isactive==1);\n }\n })\n \n}\ngetCity(e,i){\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \n // this._pd.retriveForm(params).subscribe(data => {\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\n if (data['dataStatus'] == true) {\n this.cityData[i] = data.records.cities; \n this.pincodeData[i] = data.records.pincode;\n }\n });\n}\ngetoccupation()\n{\n let master_name = 'OCCUPATIONMEMBERS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true){\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\n }\n });\n}\n /* createMembers(): FormGroup {\n return this.fb.group({\n earning_member_name : [null],\n earning_member_age : [null],\n relation: [null],\n segment: [null],\n income: [null],\n employer_name: [null],\n });\n}\ncount :number = 0;\naddearningMembers()\n{\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.items.push(this.createMembers());\n this.count++;\n this.checkfamilystatus(this.count,''); \n\n}\n\ndeleteEarningMembers(i)\n{\n\n if(this.items.length==1)\n {\n this.familyForm.controls['earningMembers'].reset();\n }else{\n this.items.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncreateNonMembers(): FormGroup {\n return this.fb.group({\n non_earning_member_name : [''],\n non_earning_member_age : [''],\n relationship: [null],\n occupation: [null],\n retired: [null],\n others_occupation:[null],\n });\n}\naddMembers()\n{\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n this.count++;\n this.checkfamilystatus(this.count,''); \n this.membersitem.push(this.createNonMembers());\n \n}\ndeleteMembers(i)\n{\n if(this.membersitem.length==1){\n this.familyForm.controls['nonEarningMembers'].reset();\n \n }else{\n this.membersitem.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncheckfamilystatus(count,familystatus)\n{\n if(familystatus !='' && familystatus !==undefined){\n\n }else{\n familystatus = this.familyForm.get('members').value;\n }\n if(familystatus !== null ){\n if(familystatus == count)\n {\n\n this.familyAddStatus = true;\n }else\n {\n this.familyAddStatus = false;\n }\n }\n}*/\n/* Old\nsavepdfamily(answerData)\n{\n let records: any = {};\n records.no_of_years = answerData.years;\n if (answerData.ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n records.residence = answerData.residence;\n if (answerData.ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.ownership\n records.family_members = answerData.members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })\n}*/\n\nsavepdfamily(answerData)\n{\n \n let records:any={};\n \n records=this.familyForm.value;\n\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n this.qustCat.saveForm(records).subscribe(res=>{\n\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n this.navCtrl.pop();\n \n },err=>{\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\n })\n\n /*let records: any = {};\n records.no_of_years = answerData.residence_No_of_years;\n if (answerData.residence_ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n //records.residence = answerData.residence;\n if (answerData.residence_ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.residence_ownership\n records.family_members = answerData.total_number_of_family_members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })*/\n}\n\nselectedPerson(e,inx){\n \n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\n \n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n \n let newControlLength: number;\n let oldControlLength: number = control.length;\n\n if(this.apiFamilyMembers.length>0){\n\n let arraydata : any;\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\n\n \n // data_gets_from:'GeneralForm'\n // data_gets_from:'BusinessForm'\n \n if(data.length > 0){\n \n \n newControlLength = data.length;\n let index: number = 0;\n while(index < oldControlLength)\n {\n control.removeAt(index);\n index++;\n }\n oldControlLength = newControlLength\n\n\n data.forEach((val,inx) => {\n \n // family_member_earning_status\n if(val.age){\n this.isReadOnly[inx] = true;\n }else{\n this.isReadOnly[inx] = false;\n }\n arraydata = {\n 'family_member_name' : val.name,\n 'family_member_relationship' : val.relationship,\n 'family_member_age' : val.age,\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\n 'earning_segment': '',\n 'earning_gross_income_per_month': '',\n 'earning_name_of_the_employer_or_business':'',\n 'earning_number_of_years_in_employment_or_business': '',\n 'earning_if_others_segment':'',\n 'non_earning_occupation': '',\n 'non_earning_if_others': '',\n 'non_earning_if_retired_from': '',\n 'non_earning_if_schoolorcollege': ''\n }\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\n \n });\n }\n else{\n\n let index: number = 0;\n while(index < oldControlLength)\n {\n control.removeAt(index);\n index++;\n }\n oldControlLength = 1;\n\n control.push(this.generateFamilyMembersDetailsGet()); \n }\n }\n else{\n \n control.push(this.generateFamilyMembersDetailsGet());\n } \n}\n\ngenerateFamilyMembersDetailsGetData(data){\n var result = Object.keys(data).map(function (key) {\n return data[key];\n});\nif (result.length > 0) {\n for (let val of result) {\n const control = this.familyForm.controls['family_members_details'];\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\n }\n}\n}\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\n return this.fb.group({\n family_member_name: [val.family_member_name, Validators.compose([])],\n family_member_relationship: [val.family_member_relationship, Validators.compose([])],\n family_member_age: [val.family_member_age, Validators.compose([])],\n family_member_earning_status: [val.family_member_earning_status, Validators.compose([])],\n earning_segment: [val.earning_segment, Validators.compose([])],\n earning_if_others_segment:[val.earning_if_others_segment,Validators.compose([])],\n earning_gross_income_per_month: [val.earning_gross_income_per_month, Validators.compose([])],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business, Validators.compose([])],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business, Validators.compose([])],\n non_earning_occupation: [val.non_earning_occupation, Validators.compose([])],\n non_earning_if_others: [val.non_earning_if_others, Validators.compose([])],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege,Validators.compose([])],\n non_earning_if_retired_from: [val.non_earning_if_retired_from, Validators.compose([])],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res['dataStatus']==true){\n let Temparr : any = [];\n\n if(res.record.from_general_form.length>0){\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\n return res.record.from_general_form[key]\n });\n let datas=familyMembersGeneralForm.map(element=>{\n return {id:element.pd_co_applicant_id.toString(),\n name:element.applicant_name,\n relationship:element.relationship,\n relation_to:element.relation_to,\n age:element.age,\n data_gets_from:'GeneralForm'};\n \n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in General Form\")\n }\n if(res.record.from_business_form.length >0){\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\n return res.record.from_business_form[key]\n });\n let datas=familyMembersBusinessForm.map(element=>{\n return {id:element.other_family_relationship_id,\n name:element.family_member_name,\n relationship:element.other_family_relationship_id,\n relation_to:element.relation_to_id,\n age:'',\n data_gets_from:'BusinessForm'};\n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in Business Form\")\n }\n this.apiFamilyMembers = [].concat.apply([],Temparr);\n }\n })\n let records={'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>{\n console.log(\"Entering Retrieve\");\n \n if(res['status']==200){\n if(res['records'].family_details.length > 0){\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\n this.resValue=res;\n this.initFamilyDetails(res['records'].family_details);\n \n }\n \n }\n else{\n console.log(\"No Data Found\");\n this.initFamilyDetails(null);\n \n }\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\n \n },err=>{\n console.log(\"Error\",err)\n })\n /*let earning:any = [];\n let non_earning:any = [];\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\n\n return res['records'].non_earning_members[key];\n });\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\n earning = Object.keys(res['records'].earning_members).map(function(key) {\n return res['records'].earning_members[key];\n });\n let familyDetails = res['records'];\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\n // this.familyForm.controls['earningMembers'].setValue(earning);\n // for(this.)\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n if(earning.length==0)\n {\n this.addearningMembers();\n }else\n {\n earning.forEach(datas => {\n this.count++;\n this.items.push(this.createMembers());\n });\n this.familyForm.controls['earningMembers'].setValue(earning);\n \n }\n\n if(non_earning.length==0)\n {\n this.addMembers(); \n }else\n {\n non_earning.forEach(datas => {\n this.count++;\n this.membersitem.push(this.createNonMembers());\n \n });\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\n // this.checkfamilystatus(this.count);\n }\n \n // for(let earningDetails of earning){\n // this.items = this.familyForm.get('earningMembers') as FormArray;\n // this.items.push(earning);\n // }\n\n }else\n {\n this.addearningMembers();\n this.addMembers();\n }\n }) */ \n }\n /** To Convert Amount into Words */\n inWords(e,flag:number,i){\n switch(flag){\n case 1 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 2 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n \n default:\n break;\n }\n }\n initSetValue(records):void{\n for(let val of records){\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person],\n residence_place:[val.residence_place]\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssestsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assests',\r\n templateUrl: 'pd-question-assests.html',\r\n})\r\nexport class PdQuestionAssestsPage {\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n m_relation: any;\r\n applicants: any ;\r\n users: any;\r\n FormId: any;\r\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\r\n m_investmentType: { 'id': string; 'name': string; }[];\r\n m_insuranceType: { 'id': string; 'name': string; }[];\r\n m_propertyType: { 'id': string; 'name': string; }[];\r\n m_assets_type: { 'id': string; 'name': string; }[];\r\n pdDetails: any;\r\n assetItem: any;\r\n items:FormArray;\r\n AssetsDetailsForm:FormGroup;\r\n details:FormArray;\r\n FormList:boolean = false;\r\n loadDetails:boolean = true;\r\n assestInfo:any;\r\n\r\n appxMarketAmtInwords: any=[];\r\n OtherAppxMarketAmtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n OtherEmiAmtInwords: any=[];\r\n PremiumPaidInwords: any=[];\r\n OtherPremiumPaidInwords: any=[];\r\n SumAssuredInwords: any=[];\r\n OtherSumAssuredInwords: any=[];\r\n AmtInvestInwords: any=[];\r\n OtherAmtInvestInwords: any;\r\n AssetValueInwords: any=[];\r\n OtherAssetValueInwords: any=[];\r\n B_emiAmtInwords: any=[];\r\n O_emiAmtInwords: any=[];\r\n\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n pdid:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider) {\r\n \r\n this.assestInfo = \"busass\";\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.users = this.aws.getlocale();\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n this.AssetsDetailsForm = this.fb.group(\r\n {\r\n assets_details:this.fb.array([]),\r\n // business_assets_details:this.fb.array([]),\r\n assets_form_remark:['']\r\n \r\n })\r\n \r\n this.getAssetDetails();\r\n this.getdropList();\r\n //this. addAsset(1);\r\n this.loadDetails = true;\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssestsPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n\r\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\r\n }\r\n })\r\n \r\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_propertyType = res['records'];\r\n }\r\n })\r\n \r\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_investmentType = res['records'];\r\n }\r\n })\r\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.m_insuranceType =res['records'];\r\n }\r\n })\r\n \r\n \r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'];\r\n }\r\n })\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_relation = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n })\r\n \r\n \r\n \r\n \r\n }\r\n createAsset() : FormGroup\r\n {\r\n return this.fb.group(\r\n {\r\n assets_mode: [null],\r\n details: this.fb.array([]),\r\n approximate_market_value: [null],\r\n name_of_the_owner: [''],\r\n other_owner:[''],\r\n // purchase_year: [null],\r\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n vintage_personal : [''],\r\n // purchase_month: [null],\r\n emi: [null],\r\n // emi_paid: [null],\r\n // elapsed_tenure: [null],\r\n // balance_tenure: [null],\r\n // original_loan_tenure :[null],\r\n });\r\n }\r\n\r\n addAsset(flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n this.assetItem.push(this.createAsset());\r\n }\r\n }\r\n\r\n deleteAsset(i,flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n if(this.assetItem.length==1)\r\n {\r\n this.AssetsDetailsForm.controls['assets_details'].reset();\r\n }else{\r\n this.assetItem.removeAt(i);\r\n } \r\n }\r\n }\r\n \r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n \r\n\r\n loanCalc(details ,flag)\r\n {\r\n if(flag == 1){\r\n \r\n let ElapsedValues;\r\n \r\n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\r\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\r\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\r\n }\r\n }\r\n \r\n\r\n }\r\n \r\n show: boolean;\r\n selectedAssetsType(e: any, i: any,flag : any): void {\r\n \r\n let val = i;\r\n if(flag == 1){\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n }\r\n \r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n \r\n control.push(this.loadEquipmentManufacturingDescription());\r\n \r\n break;\r\n }\r\n case '5': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.loadConsumerDurableDescription());\r\n break;\r\n }\r\n case '6': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.loadInsuranceDescription());\r\n break;\r\n }\r\n case '7': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.loadInvestDescription());\r\n break;\r\n }\r\n case '8': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray\r\n \r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: ['']\r\n });\r\n }\r\n\r\n loadJwellDescription() {\r\n return this.fb.group({\r\n \r\n });\r\n }\r\n\r\n loadConsumerDurableDescription() {\r\n return this.fb.group({\r\n consumer_durable_description: [null]\r\n });\r\n }\r\n \r\n otherBusinessAssetsDescription() {\r\n return this.fb.group({\r\n any_other_assets: [''],\r\n any_other_asset_value : [''],\r\n any_other_asset_loan : [''], \r\n });\r\n }\r\n otherAssetsDescription() {\r\n \r\n return this.fb.group({\r\n any_other_assets: [''],\r\n //any_other_asset_value:[''],\r\n //any_other_asset_loan:['']\r\n });\r\n }\r\n\r\n loadInsuranceDescription() {\r\n return this.fb.group({\r\n insurance_type: [null],\r\n premium_paid: [null],\r\n frequency_mode: [null],\r\n other_frequency_mode:[null],\r\n sum_assured: [null],\r\n members_coverd: [null]\r\n });\r\n }\r\n\r\n loadInvestDescription() {\r\n return this.fb.group({\r\n investments_type: [''],\r\n other_investments_type:[''],\r\n in_which_organisation:[''],\r\n amount_of_invest: [''],\r\n bank_name: ['']\r\n });\r\n }\r\n\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n //manufacturer_model: [''],\r\n manufacturer_model_vehicle: ['']\r\n });\r\n }\r\n\r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n\r\n load_Two_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_two_weeler: ['']\r\n });\r\n }\r\n\r\n\r\n\r\n loadPropertyWithData(data) {\r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type]\r\n });\r\n }\r\n\r\n loadJwellDescriptionWithData(data) {\r\n return this.fb.group({\r\n // jwell_description: [data.jwell_description]\r\n });\r\n }\r\n\r\n loadConsumerDurableDescriptionWithData(data) {\r\n return this.fb.group({\r\n consumer_durable_description: [data.consumer_durable_description]\r\n });\r\n }\r\n\r\n otherAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n //any_other_asset_value : [data.any_other_asset_value],\r\n //any_other_asset_loan:[data.any_other_asset_loan]\r\n });\r\n }\r\n otherBusinessAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n any_other_asset_value : [data.any_other_asset_value],\r\n any_other_asset_loan : [data.any_other_asset_loan],\r\n });\r\n }\r\n\r\n loadInsuranceDescriptionWithData(data) {\r\n return this.fb.group({\r\n //insurance_type: [data.insurance_type],\r\n premium_paid: [data.premium_paid],\r\n frequency_mode: [data.frequency_mode],\r\n other_frequency_mode:[data.other_frequency_mode],\r\n sum_assured: [data.sum_assured],\r\n members_coverd: [data.members_coverd]\r\n });\r\n }\r\n\r\n loadInvestDescriptionWithData(data) {\r\n return this.fb.group({\r\n investments_type: [data.investments_type],\r\n other_investments_type:[data.other_investments_type],\r\n in_which_organisation:[data.in_which_organisation],\r\n amount_of_invest: [data.amount_of_invest],\r\n bank_name: [data.bank_name]\r\n });\r\n }\r\n\r\n \r\n\r\n load_Four_WeelerWithData(data) {\r\n return this.fb.group({\r\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\r\n });\r\n }\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n\r\n load_Two_WeelerWithData(data) {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\r\n });\r\n }\r\n saveAssetDetails(answerData)\r\n {\r\n \r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n // answerData.assets_details.map(val => {\r\n // if (val.emi == 'no') {\r\n // val.emi_paid = '';\r\n // val.elapsed_tenure = '';\r\n // val.balance_tenure = '';\r\n // val.original_loan_tenure ='';\r\n // }\r\n // });\r\n \r\n answerData.pdid = this.pdDetails.pd_id;\r\n answerData.formid = this.FormId.form_id;\r\n answerData.fk_createdby = this.users;\r\n \r\n this.qustCat.saveForm(answerData).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n }\r\n apiLoadFinish:boolean = false;\r\n getAssetDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\r\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n return res['records'].assets_details[key];\r\n });\r\n \r\n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n if (assetArray.length > 0) {\r\n for (let val of assetArray) {\r\n let vals = {\r\n assets_mode: val.assets_mode,\r\n approximate_market_value: val.approximate_market_value,\r\n name_of_the_owner: val.name_of_the_owner,\r\n other_owner:val.other_owner,\r\n purchase_year: val.purchase_year,\r\n vintage_personal:val.vintage_personal,\r\n // purchase_month: val.purchase_month,\r\n emi: val.emi,\r\n // emi_paid: val.emi_paid,\r\n // elapsed_tenure: val.elapsed_tenure,\r\n // balance_tenure: val.balance_tenure,\r\n // original_loan_tenure:val.original_loan_tenure,\r\n //assets_form_remark:val.assets_form_remark\r\n };\r\n const control = this.AssetsDetailsForm.controls['assets_details'];\r\n control.push(this.initDetailsWithdata(vals));\r\n \r\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\r\n }\r\n \r\n }\r\n // if (busarray.length > 0) {\r\n // for (let val of busarray) {\r\n // let vals = {\r\n // assets_mode: val.assets_mode,\r\n // approximate_market_value: val.approximate_market_value,\r\n // name_of_the_owner: val.name_of_the_owner,\r\n // purchase_year: val.purchase_year,\r\n // purchase_month: val.purchase_month,\r\n // emi: val.emi,\r\n // emi_paid: val.emi_paid,\r\n // elapsed_tenure: val.elapsed_tenure,\r\n // balance_tenure: val.balance_tenure,\r\n // original_loan_tenure:val.original_loan_tenure,\r\n // };\r\n // const control = this.AssetsDetailsForm.controls['assets_details'];\r\n // control.push(this.initBusinessDetailsWithdata(vals));\r\n \r\n // this.setAssetsDetailsWithData2(vals.assets_mode, val.details, control.length-1);\r\n // }\r\n \r\n // }\r\n this.apiLoadFinish = true;\r\n \r\n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\r\n }else{\r\n this.apiLoadFinish = true;\r\n this.addAsset(1);\r\n // this.addAsset(2);\r\n }\r\n })\r\n }\r\n\r\n \r\n \r\n \r\n\r\n\r\n initDetailsWithdata(data) {\r\n return this.fb.group({\r\n assets_mode: [data.assets_mode],\r\n details: this.fb.array([]),\r\n approximate_market_value: [data.approximate_market_value],\r\n name_of_the_owner: [data.name_of_the_owner],\r\n other_owner:[data.other_owner || ''],\r\n vintage_personal:[data.vintage_personal],\r\n // purchase_year: [data.purchase_year],\r\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n // purchase_month: [data.purchase_month],\r\n emi: [data.emi || 0],\r\n // emi_paid: [data.emi_paid || ''],\r\n // elapsed_tenure: [data.elapsed_tenure || ''],\r\n // balance_tenure: [data.balance_tenure || ''],\r\n // original_loan_tenure:[data.original_loan_tenure ||''],\r\n //assets_form_remark:[data.assets_form_remark || '']\r\n });\r\n }\r\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\r\n let val = i;\r\n // var data = Object.keys(datas).map(function (key) {\r\n // return datas[key];\r\n // });\r\n // alert(JSON.stringify(datas));\r\n let data = datas;\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n switch (assets_details_mode) {\r\n case '1': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'any_other_assets': datas.any_other_assets,\r\n 'name_of_the_owner':datas.name_of_the_owner,\r\n 'other_owner':datas.other_owner,\r\n //'relation':datas.relation,\r\n // 'any_other_asset_value' : datas.any_other_asset_value,\r\n //'any_other_asset_loan' : datas.any_other_asset_loan,\r\n };\r\n //this.OtherAssetValueInwords[i] = this.constprovider.convertNumberToWords(+datas.any_other_asset_value);\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.otherAssetsDescriptionWithData(array_data));\r\n break;\r\n }\r\n \r\n case '2': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'property_type':datas.property_type,'other_property_type':datas.other_property_type };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadPropertyWithData(array_data));\r\n break;\r\n }\r\n case '3': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.load_Four_WeelerWithData(array_data));\r\n break;\r\n }\r\n case '4': {\r\n let array_data:any\r\n data.forEach((datas,i)=>{\r\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\r\n })\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '5': {\r\n this.FormList = true;\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\r\n break;\r\n }\r\n case '6': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { \r\n 'premium_paid': datas.premium_paid,\r\n 'frequency_mode': datas.frequency_mode,\r\n 'other_frequency_mode':datas.other_frequency_mode,\r\n 'sum_assured': datas.sum_assured,\r\n 'members_coverd': datas.members_coverd\r\n };\r\n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(+datas.premium_paid);\r\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(+datas.sum_assured);\r\n \r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInsuranceDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '7': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(+datas.amount_of_invest);\r\n array_data = { 'investments_type': datas.investments_type,\r\n 'other_investments_type' : datas.other_investments_type,\r\n 'in_which_organisation':datas.in_which_organisation,\r\n 'amount_of_invest': datas.amount_of_invest,\r\n 'bank_name': datas.bank_name };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInvestDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '8': {\r\n this.FormList = true;\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.otherAssetsDescriptionWithData(data));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /** On Key Press Event For Number only Accepting */\r\n keyPress(event: any) {\r\n const pattern = /[0-9\\-\\.\\ ]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.appxMarketAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.OtherAppxMarketAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 3 :\r\n this.emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 4 :\r\n this.OtherEmiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 5 :\r\n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 6 :\r\n this.OtherPremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 7 :\r\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 8 :\r\n this.OtherSumAssuredInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 9 :\r\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 10 :\r\n this.OtherAmtInvestInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 11 :\r\n this.AssetValueInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 12 :\r\n this.OtherAssetValueInwords[i]= this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 13:\r\n this.B_emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n case 14:\r\n this.O_emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n // check others\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionOtherIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-other-income',\n templateUrl: 'pd-question-other-income.html',\n})\nexport class PdQuestionOtherIncomePage {\n\n FormId: any;\n custSeg: any;\n sourceIncome: any;\n otherIncomeDetails: any;\n users: any;\n pdDetails: any;\n pdid:any;\n incomeEarnedBy:any=[];\n amtInWords:any=[];\n \n frequencyData: any;\n otherIncomeForm: FormGroup;\n incomeDetails:FormArray;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider, public constant:ConstantsProvider) {\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n this.otherIncomeForm = this.fb.group({\n other_income: [null],\n otherincome_remarks:[null],\n income_details: this.fb.array([])\n });\n \n \n \n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\n //this.incomeDetails.push(this.createDetail())\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n }\n\n createDetail():FormGroup {\n return this.fb.group({\n source: [''],\n address:[''],\n others_source : [''],\n income_earned_by:[''],\n others_income_earned_by:[''],\n amount: [''],\n frequency: [''],\n others_frequency : ['']\n });\n}\naddIncomeDetails() {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n \n this.incomeDetails.push(this.createDetail());\n}\ndeleteIncomeDetails(index) {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n if(this.incomeDetails.length==1){\n // this.otherIncomeForm.controls['income_details'].reset();\n this.otherIncomeForm.reset();\n this.amtInWords[index]=''\n }else{\n this.incomeDetails.removeAt(index);\n }\n}\ncheckotherDetails(val)\n{\n if(val==\"Yes\")\n {\n this.addIncomeDetails();\n }\n if(val==\"No\"){\n //let length=this.otherIncomeForm.income_details.controls.length\n const control= this.otherIncomeForm.controls['income_details'];\n control.removeAt(0)\n // let len=control.length\n // for(let i=0;i{\n if(res['dataStatus']==true)\n {\n this.incomeEarnedBy=res['record'];\n }\n })\n let master_name = 'FREQUENCY';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\n }\n });\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.sourceIncome = res['records'];\n }\n });\n \n \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\nsubmitOtherIncome(answerData)\n{\n let records: any = {};\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.other_income = answerData.other_income;\n records.income_details = answerData.income_details;\n records.otherincome_remarks = answerData.otherincome_remarks;\n this.qustCat.saveForm(records).subscribe(data => {\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n }, error => {\n \n })\n}\n\ngetOtherIncome()\n{\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n this.otherIncomeDetails = res; \n if(this.otherIncomeDetails.dataStatus == true)\n {\n this.otherIncomeDetails = this.otherIncomeDetails.records;\n if(this.otherIncomeDetails.other_income=='Yes'){\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\n return res['records'].income_details[key];\n\n });\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n \n \n \n \n if(incomeArray.length==0)\n {\n // this.incomeDetails.push(this.createDetail());\n }else\n {\n incomeArray.forEach((datas,index)=>\n {\n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n })\n }\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\n \n }else\n {\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n }\n }\n else{\n // this.incomeDetails.push(this.createDetail())\n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component, OnInit } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionPersonalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-personal-info',\r\n templateUrl: 'pd-question-personal-info.html',\r\n})\r\nexport class PdQuestionPersonalInfoPage implements OnInit{\r\n\r\n questionDetails: any;\r\n pdDetails: any;\r\n users: any;\r\n _personalForm: FormGroup;\r\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\r\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\r\n relationShipList:any=[];\r\n \r\n form_id:number;\r\n \r\n\r\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\r\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\r\n \r\n public mainApplicantDetails :any=[];\r\n public coApplicantDetails :any=[];\r\n \r\n errorMessage:any;\r\n //coItem:any;\r\n //mainItem:any;\r\n\r\n repeat:number=3;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n // this.getRelationMaster();\r\n \r\n \r\n \r\n }\r\n ngOnInit() {\r\n \r\n this.loadPDDetails();\r\n this.getRelationMaster();\r\n this.mainApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 1);\r\n this.coApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 0);\r\n }\r\n\r\n // load form pd details\r\n loadPDDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\r\n \r\n this.qustCat.retiverForm(records).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.loadFormWithIDData(data['records']);\r\n \r\n }\r\n else{\r\n let defaultMainApp=[];\r\n let defaultCoApp=[];\r\n // generate default main applicant form details\r\n if(this.mainApplicantDetails.length>0){ \r\n for(let j=0;j this.errorMessage = error);\r\n}\r\n\r\nloadDataStatus: boolean = false;\r\n\r\nloadFormWithIDData(data) {\r\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\r\n return data.main_applicant_details[key];\r\n});\r\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\r\n return data.co_applicant_details[key];\r\n});\r\n\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n relation_ans:new FormControl(item.relation_ans, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark: [data.personal_info_form_remark]\r\n });\r\n this.loadDataStatus = true;\r\n}\r\n\r\n loadFormData(mainApp,coApp){\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n \r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.coApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.coApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\r\n relation_id:new FormControl(5),\r\n relation_ans:new FormControl(null, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark:null\r\n });\r\nthis.loadDataStatus = true;\r\n }\r\n\r\n //get pd main applicant array values \r\n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\r\n\r\n // get pd co applicant array values\r\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\r\n\r\n // get relation master details\r\n getRelationMaster(){\r\n let relation =\"RELATIONSHIPS\";\r\n this.qustCat.getcommondrop(relation).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.relationShipList=data['records'];\r\n \r\n }\r\n}, error => this.errorMessage = error);\r\n}\r\n\r\n// submit forms details\r\nsubmitPersonalForm(formData:any) {\r\n if(this._personalForm.valid){\r\n let main_applicantDetails:any=[];\r\n let co_applicantDetails:any=[];\r\n\r\n formData.mainItem.forEach((element,key) => {\r\n if(key==0){\r\n main_applicantDetails.push({\r\n \"name_ans\":element.name_ans,\r\n \"age_ans\":element.age_ans,\r\n \"entity_ans\":element.entity_ans,\r\n \"qualification_ans\":element.qualification_ans,\r\n \"earning_ans\":element.earning_ans, \r\n })\r\n }\r\n \r\n });\r\n formData.coItem.forEach((Coelement,Cokey) => {\r\n co_applicantDetails.push({\r\n\r\n \"name_ans\":Coelement.name_ans,\r\n \"age_ans\":Coelement.age_ans,\r\n \"qualification_ans\":Coelement.qualification_ans,\r\n \"entity_ans\":Coelement.entity_ans,\r\n \"earning_ans\":Coelement.earning_ans, \r\n \"relation_ans\":Coelement.relation_ans, \r\n })\r\n \r\n });\r\n\r\n let save_details:any={\r\n \"pdid\" : this.pdDetails.pd_id,\r\n \"formid\" : '341',\r\n \"fk_createdby\":this.users,\r\n \"main_applicant_details\":main_applicantDetails,\r\n \"co_applicant_details\":co_applicantDetails,\r\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\r\n };\r\n this.qustCat.saveForm(save_details).subscribe(result => {\r\n if (result['dataStatus']==true) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.notifier.notify('success', 'Success.');\r\n }\r\n else {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n }\r\n }, error => {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n });\r\n }\r\n}\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionRentalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-rental-info',\r\n templateUrl: 'pd-question-rental-info.html',\r\n})\r\nexport class PdQuestionRentalInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n FormId: any;\r\n rentalForms:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public fb:FormBuilder) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n this.rentalForms = this.fb.group(\r\n {\r\n person_met:[null,Validators.compose([Validators.required])],\r\n property_own:[null,Validators.compose([Validators.required])],\r\n nature_property:[null,Validators.compose([Validators.required])],\r\n nature_others:[null],\r\n rental_home:this.fb.array([])\r\n })\r\n this.getRentalDetails();\r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\r\n }\r\n\r\n createrentalHome()\r\n {\r\n return this.fb.group(\r\n {\r\n complete_add:[null,Validators.compose([Validators.required])],\r\n area_of_property:[null,Validators.compose([Validators.required])],\r\n structure_property:[null,Validators.compose([Validators.required])],\r\n total_room:[null,Validators.compose([Validators.required])],\r\n is_rent:[null,Validators.compose([Validators.required])],\r\n date_agreement:[null,Validators.compose([Validators.required])],\r\n date_validity:[null,Validators.compose([Validators.required])],\r\n rent_agreement:[null,Validators.compose([Validators.required])],\r\n actual_rent:[null,Validators.compose([Validators.required])],\r\n photo_areegment:[null,Validators.compose([Validators.required])],\r\n property_photographs:[null],\r\n bank:[null,Validators.compose([Validators.required])],\r\n cash:[null,Validators.compose([Validators.required])],\r\n rent_each_floor:[null,Validators.compose([Validators.required])],\r\n total_rent:[null,Validators.compose([Validators.required])],\r\n related_doc_owner:[null,Validators.compose([Validators.required])],\r\n details_tenants:this.fb.array([]),\r\n third_party_check:[null,Validators.compose([Validators.required])],\r\n })\r\n }\r\n\r\n createTenantsDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n name:[null,Validators.compose([Validators.required])],\r\n mobile_no:[null,Validators.compose([Validators.required])],\r\n tenants_seen:[null,Validators.compose([Validators.required])],\r\n tenants_con_owner:[null,Validators.compose([Validators.required])],\r\n rent_paid:[null,Validators.compose([Validators.required])],\r\n staying_since:[null,Validators.compose([Validators.required])],\r\n \r\n });\r\n }\r\n\r\n addrentalHome()\r\n {\r\n const control = this.rentalForms.get('rental_home') as FormArray;\r\n control.push(this.createrentalHome());\r\n this.addTenantsDetails(0);\r\n }\r\n\r\n addTenantsDetails(i)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\r\n \r\n // control.controls.splice(0);\r\n control.push(this.createTenantsDetails());\r\n\r\n }\r\n\r\n deleteTenantsDetails(rentIndex,TenantsIndex)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\r\n \r\n control.removeAt(TenantsIndex);\r\n }\r\n\r\n deleterentalHome(i)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n if(control.length==1)\r\n {\r\n this.rentalForms.controls['rental_home'].reset();\r\n }else\r\n {\r\n control.removeAt(i);\r\n }\r\n }\r\n saveRentalDetails(answerData)\r\n {\r\n let records:any={}\r\n \r\n \r\n// if(this.rentalForms.valid){\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.person_met = answerData.person_met;\r\n records.property_own = answerData.property_own;\r\n records.nature_property = answerData.nature_property;\r\n if(answerData.nature_property=='others')\r\n {\r\n records.nature_others = answerData.nature_others\r\n }\r\n records.rental_home = answerData.rental_home;\r\n Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\r\n\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter All Field');\r\n // }\r\n }\r\n\r\n getRentalDetails()\r\n {\r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let rentalDetails = res['records'];\r\n var rentalData = Object.keys(res['records'].rental_home\r\n ).map(function(key) {\r\n return res['records'].rental_home\r\n [key];\r\n\r\n });\r\n var tanantsData = [];\r\n var control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n var tanantscontrol; \r\n rentalData.forEach((val,index)=>\r\n {\r\n \r\n // this.addrentalHome();\r\n // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\r\n // {\r\n \r\n \r\n // return val.details_tenants[key];\r\n // }));\r\n rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\r\n {\r\n \r\n \r\n return val.details_tenants[key];\r\n });\r\n control.push(this.createrentalHome()); \r\n tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \r\n \r\n rentalData[index].details_tenants.forEach((val,key)=>\r\n {\r\n //rentalData[index].details_tenants = val;\r\n \r\n // rentalData[index].details_tenants = [key];\r\n tanantscontrol.push(this.createTenantsDetails());\r\n });\r\n \r\n // control[index].details_tenants =tanantscontrol; \r\n });\r\n this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\r\n this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\r\n this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\r\n if(rentalDetails.nature_property=='others'){\r\n this.rentalForms.controls['nature_others'].\r\n setValue(rentalDetails.nature_others);\r\n }\r\n \r\n this.rentalForms.controls['rental_home'].setValue(rentalData); \r\n }else\r\n {\r\n this.addrentalHome();\r\n // this.addTenantsDetails(0);\r\n }\r\n })\r\n }\r\n createTenantsDetailswithData(index,data)\r\n {\r\n return this.fb.group(\r\n {\r\n name:[data.name],\r\n mobile_no:[data.mobile_no],\r\n tenants_seen:[data.tenants_seen],\r\n tenants_con_owner:[data.tenants_con_owner],\r\n rent_paid:[data.rent_paid],\r\n staying_since:[data.staying_since]\r\n });\r\n }\r\n\r\n validateAllFormFields(formGroup: any) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n \r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { \r\n this.validateAllFormFields(control);\r\n } else if (control instanceof FormArray) { \r\n this.validateAllFormFields(control);\r\n }\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDashPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-dash',\r\n templateUrl: 'pd-question-assessed-dash.html',\r\n})\r\nexport class PdQuestionAssessedDashPage {\r\n\r\n businessIncome: boolean;\r\n grossAccess: boolean;\r\n finalAccess: boolean;\r\n finalExpense: any;\r\n finalIncome: any;\r\n finalData: any;\r\n houseExpenseData: boolean;\r\n businessData: boolean;\r\n salesData: boolean;\r\n purchaseData: boolean;\r\n grossprofit: any;\r\n assessedProcess: boolean;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n calc_type_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n mode:[null,Validators.compose([Validators.required])],\r\n margin:[null],\r\n fk_createdby:[this.users],\r\n fk_updatedby:[null],\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getassessedIncome(); \r\n }\r\n getViewPage(pageId)\r\n {\r\n\r\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\r\n }\r\n\r\n saveAssessedForm(answerData)\r\n {\r\n \r\n if(this.assessedForm.valid)\r\n {\r\n \r\n \r\n \r\n let records = {'records':this.assessedForm.value};\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.getassessedIncome();\r\n }else\r\n {\r\n\r\n }\r\n })\r\n \r\n }\r\n }\r\n\r\n getassessedIncome()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.assessedProcess = true;\r\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\r\n if(res['records'].purchase_details.length !=0)\r\n {\r\n this.purchaseData = true;\r\n }\r\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\r\n {\r\n this.salesData = true;\r\n }\r\n if(res['records'].business_expenses.length !=0)\r\n {\r\n this.businessData = true;\r\n }\r\n if(res['records'].house_hold_expenses.length !=0)\r\n {\r\n this.houseExpenseData = true;\r\n }\r\n if(res['records'].othre_business_income.length !=0)\r\n {\r\n this.businessIncome = true;\r\n }\r\n \r\n if(res['records'].final_data.length !=0){\r\n this.finalAccess = true;\r\n this.finalData = res['records'].final_data[0]; \r\n this.finalIncome = this.finalData.income;\r\n this.finalExpense = this.finalData.expense; \r\n }\r\n \r\n if(this.grossprofit !==undefined)\r\n {\r\n this.grossAccess = true;\r\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\r\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\r\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\r\n }\r\n \r\n }else\r\n {\r\n this.assessedProcess = false;\r\n }\r\n });\r\n }\r\n\r\n\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { FormatWidth } from '@angular/common';\r\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-info',\r\n templateUrl: 'pd-question-assessed-info.html',\r\n})\r\nexport class PdQuestionAssessedInfoPage {\r\n\r\n busissnessIncome: any;\r\n mode: any;\r\n grossprofitCalc: any;\r\n houseHold_details: any;\r\n grandHouseExpenseTotal: any;\r\n houseannual: any=[];\r\n businessExpenses_details: any;\r\n grandExpenseTotal: any;\r\n expenseannual: any=[];\r\n businessExpenses: any;\r\n purchse_details: any;\r\n sales_item_month_value: any=[];\r\n sales_wise_month_headers:any = [];\r\n sales_month_wise_data:any = [];\r\n sales_item_value: any;\r\n grandpurchaseTotal: any=null;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n users: any;\r\n pageId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n FormName:any;\r\n annual:any = [];\r\n rawMaterialForm:FormGroup;\r\n BuissnessForm:FormGroup;\r\n houseHoldForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pageId = this.navParams.get('pageId');\r\n\r\n switch(this.pageId)\r\n {\r\n case 1:\r\n this.FormName = \"Sales Page\";\r\n break;\r\n case 2:\r\n this.FormName = \"Purchase Page\";\r\n break;\r\n case 3:\r\n this.FormName = \"Business Expense Page\";\r\n break;\r\n case 4:\r\n this.FormName = \"House Hold Page\";\r\n break;\r\n default:\r\n this.FormName = \"Question Page\";\r\n break;\r\n }\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n sdc_id:[null],\r\n sales_declared_by_customer:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n margin_per:[null],\r\n margin_value:[null],\r\n isactive:[1],\r\n fk_createdby:[this.users],\r\n \r\n });\r\n \r\n \r\n \r\n \r\n // this.getdropList();\r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\r\n }\r\n\r\n\r\n \r\n \r\n\r\n ionViewDidEnter() {\r\n \r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getAssessedDetails(); \r\n }\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n getMarginCalc()\r\n {\r\n let margin_per = this.assessedForm.controls['margin_per'].value;\r\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\r\n if(margin_per !=null && sales_declared_by_customer !=null)\r\n {\r\n let value = sales_declared_by_customer * (margin_per/100);\r\n this.assessedForm.controls['margin_value'].setValue(value);\r\n }\r\n }\r\n\r\n saveData(answerData)\r\n {\r\n let records:any = {};\r\n\r\n records ={'records':answerData};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\r\n {\r\n // console.log(res);\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.getAssessedDetails();\r\n }\r\n })\r\n }\r\n \r\n getAssessedDetails()\r\n {\r\n this.sales_item_month_value = [];\r\n this.sales_month_wise_data = [];\r\n this.sales_item_value= [];\r\n let records = {'pd_id':this.pdDetails.pd_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let sales_value = res['records'].sales_declared_by_customer[0];\r\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\r\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\r\n this.purchse_details = res['records'].purchase_details; \r\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0];\r\n this.mode = this.grossprofitCalc.mode;\r\n console.log(this.grossprofitCalc);\r\n var result = this.purchse_details.reduce(function(p, c) {\r\n \r\n return p;\r\n },[]);\r\n console.log(result);\r\n\r\n\r\n this.businessExpenses_details = res['records'].business_expenses;\r\n this.houseHold_details = res['records'].house_hold_expenses;\r\n this.busissnessIncome = res['records'].othre_business_income;\r\n // console.log(this.sales_item_month_value);\r\n // this.getpurchaseDetails(this.purchse_details);\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\r\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\r\n let listItems: any=[];\r\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\r\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\r\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\r\n })\r\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\r\n \r\n let convertYear : number = 12 / listItems.length;\r\n let footerMessage: any=[];\r\n footerMessage.push({\r\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\r\n month_value:calculateAllItemsTotal,\r\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\r\n year_value: calculateAllItemsTotal * convertYear,\r\n })\r\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id});\r\n });\r\n\r\n\r\n console.log(this.sales_month_wise_data);\r\n if(sales_value!==undefined){\r\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\r\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\r\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\r\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\r\n \r\n }\r\n \r\n }\r\n })\r\n\r\n }\r\n\r\n /**\r\n * Add Assessed Forms\r\n */\r\n\r\n AddAssessedForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'grossprofit':this.grossprofitCalc}); \r\n \r\n }\r\n\r\n editDetails(salesCal)\r\n {\r\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \r\n \r\n }\r\n editAllDetails(AllsalesData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'grossprofit':this.grossprofitCalc}); \r\n }\r\n\r\n /**Assessed Daily Form Details */\r\n\r\n AddAssessedDailyForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'grossprofit':this.grossprofitCalc})\r\n }\r\n editAssessedDailyForm(simId)\r\n {\r\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\r\n console.log(dailySaleDetails);\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'grossprofit':this.grossprofitCalc})\r\n \r\n }\r\n\r\n /**purchase Details Forms */\r\n AddPurchaseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \r\n \r\n }\r\n\r\n editPurchaseDetails(purchaseCal)\r\n {\r\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \r\n \r\n }\r\n editPurchaseAllDetails(AllpurchaseData)\r\n {\r\n console.log('260',AllpurchaseData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \r\n }\r\n \r\n\r\n /**Business Expense */\r\n AddExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editExpenseAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \r\n }\r\n \r\n\r\n /** Household Expenses Details */\r\n AddHouseExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editHouseExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editHouseExpenseAllDetails(AllExpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \r\n }\r\n\r\n /**\r\n * Income Details\r\n */\r\n AddIncomeForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \r\n \r\n }\r\n\r\n editIncomeDetails(expenseCal)\r\n {\r\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \r\n \r\n }\r\n editIncomeAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \r\n }\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedSalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-sales',\r\n templateUrl: 'pd-question-assessed-sales.html',\r\n})\r\nexport class PdQuestionAssessedSalesPage {\r\n\r\n grossprofitCalc: any;\r\n salesData: any =[];\r\n annual: any=[];\r\n grandTotal: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n assessedForm: FormGroup;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n \r\n salesCalItemwise:this.fb.array([]),\r\n });\r\n this.salesData = this.navParams.get('sales');\r\n if(this.salesData!=null)\r\n {\r\n this.getSalesItemData(this.salesData);\r\n }else\r\n {\r\n this.addSalesCal();\r\n }\r\n // this.addSalesCal();\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n }\r\n\r\n createSalesCal()\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n\r\n sales_item:[null,Validators.compose([Validators.required])],\r\n sales_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_sale_value:[null],\r\n margin_per:[null],\r\n margin_per_uom:[null],\r\n margin_final_value:[null],\r\n });\r\n }\r\n\r\n addSalesCal()\r\n {\r\n if(this.assessedForm.valid){\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n control.push(this.createSalesCal());\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the all fields');\r\n }\r\n }\r\n \r\n removeSalesCal(i)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n console.log(this.grandTotal);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(i);\r\n this.addSalesCal(); \r\n } else{\r\n control.removeAt(i);\r\n }\r\n }\r\n /**\r\n * frequency Type \r\n * 1.Weekly no need\r\n * 2.Daily 250\r\n * 3.Yearly \r\n * 4.Hourly no need\r\n * 5.Monthly 12\r\n * 6.none\r\n * 7.none\r\n * 8.none\r\n */\r\n salecalculat(index,details)\r\n {\r\n // console.log(details,index);\r\n let frequencyId = details.value.fk_frequency_id;\r\n let salesQty = details.value.sales_qty;\r\n let UOM = details.value.rate_per_unit;\r\n // console.log(frequencyId,salesQty,UOM,index);\r\n // console.log(frequencyId);\r\n let annual\r\n if(salesQty!=null && UOM!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (salesQty*UOM*250);\r\n this.annual[index] = annual;\r\n details.controls['annual_sale_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (salesQty*UOM);\r\n this.annual[index] = annual;\r\n details.controls['annual_sale_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (salesQty*UOM*12);\r\n this.annual[index] = annual;\r\n details.controls['annual_sale_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n }else\r\n {\r\n // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\r\n }\r\n \r\n \r\n \r\n \r\n console.log(this.annual);\r\n }\r\n\r\n getSalesCalc(details)\r\n {\r\n // console.log(details);\r\n let margin_per = details.value.margin_per;\r\n let margin_amount = details.value.margin_per_uom;\r\n let annual_sale_value = details.value.annual_sale_value;\r\n let sales_qty = details.value.sales_qty;\r\n // console.log(sales_qty,margin_amount);\r\n let value:any = '';\r\n if(margin_per !=null || margin_amount !=null){\r\n if(margin_per !=null)\r\n {\r\n value = +annual_sale_value * (+margin_per/100);\r\n }else\r\n {\r\n console.log('else');\r\n value = +sales_qty* +margin_amount;\r\n }\r\n console.log(value);\r\n details.controls['margin_final_value'].setValue(value);\r\n }\r\n }\r\n saveData(answerData)\r\n {\r\n let records = {'records':answerData.salesCalItemwise};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n })\r\n }\r\n \r\n getSalesItemData(salesData)\r\n {\r\n console.log(salesData);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n\r\n salesData.forEach((sale,index)=>{\r\n \r\n this.annual[index] = sale.annual_sale_value\r\n control.push(this.createSaleswithData(sale));\r\n })\r\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\r\n // console.log(control);\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n }\r\n\r\n createSaleswithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[data.sci_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\r\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_sale_value:[data.annual_sale_value],\r\n margin_per:[data.margin_per],\r\n margin_per_uom:[data.margin_per_uom],\r\n margin_final_value:[data.margin_final_value],\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDailySalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-daily-sales',\r\n templateUrl: 'pd-question-assessed-daily-sales.html',\r\n})\r\nexport class PdQuestionAssessedDailySalesPage {\r\n\r\n currentDate: string;\r\n grossprofitCalc: any;\r\n salesDaily: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n salesDailyForm: FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.salesDaily = this.navParams.get('salesDaily');\r\n this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.users = this.aws.getlocale();\r\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\r\n \r\n this.salesDailyForm = this.fb.group(\r\n {\r\n sales_product: this.fb.array([]),\r\n })\r\n if (this.salesDaily != null) {\r\n this.getDailySalesData(this.salesDaily);\r\n } else {\r\n this.adddailySalaesProduct();\r\n\r\n }\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\r\n }\r\n\r\n createdailysalesProduct() {\r\n return this.fb.group(\r\n {\r\n sim_id: [null],\r\n sales_item: [null, Validators.compose([Validators.required])],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n margin_per: [null],\r\n margin_value: [null],\r\n fk_createdby: [this.users],\r\n isactive: ['1'],\r\n });\r\n }\r\n createdailyChildSaleProduct() {\r\n return this.fb.group({\r\n simc_id: [null],\r\n fk_sim_id: [null],\r\n sales_date: [null, Validators.compose([Validators.required])],\r\n sales_value: [null, Validators.compose([Validators.required])],\r\n isactive: ['1'],\r\n })\r\n }\r\n temparr = [];\r\n tempdate = [];\r\n getSalesCalc(subchild,child,key) {\r\n \r\n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\r\n let totalitemmargin = child.value.margin_per;\r\n \r\n if (totalitemmargin != null && subchild.value.sales_value !=null) {\r\n let loopAccess = false;\r\n let loopindex = 0;\r\n if (this.tempdate.length != 0) {\r\n for (var i = 0; i < this.tempdate.length; i++) {\r\n\r\n if (this.tempdate[i].month == saledate) {\r\n loopAccess = true;\r\n loopindex = i;\r\n }\r\n }\r\n\r\n if (loopAccess) {\r\n\r\n \r\n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\r\n this.temparr.push(subchild.value.sales_value);\r\n loopAccess = false;\r\n loopindex = 0;\r\n \r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n\r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\r\n this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n let totalMonth = 12 / this.tempdate.length;\r\n \r\n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\r\n \r\n // let value = tempgrandTotal * (totalitemmargin / 100);\r\n let value = tempgrandTotal*totalMonth ;\r\n \r\n let grandValue = value * (totalitemmargin / 100);\r\n child.controls['margin_value'].setValue(grandValue);\r\n \r\n }\r\n \r\n }\r\n adddailySalaesProduct() {\r\n this.tempdate = [];\r\n if (this.salesDailyForm.valid) {\r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n control.push(this.createdailysalesProduct());\r\n \r\n this.adddailyChildSaleProduct(control.length - 1);\r\n }\r\n }\r\n adddailyChildSaleProduct(index) {\r\n // if(this.salesDailyForm.valid){\r\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\r\n\r\n control.push(this.createdailyChildSaleProduct());\r\n // }\r\n }\r\n\r\n deletedailySalesProduct(index) {\r\n \r\n this.tempdate.slice(index,1);\r\n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\r\n if (control.length == 1) {\r\n this.salesDailyForm.controls['sales_product'].reset();\r\n } else {\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n deletedailyChildSaleProduct(saleIndex, saleChildIndex) {\r\n this.tempdate = [];\r\n const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(saleChildIndex);\r\n this.adddailyChildSaleProduct(saleIndex); \r\n }else{\r\n control.removeAt(saleChildIndex);\r\n }\r\n }\r\n saveData(answerData) {\r\n if (this.salesDailyForm.valid) {\r\n let records = { 'records': answerData.sales_product };\r\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\r\n if (res['dataStatus'] == true) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n });\r\n }\r\n\r\n\r\n }\r\n getDailySalesData(dailySalesData) {\r\n \r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n let salesChildControl;\r\n let salesChildControlarr = [];\r\n dailySalesData.forEach((val, index) => {\r\n\r\n control.push(this.dailySalesWithData(val));\r\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\r\n\r\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\r\n\r\n salesChildControlarr[index].forEach((vals, i) => {\r\n vals.forEach((item, key) => {\r\n let saleDate = new Date(item.sales_date);\r\n\r\n item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() + 1)).slice(-2);\r\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id));\r\n })\r\n\r\n\r\n\r\n });\r\n\r\n });\r\n }\r\n\r\n dailySalesWithData(data) {\r\n\r\n return this.fb.group(\r\n {\r\n sim_id: [data.sim_id],\r\n sales_item: [data.sales_item, Validators.compose([Validators.required])],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n fk_createdby: [this.users],\r\n isactive: ['1'],\r\n margin_per: [data.margin_per],\r\n margin_value: [data.margin_value],\r\n })\r\n }\r\n dailySalesChildWithData(data, fk_id) {\r\n\r\n\r\n return this.fb.group(\r\n {\r\n simc_id: [data.simc_id],\r\n fk_sim_id: [fk_id],\r\n sales_date: [data.sales_date, Validators.compose([Validators.required])],\r\n sales_value: [data.sales_value, Validators.compose([Validators.required])],\r\n isactive: ['1'],\r\n })\r\n\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedPurchasePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-purchase',\r\n templateUrl: 'pd-question-assessed-purchase.html',\r\n})\r\nexport class PdQuestionAssessedPurchasePage {\r\n purchaseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n businessExpenses: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n annual: any = [];\r\n grandpurchaseTotal: any;\r\n rawMaterialForm:FormGroup;\r\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.purchaseDetails = this.navParams.get('purchase');\r\n this.users = this.aws.getlocale();\r\n this.rawMaterialForm = this.fb.group(\r\n {\r\n purchase:this.fb.array([]),\r\n });\r\n if(this.purchaseDetails!=null)\r\n {\r\n this.getpurchaseDetails(this.purchaseDetails);\r\n }else\r\n {\r\n this.addPurchaseDetails();\r\n }\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\r\n }\r\n\r\n\r\n createPurchaseDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n purchase_item:[null,Validators.compose([Validators.required])],\r\n purchase_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_purchase_value:[null,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n }\r\n })\r\n }\r\n addPurchaseDetails()\r\n {\r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.push(this.createPurchaseDetails());\r\n }\r\n\r\n deletePurchaseDetails(i)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.removeAt(i); \r\n }\r\n\r\n\r\n salecalculat(index,details)\r\n {\r\n console.log(this.grandpurchaseTotal);\r\n console.log(details,index);\r\n let frequencyId = details.value.fk_frequency_id;\r\n let purchaseQty = details.value.purchase_qty;\r\n let UOM = details.value.rate_per_unit;\r\n console.log(frequencyId,purchaseQty,UOM,index);\r\n // console.log(frequencyId);\r\n let annual\r\n if(purchaseQty!=null && UOM!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (purchaseQty*UOM*250);\r\n this.annual[index] = annual;\r\n details.controls['annual_purchase_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (purchaseQty*UOM);\r\n this.annual[index] = annual;\r\n details.controls['annual_purchase_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (purchaseQty*UOM*12);\r\n this.annual[index] = annual;\r\n details.controls['annual_purchase_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\r\n }\r\n }\r\n savepurchaseData(answerData)\r\n {\r\n if(this.rawMaterialForm.valid){\r\n let records = {'records':answerData.purchase};\r\n console.log('data',records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.getAssessedDetails();\r\n \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getpurchaseDetails(purchaseDetails)\r\n {\r\n console.log('function in',purchaseDetails);\r\n \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \r\n console.log(control); \r\n if(purchaseDetails.length ==0)\r\n {\r\n console.log('if');\r\n this.addPurchaseDetails();\r\n }else{\r\n console.log('else');\r\n purchaseDetails.forEach((val,index)=>\r\n {\r\n // console.log(index);\r\n control.push(this.createPurchasewithData(val));\r\n this.annual[index] = val.annual_purchase_value;\r\n });\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\r\n }\r\n // console.log(control); \r\n \r\n }\r\n\r\n createPurchasewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[data.purchase_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\r\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business',\r\n templateUrl: 'pd-question-assessed-business.html',\r\n})\r\nexport class PdQuestionAssessedBusinessPage {\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n grandpurchaseTotal(arg0: any): any {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n grandExpenseTotal: any=[];\r\n expenseannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessExpenses:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busExpense:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\r\n }\r\n\r\n\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[null,Validators.compose([Validators.required])],\r\n expense_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_expenses_value:[null,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.expenseannual.splice(i,1); \r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busExpensecalculat(index,details)\r\n {\r\n \r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let expenseValue = details.value.expense_value;\r\n let UOM = details.value.rate_per_unit;\r\n \r\n let annual\r\n if(expenseValue!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (expenseValue*250);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (expenseValue);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (expenseValue*12);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busExpense};\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.expenseannual[index] = val.annual_expenses_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n })\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[data.pd_expense_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\r\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedHouseholdPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-household',\r\n templateUrl: 'pd-question-assessed-household.html',\r\n})\r\nexport class PdQuestionAssessedHouseholdPage {\r\n\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n houseExpenseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n houseannual: any =[];\r\n grandHouseExpenseTotal: any=[];\r\n houseHoldForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.houseExpenseDetails = this.navParams.get('FormId');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.houseHoldForm = this.fb.group(\r\n {\r\n houseExpense:this.fb.array([]),\r\n });\r\n if(this.expenseDetails !=null)\r\n {\r\n this.getHouseholdExpense(this.expenseDetails);\r\n }else\r\n {\r\n this.addHouseExpenses();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n createHouseExpense()\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[null],\r\n\t\t fk_pd_id:[this.pdDetails.pd_id] ,\r\n\t\t expense_item: [null,Validators.compose([Validators.required])],\r\n\t\t expense_value: [null,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\r\n\t\t annual_expense_value: [null,Validators.compose([Validators.required])],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n\r\n addHouseExpenses()\r\n {\r\n \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n\r\n control.push(this.createHouseExpense());\r\n }\r\n\r\n deleteHouseExpense(i)\r\n {\r\n this.houseannual.splice(i,1); \r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n control.removeAt(i) \r\n }\r\n houseExpensecalculat(index,details)\r\n {\r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let expenseValue = details.value.expense_value;\r\n // let UOM = details.value.rate_per_unit;\r\n // console.log(frequencyId,purchaseQty,UOM,index);\r\n // console.log(details);\r\n let annual\r\n if(expenseValue!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (expenseValue*250);\r\n this.houseannual[index] = annual;\r\n details.controls['annual_expense_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (expenseValue);\r\n this.houseannual[index] = annual;\r\n details.controls['annual_expense_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (expenseValue*12);\r\n this.houseannual[index] = annual;\r\n details.controls['annual_expense_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n console.log(this.grandHouseExpenseTotal); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n saveHouseExpenseData(answerData)\r\n {\r\n if(this.houseHoldForm.valid)\r\n {\r\n let records = {'records':answerData.houseExpense};\r\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n getHouseholdExpense(houseExpesneDetails)\r\n {\r\n if(houseExpesneDetails.length==0)\r\n {\r\n this.addHouseExpenses(); \r\n }else\r\n {\r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \r\n houseExpesneDetails.forEach((val,index)=>\r\n {\r\n this.houseannual[index] = val.annual_expense_value;\r\n control.push(this.createHouseholdwithData(val));\r\n \r\n });\r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createHouseholdwithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[data.household_expense_id],\r\n\t\t fk_pd_id:[this.pdDetails.pd_id] ,\r\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\r\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\r\n\t\t annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business-income',\r\n templateUrl: 'pd-question-assessed-business-income.html',\r\n})\r\nexport class PdQuestionAssessedBusinessIncomePage {\r\n m_freqOfPurchase: any = [];\r\n expenseDetails: any;\r\n \r\n grandIncomeTotal: any=[];\r\n incomeannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessIncome:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('income');\r\n \r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busIncome:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\r\n }\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[null,Validators.compose([Validators.required])],\r\n income_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_income_value:[null,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[null],\r\n other_frequncy_item:[null],\r\n })\r\n }\r\n\r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.incomeannual.splice(i,1); \r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busIncomecalculate(index,details)\r\n {\r\n \r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let incomeValue = details.value.income_value;\r\n // let UOM = details.value.rate_per_unit;\r\n \r\n let annual:any;\r\n if(incomeValue!=null && incomeValue !=null){\r\n let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \r\n if(frequencyId==1)\r\n {\r\n \r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual); \r\n }else if(frequencyId==2)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual); \r\n }else if(frequencyId==3)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual);\r\n }else if(frequencyId==4)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual);\r\n }else if(frequencyId==5)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual);\r\n }else if(frequencyId==6)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual); \r\n }else if(frequencyId==7)\r\n {\r\n annual = (incomeValue*frequency_factor.mutiple_factor);\r\n this.incomeannual[index] = annual;\r\n details.controls['annual_income_value'].setValue(annual); \r\n }else if(frequencyId==8)\r\n {\r\n annual = (incomeValue);\r\n this.incomeannual[index] = annual; \r\n details.controls['annual_income_value'].setValue(annual); \r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busIncome};\r\n \r\n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.incomeannual[index] = val.annual_income_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n })\r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[data.pd_business_income_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\r\n income_value:[data.income_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[data.other_income_item],\r\n other_frequncy_item:[data.other_frequncy_item],\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionLenderRepresentativePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-lender-representative',\r\n templateUrl: 'pd-question-lender-representative.html',\r\n})\r\nexport class PdQuestionLenderRepresentativePage {\r\n\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n representativeForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.users = this.aws.getlocale();\r\n this.representativeForm = this.fb.group({\r\n pdid:[this.pdDetails.pd_id],\r\n formid:[this.FormId.form_id],\r\n fk_createdby:[this.users],\r\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\r\n representative_remarks: ['', Validators.compose([Validators.required])],\r\n lender_representative_details: this.fb.array([]),\r\n });\r\n this.getLenderReDetails();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\r\n }\r\n \r\n createlenReDetails()\r\n {\r\n return this.fb.group({\r\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\r\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\r\n });\r\n }\r\n\r\n selectedLoanChanges(e): void {\r\n if (e.value == 'Yes') {\r\n const control = this.representativeForm.controls['lender_representative_details'];\r\n control.push(this.createlenReDetails());\r\n } else if (e.value == 'No') {\r\n const arr = this.representativeForm.controls.lender_representative_details;\r\n arr.removeAt(0);\r\n }\r\n }\r\n\r\n sumbitData(answerData)\r\n { \r\n if(this.representativeForm.valid)\r\n {\r\n let records = this.representativeForm.value;\r\n \r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n });\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getLenderReDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let lenderReDetails = res['records'];\r\n if(lenderReDetails.lender_representative_accompany=='Yes'){\r\n\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n\r\n\r\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\r\n {\r\n return res['records'].lender_representative_details[key];\r\n });\r\n \r\n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \r\n lender_represent_details.forEach(val=>\r\n {\r\n control.push(this.createlenReDetails());\r\n })\r\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\r\n\r\n }else\r\n {\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n }\r\n }\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\r\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { DatePipe} from '@angular/common';\r\nimport {PdPipe} from './../../../pipes/pd/pd';\r\nimport { removeSummaryDuplicates } from '@angular/compiler';\r\nimport { DataSource } from '@angular/cdk/table';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-info',\r\n templateUrl: 'pd-question-general-info.html',\r\n providers:[PdPipe],\r\n})\r\nexport class PdQuestionGeneralInfoPage {\r\n pipe=new DatePipe('en-US');\r\n // person_name:any;\r\n qualification_name:any;\r\n individuals_order_id:any;\r\n is_new:any;\r\n pd_co_applicant_id:any;\r\n lengthv:any;\r\n qual_name:any;\r\n curr_qualification_name;\r\n curr_business_name;\r\n \r\n\r\n applicant_name: any;\r\n otherapp: any;\r\n fetch_related_details: any = [];\r\n checkApplicantExist: any;\r\n pd_applicants_details: any = [];\r\n companyRelationShipList: any;\r\n qualificationList:any;\r\n businessEntityTypeList:any;\r\n relationShipList: any;\r\n titleList:any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n generalForm:FormGroup;\r\n list_value:FormArray;\r\n fulldata:any\r\n public buttonClick:boolean;\r\n public h_companies:boolean\r\n \r\n datav:any;\r\n individualsListBothCase:any;\r\n individualsList:any;\r\n companyList:any;\r\n i:number;\r\n data_all:any;\r\n maxDate:any;\r\n OldData:any=[];\r\n OldData_indi:any=[];\r\n updateIndex_indi:any;\r\n public addComp:boolean\r\n public addIndi:boolean\r\n updateIndex_comp: any;\r\n@ViewChild('remark') nameField: ElementRef;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController) {\r\n this.maxDate = new Date();\r\n this.pd_applicants_details = []; \r\n this.pd_applicants_details.pop(); \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdDetails)\r\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\r\n //this.maxDate=new Date(get_max_date)\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.users = this.aws.getlocale();\r\n this.getdropdown();\r\n \r\n this.generalForm = this.fb.group({\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n applicant_list: this.fb.array([]),\r\n applicant_relation: this.fb.array([]),\r\n list_value:this.fb.array([]),\r\n company_value:this.fb.array([]),\r\n individuals:this.fb.array([]),\r\n companies:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n company_with_relationships:this.fb.array([]),\r\n \r\n general_remark:''\r\n });\r\n \r\n //this.initIndividuals();\r\n this.pd_applicants_details = this.pdDetails.applicat_details;\r\n \r\n \r\n \r\n // this.getcoapplicantDetails();\r\n this.buttonClick=false;\r\n this.h_companies=false;\r\n this.addIndi=false\r\n this.addComp=false\r\n // this.initCompanies()\r\n this.datav=[{\r\n name:\"fairoj\",\r\n id:1\r\n },\r\n {\r\n name:\"ff\",\r\n id:2\r\n }\r\n \r\n ]\r\n //this.fulldata=this.generalForm.value\r\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['list_value'];\r\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\r\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\r\n this.fulldata=control.value;\r\n //control.controls.length\r\n //control.push()\r\n });\r\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['company_value'];\r\n this.companyList=control.value.filter(element=>element.company_name )\r\n })\r\n this.i=0;\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n // this.pd_applicants_details.pop();\r\n console.log('ionViewDidLoad PdQuestionGeneralInfoPage');\r\n this.getGeneralForm()\r\n \r\n }\r\n ionViewLoaded() {\r\n\r\n // setTimeout(() => {\r\n // this.generalForm.controls['general_remark']['controls'].setFocus();\r\n // },150);\r\n }\r\n\r\n initlistv(data,purpose) :void\r\n {\r\n const control=this.generalForm.controls['list_value'];\r\n console.log(\"control\",control.length)\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[control.length+1],\r\n is_new:true,\r\n is_active:true,\r\n pd_co_applicant_id:[control.length+1], \r\n \r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n if(purpose=='get'){\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[val.individuals_order_id],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n pd_co_applicant_id:[val.pd_co_applicant_id] , \r\n \r\n \r\n \r\n \r\n\r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n}\r\n\r\n qualificationById(data):string{\r\n for(let i of this.qualificationList){\r\n if(data==i.qualification_id){\r\n this.qual_name=i.qualification_name\r\n return this.qual_name\r\n }\r\n }\r\n \r\n }\r\n initCompanyValue(data,purpose):void{\r\n const control=this.generalForm.controls['company_value'];\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n \r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n // company_order_id:[this.lengthv.companies.length+1],\r\n company_order_id:[control.length+1],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:true,\r\n is_active:true,\r\n company_messrs_name:['M/s'],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n if(purpose=='get')\r\n {\r\n for(let val of data)\r\n {\r\n \r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n company_order_id:[val.company_order_id],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n company_messrs_name:[val.company_messrs_name],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n }\r\n businessEntityById(val):string{\r\n for(let v of this.businessEntityTypeList){\r\n if(val==v.business_entity_type_id){\r\n var name=v.business_entity_type_name\r\n return name\r\n }\r\n }\r\n \r\n }\r\n \r\n\r\n initIndividuals(data):void{\r\n \r\n const control=this.generalForm.controls['individuals'];\r\n control.controls=[]\r\n if(data==null){\r\n let formData : FormGroup=this.fb.group({\r\n applicant_name:['',Validators.required],\r\n is_person_met:false,\r\n is_applicant:false,\r\n age:['',Validators.required],\r\n qualification:['',Validators.required],\r\n course_name:[''],\r\n applicant_title_name:['']\r\n\r\n });\r\n control.push(formData);\r\n }\r\n else{\r\n let formData : FormGroup=this.fb.group({\r\n \r\n \r\n applicant_name:[data.applicant_name,Validators.required],\r\n is_person_met:data.is_person_met,\r\n is_applicant:data.is_applicant,\r\n age:[data.age,Validators.required],\r\n qualification:[data.qualification,Validators.required],\r\n course_name:[data.course_name],\r\n applicant_title_name:[data.applicant_title_name]\r\n \r\n \r\n });\r\n this.buttonClick=!this.buttonClick;\r\n control.push(formData);\r\n\r\n }\r\n \r\n \r\n \r\n \r\n }\r\n initCompanies(data):void{\r\n const control=this.generalForm.controls['companies'];\r\n control.controls=[]\r\n if(data == null){\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[''],\r\n is_company_applicant:false,\r\n business_entity_type:[''],\r\n business_entity_type_other:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_date_object:['']\r\n });\r\n control.controls=[]\r\n control.push(formData)\r\n \r\n }\r\n else{\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[data.company_name],\r\n is_company_applicant:data.is_company_applicant,\r\n business_entity_type:[data.business_entity_type],\r\n business_entity_type_other:[data.business_entity_type_other],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_date_object:[data.business_date_object]\r\n })\r\n this.h_companies=!this.h_companies\r\n \r\n control.push(formData)\r\n }\r\n }\r\n initPersonRelationship(value):void{\r\n const control=this.generalForm.controls['persons_with_relationships'];\r\n if(value=='')\r\n {\r\n \r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[''],\r\n applicant_name:[''],\r\n relationship:[''],\r\n relation_to:[''],\r\n individuals_order_id:[control.length+1],\r\n \r\n });\r\n \r\n control.push(formData);\r\n }\r\n else{\r\n for(let val of value)\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[val.pd_co_applicant_id],\r\n applicant_name:[val.applicant_name],\r\n relationship:[val.relationship],\r\n relation_to:[val.relation_to],\r\n });\r\n \r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n initCompanyRelationShip(value):void{\r\n if(value=='')\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[''],\r\n company_relationship:[''],\r\n relation_to_company:[''],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n else{\r\n for(let val of value){\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[val.applicant_name],\r\n company_relationship:[val.company_relationship],\r\n relation_to_company:[val.relation_to_company],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n\r\n \r\n \r\n add():void{\r\n \r\n this.initIndividuals(null);\r\n }\r\ndata:any;\r\ncart=[];\r\ndatajson:any;\r\ndataobj:any;\r\n\r\n addRec(v){\r\n if(v=='1')\r\n {\r\n this.addIndi=true;\r\n this.buttonClick=!this.buttonClick;\r\n this.initIndividuals(null);\r\n }\r\n if(v=='2')\r\n {\r\n console.log(\"companies\",this.h_companies);\r\n this.addComp=true\r\n // this.h_companies=true;\r\n this.h_companies=!this.h_companies;\r\n console.log(\"companies\",this.h_companies);\r\n this.initCompanies(null);\r\n }\r\n }\r\n editIndividuals(index){\r\n let values=this.generalForm.controls.list_value.value[index]\r\n console.log(values)\r\n this.addIndi=false\r\n this.updateIndex_indi=index;\r\n this.initIndividuals(values);\r\n // this.nameField.nativeElement.focus();\r\n\r\n }\r\n editCompanies(index){\r\n console.log(\"index\",index);\r\n let values=this.generalForm.controls.company_value.value[index]\r\n console.log(values)\r\n this.updateIndex_comp=index\r\n this.addComp=false\r\n //this.\r\n this.initCompanies(values)\r\n }\r\n update(v){\r\n console.log(\"index\",v)\r\n if(v=='1'){\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\r\n }\r\n else{\r\n let val=this.generalForm.controls.individuals.value[0]\r\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\r\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\r\n // const control=this.list_value\r\n var c_qualification_name=this.qualificationById(val.qualification) \r\n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\r\n control.patchValue({\r\n \r\n applicant_title_name:val.applicant_title_name,\r\n applicant_name:val.applicant_name,\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:val.age,\r\n qualification:val.qualification,\r\n course_name:val.course_name,\r\n \r\n individuals_order_id:old.individuals_order_id,\r\n is_new:old.is_new,\r\n is_active:old.is_active,\r\n pd_co_applicant_id:old.pd_co_applicant_id, \r\n \r\n qualification_name:c_qualification_name\r\n });\r\n this.buttonClick=false;\r\n console.log(this.generalForm.controls.list_value['controls'])\r\n // this.generalForm.controls.list_value.value.scrollToTop();\r\n // this.generalForm.controls['list_value']._scrollContent;\r\n //this.myinput._scrollContent();\r\n \r\n \r\n console.log(\"values\",val)\r\n console.log(\"old\",old);\r\n console.log(control);\r\n \r\n }\r\n }\r\n else if(v=='2'){\r\n if(!this.generalForm.controls['companies'].valid)\r\n {\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\r\n }\r\n else{\r\n let val=this.generalForm.controls.companies.value[0]\r\n var c_business_name=this.businessEntityById(val.business_entity_type)\r\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\r\n control.patchValue({\r\n company_name:val.company_name,\r\n // company_order_id:[control.length+1],\r\n is_company_applicant:val.is_company_applicant,\r\n business_entity_type:val.business_entity_type,\r\n business_entity_type_other:val.business_entity_type_other,\r\n // is_new:true,\r\n // is_active:true,\r\n //company_messrs_name:['M/s'],\r\n \r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_date_object:val.business_date_object,\r\n\r\n business_entity_type_name:c_business_name\r\n })\r\n this.h_companies=false\r\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\r\n }\r\n }\r\n \r\n\r\n }\r\n \r\n delete(v):void{\r\n // const control=this.generalForm.controls['individuals'];\r\n //control.removeAt(i);\r\n //this.data=this.generalForm.value.individuals;\r\n this.cart.push(this.generalForm.value.individuals);\r\n this.data=Object.assign(this.cart);\r\n // this.data=Object.assign(this.generalForm.value.individuals)\r\n this.datajson=JSON.stringify(this.cart)\r\n if(v=='1')\r\n {\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initlistv(this.generalForm.value.individuals,'ins')\r\n this.initPersonRelationship('');\r\n }\r\n }\r\n else if(v=='2')\r\n {\r\n if(!this.generalForm.controls['companies'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initCompanyValue(this.generalForm.value.companies,'ins')\r\n }\r\n }\r\n \r\n }\r\n removeList(i,index){\r\n if(index=='1')\r\n {\r\n //For List List_value(Individuals)\r\n const control=this.generalForm.controls['list_value'];\r\n control.value[i].is_active=false;\r\n this.OldData_indi.push(control.value[i])\r\n control.removeAt(i);\r\n //For Person RelationShip auto Delete\r\n const control1=this.generalForm.controls['persons_with_relationships'];\r\n control1.removeAt(i);\r\n \r\n }\r\n if(index==2){\r\n //For Company_values(Companies)\r\n const control=this.generalForm.controls['company_value']\r\n control.value[i].is_active=false\r\n var vla=control.value[i]\r\n this.OldData.push(vla);\r\n control.removeAt(i);\r\n \r\n\r\n // let control: any = this.generalForm.get('companies') as FormArray;\r\n //this.generalForm.controls['companies']\r\n //control.controls['is_active'].setValue(false);\r\n //control.controls[i].clearValidators();\r\n //control.controls[i].updateValueAndValidity();\r\n //control.clear\r\n // control.controls[i].is_active.setValue(false);\r\n /* control.controls[i].controls.company_name.clearValidators();\r\n control.controls[i].controls.company_name.updateValueAndValidity();\r\n control.controls[i].controls.business_years.clearValidators();\r\n control.controls[i].controls.business_years.updateValueAndValidity();\r\n control.controls[i].controls.business_entity_type.clearValidators();\r\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\r\n }\r\n if(index==\"companyrel\")\r\n {\r\n //For company_relationship\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.removeAt(i);\r\n }\r\n }\r\n \r\n \r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\r\n if(res['dataStatus']==true)\r\n {\r\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\r\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\r\n });\r\n\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.titleList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n }\r\n\r\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\r\n {\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n if(checkApplicantExist.length > 0)\r\n {\r\n checkApplicantExist.forEach(val => {\r\n applicantControl.push(this.createApplicant(val));\r\n });\r\n \r\n }\r\n if(exist_applicant_relation.length > 0){\r\n exist_applicant_relation.forEach(val => {\r\n relationControl.push(this.createApplicantRelation(val));\r\n //push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }\r\n }\r\n\r\n createApplicant(elementValue:any){\r\n return this.fb.group({\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name],\r\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\r\n });\r\n }\r\n\r\n coapplicantChange(event,index,item)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n if(item.exist_status.value)\r\n {\r\n if(item.pd_co_applicant_id.value==0){\r\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\r\n modal.onDidDismiss(data => {\r\n if(data!=1){\r\n data.otherName.forEach(val=>\r\n {\r\n\r\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n \r\n }\r\n });\r\n modal.present();\r\n }else\r\n {\r\n \r\n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(item.applicant_name.value);\r\n }\r\n }\r\n else\r\n {\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let pos_id = relationControl.value.map(e=> \r\n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\r\n if(item.pd_co_applicant_id.value !=0){\r\n relationControl.removeAt(pos_id);\r\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\r\n this.fetch_related_details.splice(pos_name, 1); \r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n }\r\n // remove related to details\r\n \r\n }\r\n\r\n }\r\n\r\n createApplicantRelation(elementValue: any) {\r\n return this.fb.group({\r\n \r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\r\n company_relationship: [elementValue.company_relationship],\r\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\r\n relationship: [elementValue.relationship],\r\n });\r\n }\r\n // temparr=[];\r\n removereferance(index)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n \r\n \r\n relationControl.removeAt(index);\r\n // this.temparr = [];\r\n \r\n }\r\n // createApplicateOthers()\r\n // {\r\n // return this.fb.group(\r\n // {\r\n // Name:\r\n // })\r\n // }\r\n ConvertMonthintoYearforBusiness(e,controlIndex){\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control = control.controls[controlIndex];\r\n let business_year = control.controls.business_years.value;\r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n control.controls.business_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\ngetDateObjects(values: any, controlIndex) {\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control.controls['business_years']=''\r\n control.controls['business_month']=''\r\n control = control.controls[controlIndex];\r\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\r\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\r\n let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\r\n let diff: number = Math.floor(diffInMs / 1000);\r\n diff /= (60 * 60 * 24 * 30);\r\n diff=Math.abs(Math.round(diff));\r\n control.controls['business_years'].setValue(0);\r\n control.controls['business_month'].setValue(0);\r\n \r\n if(diff){\r\n control.controls['business_years'].setValue(Math.floor(diff / 12));\r\n control.controls['business_month'].setValue(Math.floor(diff % 12));\r\n }\r\n\r\n}\r\n submitData(answerData)\r\n {\r\n \r\n let saveRecords:any={}\r\n var valuesData_indi:any=[]\r\n\r\n var valuesData:any=[]\r\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\r\n return answerData.list_value[key]\r\n })\r\n existData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n if(this.OldData_indi.length>0){\r\n this.OldData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n }\r\n\r\n var existData=Object.keys(answerData.company_value).map(function(key){\r\n return answerData.company_value[key]\r\n })\r\n existData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n if(this.OldData.length>0){\r\n this.OldData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n }\r\n \r\n saveRecords.individuals=valuesData_indi;\r\n saveRecords.companies=valuesData\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.fk_createdby=this.users;\r\n \r\n \r\n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\r\n saveRecords.company_with_relationships=answerData.company_with_relationships\r\n saveRecords.general_remark=answerData.general_remark;\r\n \r\n \r\n \r\n \r\n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\r\n if(dataResult['dataStatus']==true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Error');\r\n }\r\n })\r\n \r\n /* Old Data\r\n if(this.generalForm.valid)\r\n {\r\n let saveRecords:any = {}\r\n let applicantList:any=[];\r\n let applicantRelationList:any=[];\r\n // this for applicant list for selected\r\n answerData.applicant_list.forEach((element,key) => {\r\n if(element.exist_status==1){\r\n applicantList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n }) \r\n }\r\n });\r\n // this is for selected applicant relation \r\n answerData.applicant_relation.forEach((element,key) => {\r\n applicantRelationList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n \"company_name\":element.company_name,\r\n \"company_relationship\":element.company_relationship,\r\n \"applicant_relation_to\":element.applicant_relation_to,\r\n \"relationship\":element.relationship,\r\n }) \r\n });\r\n \r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.general_remark=answerData.general_remark;\r\n saveRecords.selected_applicant=applicantList;\r\n saveRecords.applicant_relation=applicantRelationList;\r\n saveRecords.fk_createdby = this.users;\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n } \r\n })\r\n }*/\r\n }\r\n\r\n getGeneralForm()\r\n {\r\n let records={'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n this.data_all=res['records'];\r\n var exist_companies:any;\r\n let companyControl = this.generalForm.get('companies') as FormArray;\r\n companyControl.controls=[]\r\n this.lengthv=this.data_all;\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n \r\n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\r\n //\r\n\r\n var arrlist_indi:any=[] \r\n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\r\n return res['records'].individuals[key];\r\n }) \r\n if(exist_individuals.length>0){\r\n exist_individuals.forEach((element)=>{\r\n if(element.is_active != false){\r\n arrlist_indi.push(element);\r\n }\r\n else{\r\n this.OldData_indi.push(element)\r\n }\r\n })\r\n }\r\n this.initlistv(arrlist_indi,'get')\r\n \r\n \r\n \r\n\r\n var arraylis:any=[]\r\n exist_companies=Object.keys(res['records'].companies).map(function(key){\r\n return res['records'].companies[key];\r\n })\r\n if(exist_companies.length>0){\r\n exist_companies.forEach((element,cindex)=>{\r\n if(element.is_active!=false){\r\n arraylis.push(element);\r\n }\r\n else{\r\n this.OldData.push(element);\r\n }\r\n })\r\n \r\n }\r\n this.initCompanyValue(arraylis,'get');\r\n \r\n if(this.data_all.persons_with_relationships != ''){\r\n this.initPersonRelationship(this.data_all.persons_with_relationships);\r\n }\r\n\r\n if(this.data_all.company_with_relationships != ''){\r\n this.initCompanyRelationShip(this.data_all.company_with_relationships);\r\n }\r\n \r\n }\r\n else{\r\n this.pd_applicants_details.forEach((datas,index)=>{\r\n datas.is_applicant=true,\r\n datas.is_person_met = false;\r\n datas.is_new = false;\r\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\r\n datas.is_active = true;\r\n datas.individuals_order_id = index + 1;\r\n // company_order_id = index+1,\r\n datas.age = '',\r\n datas.qualification = '',\r\n datas.course_name = ''\r\n if (datas.company_name != '' && datas.company_name != null) {\r\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true }\r\n companyControl.push(this.createCompanies(setCompanyValues))\r\n }\r\n });\r\n // this.lengthv.push(\"individuals\")\r\n // this.lengthv.push(\"companies\")\r\n // this.lengthv.push('persons_with_relationships')\r\n //this.lengthv.push(\"\")\r\n console.log(\"applicant\",this.lengthv)\r\n this.initlistv(this.pd_applicants_details,'get');\r\n this.initPersonRelationship(this.pd_applicants_details)\r\n // this.initCompanyValue(this.pd_applicants_details,'get');\r\n this.initCompanyRelationShip('')\r\n\r\n }\r\n })\r\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n let generalDetails = res['records'];\r\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\r\n\r\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\r\n {\r\n return res['records'].applicant_relation[key];\r\n });\r\n\r\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\r\n {\r\n return res['records'].selected_applicant[key].pd_co_applicant_id;\r\n });\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\r\n let checkApplicantExist =actual_applicant.map((id, index) => {\r\n if (selected_applicant.indexOf(id) < 0) {\r\n this.pd_applicants_details[index].exist_status=0;\r\n return this.pd_applicants_details[index];\r\n }\r\n else{\r\n this.pd_applicants_details[index].exist_status=1;\r\n this.pd_applicants_details[index].applicant_relation_to='';\r\n this.pd_applicants_details[index].relation='';\r\n return this.pd_applicants_details[index];\r\n }\r\n }).filter(item => item != undefined);\r\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\r\n }else\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n }\r\n })*/\r\n }\r\n createCompanies(elementValue:any) {\r\n return this.fb.group({\r\n company_order_id: [elementValue.company_order_id],\r\n company_name: [elementValue.company_name,],\r\n company_messrs_name: ['M/s'],\r\n is_company_applicant:[elementValue.is_company_applicant],\r\n business_entity_type :[elementValue.business_entity_type,Validators.required],\r\n business_years: [elementValue.business_years, Validators.required],\r\n business_month: [elementValue.business_month],\r\n business_date_object: [elementValue.business_date_object],\r\n is_active: [elementValue.is_active],\r\n is_new:[elementValue.is_new],\r\n \r\n });\r\n }\r\n \r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-other-applicant',\r\n templateUrl: 'pd-question-general-other-applicant.html',\r\n})\r\nexport class PdQuestionGeneralOtherApplicantPage {\r\n otherForm:FormGroup;\r\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\r\n this.otherForm = this.fb.group(\r\n {\r\n otherName:this.fb.array([]),\r\n })\r\n this.addmore();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\r\n }\r\n\r\n createName(elementValue:any)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name, Validators.required],\r\n })\r\n }\r\n\r\n addmore()\r\n {\r\n if(this.otherForm.valid)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n control.push(this.createName(this.applicantInfo));\r\n }\r\n }\r\n\r\n deleteappdata(index)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n if(control.length==1){\r\n control.reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n closeModal(){\r\n this.viewCtrl.dismiss(1); \r\n }\r\n submitData(answerData)\r\n {\r\n if(this.otherForm.valid){\r\n this.viewCtrl.dismiss(this.otherForm.value);\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n/**\r\n * Generated class for the PdPipe pipe.\r\n *\r\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\r\n */\r\n@Pipe({\r\n name: 'pdPipe',\r\n})\r\nexport class PdPipe implements PipeTransform {\r\n /**\r\n * Takes a value and makes it lowercase.\r\n */\r\n transform(value: any, searchItem:any):any {\r\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\r\n if(findExistIndex.length>0){\r\n let check = value.filter(function(fVal){\r\n return !findExistIndex.some(function(sVal){\r\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\r\n }\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionNeighbourHoodPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-neighbour-hood',\r\n templateUrl: 'pd-question-neighbour-hood.html',\r\n})\r\nexport class PdQuestionNeighbourHoodPage {\r\n\r\n frequency: any;\r\n relationBusiness: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n neighbourhoodForm:FormGroup;\r\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\r\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\r\n {'id': 2,'name': \"Negative\"},\r\n {'id': 3,'name': \"Insufficient information provided\"}];\r\n\r\n amtInWords:any=[];\r\n applicants:any;\r\n isDisplay:any = [];\r\n isDisplay2:any = [];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder, public constant: ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2);\r\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\r\n this.neighbourhoodForm = this.fb.group(\r\n {\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n check_type:0,\r\n neighbourhood_list: this.fb.array([]),\r\n neighbourhood_status:[''],\r\n referencecheck_list: this.fb.array([]),\r\n neighbour_reference_remark:'' \r\n })\r\n this.users = this.aws.getlocale();\r\n this.getneighbourhood();\r\n \r\n this.getdropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console .log('ionViewDidLoad PdQuestionNeighbourHoodPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n inWords(val,i)\r\n {\r\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\r\n }\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e,flag){\r\n if(flag == 2){\r\n\r\n let year = itemrow.controls.year_relation_applicant.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\r\n }\r\n else if(flag == 1){\r\n \r\n let year = itemrow.controls.how_long_do_know_in_year.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\r\n }\r\n}\r\n\r\ntoggleVisibility(e,index,flag){ \r\n let val\r\n \r\n if(flag == 1){\r\n this.isDisplay[index] = e;\r\n }\r\n else if(flag==2){\r\n this.isDisplay2[index] = e;\r\n }\r\n}\r\n\r\ncheckOthers(values){\r\n if(values!=null) {\r\n return values==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n}\r\n\r\n createreferance()\r\n {\r\n return this.fb.group({\r\n reference_name: [null],\r\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n statecode:[null],\r\n landline: [null],\r\n location:[null],\r\n relationship_with:[null],\r\n others:[null],\r\n year_relation_applicant:[null],\r\n months_relation_applicant:[null],\r\n business_volume_amount:[null],\r\n business_volume_unit:[null],\r\n others_unit:[null],\r\n reference_final_remarks:[null],\r\n specify_final_remark:[null]\r\n });\r\n }\r\n addreferance()\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n control.push(this.createreferance());\r\n }\r\n\r\n removereferance(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n createNeighbourhood(){\r\n return this.fb.group({\r\n neighbourhood_name: [null],\r\n do_know: [''],\r\n \r\n how_long_do_know_in_year: [''],\r\n how_long_do_know_in_month:[''],\r\n organisation_owner: [''],\r\n is_applicant_owner:[''],\r\n other_organisation_owner:[''],\r\n did_not_know_the_business_operation:[''],\r\n did_not_know_the_owner:[''],\r\n });\r\n }\r\n\r\n addneighbourhood()\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n control.push(this.createNeighbourhood());\r\n }\r\n\r\n removeneighbourhood(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n submitData(answerData)\r\n {\r\n \r\n \r\n \r\n let saveRecords:any = {}\r\n let referencecheck_list:any=[];\r\n let neighbourhood_list:any=[];\r\n if(answerData.check_type==0){\r\n answerData.neighbourhood_list.forEach((element,key) => {\r\n neighbourhood_list.push({\r\n \"neighbourhood_name\":element.neighbourhood_name,\r\n \"do_know\":element.do_know,\r\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\r\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\r\n \"is_applicant_owner\":element.is_applicant_owner,\r\n \"organisation_owner\":element.organisation_owner,\r\n \"other_organisation_owner\":element.other_organisation_owner,\r\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\r\n \"did_not_know_the_owner\":element.did_not_know_the_owner\r\n }) \r\n });\r\n saveRecords.neighbourhood_list=neighbourhood_list;\r\n \r\n }\r\n else{\r\n // this for referencecheck_list for selected\r\n answerData.referencecheck_list.forEach((element,key) => {\r\n referencecheck_list.push({\r\n \"reference_name\":element.reference_name,\r\n \"mobile\":element.mobile,\r\n \"landline\":element.statecode+'-'+element.landline,\r\n \"location\":element.location,\r\n \"relationship_with\":element.relationship_with,\r\n \"others\":element.others,\r\n \"year_relation_applicant\":element.year_relation_applicant,\r\n \"months_relation_applicant\":element.months_relation_applicant,\r\n \"business_volume_amount\":element.business_volume_amount,\r\n \"business_volume_unit\":element.business_volume_unit,\r\n \"others_unit\":element.others_unit,\r\n \"reference_final_remarks\":element.reference_final_remarks,\r\n \"specify_final_remark\":element.specify_final_remark\r\n }) \r\n });\r\n saveRecords.referencecheck_list=referencecheck_list;\r\n \r\n }\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.check_type=answerData.check_type;\r\n saveRecords.fk_createdby = this.users;\r\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\r\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\r\n\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n })\r\n \r\n }\r\n\r\n getneighbourhood()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \r\n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let neighbourDetails = res['records'];\r\n // neighbourDetails.neighbourhood_list.=''\r\n \r\n if(neighbourDetails.check_type==0)\r\n {\r\n \r\n this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\r\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\r\n {\r\n return res['records'].neighbourhood_list[key];\r\n });\r\n neighbourhood_list.forEach((element,index)=>\r\n {\r\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\r\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\r\n neicontrol.push(this.createNeighbourhood());\r\n });\r\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\r\n \r\n\r\n }else\r\n {\r\n this.addneighbourhood();\r\n }\r\n if(neighbourDetails.check_type==1)\r\n {\r\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\r\n {\r\n return res['records'].referencecheck_list[key];\r\n });\r\n this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n referencecheck_list.forEach((val,index)=>\r\n {\r\n let statecodesearch = val.landline.search(\"-\");\r\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\r\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\r\n control.push(this.createreferance());\r\n this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\r\n });\r\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\r\n \r\n }else\r\n {\r\n this.addreferance();\r\n }\r\n }else\r\n {\r\n this.addneighbourhood();\r\n this.addreferance();\r\n }\r\n })\r\n }\r\n\r\n\r\n}\r\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,Validators} from '@angular/forms';\r\n// import { t } from '@angular/core/src/render3';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionFinalRemarkPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-final-remark',\r\n templateUrl: 'pd-question-final-remark.html',\r\n})\r\nexport class PdQuestionFinalRemarkPage {\r\n\r\n m_remarkTypeCustomerBehaviour:any=[];\r\n\r\n users:any;\r\n pdDetails:any;\r\n pdid:any;\r\n FormId:any;\r\n _finalRemarkForm:FormGroup;\r\n m_recommendationList: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder, public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=aws.getlocale()\r\n \r\n this._finalRemarkForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n pdid:[this.pdid],\r\n formid:[this.FormId.form_id],\r\n final_custormer_remark_type:[null],\r\n final_other_customer_behaviour:[null],\r\n is_service_provided:[null],\r\n final_form_remarks:[null],\r\n pd_officers_recommendation:[null],\r\n others_pd_officers_recommendation:[''],\r\n reason_for_positive:[''],\r\n reason_for_negative:[''],\r\n reason_for_refer_to_credit:[''],\r\n \r\n })\r\n this.getDropDown();\r\n \r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\r\n this.getFinalRemark();\r\n }\r\ngetDropDown(){\r\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\r\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\r\n })\r\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\r\n this.m_recommendationList=res['records']\r\n })\r\n}\r\nRecommendationChange(e){\r\n // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 1){\r\n \r\n // }\r\n // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 3){\r\n \r\n // }\r\n // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 4){\r\n \r\n // }\r\n \r\n if(e==1){\r\n \r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]); \r\n\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_positive'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_positive'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_negative'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_negative'].setValue('');\r\n\r\n }\r\n if(e==2){\r\n \r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n \r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\r\n\r\n this._finalRemarkForm.controls['reason_for_negative'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_negative'].setValue('');\r\n\r\n\r\n }\r\n if(e==3){\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue('');\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators();\r\n\r\n this._finalRemarkForm.controls['reason_for_positive'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_positive'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\r\n \r\n }\r\n if(e==4){\r\n \r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\r\n\r\n this._finalRemarkForm.controls['reason_for_positive'].clearValidators();\r\n this._finalRemarkForm.controls['reason_for_positive'].setValue('');\r\n\r\n this._finalRemarkForm.controls['reason_for_negative'].setValue('');\r\n this._finalRemarkForm.controls['reason_for_negative'].clearValidators();\r\n\r\n }\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n this._finalRemarkForm.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n this._finalRemarkForm.controls['reason_for_positive'].updateValueAndValidity();\r\n this._finalRemarkForm.controls['reason_for_negative'].updateValueAndValidity(); \r\n}\r\n getFinalRemark(){\r\n let saveRecords={'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\r\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\r\n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\r\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\r\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\r\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\r\n this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\r\n this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\r\n this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\r\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\r\n }\r\n })\r\n }\r\n saveFinalRemark(){\r\n if(this._finalRemarkForm.invalid){\r\n return\r\n }\r\n else{\r\n var answerData=this._finalRemarkForm.value\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n this.qustcat.saveForm(answerData).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n this.navCtrl.pop();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n });\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessGroupPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-group',\r\n templateUrl: 'pd-question-business-group.html',\r\n})\r\nexport class PdQuestionBusinessGroupPage {\r\n \r\n FormId: any;\r\n pdDetails: any = [];\r\n existCompanyList: any = [];\r\n waitLoading:boolean;\r\n\r\n constructor(public navCtrl: NavController, \r\n public navParams: NavParams,\r\n public qustCat:QuestionCategoryProvider){\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.getCompanyListForBusiness();\r\n\r\n }\r\n \r\n /** To Get General Form's Company List */\r\n getCompanyListForBusiness(): void{\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList = data.records.filter(val =>val.is_active);\r\n this.waitLoading = true;\r\n }\r\n else {\r\n this.waitLoading = false;\r\n }\r\n })\r\n }\r\n\r\n /** To Get Related Form Details */\r\n OnSelectBusinessGroupForms(details: any, company: any) {\r\n \r\n this.pdDetails.company_id = company.company_order_id;\r\n this.pdDetails.company_name = company.company_name;\r\n this.pdDetails.business_entity_type = company.business_entity_type;\r\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\r\n this.pdDetails.business_years = company.business_years;\r\n this.pdDetails.business_month = company.business_month;\r\n \r\n if(details.form_id==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n if(details.form_id==2){\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==11){\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==13){\r\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==14){\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==15){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==21){\r\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==22){\r\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n\r\n\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { FormBuilder, FormGroup,FormArray, Validators, FormControl } from '@angular/forms';\r\nimport { createPipe } from '@angular/compiler/src/core';\r\nimport { elementAt } from 'rxjs/operators';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-info',\r\n templateUrl: 'pd-question-business-info.html',\r\n})\r\nexport class PdQuestionBusinessInfoPage {\r\n stateList:any=[];\r\n users: any;formdetails:any;\r\n FormId: any;\r\n pdDetails: any;\r\n businessForm:FormGroup;\r\n applicants:any=[];\r\n businessEntityTypeList: any ={\r\n business_entity_type_id:String,\r\n business_entity_type_name:String,\r\n sourcsection_labeleName:String\r\n }; \r\n generalExistEntityType:string\r\n generalExistEntityType_other:string;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n pdid:any;\r\n step:number\r\n\r\n relationData: any = [];\r\n industryData: any = [];\r\n activityData: any = [];\r\n relativeNames: any;\r\n companyRelationShipList:any=[]\r\n countryDataList:any=[]\r\n exist_status:any;\r\n \r\n filterCityList : any = [];\r\n errorMessage:any=[];\r\n appxSalaryAmtInwords:any;\r\n titleData:any=[]\r\n personsList:any=[]\r\n \r\n ManufacturingChecked: boolean;\r\n RetailedChecked: boolean;\r\n WholeSalesChecked: boolean;\r\n ServiceChecked: boolean;\r\n ExportFlag: boolean=false;\r\n bankList: any=[];\r\n temp_additiondetailofposmachine:any=[]\r\n isreadonlyyear: any=[];\r\n isreadonlymonth: any=[];\r\n EntityTypeFlag:boolean=false\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.getStateCityDet();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n \r\n this.formdetails = this.navParams.get('formDetails');\r\n \r\n this.FormId = this.formdetails.form_id;\r\n this.users = this.aws.getlocale();\r\n \r\n this.applicants=this.pdDetails.applicat_details;\r\n \r\n this.generalExistEntityType=this.pdDetails.business_entity_type\r\n this.generalExistEntityType_other=this.pdDetails.business_entity_type_other\r\n this.generalExistBusinessYear=this.pdDetails.business_years\r\n this.step=0\r\n \r\n \r\n \r\n // this.initBusinessForm();\r\n // this.getBuisnessDetails();\r\n \r\n this.businessForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n pdid:[this.pdid],\r\n formid:[this.FormId],\r\n company_id: this.pdDetails.company_id,\r\n partners:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n select_business_activity_type:this.fb.array([]),\r\n manufacturing_activity_details:this.fb.array([]),\r\n retail_trading_activity_details:this.fb.array([]),\r\n wholesale_trading_activity_details:this.fb.array([]),\r\n service_provider_activity_details:this.fb.array([]),\r\n others_activity_details:this.fb.array([]),\r\n export_sale_of_total_sales:[''],\r\n //applicant_use_mobile_wallets:[''],\r\n //applicant_use_pos_machines:[''],\r\n seasonality:[''],\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n employees_appx_salary:[''],\r\n was_the_company_name_board_sighted:['',Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n shop_eat_act_cert: [''],\r\n gst_Regn_cert: [''],\r\n //export_import_cert: [''],\r\n // factory_cert: [''],\r\n //practice_cert: [''],\r\n pf_regn: [''],\r\n esic_regn: [''],\r\n other_documents: [''],\r\n documents: this.fb.array([]),\r\n business_remarks:['']\r\n\r\n\r\n\r\n \r\n })\r\n this.getdropdown();\r\n \r\n// this.initBusinessForm();\r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\r\n \r\n \r\n \r\n }\r\n getdropdown() {\r\n \r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.relationData.push(val);\r\n }\r\n })\r\n });\r\n \r\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.industryData.push(val);\r\n }\r\n })\r\n });\r\n \r\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\r\n this.activityData.push(val);\r\n }\r\n })\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data=>{\r\n let filterList = data['records'].filter(val=>val.business_entity_type_id==this.generalExistEntityType);\r\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id==1;\r\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id!=1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\r\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id!=1 ? filterList[0].section_label : this.generalExistEntityType_other;\r\n \r\n if(this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship'){ \r\n this.EntityTypeFlag = true;\r\n }\r\n\r\n\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data=>{\r\n this.companyRelationShipList=data['records'].filter(val=>val.isactive==1);\r\n \r\n });\r\n \r\n \r\n \r\n this.qustCat.getcommondrop('COUNTRY').subscribe(data=>{\r\n this.countryDataList=data['records'].filter(val=>val.isactive==1);\r\n \r\n });\r\n this.qustCat.getcommondrop('TITLES').subscribe(data=>{\r\n this.titleData=data['records'].filter(val=>val.isactive==1);\r\n })\r\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data=>{\r\n if(data.dataStatus){\r\n \r\n this.personsList=data['record'].filter(val=>val.applicant_type==1)\r\n \r\n }\r\n })\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data=>{\r\n this.bankList=data['records'].filter(val=>val.isactive ==1 && val.lender_type == 1);\r\n })\r\n \r\n}\r\ngetStateCityDet(){\r\nthis.qustCat.getStateCityDetails().subscribe(data=>{\r\n \r\n\r\n this.stateList=data.records\r\n \r\n this.getDetails();\r\n });\r\n \r\n \r\n}\r\nchangeOfStartedBusiness(members,i,e){\r\n if(e == 'yes'){\r\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\r\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\r\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\r\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\r\n }\r\n else{\r\n this.isreadonlyyear[i] =false;\r\n this.isreadonlymonth[i] = false;\r\n }\r\n }\r\n getDetails(){\r\n \r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = 13\r\n params.company_id = this.pdDetails.company_id;\r\n this.qustCat.retiverForm(params).subscribe(data=>{\r\n let businessVal=data['records']\r\n let constVal: any;\r\n \r\n \r\n const Partnr:any = this.businessForm.controls['partners'];\r\n \r\n const control1:any = this.businessForm.controls['persons_with_relationships'];\r\n \r\n const business_activity:any = this.businessForm.controls['select_business_activity_type'];\r\n \r\n const manufacture_details:any= this.businessForm.controls['manufacturing_activity_details'];\r\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\r\n const wholesaleControl:any=this.businessForm.controls['wholesale_trading_activity_details'];\r\n const serviceProviderControl:any=this.businessForm.controls['service_provider_activity_details'];\r\n const othersControl:any=this.businessForm.controls['others_activity_details'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n //retailControl.push(this.manufactureDetails());\r\n //manufacture_details.push(this.manufactureDetails())\r\n \r\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\r\n //india_sales.push(this.indiaSalesDone())\r\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\r\n // country_sale.push(this.createCountrySale());\r\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\r\n //max_sale_state.push(this.maxSaleState())\r\n\r\n if(data['status']==200){\r\n let DocArray: any;\r\n let PartnrArray=Object.keys(data['records'].partners).map(function(key){\r\n return data['records'].partners[key];\r\n })\r\n \r\n if(PartnrArray.length==0){\r\n Partnr.push(this.createPartners())\r\n }\r\n else{\r\n PartnrArray.forEach((datas,key) => {\r\n Partnr.push(this.createPartners());\r\n if(datas.partner_name=='Others') {\r\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\r\n }\r\n if(parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\r\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else {\r\n Partnr.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n });\r\n }\r\n if(data['records'].persons_with_relationships){\r\n let PartnrArray1=Object.keys(data['records'].persons_with_relationships).map(function (key){\r\n return data['records'].persons_with_relationships[key];\r\n })\r\n if(PartnrArray1.length>0){\r\n PartnrArray1.forEach((datas,key)=>{\r\n control1.push(this.createRelationShip());\r\n })\r\n businessVal.persons_with_relationships=PartnrArray1\r\n \r\n }\r\n else{\r\n //control1.push(this.createRelationShip());\r\n businessVal.persons_with_relationships=[]\r\n }\r\n }\r\n else{\r\n businessVal.persons_with_relationships=[]\r\n \r\n }\r\n \r\n\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{document: ''}];\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n businessVal.pdid = this.pdid;\r\n businessVal.formid = 13;\r\n businessVal.company_id = this.pdDetails.company_id;\r\n businessVal.fk_createdby = this.users;\r\n //businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n // businessVal.persons_with_relationships=PartnrArray1\r\n businessVal.documents=DocArray\r\n \r\n if(businessVal.employees_appx_salary){\r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\r\n }\r\n \r\n \r\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\r\n // this.businessForm.setValue(businessVal);\r\n //this.businessForm.value.seasonality\r\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id}))\r\n let exist_activity_data: any=[];\r\n if(data['records'].select_business_activity_type){\r\n exist_activity_data=Object.keys(data['records'].select_business_activity_type).map(function(key) {\r\n return data['records'].select_business_activity_type[key].type_of_activity_id;\r\n });\r\n }\r\n \r\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\r\n let check_exist_businees_activity =actual_businees_activity.map((id, index) => {\r\n if (exist_activity_data.indexOf(id) < 0) {\r\n activityData[index].exist_status=0;\r\n return activityData[index];\r\n }\r\n else{\r\n activityData[index].exist_status=1;\r\n return activityData[index];\r\n }\r\n }).filter(item => item != undefined);\r\n \r\n if(check_exist_businees_activity.length > 0)\r\n {\r\n check_exist_businees_activity.forEach((val,index) => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\r\n \r\n });\r\n \r\n businessVal.select_business_activity_type=check_exist_businees_activity;\r\n }\r\n // business_activity.push(this.createBusinessActivity())\r\n \r\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\r\n \r\n if(data['records'].manufacturing_activity_details){\r\n let selectedManufacturing=Object.keys(data['records'].manufacturing_activity_details).map(function(key){\r\n return data['records'].manufacturing_activity_details[key];\r\n });\r\n if(selectedManufacturing.length>0){\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n \r\n selectedManufacturing.forEach((element,index)=>{\r\n manufacture_details.push(this.manufactureDetails())\r\n if(element.area_of_sale=='Within India'){\r\n manufacture_details.controls[index].addControl('india_where_sale_done',this.fb.array([]))\r\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n })\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n \r\n }\r\n });\r\n businessVal.manufacturing_activity_details=selectedManufacturing;\r\n \r\n \r\n }\r\n else{\r\n \r\n businessVal.manufacturing_activity_details=[];\r\n }\r\n }\r\n else{\r\n \r\n businessVal.manufacturing_activity_details=[];\r\n }\r\n \r\n if(data['records'].retail_trading_activity_details){ \r\n\r\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\r\n return data['records'].retail_trading_activity_details[key];\r\n });\r\n if(selectedRetail.length > 0) {\r\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedRetail.forEach((element,index)=>{\r\n retailControl.push(this.manufactureDetails());\r\n if(element.area_of_sale=='Within India'){\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n });\r\n businessVal.retail_trading_activity_details=selectedRetail;\r\n }\r\n else{\r\n businessVal.retail_trading_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.retail_trading_activity_details=[];\r\n }\r\n \r\n\r\n // update whole sale details\r\n if(data['records'].wholesale_trading_activity_details){ \r\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\r\n return data['records'].wholesale_trading_activity_details[key];\r\n });\r\n if(selectedWholesale.length > 0) {\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedWholesale.forEach((element,index)=>{\r\n wholesaleControl.push(this.manufactureDetails());\r\n if(element.area_of_sale=='Within India'){\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n \r\n });\r\n businessVal.wholesale_trading_activity_details=selectedWholesale;\r\n }\r\n else{\r\n businessVal.wholesale_trading_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.wholesale_trading_activity_details=[];\r\n\r\n } \r\n \r\n \r\n if(data['records'].service_provider_activity_details){\r\n let selectedService=Object.keys(data['records'].service_provider_activity_details).map(function (key){\r\n return data['records'].service_provider_activity_details[key];\r\n })\r\n if(selectedService.length > 0) {\r\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n \r\n selectedService.forEach((element,index)=>{\r\n \r\n serviceProviderControl.push(this.manufactureDetails());\r\n \r\n if(element.area_of_sale=='Within India'){\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n \r\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n\r\n \r\n }\r\n });\r\n \r\n \r\n businessVal.service_provider_activity_details=selectedService;\r\n \r\n }\r\n else{\r\n businessVal.service_provider_activity_details=[];\r\n \r\n } \r\n }\r\n else {\r\n businessVal.service_provider_activity_details=[];\r\n\r\n }\r\n \r\n if(data['records'].others_activity_details){ \r\n\r\n // update others activity details\r\n let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\r\n return data['records'].others_activity_details[key];\r\n });\r\n if(selectedOthers.length > 0) {\r\n selectedOthers.forEach((element,index)=>{\r\n othersControl.push(this.createOthersActivity());\r\n });\r\n businessVal.others_activity_details=selectedOthers;\r\n }\r\n else{\r\n businessVal.others_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.others_activity_details=[];\r\n\r\n } \r\n \r\n // dynamically add form group control\r\n if(data['dataStatus']){\r\n \r\n if(data['records'].seasonality.toUpperCase()=='YES'){\r\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\r\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)); }\r\n\r\n } \r\n\r\n // this.businessForm.controls['partners'].setValue(PartnrArray);\r\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\r\n \r\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\r\n if(businessVal.applicant_use_pos_machines == 'yes'){\r\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\r\n const posControl: any = this.businessForm.controls['pos_machines_details'];\r\n for(let i = 1; i<= businessVal.no_of_pos_machines; i++ ){\r\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\r\n }\r\n }\r\n \r\n this.businessForm.setValue(businessVal);\r\n \r\n \r\n }\r\n else{\r\n Partnr.push(this.createPartners());\r\n control1.push(this.createRelationShip())\r\n \r\n //otherDoc.push(this.createDocument());\r\n\r\n // find business activity type businees activity type list\r\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id,exist_status:0}))\r\n if(activityData.length > 0)\r\n {\r\n activityData.forEach(val => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n });\r\n }\r\n\r\n }\r\n})\r\n // change business sessional\r\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\r\n val.toUpperCase()=='YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\r\n val.toUpperCase()=='YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\r\n });\r\n \r\n \r\n }\r\n\r\n filterCity(datasource: any,filterid:number) {\r\n \r\n \r\n if(filterid){\r\n let filter = this.stateList.filter(x=>x.state_id==filterid);\r\n return filter.length > 0 ? filter[0].cities : [];\r\n }\r\n}\r\n\r\n // filter max sale options\r\n filterMaxSaleState(datasource: any,filterValues:any){\r\n this.filterCityList = filterValues;\r\n if(filterValues){\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n let getStateValues = filterValues.filter(val =>val.state_name).map(mapVal => mapVal.state_name);\r\n let setStateFilter: any=[];\r\n setStateFilter = getStateValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n return datasource[findIndex];\r\n });\r\n return setStateFilter.length > 0 ? setStateFilter : [];\r\n }\r\n }\r\n filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \r\n let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\r\n existCities = [].concat.apply([], existCities);\r\n if(filterValues){\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n \r\n let setCityFilter = filterValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n findIndex = datasource[findIndex].cities;\r\n return findIndex;\r\n });\r\n \r\n let merged = [].concat.apply([], setCityFilter);\r\n \r\n if(merged.length>0){\r\n let check: any = merged.filter(function(fVal){\r\n return existCities.some(function(sVal){\r\n return fVal.city_id==sVal;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return [];\r\n }\r\n }\r\n else {\r\n return [];\r\n }\r\n}\r\n\r\n\r\ncheckTotalEmployee(FormData){\r\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent ||0)+(+FormData.value.employees_temporary||0));\r\n }\r\n checkWithExistBusinessYear(e,i){\r\n if(e > this.generalExistBusinessYear){\r\n this.errorMessage[i] = \"Higher than Business Vintage\";\r\n }\r\n else{\r\n this.errorMessage[i] = '';\r\n }\r\n }\r\n\r\n// businees activity type change event\r\nchangeBusinessActivity(event: any){\r\n \r\n if(event.value.exist_status==true && event.value.type_of_activity_id==2){\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.controls = [];\r\n manufacturingControl.setValue([]); \r\n \r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==2){\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n \r\n \r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==3){\r\n this.RetailedChecked=event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.controls = [];\r\n retailControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==3){\r\n this.RetailedChecked=event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==4){\r\n this.WholeSalesChecked=event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.controls = [];\r\n wholesaleControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==4){\r\n this.WholeSalesChecked=event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==5){\r\n this.ServiceChecked=event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.controls = [];\r\n serviceControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==5){\r\n this.ServiceChecked=event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n }\r\n\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==1){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.controls = [];\r\n othersControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.push(this.createOthersActivity());\r\n }\r\n // check activity type for make dosument sighted filed dynamically\r\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n // check activity for extra question make dynamic\r\n \r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n\r\n if(this.ManufacturingChecked && this.RetailedChecked && this.WholeSalesChecked && this.ServiceChecked){\r\n this.ExportFlag = false;\r\n }\r\n}\r\n\r\n\r\nchangeManufacturingAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n // change retail options\r\n changeRetailAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n// change whole options\r\nchangeWholesaleAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n// change service provider \r\nchangeServiceArea(getDetails: any, getIndex) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n\r\nchangePanIndiaOptions(type,selectedIndex,value) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n \r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==3){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==4){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n}\r\n\r\n // update partner group other form control\r\n changePartnerGroup(value,key) {\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n value=='Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\r\n }\r\n\r\n createDesignation(): FormGroup {\r\n return this.fb.group({\r\n sec_name: ['', Validators.compose([Validators.required])],\r\n sec_designation: ['', Validators.compose([Validators.required])],\r\n });\r\n}\r\nkeyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n getWorkExperience(event, key) {\r\n let current_experience = event.current_business_experiance_year=='' ? 0 : parseInt(event.current_business_experiance_year);\r\n let total_experience = event.total_business_experiance=='' ? 0 : parseInt(event.total_business_experiance);\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n if(total_experience > current_experience) {\r\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else if(total_experience < current_experience) {\r\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n\r\n else {\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n // let total ;\r\n // if(control.length > 0){\r\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\r\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\r\n // this.businessForm.controls.business_years.updateValueAndValidity();\r\n // }\r\n}\r\nConvertMonthintoYear(itemrow,e){\r\n\r\n let year = itemrow.controls.current_business_experiance_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n\r\n\r\n\r\ncreatePartners(): FormGroup {\r\n return this.fb.group({\r\n partner_name: ['', Validators.compose([Validators.required])],\r\n // partner_other_name:[''],\r\n shareholding:[''],\r\n started_business:[''],\r\n current_business_experiance_year:[''],\r\n current_business_experiance_month:[''],\r\n total_business_experiance:[''],\r\n total_business_previous_experience:['']\r\n /* shareholding: ['', Validators.compose([Validators.required])],\r\n current_business_experiance: ['', Validators.compose([Validators.required])],\r\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\r\n });\r\n}\r\ncreateRelationShip(): FormGroup {\r\n return this.fb.group({\r\n family_member_salutation:[''],\r\n family_member_name:[''],\r\n other_family_relationship_id:[''],\r\n relation_to_id:[''],\r\n relationship_with_company_id:[''],\r\n started_business:['']\r\n });\r\n}\r\ncreateBusinessActivity(details):FormGroup {\r\n return this.fb.group({\r\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\r\n name: [details.name, Validators.compose([Validators.required])],\r\n exist_status:[details.exist_status==1 ? true : false]\r\n });\r\n}\r\ncreateServiceActivity(): FormGroup {\r\n return this.fb.group({\r\n main_products: ['', Validators.compose([Validators.required])],\r\n area_of_sale: ['', Validators.compose([Validators.required])],\r\n description: ['']\r\n });\r\n}\r\ncreateOthersActivity(): FormGroup {\r\n return this.fb.group({\r\n others_details: ['', Validators.compose([Validators.required])]\r\n });\r\n}\r\nmanufactureDetails():FormGroup{\r\n return this.fb.group({\r\n main_products:[''],\r\n area_of_sale:[''],\r\n description:['']\r\n // pan_india_options:[''],\r\n // india_where_sale_done:this.fb.array([]),\r\n //max_sale_state_name:this.fb.array([]),\r\n //countries_where_export_done:this.fb.array([])\r\n })\r\n}\r\nindiaSalesDone():FormGroup{\r\n return this.fb.group({\r\n state_name:[''],\r\n city_name:['']\r\n })\r\n}\r\nmaxSaleState():FormGroup{\r\n return this.fb.group({\r\n state_name:[''],\r\n city_name:['']\r\n })\r\n}\r\ncreateDocument() {\r\n return this.fb.group({\r\n document: ['']\r\n });\r\n}\r\naddDesignation() {\r\n const control = this.businessForm.controls['designation'];\r\n control.push(this.createDesignation());\r\n}\r\ndeleteDesignation(index) {\r\n const control = this.businessForm.controls['designation'];\r\n if(control.length==1){\r\n this.businessForm.controls['designation'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\naddPartnerDetails(event) {\r\n const control = this.businessForm.controls['partners'];\r\n event.stopPropagation()\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createPartners());\r\n}\r\naddPersonRelationship(event){\r\n event.stopPropagation()\r\n const control=this.businessForm.controls['persons_with_relationships']\r\n let length=control.length\r\n this.step=length\r\n control.push(this.createRelationShip());\r\n}\r\ndeletePersonRelationship(index){\r\n const control=this.businessForm.controls['persons_with_relationships'];\r\n control.removeAt(index)\r\n}\r\ndeletePartnerDetails(index) {\r\n const control = this.businessForm.controls['partners'];\r\n if(control.length==1){\r\n this.businessForm.controls['partners'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\naddMoreManufacturing() {\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n}\r\nremoveManufacturing(index){\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n if(manufacturingControl.length>1){\r\n manufacturingControl.removeAt(index)\r\n }\r\n else{\r\n manufacturingControl.reset();\r\n }\r\n}\r\naddMoreRetail(){\r\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n}\r\nremoveRetail(index){\r\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\r\n if(retailControl.length>1){\r\n retailControl.removeAt(index)\r\n }\r\n else{\r\n retailControl.reset();\r\n }\r\n}\r\naddMoreWholesale() {\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n}\r\nremoveWholesale(index){\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n if(wholesaleControl.length>1){\r\n wholesaleControl.removeAt(index)\r\n }\r\n else{\r\n wholesaleControl.reset();\r\n }\r\n}\r\naddMoreServiceprovider() {\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n}\r\nremoveServiceProvider(index){\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n if(serviceControl.length>1){\r\n serviceControl.removeAt(index)\r\n }\r\n else{\r\n serviceControl.reset();\r\n }\r\n}\r\naddMoreOthersActivity(){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.push(this.createOthersActivity());\r\n}\r\ncreateCountrySale() {\r\n return this.fb.group({\r\n country_name: ['',Validators.compose([Validators.required])],\r\n approx_sale: ['', Validators.compose([Validators.required])]\r\n }); \r\n}\r\n\r\naddMoreState(mindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n \r\n\r\n}\r\nremoveState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n\r\naddRetailMoreState(rindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n}\r\nremoveRetailState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n// add more whole sale state\r\naddWholesaleMoreState(windex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n\r\n}\r\n// remove for whole sale\r\nremoveWholesaleState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n // add more service provider\r\n addServiceMoreState(sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n }\r\n \r\n // remove service provider\r\n\r\nremoveServiceState(mindex,sindex,type){\r\n if(type==1){\r\n let control:any=this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control=control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control1:any=this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control1=control1.controls[mindex].get('countries_where_export_done') as FormArray\r\n control1.removeAt(sindex)\r\n }\r\n}\r\naddDocuments() {\r\n const control = this.businessForm.controls['documents'];\r\n control.push(this.createDocument());\r\n}\r\ndeleteDocuments(index) {\r\n const control = this.businessForm.controls['documents'];\r\n if(control.length==1){\r\n this.businessForm.controls['documents'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\n\r\nrelationChanged(event) {\r\n this.relativeNames = [];\r\n event.value.forEach(option => {\r\n this.relativeNames.push({member: option});\r\n });\r\n}\r\ncreatePOSMachinesDetails(data){\r\n if(data==null){\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [''],\r\n tid_no_of_pos_machine: [''],\r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\r\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\r\n })\r\n }\r\n}\r\n\r\n public initBusinessForm(): void {\r\n this.businessForm = this.fb.group({\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId.form_id,\r\n fk_createdby: this.users,\r\n profession_name: ['', Validators.compose([Validators.required])],\r\n business_years: ['', Validators.compose([Validators.required])],\r\n industry: ['', Validators.compose([Validators.required])],\r\n type_of_activity: ['', Validators.compose([Validators.required])],\r\n seasonality: ['', Validators.compose([Validators.required])],\r\n designation: this.fb.array([]),\r\n partners: this.fb.array([]),\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n officer_permanent: ['', Validators.compose([Validators.required])],\r\n officer_temporary: ['', Validators.compose([Validators.required])],\r\n invested_amount: ['', Validators.compose([Validators.required])],\r\n working_capital: ['', Validators.compose([Validators.required])],\r\n is_service_provided: ['', Validators.compose([Validators.required])],\r\n ownership_setup: ['', Validators.compose([Validators.required])],\r\n ownership_others: [''],\r\n rent_paid: [''],\r\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\r\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\r\n export_import_cert: ['', Validators.compose([Validators.required])],\r\n factory_cert: ['', Validators.compose([Validators.required])],\r\n practice_cert: ['', Validators.compose([Validators.required])],\r\n pf_regn: ['', Validators.compose([Validators.required])],\r\n esic_regn: ['', Validators.compose([Validators.required])],\r\n other_documents: ['', Validators.compose([Validators.required])],\r\n documents: this.fb.array([]),\r\n business_remarks: ['', Validators.compose([Validators.required])],\r\n who_started: ['', Validators.compose([Validators.required])],\r\n main_person: ['', Validators.compose([Validators.required])],\r\n other_main_person: [''],\r\n family_members_involved: ['', Validators.compose([Validators.required])],\r\n before_business: ['', Validators.compose([Validators.required])],\r\n any_delays: ['', Validators.compose([Validators.required])],\r\n });\r\n}\r\n\r\nsubmitDetails() {\r\n\r\n if(this.EntityTypeFlag == true){\r\n let control: any = this.businessForm.controls['partners'];\r\n let control2:any = control.controls[0];\r\n\r\n control2.controls['shareholding'].clearValidators();\r\n control2.controls['shareholding'].updateValueAndValidity();\r\n control2.controls['shareholding'].setValue('100');\r\n\r\n \r\n // control.controls[0].removeControl('shareholding');\r\n // control.controls[0].removeControl('started_business');\r\n // control.controls[0].removeControl('current_business_experiance_year');\r\n // control.controls[0].removeControl('current_business_experiance_month');\r\n // control.controls[0].removeControl('total_business_experiance');\r\n \r\n control2.controls['started_business'].setValue('');\r\n\r\n control2.controls['current_business_experiance_year'].clearValidators();\r\n control2.controls['current_business_experiance_year'].updateValueAndValidity();\r\n control2.controls['current_business_experiance_year'].setValue('');\r\n\r\n control2.controls['current_business_experiance_month'].setValue('');\r\n\r\n control2.controls['total_business_experiance'].clearValidators();\r\n control2.controls['total_business_experiance'].updateValueAndValidity();\r\n control2.controls['total_business_experiance'].setValue('');\r\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\r\n // control2.controls['total_business_previous_experience'].clearValidators();\r\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\r\n // control2.controls['total_business_previous_experience'].setValue('0');\r\n // }\r\n\r\n }\r\n\r\n \r\n let family: any = [];\r\n \r\n let design: any;\r\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\r\n let records:any;\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId;\r\n // records.fk_createdby = this.users;\r\n records=this.businessForm.value;\r\n\r\n //if(records.persons_with_relationships=='')\r\n if (records.other_documents == 'no') {\r\n delete records.documents;\r\n }\r\n if (records.rent_paid == '') {\r\n delete records.rent_paid;\r\n }\r\n if (records.ownership_others == '') {\r\n delete records.ownership_others;\r\n }\r\n // records.family_members_involved = this.relativeNames;\r\n \r\n\r\n let validationFlag : number = 0;\r\n\r\n //type 1: Checking manufacturing_activity_details \r\n if(records.manufacturing_activity_details.length > 0){\r\n\r\n records.manufacturing_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale!= \"Within India\"){ \r\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n \r\n }\r\n\r\n //type 3 checking wholesale_trading_activity_details\r\n if(records.wholesale_trading_activity_details.length > 0){\r\n\r\n records.wholesale_trading_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){ \r\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n //type 2 checking retail_trading_activity_details\r\n if(records.retail_trading_activity_details.length > 0){\r\n\r\n records.retail_trading_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){ \r\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n\r\n //type 4 checking service_provider_activity_details\r\n if(records.service_provider_activity_details.length > 0){\r\n\r\n records.service_provider_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){\r\n \r\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n //validationFlag is greater then 0 means its display the notifer as warning\r\n if(validationFlag > 0){\r\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\r\n return;\r\n }\r\n\r\n records.select_business_activity_type = records.select_business_activity_type.filter(value=>value.exist_status==1);\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n });\r\n}\r\n getBuisnessDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}; \r\n this.qustCat.retiverForm(records).subscribe(data => {\r\n let businessVal = data['records'];\r\n \r\n let constVal: any;\r\n const Desgn = this.businessForm.controls['designation'];\r\n const Partnr = this.businessForm.controls['partners'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n\r\n if (data['status'] == 200) {\r\n let DocArray: any;\r\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\r\n return data['records'].designation[key];\r\n });\r\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\r\n return data['records'].partners[key];\r\n });\r\n\r\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\r\n return data['records'].family_members_involved[key];\r\n });\r\n let enduse: any = [];\r\n let existRelative: any =[];\r\n selectedMembers.forEach(val => {\r\n enduse.push(val.member);\r\n existRelative.push(val);\r\n });\r\n this.relativeNames = existRelative;\r\n if (DesgnArray.length == 0) {\r\n Desgn.push(this.createDesignation());\r\n } else {\r\n DesgnArray.forEach(datas => {\r\n Desgn.push(this.createDesignation());\r\n });\r\n \r\n }\r\n if (PartnrArray.length == 0) {\r\n Partnr.push(this.createPartners());\r\n } else {\r\n PartnrArray.forEach(datas => {\r\n Partnr.push(this.createPartners());\r\n });\r\n }\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{document: ''}];\r\n otherDoc.push(this.createDocument());\r\n }\r\n if (data['records'].ownership_setup != 'others') {\r\n businessVal.ownership_others = '';\r\n }\r\n if (data['records'].ownership_setup != 'rented') {\r\n businessVal.rent_paid = '';\r\n }\r\n businessVal.family_members_involved = enduse;\r\n businessVal.pdid = this.pdDetails.pd_id;\r\n businessVal.formid = this.FormId.form_id;\r\n businessVal.fk_createdby = this.users;\r\n businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n businessVal.documents = DocArray;\r\n\r\n this.businessForm.setValue(businessVal);\r\n } else {\r\n Desgn.push(this.createDesignation());\r\n Partnr.push(this.createPartners());\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n });\r\n }\r\n setStep(index: number) {\r\n this.step = index;\r\n}\r\ninWords(e,flag){\r\n switch(flag){\r\n case 1 : \r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n }\r\n }\r\n ManufacturingCounterArray: any = [];\r\nRetailCounterArray: any = [];\r\nWholeSaleCounterArray: any = [];\r\nServiceCounterArray: any = [];\r\n\r\n CheckExport(value,stringFlag,index){\r\n //this.ExportFlag=false\r\n const parentControl = this.businessForm.controls['select_business_activity_type'];\r\n const childControl = parentControl.controls[0];\r\n\r\n\r\n // childControl.forEach((datas,index) => {\r\n \r\n \r\n // // exist_status==true && event.value.type_of_activity_id\r\n\r\n // });\r\n\r\n \r\n\r\n \r\n \r\n if(!this.ManufacturingChecked){\r\n if(stringFlag == 'MActivity' && value != \"Within India\"){\r\n this.ManufacturingCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'MActivity' && value != \"Within India\"){\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n }else if (this.ManufacturingChecked && stringFlag == 'MActivity'){\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n\r\n if(!this.RetailedChecked){ \r\n if(stringFlag == 'RActivity' && value != \"Within India\"){\r\n this.RetailCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'RActivity' && value != \"Within India\"){\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n }\r\n else if(stringFlag == 'RActivity' && this.RetailedChecked){\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n\r\n if(!this.WholeSalesChecked){\r\n if(stringFlag == 'WActivity' && value != \"Within India\"){\r\n this.WholeSaleCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'WActivity' && value != \"Within India\"){\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n }\r\n else if(stringFlag == 'WActivity' && this.WholeSalesChecked){\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n \r\n if(!this.ServiceChecked){\r\n \r\n if(stringFlag == 'SPActivity' && value != \"Within India\")\r\n { \r\n this.ServiceCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'SPActivity' && value != \"Within India\"){\r\n this.ServiceCounterArray[index] = 0;\r\n }\r\n\r\n }else if(stringFlag == 'SPActivity'){\r\n this.ServiceCounterArray[index] = 0;\r\n } \r\n\r\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n\r\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter ;\r\n \r\n\r\n this.ExportFlag = overallCounter > 0 ? true : false ;\r\n\r\n}\r\ntoGetPOSMachinesDetails(e,flag){\r\n\r\n if(flag == 1){ this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\r\n const control = this.businessForm.controls['pos_machines_details'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n if(flag == 1){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n control.push(this.createPOSMachinesDetails(null));\r\n }\r\n }\r\n else if(flag == 2){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\r\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessAssetsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-assets',\r\n templateUrl: 'pd-question-business-assets.html',\r\n})\r\nexport class PdQuestionBusinessAssetsPage {\r\n currentYear:any=new Date().getFullYear();\r\n\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n\r\n company_id:any;\r\n pdDetails:any;\r\n formDetails : any;\r\n users:any;\r\n _businessAssetsQuesFrom:FormGroup;\r\n m_assets_type:any;\r\n m_propertyType:any;\r\n AssetValueInwords:any=[];\r\n appxMarketAmtInwords:any=[];\r\n RentAmtInwords:any=[]\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any=[]\r\n applicants:any;\r\n data_all:any;\r\n CustSegAbbr: any;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n yearErrorMessage: any=[];\r\n monthErrorMessage: any=[];\r\n addressLabel: any=[];\r\n placeholderName : any = []\r\n m_address_type:any=[]\r\n pageTitle: string;\r\n main_applicant: any;\r\n lender_applicant_id: any;\r\n subproduct_abbr: any;\r\n customer_segment_abbr: any;\r\n RentAmtInwordsForAddress: any =[];\r\n appxMarketAmtInwordsForAddress: any =[];\r\n isOtherOwnerForAddress : boolean = false;\r\n isOtherOwner: boolean = false;\r\n public m_vehicle_type = [];\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,public cons:ConstantsProvider,public toast:ToastProvider) {\r\n \r\n \r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users=this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n this.generalExistBusinessYear = this.pdDetails.business_years;\r\n this.generalExistBusinessMonth = this.pdDetails.business_month;\r\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\r\n this.main_applicant = this.pdDetails.applicant_name;\r\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\r\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.getDropDown()\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\r\n this.getDetails()\r\n //this.getAddress()\r\n }\r\n getAddress(){\r\n let params:any={};\r\n params.pd_id=this.pdDetails.pd_id;\r\n params.pd_form_id='5'\r\n\r\n this.qustcat.retiverForm(params).subscribe(data => {\r\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n if(data['status'] == 200) {\r\n \r\n \r\n if(data['records'].addresses.length > 0){\r\n data['records'].addresses.forEach((data,inx)=>{\r\n\r\n \r\n this.addressLabel[inx] = '';\r\n \r\n let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\r\n let address = data.address;\r\n let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\r\n \r\n this.placeholderName[inx] = 'Was any business activity seen at the '+addressType+' during PD visit?';\r\n let addressLabel = \" : \"+address+' / '+addressType ;\r\n let values={\r\n address_label:addressLabel,\r\n business_years: '',\r\n business_month: '',\r\n business_address_availability: '',\r\n business_is_pd_visited: '',\r\n business_pd_visited_remark: '', \r\n business_approximate_market_value: '',\r\n business_ownership_type: '',\r\n business_monthly_rented_amt: '',\r\n business_name_of_the_owner: '',\r\n business_name_of_the_other_owner: '',\r\n business_vintage: '',\r\n business_purchase_year: '',\r\n business_emi: ''\r\n }\r\n control.push(this.initBusinessDetailsWithdata(values));\r\n })\r\n }\r\n else{\r\n control.push(this.initBusinessDetails())\r\n }\r\n }\r\n else{\r\n control.push(this.initBusinessDetails());\r\n }\r\n });\r\n }\r\n getDropDown(){\r\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\r\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\r\n data => {\r\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\r\n })\r\n \r\n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\r\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\r\n \r\n })\r\n\r\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\r\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\r\n })\r\n\r\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\r\n \r\n }\r\n \r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n })\r\n\r\n \r\n \r\n }\r\n apiLoadFinish:boolean=false\r\n getDetails(){\r\n let params:any={};\r\n params.pd_id=this.pdDetails.pd_id\r\n params.company_id=this.company_id\r\n params.pd_form_id=22\r\n this.qustcat.retiverForm(params).subscribe(res=>{\r\n \r\n if(res['dataStatus']==true){\r\n \r\n //this.data_all=res['records']\r\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\r\n return res['records'].business_assets_details[key]\r\n });\r\n \r\n //this.formLoadData(assestArray)\r\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\r\n if(assestArray.length>0){\r\n for(let val of assestArray){\r\n let formData={\r\n business_assets_mode: val.business_assets_mode,\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\r\n }\r\n }*/\r\n this.formLoadData(res['records'])\r\n }\r\n\r\n \r\n else{\r\n this.formLoadData(null);\r\n }\r\n this.apiLoadFinish=true\r\n \r\n \r\n })\r\n //this.formLoadData(null);\r\n \r\n }\r\n \r\n formLoadData(data){\r\n if(data==null){\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n \r\n business_assets_for_address: this.fb.array([]),\r\n //this.createBusinessAssetsForAddress(),\r\n business_assets_details : this.fb.array([\r\n this.initBusinessDetails(),\r\n ]),\r\n business_assets_form_remark:['']\r\n });\r\n this.getAddress();\r\n this.loadDetails=true;\r\n }\r\n else{\r\n \r\n let value=data;\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n // business_years:[value.business_years],\r\n // business_month:[value.business_month],\r\n // business_address_availability:[value.business_address_availability],\r\n // business_is_pd_visited:[value.business_is_pd_visited],\r\n // business_pd_visited_remark:[value.business_pd_visited_remark],\r\n business_assets_for_address: this.fb.array([]),\r\n business_assets_details : this.fb.array([]),\r\n business_assets_form_remark:[value.business_assets_form_remark || '']\r\n });\r\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\r\n \r\n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n // }\r\n // else {\r\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n // control.push(this.createBusinessAssetsForAddress());\r\n // } \r\n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n }\r\n\r\n this.loadDetails=true\r\n }\r\n\r\n initBusinessDetails(){\r\n return this.fb.group({\r\n address_label:[''],\r\n business_assets_mode:[''],\r\n business_details: this.fb.array([]),\r\n \r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n \r\n business_approximate_market_value: [''],\r\n business_ownership_type:[''],\r\n business_monthly_rented_amt:[''],\r\n business_name_of_the_owner: [],\r\n business_name_of_the_other_owner: [],\r\n business_vintage: [''],\r\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [''],\r\n \r\n })\r\n }\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: [''],\r\n address_of_the_property: ['']\r\n });\r\n }\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [''],\r\n vehicle_type: [''],\r\n other_vehicle_type: ['']\r\n });\r\n }\r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n otherBusinessAssetsDescription() {\r\n return this.fb.group({\r\n any_other_assets: [''],\r\n any_other_asset_value : [''],\r\n any_other_asset_loan : [''], \r\n });\r\n }\r\n\r\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n addAssetDetails(e) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetails());\r\n \r\n }\r\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n removeAssetsDetails(i: number) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.removeAt(i);\r\n\r\n}\r\n\r\ncreateBusinessAssetsForAddress(): FormGroup {\r\n return this.fb.group({\r\n address_label:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n\r\n business_approximate_market_value: [''],\r\n business_ownership_type: [''],\r\n business_monthly_rented_amt: [''],\r\n business_name_of_the_owner: [''],\r\n business_name_of_the_other_owner: [''],\r\n business_vintage: [''],\r\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: ['']\r\n });\r\n}\r\n\r\n selectedAssetsType(e: any, i: any): void {\r\n let val = i;\r\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n arr.controls.splice(0);\r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n let val = i;\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescription());\r\n break;\r\n }\r\n \r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n loadPropertyWithData(data) { \r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type],\r\n address_of_the_property: [data.address_of_the_property],\r\n });\r\n }\r\n load_Four_WeelerWithData(data){\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\r\n vehicle_type: [data.vehicle_type],\r\n other_vehicle_type: [data.other_vehicle_type]\r\n })\r\n }\r\n\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n otherBusinessAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n any_other_asset_loan : [data.any_other_asset_loan],\r\n });\r\n }\r\n\r\n loadDetails:boolean\r\n addBusinessAssetsForAddress(data) {\r\n var result = Object.keys(data).map(function (key) {\r\n return data[key];\r\n });\r\n if (result.length > 0) {\r\n result.forEach((datas, index) => {\r\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\r\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\r\n let Avaliablity = 1;\r\n \r\n if(datas.business_name_of_the_owner.length > 0){\r\n datas.business_name_of_the_owner.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\r\n });\r\n\r\n for (let val of result) {\r\n let vals = {\r\n address_label:val.address_label,\r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type: val.business_ownership_type,\r\n business_monthly_rented_amt: val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_vintage: val.business_vintage,\r\n business_purchase_year: val.business_purchase_year,\r\n business_emi: val.business_emi\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddressWithData(vals));\r\n }\r\n } else {\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddress());\r\n }\r\n }\r\n addBusinessAssetsDetailsWithData(supp_data){\r\n var result=Object.keys(supp_data).map(function(key){\r\n return supp_data[key];\r\n })\r\n \r\n if(result.length>0){\r\n result.forEach((datas,index)=>{\r\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\r\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\r\n });\r\n for(let val of result){\r\n let formData={\r\n address_label:val.address_label,\r\n business_assets_mode: val.business_assets_mode,\r\n\r\n business_years:val.business_year,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type:val.business_ownership_type,\r\n business_monthly_rented_amt:val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\r\n }\r\n \r\n }\r\n this.loadDetails=true\r\n }\r\n\r\n createBusinessAssetsForAddressWithData(data): FormGroup {\r\n return this.fb.group({\r\n address_label:[data.address_label],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type: [data.business_ownership_type],\r\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\r\n business_vintage: [data.business_vintage],\r\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [data.business_emi]\r\n });\r\n }\r\n\r\n initBusinessDetailsWithdata(data) {\r\n \r\n\r\n let formGroup= this.fb.group({\r\n address_label:[data.address_label],\r\n business_assets_mode: [data.business_assets_mode],\r\n \r\n business_years:[data.business_year],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_details: this.fb.array([]),\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type : [data.business_ownership_type],\r\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\r\n // relation: [data.relation || ''],\r\n business_vintage: [data. business_vintage],\r\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n // purchase_month: [data.purchase_month],\r\n business_emi: [data.business_emi || ''],\r\n });\r\n return formGroup;\r\n }\r\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\r\n \r\n let val = i;\r\n let data = datas;\r\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n control.controls.splice(0);\r\n\r\n switch (assets_details_mode) {\r\n case '2': {\r\n let business_property_datas : any;\r\n data.forEach((datas,i) => {\r\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadPropertyWithData(business_property_datas));\r\n break;\r\n }\r\n case '3': {\r\n let business_Four_Weeler_datas : any;\r\n data.forEach((datas,i) => {\r\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\r\n break;\r\n }\r\n case '4': {\r\n let equipment_manufacturing_description_datas : any;\r\n data.forEach((datas,i) => {\r\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\r\n break;\r\n }\r\n \r\n case '1': {\r\n let array_datas : any;\r\n data.forEach((datas,i) => {\r\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\r\n array_datas = {\r\n 'any_other_assets': datas.any_other_assets,\r\n // 'any_other_asset_value': datas.any_other_asset_value,\r\n 'any_other_asset_loan': datas.any_other_asset_loan,\r\n };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n public paymentModeTextBox: number;\r\n selectedPM(e) {\r\n this.paymentModeTextBox = e.value;\r\n // this.f.supplier_details.controls.get('payment_mode_value');\r\n }\r\n\r\n public freqPurchaseTextBox: number;\r\n selectedFreqPurchase(e) {\r\n this.freqPurchaseTextBox = e.value;\r\n }\r\n \r\n\r\n onSubmit(){\r\n var answerData=this._businessAssetsQuesFrom.value;\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n\r\n this.qustcat.saveForm(answerData).subscribe(result=>{\r\n if(result['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n this.navCtrl.pop();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\r\n }\r\n })\r\n \r\n }\r\n // calculate vintage and purchase {}\r\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\r\n if (type == 1) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 2) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n if (type == 3) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 4) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n }\r\n\r\n\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n\r\n // // check others\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n\r\n\r\n setRequiredValidation(value, item, flag,i) {\r\n\r\n if (flag == 1) {\r\n if (value == 'yes') {\r\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\r\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n }\r\n else {\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n }\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n\r\n\r\n }\r\n // if(flag == 2){\r\n // value==1\r\n // ? item.controls.premises_type_others.setValidators([Validators.required])\r\n // : item.controls.premises_type_others.clearValidators();\r\n // item.controls.premises_type_others.updateValueAndValidity();\r\n // }\r\n if (flag == 3) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if (flag == 4) {\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwner = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwner = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n\r\n // value == 0\r\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\r\n // : item.controls.business_name_of_the_other_owner.clearValidators();\r\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n }\r\n if (flag == 5) {\r\n value == 1\r\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\r\n : item.controls.other_vehicle_type.clearValidators();\r\n item.controls.other_vehicle_type.updateValueAndValidity();\r\n }\r\n if (flag == 6) {\r\n value == 1\r\n ? item.controls.other_property_type.setValidators([Validators.required])\r\n : item.controls.other_property_type.clearValidators();\r\n item.controls.other_property_type.updateValueAndValidity();\r\n\r\n value != ''\r\n ? item.controls.address_of_the_property.setValidators([Validators.required])\r\n : item.controls.address_of_the_property.clearValidators();\r\n item.controls.address_of_the_property.updateValueAndValidity();\r\n }\r\n if (flag == 7) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if(flag == 8){\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n \r\n Avaliablity = option.id;\r\n }\r\n });\r\n // isOtherOwner: boolean = false;\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwnerForAddress = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwnerForAddress = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n \r\n }\r\n\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(e,ind){\r\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\r\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\r\n \r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n let Year = +business_year + +Math.floor(converted_year);\r\n \r\n if(Year > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }\r\n else{\r\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\r\n {\r\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }else{\r\n this.monthErrorMessage[ind] = '';\r\n this.yearErrorMessage[ind] = '';\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\r\n }\r\n }\r\n }\r\n\r\n checkWithExistBusinessYear(e,ind){\r\n \r\n if(+e > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n \r\n }\r\n else{\r\n this.yearErrorMessage[ind] = '';\r\n }\r\n }\r\n\r\n\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1:\r\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 : \r\n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 3:\r\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 9:\r\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 10:\r\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\n// import { QueryState } from '@angular/core/src/render3/interfaces';\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-banking',\r\n templateUrl: 'pd-question-business-banking.html',\r\n})\r\nexport class PdQuestionBusinessBankingPage {\r\npdDetails:any;\r\nm_btLenderList: any;\r\napplicants: any \r\nsalaryField: boolean;\r\nformDetails: any;\r\nform_id:any;\r\naccountType: any;\r\nusers: any;\r\nbankingForm:FormGroup;\r\npublic pd_cus_segment:string\r\ncompany_id:any;\r\n\r\npdid:any;\r\nitemRows:FormArray;\r\n\r\nexistCompanyList: any=[];\r\nmergeCompanyApplicant: any=[];\r\nstep:number\r\n amtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n limitCaseFlag: any=[];\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider,public toast:ToastProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails')\r\n \r\n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\r\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\r\n this.pdid=this.pdDetails.pd_id;\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id=this.pdDetails.company_id\r\n \r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n\r\n this.users = this.aws.getlocale();\r\n this.step=0\r\n this.bankingForm = this.fb.group(\r\n {\r\n itemRows:this.fb.array([]),\r\n banking_form_remark:[''],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\r\n }\r\n getdropdown(){\r\n \r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n /** Amount InWords */\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n setRequiredValidation(value,item,flag) {\r\n \r\n \r\n if(flag == 1){\r\n value==0\r\n ? item.controls.other_applicant.setValidators([Validators.required])\r\n : item.controls.other_applicant.clearValidators();\r\n item.controls.other_applicant.updateValueAndValidity();\r\n }\r\n if(flag == 2){\r\n value==1\r\n ? item.controls.other_bank.setValidators([Validators.required])\r\n : item.controls.other_bank.clearValidators();\r\n item.controls.other_bank.updateValueAndValidity();\r\n }\r\n \r\n }\r\n\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n \r\n bank_name: [''],\r\n \r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n addBankDetails(index,event) {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n event.stopPropagation()\r\n const control = this.bankingForm.controls['itemRows'];\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\r\n \r\n this.itemRows.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n const control = this.bankingForm.controls['itemRows'];\r\n if(control.length==1){\r\n control.reset();\r\n }\r\n else\r\n \r\n \r\n control.removeAt(i);\r\n }\r\n \r\n setStep(index: number) {\r\n this.step = index;\r\n }\r\n\r\n retiveBankDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\r\n const control = this.bankingForm.controls['itemRows'];\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n \r\n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n \r\n \r\n if(result.length == 0){\r\n \r\n control.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n result.forEach((datas,index)=>\r\n {\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n if(datas.limit != ''){\r\n \r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n }\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n control.push(this.createBankItem(''));\r\n })\r\n \r\n this.bankingForm.controls['itemRows'].setValue(result);\r\n } \r\n }else\r\n {\r\n \r\n control.push(this.createBankItem(''));\r\n }\r\n });\r\n \r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.form_id;\r\n records.fk_createdby = this.users;\r\n records.company_id=this.company_id;\r\n records.banking_details = answerData.itemRows;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n })\r\n \r\n }\r\n \r\n\r\n \r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdGeneralImagesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-general-images',\r\n templateUrl: 'pd-general-images.html',\r\n})\r\nexport class PdGeneralImagesPage {\r\n\r\n cameraArr:any = [];\r\n applicatentDetails: any;\r\n count:any = 0;\r\n saveAccess:boolean =false;\r\n FormId:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdGeneralImagesPage');\r\n }\r\n \r\n takePicture()\r\n {\r\n this.camera.getpicture().then(image=>\r\n {\r\n this.count = this.count+1;\r\n \r\n this.cameraArr.push({'image':image,'name':''});\r\n });\r\n }\r\n\r\n removeimage(i)\r\n {\r\n this.count = this.count - 1; \r\n this.cameraArr.splice(i,1);\r\n }\r\n\r\n docnames(doc,i,img)\r\n {\r\n \r\n this.cameraArr[i] = {'image':img,'Name':doc};\r\n // console.log(JSON.stringify(this.pddocdata)); \r\n }\r\n savePDImages()\r\n {\r\n \r\n this.saveAccess = true;\r\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\r\n records.images = this.cameraArr;\r\n this.qustCat.savePDImages(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.saveAccess = false;\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } \r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { PdListPage } from '../../pd-list/pd-list';\r\nimport {ToastProvider} from '../../../providers/common-provider/toast'\r\n\r\n/**\r\n * Generated class for the BouncedRejectPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-bounced-reject',\r\n templateUrl: 'bounced-reject.html',\r\n})\r\nexport class BouncedRejectPage {\r\n\r\n users: any;\r\n bounseMaster: any;\r\n pdDetails: any;\r\n status: any;\r\n bounce_reason:any;\r\n bounce_reason_others:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\r\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\r\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\r\n // this.pdDetails = this.navParams.get('appdetails');\r\n // this.status = this.navParams.get('status');\r\n this.pdDetails=this.navParams.get('details')\r\n // console.log(this.pdDetails)\r\n this.users = this.aws.getlocale();\r\n this.getDropdown();\r\n \r\n }\r\n\r\n getDropdown()\r\n {\r\n \r\n \r\n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\r\n console.log(this.bounseMaster);\r\n }\r\n })\r\n \r\n }\r\n updatePDStatus()\r\n {\r\n if(this.bounce_reason !=null && this.bounce_reason !=1)\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n \r\n \r\n\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\r\n/*\r\n Generated class for the DatabaseProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class DatabaseProvider {\r\n database:SQLiteObject;\r\n constructor(public http: HttpClient,public sql:SQLite) {\r\n console.log('Hello DatabaseProvider Provider');\r\n this.createnewdb();\r\n }\r\n\r\n createnewdb()\r\n {\r\n // alert('function in');\r\n this.sql.create(\r\n {\r\n name:'sinnedge',\r\n location:'defalut',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \r\n {\r\n // alert('db create');\r\n this.getuserDetails();\r\n })\r\n .catch(e => console.log(e));\r\n })\r\n }\r\n getuserDetails()\r\n {\r\n // alert('getusers');\r\n this.sql.create(\r\n {\r\n name:'sineedge',\r\n location:'default',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\r\n {\r\n console.log(res);\r\n })\r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the PasswordPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-password',\r\n templateUrl: 'password.html',\r\n})\r\nexport class PasswordPage {\r\n commonImage: string;\r\n newpassword: any;\r\n confirmPassword: any;\r\n pin:any;\r\n Username:any;\r\n Password:any;\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.Username = this.navParams.get('Username');\r\n this.Password = this.navParams.get('Password');\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PasswordPage');\r\n }\r\n setNewPassword(newpass)\r\n {\r\n if(newpass !='' && newpass !=null && newpass !== undefined){\r\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\r\n console.log(auth);\r\n this.aws.dologin(auth).subscribe(res => {\r\n console.log(res);\r\n this.navCtrl.setRoot(PdListPage);\r\n // this.router.navigate(['/home']);\r\n }, err => {\r\n this.toast.pdTriggerappmessage(err.message);\r\n // alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the new Password');\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\n\r\nimport { LoadingProvider } from '../../providers/common-provider/loading';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the AuthPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n \r\n\r\n@Component({\r\n selector: 'page-auth',\r\n templateUrl: 'auth.html',\r\n})\r\nexport class AuthPage {\r\n pinAccess: any;\r\n newpindetails: any;\r\n userDetails: any;\r\npin:any;\r\n mpinaccess:boolean =false;\r\n newpassword:any;\r\n ConfirmPassword:any;\r\n commonImage:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.shared.refresh();\r\n this.getuserDetails();\r\n \r\n\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad AuthPage');\r\n }\r\n ionViewDidEnter(){\r\n this.Menu.enable(false);\r\n }\r\n ionViewWillLeave(){\r\n this.Menu.enable(true);\r\n }\r\n getuserDetails()\r\n {\r\n this.loadingCtrl.pdloader('loading...');\r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.loadingCtrl.loading.dismiss();\r\n this.userDetails = this.userDetails.records;\r\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\r\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\r\n if(this.userDetails[0].mpin ==null)\r\n {\r\n \r\n this.mpinaccess = true;\r\n \r\n }else\r\n {\r\n this.mpinaccess = false;\r\n }\r\n }else{\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n }else{\r\n this.toast.pdTriggerappmessage('')\r\n }\r\n //console.log(this.mpinaccess);\r\n });\r\n }\r\n setnewpin(newpin)\r\n {\r\n console.log(\"set Pin\")\r\n this.aws.userpinupdate(newpin).subscribe(res=>\r\n {\r\n this.newpindetails = res;\r\n if(this.newpindetails.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n /**Finger print */\r\n \r\n checkpin(pin) {\r\n console.log(\"Check pin\",pin);\r\n if(pin !='' && pin !=null)\r\n {\r\n if(this.userDetails[0].mpin == pin)\r\n {\r\n console.log(\"Entering List page\")\r\n this.navCtrl.setRoot(PdListPage);\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\r\n }\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The PIN');\r\n }\r\n\r\n \r\n \r\n }\r\n checkfingerprint()\r\n {\r\n console.log(\"Check Finger\");\r\n this.faio.show({\r\n clientId: 'Fingerprint-Demo',\r\n clientSecret: 'password', // Only Android\r\n localizedFallbackTitle: 'Use Pin', // Only iOS\r\n localizedReason: 'Please authenticate',\r\n disableBackup:true,\r\n })\r\n .then((result: any) => {\r\n this.navCtrl.setRoot(PdListPage);\r\n })\r\n .catch((error: any) => {\r\n this.toast.pdTriggerappmessage('err: '+ error);\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { LoadingController } from 'ionic-angular';\r\n/*\r\n Generated class for the LoadingProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class LoadingProvider {\r\n\r\n loading: any;\r\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\r\n console.log('Hello LoadingProvider Provider');\r\n }\r\n\r\n pdloader(content)\r\n {\r\n this.loading = this.loadingCtrl.create({\r\n content: content\r\n });\r\n\r\n this.loading.present();\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app.module';\r\nimport { enableProdMode } from '@angular/core';\r\nenableProdMode();\r\nplatformBrowserDynamic().bootstrapModule(AppModule);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\r\nimport { ErrorHandler, NgModule } from '@angular/core';\r\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\r\n\r\nimport { MyApp } from './app.component';\r\n\r\n\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\r\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\r\nimport { SQLite } from '@ionic-native/sqlite';\r\nimport { DatabaseProvider } from '../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\nimport {\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule\r\n} from '@angular/material';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { AuthGuard } from '../providers/_guard/auth.guard';\r\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { ConstantsProvider } from '../providers/constants/constants';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\r\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\r\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\r\nimport { InputPage } from '../pages/input/input';\r\nimport { ToastProvider } from '../providers/common-provider/toast';\r\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\n\r\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\r\nimport { OtpPage } from '../pages/otp/otp';\r\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\r\n\r\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\r\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\r\nimport { CameraProvider } from '../providers/common-provider/camera';\r\nimport { LoadingProvider } from '../providers/common-provider/loading';\r\nimport { Camera } from '@ionic-native/camera';\r\n\r\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\r\n\r\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\r\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { Geolocation } from '@ionic-native/geolocation';\r\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\n// import { DatePicker } from '@ionic-native/date-picker';\r\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\r\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\r\n\r\nimport { PdQuestionBusinessPage } from '../pages/pd-question/pd-question-business/pd-question-business'\r\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\r\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport { PdPipe } from '../pipes/pd/pd';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\r\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\r\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\n\r\n@NgModule({\r\n declarations: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionBusinessPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n ],\r\n imports: [\r\n BrowserModule,ReactiveFormsModule,FormsModule,\r\n IonicModule.forRoot(MyApp),\r\n BrowserAnimationsModule,\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,MatListModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule,HttpClientModule,IonicImageViewerModule\r\n ],\r\n bootstrap: [IonicApp],\r\n entryComponents: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionBusinessPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n \r\n ],\r\n providers: [\r\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\r\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,\r\n {\r\n provide:HTTP_INTERCEPTORS,\r\n useClass: TokenInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: ErrorHandler,\r\n useClass: IonicErrorHandler\r\n },LaunchNavigator,\r\n AwsServiceProvider,\r\n QuestionCategoryProvider,\r\n CameraProvider,Camera,\r\n PdPipe,LocationAccuracy,\r\n LoadingProvider,Geolocation,\r\n DatabaseProvider\r\n ]\r\n})\r\nexport class AppModule {}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { Nav, Platform } from 'ionic-angular';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { MethodCall } from '@angular/compiler';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport {AlertController} from 'ionic-angular'\r\nimport { platformBrowser } from '@angular/platform-browser';\r\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n\r\n@Component({\r\n templateUrl: 'app.html'\r\n})\r\nexport class MyApp {\r\n userDetails: any;\r\n userAccess:boolean = false;\r\n @ViewChild(Nav) nav: Nav;\r\n\r\n rootPage: any = LoginPage;\r\n public alertShown:boolean=false\r\n\r\n pages: Array<{title: string,icon:any, method: any}>;\r\n\r\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\r\n ,public alertCtrl:AlertController) {\r\n this.initializeApp();\r\n\r\n // used for an example of ngFor and navigation\r\n this.pages = [ \r\n // { title: 'Home', component: HomePage, icon: 'home' },\r\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\r\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)}\r\n ];\r\n\r\n\r\n }\r\n\r\n initializeApp() {\r\n this.platform.ready().then(() => {\r\n // Okay, so the platform is ready and our plugins are available.\r\n // Here you can do any higher level native things you might need.\r\n this.statusBar.styleDefault();\r\n if (this.platform.is('android')) {\r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n \r\n }\r\n this.splashScreen.hide();\r\n\r\n this.shared.getAccessToken().then(()=>{\r\n this.getuserDetails();\r\n this.rootPage = AuthPage\r\n }).catch(()=>{\r\n setTimeout(() => {\r\n this.rootPage = LoginPage;\r\n }, 1000);\r\n });\r\n this.platform.registerBackButtonAction(()=>{\r\n if(this.nav.length() == 1){\r\n if (this.alertShown==false && this.platform.exitApp ){\r\n this.presentConfirm(); \r\n }\r\n else{\r\n this.alertShown=false;\r\n \r\n }\r\n }\r\n this.nav.pop()\r\n })\r\n });\r\n }\r\n\r\n presentConfirm(){\r\nlet alert=this.alertCtrl.create({\r\n title:'Confirm Exit',\r\n message:'Do You Want Exit ?',\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n console.log(\"Cancel clicked\");\r\n this.alertShown=false\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n console.log(\"Exit\");\r\n this.platform.exitApp();\r\n }\r\n }\r\n ]\r\n});\r\n alert.present();\r\n this.alertShown=true;\r\n }\r\n getuserDetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.userAccess = true;\r\n this.userDetails = this.userDetails.records[0];\r\n \r\n }\r\n \r\n });\r\n }\r\n menulist(id){\r\n //alert();\r\n switch(id)\r\n {\r\n case 1:\r\n this.nav.setRoot(PdListPage);\r\n break;\r\n case 2:\r\n this.AWS.logout().subscribe(()=>{\r\n \r\n this.nav.setRoot(LoginPage);\r\n });\r\n break;\r\n case 3:\r\n break;\r\n case 4:\r\n break;\r\n}\r\n}\r\n logout()\r\n {\r\n // this.aws.logout();\r\n this.nav.setRoot(LoginPage);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\r\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n\r\n\r\n\r\n@Injectable()\r\nexport class AuthGuard {\r\n \r\n constructor() { \r\n\r\n \r\n }\r\n\r\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n // // if (this.shared.getToken()) {\r\n // alert(\"if\");\r\n // // this.router.navigate(['']);\r\n // return true\r\n // } else {\r\n // alert(\"else\");\r\n // this.router.navigate(['/login']);\r\n // return false;\r\n // }\r\n // }\r\n getlogin(){\r\n // if (this.shared.getToken()) {\r\n // // alert(\"if\");\r\n // //alert();\r\n // return true;\r\n // } else {\r\n // // alert(\"else\");\r\n \r\n // //this.myGlobalServiceNav.setRoot(LoginPage);\r\n // this.shared.isloggin = false;\r\n // return false;\r\n \r\n \r\n // }\r\n }\r\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\r\n \r\n \r\n // }\r\n\r\n // public getToken(): string {\r\n // return localStorage.getItem('token');\r\n // }\r\n\r\n // public logOut() {\r\n // localStorage.clear();\r\n // if(localStorage.getItem('token') === null){\r\n // this.router.navigate(['/login']);\r\n // }\r\n // }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\r\nimport {\r\n HttpRequest,\r\n HttpHandler,\r\n HttpEvent,\r\n HttpInterceptor,\r\n HttpHeaders\r\n} from '@angular/common/http';\r\n// import { AuthGuard } from './auth.guard';\r\nimport { Observable, of} from 'rxjs';\r\n\r\n// import { Router } from '@angular/router';\r\n\r\nimport { catchError, map, tap } from 'rxjs/operators';\r\nimport { HttpErrorResponse } from \"@angular/common/http\";\r\n\r\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\r\n\r\n@Injectable()\r\nexport class TokenInterceptor implements HttpInterceptor{\r\n constructor(public shared:CognitoServiceProvider ) {\r\n \r\n }\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n // request = request.clone({\r\n // setHeaders: {\r\n // Authorization: `${this.auth.getToken()}`\r\n // }\r\n // });\r\n let token:any;\r\n this.shared.refresh();\r\n token = this.shared.getToken() || null;\r\n \r\n token = token.getIdToken().getJwtToken();\r\n \r\n //console.log(token);\r\n let requests = request.clone({\r\n headers:new HttpHeaders({\r\n \r\n 'Authorization': 'sparqvenba2018',\r\n 'Token':token,\r\n 'From':'1',\r\n \r\n \r\n }) \r\n \r\n });\r\n \r\n return next.handle(requests).pipe(\r\n catchError(this.handleError('role', []))\r\n )\r\n }\r\n\r\n private handleError (operation = 'operation', result?: T) {\r\n return (error: any): Observable => {\r\n if(error instanceof HttpErrorResponse){\r\n console.error(\"Error: \" + error.status);\r\n if(error.status == 401){\r\n localStorage.clear();\r\n // this.router.navigate(['/authentication/login']);\r\n }\r\n return of(result as T);\r\n }\r\n };\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\r\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the GoogleplaytabPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-googleplaytab',\r\n templateUrl: 'googleplaytab.html',\r\n})\r\nexport class GoogleplaytabPage {\r\n\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= true;\r\n isLeft:boolean= true;\r\n tabs:any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\r\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\r\n console.log('Width: ' + platform.width());\r\n this.screenWidth_px=platform.width();\r\n \r\n}\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad GoogleplaytabPage');\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n\r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n\r\n this.isLeft=false;\r\n this.isRight=false;\r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n\r\n }\r\n\r\n\r\n\r\n}\r\n\r\n \r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the PdAllocationPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-allocation',\r\n templateUrl: 'pd-allocation.html',\r\n})\r\nexport class PdAllocationPage {\r\npdFullDetails:any = [];\r\n constructor(public navCtrl: NavController, public navParams: NavParams) {\r\n \r\n this.pdFullDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdFullDetails);\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdAllocationPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category'\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business',\r\n templateUrl: 'pd-question-business.html',\r\n})\r\nexport class PdQuestionBusinessPage {\r\n pdDetails:any;\r\n pdid:any;\r\n users:any;\r\n FormId:any;\r\n existCompanyList:any=[]\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=this.aws.getlocale\r\n\r\n this.getDropDown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessPage');\r\n }\r\ngetDropDown(){\r\n this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(res=>{\r\n this.existCompanyList=res['records'].filter(data=>data.is_active == true && data.is_company_applicant == true);\r\n console.log(this.existCompanyList);\r\n })\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business/pd-question-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionSalaryInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-salary-info',\r\n templateUrl: 'pd-question-salary-info.html',\r\n})\r\nexport class PdQuestionSalaryInfoPage {\r\n\r\n salaryDetails:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\r\n \r\n this.salaryDetails = this.fb.group(\r\n {\r\n gross:[null],\r\n netTakeHome:[null],\r\n bounsIncentive:[null],\r\n salaryDate:[null],\r\n anydelays:[null], \r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Injectable } from '@angular/core';\r\n\r\n// import { CanActivateChild, Router } from '@angular/router';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\n\r\n// import { environment } from '../../environments/environment';\r\n\r\nimport { BehaviorSubject,Observable,of } from 'rxjs';\r\n\r\nconst sineedge_poolData = { \r\n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\r\n};\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"\",\r\n ClientId: \"\"\r\n}\r\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"\";\r\n// serviceProvider\r\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\r\n// const apiurl = \"http://localhost/sparqapi/api/\";\r\n\r\n@Injectable()\r\n\r\nexport class CognitoServiceProvider {\r\n public loggedIn :boolean = false;\r\n // public static _REGION = environment.region;\r\n\r\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\r\n // public static _USER_POOL_ID = environment.UserPoolId;\r\n // public static _CLIENT_ID = environment.ClientId;\r\n\r\n // public static _POOL_DATA: any = {\r\n // UserPoolId: CognitoService._USER_POOL_ID,\r\n // ClientId: CognitoService._CLIENT_ID\r\n // };\r\n \r\n\r\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\r\nisloggin:boolean = false; \r\n\r\n\r\n \r\n\r\n \r\n constructor() { \r\n \r\n }\r\n getCurrentUser() {\r\n \r\n return sineedgedevUserpool.getCurrentUser();\r\n}\r\n get isLoggedIn() {\r\n if(sineedgedevUserpool.getCurrentUser() !=null){\r\n this.loggedIn = true;\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n return this.loggedIn; // {2}\r\n }\r\n \r\nrefresh() {\r\n let tokenexp:boolean;\r\n \r\n if(this.getCurrentUser() !=null){\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n }\r\n\r\n else {\r\n if (session.isValid()) {\r\n tokenexp = session.isValid();\r\n of(tokenexp)\r\n console.log(\"CognitoUtil: refreshed successfully\");\r\n \r\n } else {\r\n tokenexp = session.isValid();\r\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\r\n \r\n }\r\n }\r\n \r\n return tokenexp;\r\n \r\n });\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n}\r\ngetAccessToken(){\r\n this.refresh();\r\n return new Promise((resolve, reject) => {\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n //console.log(JSON.stringify(this.getCurrentUser()));\r\n // console.log('76 if');\r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n jwttoken ='';\r\n // console.log('81 if')\r\n reject(err);\r\n }\r\n else {\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n resolve();\r\n } else {\r\n \r\n }\r\n }\r\n });\r\n }\r\n else {\r\n //console.log(\"else\");\r\n reject();\r\n }\r\n});\r\n}\r\n\r\ngetToken():any {\r\n let isloggin = false;\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n isloggin = false;\r\n //console.log('81 if')\r\n }\r\n else {\r\n //alert('function else');\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n isloggin = true;\r\n } else {\r\n \r\n isloggin = false;\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n // console.log(\"else\");\r\n isloggin = false;\r\n }\r\n return jwttoken;\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n\r\n\r\nimport { Observable } from \"rxjs/Observable\";\r\nimport \"rxjs/add/operator/map\";\r\nimport { CognitoServiceProvider } from './cognito.service';\r\nimport { ConstantsProvider } from '../constants/constants';\r\nimport { UrlResolver } from '@angular/compiler';\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"ap-south-1_K57yPaWxV\",\r\n ClientId: \"\"\r\n}\r\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\r\n\r\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Injectable()\r\nexport class AwsServiceProvider {\r\napiurl:any;\r\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\r\n this.apiurl = con.apiurl();\r\n }\r\n\r\n dologin(authenticationData) {\r\n // alert();\r\n //(authenticationData);\r\n const authenticationDetails = new AuthenticationDetails(authenticationData);\r\n let Newpassword = authenticationData.newpassword;\r\n let attributesData = [];\r\n const userData = {\r\n Username: authenticationData.Username, // User email id\r\n Pool: sineedgedevUserpool // user Pool ID\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observer => {\r\n cognitoUser.authenticateUser(authenticationDetails, {\r\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \r\n cognitoUser.completeNewPasswordChallenge(\r\n Newpassword,\r\n attributesData,\r\n {\r\n onSuccess: function (result) {\r\n observer.next(result);\r\n observer.complete();\r\n },\r\n onFailure: function (err) {\r\n //(err);\r\n observer.error(err);\r\n //LoginComponent.prototype.open();\r\n }\r\n }\r\n );\r\n },\r\n onSuccess: function (result) { // success user login\r\n // let accessToken = result.getAccessToken().getJwtToken();\r\n ////(result);\r\n //window.localStorage.setItem('Currentuser', '1');\r\n observer.next(result);\r\n observer.complete();\r\n this.shared.isloggin = true;\r\n },\r\n onFailure: function (err) { // error user login\r\n\r\n //alert(err.message);\r\n observer.error(err);\r\n }\r\n });\r\n });\r\n }\r\n userforgotpass(auth) {\r\n ////(auth);\r\n const userData = {\r\n Username: auth.Username,\r\n Pool: sineedgedevUserpool\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observe => {\r\n cognitoUser.forgotPassword({\r\n onSuccess: function (data) {\r\n // successfully initiated reset password request\r\n //('CodeDeliveryData from forgotPassword: ' + data);\r\n observe.next(data);\r\n },\r\n onFailure: function (err) {\r\n alert(err.message || JSON.stringify(err));\r\n },\r\n //Optional automatic callback\r\n inputVerificationCode: function (data) {\r\n //('Code sent to: ' + data);\r\n var verificationCode = prompt('Please input verification code ', '');\r\n var newPassword = prompt('Enter new password ', '');\r\n cognitoUser.confirmPassword(verificationCode, newPassword, {\r\n onSuccess() {\r\n //('Password confirmed!');\r\n },\r\n onFailure(err) {\r\n //('Password not confirmed!');\r\n }\r\n });\r\n }\r\n });\r\n });\r\n\r\n\r\n }\r\n /**\r\n * End of the function \r\n */\r\n\r\n /**\r\n * Logout function\r\n */\r\n logout(){\r\n \r\n return Observable.create(observe=>{\r\n this.shared.getCurrentUser().signOut(); \r\n \r\n observe.next();\r\n \r\n observe.complete();\r\n });\r\n }\r\n\r\n\r\n /**\r\n * Config function\r\n */\r\n // getconfig() {\r\n // let session:any = this.shared.getAccessToken() || \"\";\r\n \r\n // let config = \"\";\r\n // config += AWS.config.region = \"ap-south-1\";\r\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\r\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\r\n // Logins: {\r\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\r\n // .getIdToken()\r\n // .getJwtToken()\r\n // }\r\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\r\n // });\r\n // return config;\r\n // }\r\n\r\n getlocale(){\r\n let session:any = this.shared.getToken() || null;\r\n let userid = session.idToken.payload.locale;\r\n return userid;\r\n }\r\n getuserprofile(userid)\r\n {\r\n \r\n \r\n // alert();\r\n \r\n //console.log(cogusers.idToken.payload.locale);\r\n let roles = {'userid':userid}; \r\n \r\n \r\n // let request = new RequestOptions({headers:headers});\r\n return this.http.post(this.apiurl+'getUsersDetails',roles);\r\n \r\n }\r\n\r\n userpinupdate(pin)\r\n {\r\n let userid = this.getlocale(); \r\n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\r\n let formdata = new FormData();\r\n \r\n formdata.append('records',JSON.stringify(records));\r\n return this.http.post(this.apiurl+'updateExistUser',formdata);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts","import { Component,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { InputPage } from '../input/input';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { parseDate } from 'ionic-angular/util/datetime-util';\r\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\r\nimport { OtpPage } from '../otp/otp';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { DatabaseProvider } from '../../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n/**\r\n * Generated class for the PdListPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-list',\r\n templateUrl: 'pd-list.html',\r\n})\r\nexport class PdListPage {\r\n\r\n @ViewChild('slider') slider:Slides;\r\n searchinprogress: any;\r\n searchpast: any;\r\n pdschduleDetails: any;\r\n bgColorPast: any = [];\r\n bgColor: any = [];\r\n pdinprogress: any=[];\r\n pdlistdetails: any=[];\r\n viewchange: boolean;\r\n pdlist:any = \"0\";\r\n pdlistaccess:boolean = null;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\r\n //this.getlenderpddetails(); \r\n // this.getpdTriggerdetails();\r\n \r\n }\r\n selectedTab(ind)\r\n {\r\n this.slider.slideTo(ind)\r\n }\r\n moveButton(event){\r\n this.pdlist=event._snapIndex.toString();\r\n }\r\n\r\n ionViewDidLoad() {\r\n \r\n console.log('ionViewDidLoad PdListPage');\r\n this.db.getuserDetails();\r\n this.setpermission();\r\n }\r\n ionViewCanEnter()\r\n {\r\n console.log(\"Pd list ionViewCanEnter\")\r\n this.getpdTriggerdetails();\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n this.pdinprogress = this.pdinprogress;\r\n this.pdschduleDetails = this.pdschduleDetails;\r\n }\r\n \r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n \r\n this.pdinprogress = this.searchinprogress;\r\n this.pdschduleDetails = this.searchpast;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n \r\n if(this.pdlist == \"inpro\"){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n this.pdinprogress = this.searchinprogress.filter((v) => {\r\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n return true;\r\n }\r\n return false;\r\n })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n \r\n return ;\r\n }else{\r\n this.pdschduleDetails = this.searchpast.filter((v) => {\r\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\r\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n \r\n return true;\r\n }\r\n \r\n return false;\r\n })\r\n }\r\n \r\n}\r\n}\r\n newpage(){\r\n this.navCtrl.push(InputPage);\r\n }\r\n getpdTriggerdetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n //.log(\"User\",userid)\r\n\r\n this.pdofficer.getpddetails(userid).subscribe(res=>\r\n {\r\n this.pdlistdetails = res;\r\n if(this.pdlistdetails.dataStatus == true)\r\n {\r\n \r\n \r\n this.pdlistaccess = true;\r\n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" && sch.applicat_details);\r\n this.searchpast = this.pdschduleDetails;\r\n \r\n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\r\n this.searchinprogress = this.pdinprogress;\r\n \r\n this.random_bg_color();\r\n this.random_ng_past();\r\n }else\r\n {\r\n this.pdlistaccess = false;\r\n this.pdlistdetails = \"No Records Found\";\r\n }\r\n })\r\n }\r\n\r\n random_bg_color() {\r\n for(let id of this.pdinprogress){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n \r\n return this.bgColor;\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.pdschduleDetails){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n doRefresh(refresher) {\r\n this.bgColor = [];\r\n this.pdschduleDetails = [];\r\n this.pdinprogress = [];\r\n \r\n this.shared.refresh();\r\n this.getpdTriggerdetails();\r\n setTimeout(() => {\r\n \r\n refresher.complete();\r\n }, 2000);\r\n }\r\n \r\n PdAllocation(pddetails)\r\n {\r\n \r\n if(pddetails.pd_status == 'STARTED')\r\n {\r\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\r\n }else if(pddetails.pd_status == 'INPROGRESS'){\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':pddetails});\r\n }else{\r\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\r\n }\r\n }\r\n\r\n setpermission()\r\n {\r\n // let permission = this.androidPermissions.PERMISSION; \r\n // let premission_list = [\r\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\r\n // permission.CAMERA,\r\n\r\n\r\n // ];\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {ConstantsProvider} from '../constants/constants';\r\n\r\n/*\r\n Generated class for the PdtriggerProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n\r\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\r\n@Injectable()\r\nexport class PdtriggerProvider {\r\n apiurl:any;\r\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\r\n this.apiurl = constants.apiurl();\r\n console.log('Hello PdtriggerProvider Provider');\r\n }\r\n\r\n \r\n\r\n /**get dropdonw list */\r\n\r\n /**Get list of PD Trigger */\r\n\r\n getpddetails(userid)\r\n { \r\n console.log(userid);\r\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\r\n }\r\n\r\n getFullPDdetails(pdid)\r\n {\r\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\r\n }\r\n\r\n updatepdStatus(dataStatus)\r\n {\r\n let records = {'records':dataStatus};\r\n return this.http.post(this.apiurl+'updatePDMaster',records);\r\n }\r\n\r\n saveCurrentLocation(data)\r\n {\r\n let records = {'records':data};\r\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\r\n }\r\n\r\n checkotp(otpDetails)\r\n {\r\n let records = {'records':otpDetails};\r\n return this.http.post(this.apiurl+'checkOTP',records); \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Toast, ToastController } from 'ionic-angular';\r\n\r\n/*\r\n Generated class for the ToastProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ToastProvider {\r\n\r\n constructor(public http: HttpClient,public toast:ToastController) {\r\n console.log('Hello ToastProvider Provider');\r\n }\r\n pdTriggerappmessage(mess){\r\n let valalert = this.toast.create({\r\n message:mess, \r\n duration: 3000, \r\n position: 'bottom',\r\n dismissOnPageChange: true,\r\n });\r\n\r\n valalert.present();\r\n} \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/platforms/android/.gradle/4.1/fileHashes/fileHashes.bin b/platforms/android/.gradle/4.1/fileHashes/fileHashes.bin index c582ce8d..b2320a0f 100755 Binary files a/platforms/android/.gradle/4.1/fileHashes/fileHashes.bin and b/platforms/android/.gradle/4.1/fileHashes/fileHashes.bin differ diff --git a/platforms/android/.gradle/4.1/fileHashes/fileHashes.lock b/platforms/android/.gradle/4.1/fileHashes/fileHashes.lock index 57f82de2..d34c5734 100755 Binary files a/platforms/android/.gradle/4.1/fileHashes/fileHashes.lock and b/platforms/android/.gradle/4.1/fileHashes/fileHashes.lock differ diff --git a/platforms/android/.gradle/4.1/javaCompile/javaCompile.lock b/platforms/android/.gradle/4.1/javaCompile/javaCompile.lock index ad9056fe..6c07528c 100755 Binary files a/platforms/android/.gradle/4.1/javaCompile/javaCompile.lock and b/platforms/android/.gradle/4.1/javaCompile/javaCompile.lock differ diff --git a/platforms/android/.gradle/4.1/javaCompile/taskHistory.bin b/platforms/android/.gradle/4.1/javaCompile/taskHistory.bin index d65f3e68..fc9a19cb 100755 Binary files a/platforms/android/.gradle/4.1/javaCompile/taskHistory.bin and b/platforms/android/.gradle/4.1/javaCompile/taskHistory.bin differ diff --git a/platforms/android/.gradle/4.1/javaCompile/taskJars.bin b/platforms/android/.gradle/4.1/javaCompile/taskJars.bin index 7006ce52..efe6f49f 100755 Binary files a/platforms/android/.gradle/4.1/javaCompile/taskJars.bin and b/platforms/android/.gradle/4.1/javaCompile/taskJars.bin differ diff --git a/platforms/android/.gradle/4.1/taskHistory/fileSnapshots.bin b/platforms/android/.gradle/4.1/taskHistory/fileSnapshots.bin index d23720ca..bfbc9bd3 100755 Binary files a/platforms/android/.gradle/4.1/taskHistory/fileSnapshots.bin and b/platforms/android/.gradle/4.1/taskHistory/fileSnapshots.bin differ diff --git a/platforms/android/.gradle/4.1/taskHistory/taskHistory.bin b/platforms/android/.gradle/4.1/taskHistory/taskHistory.bin index b78360df..ad513b75 100755 Binary files a/platforms/android/.gradle/4.1/taskHistory/taskHistory.bin and b/platforms/android/.gradle/4.1/taskHistory/taskHistory.bin differ diff --git a/platforms/android/.gradle/4.1/taskHistory/taskHistory.lock b/platforms/android/.gradle/4.1/taskHistory/taskHistory.lock index 9543a4d9..6558a0b7 100755 Binary files a/platforms/android/.gradle/4.1/taskHistory/taskHistory.lock and b/platforms/android/.gradle/4.1/taskHistory/taskHistory.lock differ diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/debug-mergeJniLibs/merge-state b/platforms/android/CordovaLib/build/intermediates/incremental/debug-mergeJniLibs/merge-state index cfeec25f..803d8f9b 100755 Binary files a/platforms/android/CordovaLib/build/intermediates/incremental/debug-mergeJniLibs/merge-state and b/platforms/android/CordovaLib/build/intermediates/incremental/debug-mergeJniLibs/merge-state differ diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugAssets/merger.xml b/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugAssets/merger.xml index 308a865f..1eac96a4 100755 --- a/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugAssets/merger.xml +++ b/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugAssets/merger.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml b/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml index 7facd234..6f4960c0 100755 --- a/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +++ b/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugShaders/merger.xml b/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugShaders/merger.xml index 57b6d027..8753fb16 100755 --- a/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugShaders/merger.xml +++ b/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugShaders/merger.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties b/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties index aa5fcf96..d416cff6 100755 --- a/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +++ b/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties @@ -1 +1 @@ -#Mon Feb 25 14:08:08 IST 2019 +#Thu Mar 07 13:56:25 IST 2019 diff --git a/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/merger.xml b/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/merger.xml index c35c2e57..e0519796 100755 --- a/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/merger.xml +++ b/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/merger.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/intermediates/transforms/mergeJniLibs/debug/__content__.json b/platforms/android/CordovaLib/build/intermediates/transforms/mergeJniLibs/debug/__content__.json index eb6a24af..5af6f417 100755 --- a/platforms/android/CordovaLib/build/intermediates/transforms/mergeJniLibs/debug/__content__.json +++ b/platforms/android/CordovaLib/build/intermediates/transforms/mergeJniLibs/debug/__content__.json @@ -1 +1 @@ -[{"name":"resources","index":1,"scopes":["PROJECT"],"types":["NATIVE_LIBS"],"format":"DIRECTORY","present":false}] \ No newline at end of file +[{"name":"resources","index":2,"scopes":["PROJECT"],"types":["NATIVE_LIBS"],"format":"DIRECTORY","present":false}] \ No newline at end of file diff --git a/platforms/android/CordovaLib/build/outputs/logs/manifest-merger-debug-report.txt b/platforms/android/CordovaLib/build/outputs/logs/manifest-merger-debug-report.txt index 17edac08..38464e1b 100755 --- a/platforms/android/CordovaLib/build/outputs/logs/manifest-merger-debug-report.txt +++ b/platforms/android/CordovaLib/build/outputs/logs/manifest-merger-debug-report.txt @@ -1,27 +1,27 @@ -- Merging decision tree log --- manifest -ADDED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:20:1-23:12 -INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:20:1-23:12 -INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:20:1-23:12 -INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:20:1-23:12 -INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:20:1-23:12 -INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:20:1-23:12 -INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:20:1-23:12 +ADDED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:20:1-23:12 +INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:20:1-23:12 +INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:20:1-23:12 +INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:20:1-23:12 +INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:20:1-23:12 +INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:20:1-23:12 +INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:20:1-23:12 package - ADDED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:21:7-35 - INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml - INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml + ADDED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:21:7-35 + INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml + INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml android:versionName - ADDED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:21:36-61 - INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml - INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml + ADDED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:21:36-61 + INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml + INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml xmlns:android - ADDED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:20:11-69 + ADDED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:20:11-69 android:versionCode - ADDED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:21:62-85 - INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml - INJECTED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml + ADDED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:21:62-85 + INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml + INJECTED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml uses-sdk -ADDED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:22:5-44 +ADDED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:22:5-44 android:minSdkVersion - ADDED from /opt/lampp/htdocs/pd_officer/platforms/android/CordovaLib/AndroidManifest.xml:22:15-41 + ADDED from S:\pd_office\pd_officer\platforms\android\CordovaLib\AndroidManifest.xml:22:15-41 diff --git a/platforms/android/app/build/intermediates/assets/debug/www/build/main.css b/platforms/android/app/build/intermediates/assets/debug/www/build/main.css index 9170cc23..5c520465 100644 --- a/platforms/android/app/build/intermediates/assets/debug/www/build/main.css +++ b/platforms/android/app/build/intermediates/assets/debug/www/build/main.css @@ -1 +1,29664 @@ -.ion-ios-add:before{content:"\f102"}.ion-ios-add-circle:before{content:"\f101"}.ion-ios-add-circle-outline:before{content:"\f100"}.ion-ios-add-outline:before{content:"\f102"}.ion-ios-alarm:before{content:"\f3c8"}.ion-ios-alarm-outline:before{content:"\f3c7"}.ion-ios-albums:before{content:"\f3ca"}.ion-ios-albums-outline:before{content:"\f3c9"}.ion-ios-alert:before{content:"\f104"}.ion-ios-alert-outline:before{content:"\f103"}.ion-ios-american-football:before{content:"\f106"}.ion-ios-american-football-outline:before{content:"\f105"}.ion-ios-analytics:before{content:"\f3ce"}.ion-ios-analytics-outline:before{content:"\f3cd"}.ion-ios-aperture:before{content:"\f108"}.ion-ios-aperture-outline:before{content:"\f107"}.ion-ios-apps:before{content:"\f10a"}.ion-ios-apps-outline:before{content:"\f109"}.ion-ios-appstore:before{content:"\f10c"}.ion-ios-appstore-outline:before{content:"\f10b"}.ion-ios-archive:before{content:"\f10e"}.ion-ios-archive-outline:before{content:"\f10d"}.ion-ios-arrow-back:before{content:"\f3cf"}.ion-ios-arrow-back-outline:before{content:"\f3cf"}.ion-ios-arrow-down:before{content:"\f3d0"}.ion-ios-arrow-down-outline:before{content:"\f3d0"}.ion-ios-arrow-dropdown:before{content:"\f110"}.ion-ios-arrow-dropdown-circle:before{content:"\f10f"}.ion-ios-arrow-dropdown-circle-outline:before{content:"\f10f"}.ion-ios-arrow-dropdown-outline:before{content:"\f110"}.ion-ios-arrow-dropleft:before{content:"\f112"}.ion-ios-arrow-dropleft-circle:before{content:"\f111"}.ion-ios-arrow-dropleft-circle-outline:before{content:"\f111"}.ion-ios-arrow-dropleft-outline:before{content:"\f112"}.ion-ios-arrow-dropright:before{content:"\f114"}.ion-ios-arrow-dropright-circle:before{content:"\f113"}.ion-ios-arrow-dropright-circle-outline:before{content:"\f113"}.ion-ios-arrow-dropright-outline:before{content:"\f114"}.ion-ios-arrow-dropup:before{content:"\f116"}.ion-ios-arrow-dropup-circle:before{content:"\f115"}.ion-ios-arrow-dropup-circle-outline:before{content:"\f115"}.ion-ios-arrow-dropup-outline:before{content:"\f116"}.ion-ios-arrow-forward:before{content:"\f3d1"}.ion-ios-arrow-forward-outline:before{content:"\f3d1"}.ion-ios-arrow-round-back:before{content:"\f117"}.ion-ios-arrow-round-back-outline:before{content:"\f117"}.ion-ios-arrow-round-down:before{content:"\f118"}.ion-ios-arrow-round-down-outline:before{content:"\f118"}.ion-ios-arrow-round-forward:before{content:"\f119"}.ion-ios-arrow-round-forward-outline:before{content:"\f119"}.ion-ios-arrow-round-up:before{content:"\f11a"}.ion-ios-arrow-round-up-outline:before{content:"\f11a"}.ion-ios-arrow-up:before{content:"\f3d8"}.ion-ios-arrow-up-outline:before{content:"\f3d8"}.ion-ios-at:before{content:"\f3da"}.ion-ios-at-outline:before{content:"\f3d9"}.ion-ios-attach:before{content:"\f11b"}.ion-ios-attach-outline:before{content:"\f11b"}.ion-ios-backspace:before{content:"\f11d"}.ion-ios-backspace-outline:before{content:"\f11c"}.ion-ios-barcode:before{content:"\f3dc"}.ion-ios-barcode-outline:before{content:"\f3db"}.ion-ios-baseball:before{content:"\f3de"}.ion-ios-baseball-outline:before{content:"\f3dd"}.ion-ios-basket:before{content:"\f11f"}.ion-ios-basket-outline:before{content:"\f11e"}.ion-ios-basketball:before{content:"\f3e0"}.ion-ios-basketball-outline:before{content:"\f3df"}.ion-ios-battery-charging:before{content:"\f120"}.ion-ios-battery-charging-outline:before{content:"\f120"}.ion-ios-battery-dead:before{content:"\f121"}.ion-ios-battery-dead-outline:before{content:"\f121"}.ion-ios-battery-full:before{content:"\f122"}.ion-ios-battery-full-outline:before{content:"\f122"}.ion-ios-beaker:before{content:"\f124"}.ion-ios-beaker-outline:before{content:"\f123"}.ion-ios-beer:before{content:"\f126"}.ion-ios-beer-outline:before{content:"\f125"}.ion-ios-bicycle:before{content:"\f127"}.ion-ios-bicycle-outline:before{content:"\f127"}.ion-ios-bluetooth:before{content:"\f128"}.ion-ios-bluetooth-outline:before{content:"\f128"}.ion-ios-boat:before{content:"\f12a"}.ion-ios-boat-outline:before{content:"\f129"}.ion-ios-body:before{content:"\f3e4"}.ion-ios-body-outline:before{content:"\f3e3"}.ion-ios-bonfire:before{content:"\f12c"}.ion-ios-bonfire-outline:before{content:"\f12b"}.ion-ios-book:before{content:"\f3e8"}.ion-ios-book-outline:before{content:"\f3e7"}.ion-ios-bookmark:before{content:"\f12e"}.ion-ios-bookmark-outline:before{content:"\f12d"}.ion-ios-bookmarks:before{content:"\f3ea"}.ion-ios-bookmarks-outline:before{content:"\f3e9"}.ion-ios-bowtie:before{content:"\f130"}.ion-ios-bowtie-outline:before{content:"\f12f"}.ion-ios-briefcase:before{content:"\f3ee"}.ion-ios-briefcase-outline:before{content:"\f3ed"}.ion-ios-browsers:before{content:"\f3f0"}.ion-ios-browsers-outline:before{content:"\f3ef"}.ion-ios-brush:before{content:"\f132"}.ion-ios-brush-outline:before{content:"\f131"}.ion-ios-bug:before{content:"\f134"}.ion-ios-bug-outline:before{content:"\f133"}.ion-ios-build:before{content:"\f136"}.ion-ios-build-outline:before{content:"\f135"}.ion-ios-bulb:before{content:"\f138"}.ion-ios-bulb-outline:before{content:"\f137"}.ion-ios-bus:before{content:"\f13a"}.ion-ios-bus-outline:before{content:"\f139"}.ion-ios-cafe:before{content:"\f13c"}.ion-ios-cafe-outline:before{content:"\f13b"}.ion-ios-calculator:before{content:"\f3f2"}.ion-ios-calculator-outline:before{content:"\f3f1"}.ion-ios-calendar:before{content:"\f3f4"}.ion-ios-calendar-outline:before{content:"\f3f3"}.ion-ios-call:before{content:"\f13e"}.ion-ios-call-outline:before{content:"\f13d"}.ion-ios-camera:before{content:"\f3f6"}.ion-ios-camera-outline:before{content:"\f3f5"}.ion-ios-car:before{content:"\f140"}.ion-ios-car-outline:before{content:"\f13f"}.ion-ios-card:before{content:"\f142"}.ion-ios-card-outline:before{content:"\f141"}.ion-ios-cart:before{content:"\f3f8"}.ion-ios-cart-outline:before{content:"\f3f7"}.ion-ios-cash:before{content:"\f144"}.ion-ios-cash-outline:before{content:"\f143"}.ion-ios-chatboxes:before{content:"\f3fa"}.ion-ios-chatboxes-outline:before{content:"\f3f9"}.ion-ios-chatbubbles:before{content:"\f146"}.ion-ios-chatbubbles-outline:before{content:"\f145"}.ion-ios-checkbox:before{content:"\f148"}.ion-ios-checkbox-outline:before{content:"\f147"}.ion-ios-checkmark:before{content:"\f3ff"}.ion-ios-checkmark-circle:before{content:"\f14a"}.ion-ios-checkmark-circle-outline:before{content:"\f149"}.ion-ios-checkmark-outline:before{content:"\f3ff"}.ion-ios-clipboard:before{content:"\f14c"}.ion-ios-clipboard-outline:before{content:"\f14b"}.ion-ios-clock:before{content:"\f403"}.ion-ios-clock-outline:before{content:"\f402"}.ion-ios-close:before{content:"\f406"}.ion-ios-close-circle:before{content:"\f14e"}.ion-ios-close-circle-outline:before{content:"\f14d"}.ion-ios-close-outline:before{content:"\f406"}.ion-ios-closed-captioning:before{content:"\f150"}.ion-ios-closed-captioning-outline:before{content:"\f14f"}.ion-ios-cloud:before{content:"\f40c"}.ion-ios-cloud-circle:before{content:"\f152"}.ion-ios-cloud-circle-outline:before{content:"\f151"}.ion-ios-cloud-done:before{content:"\f154"}.ion-ios-cloud-done-outline:before{content:"\f153"}.ion-ios-cloud-download:before{content:"\f408"}.ion-ios-cloud-download-outline:before{content:"\f407"}.ion-ios-cloud-outline:before{content:"\f409"}.ion-ios-cloud-upload:before{content:"\f40b"}.ion-ios-cloud-upload-outline:before{content:"\f40a"}.ion-ios-cloudy:before{content:"\f410"}.ion-ios-cloudy-night:before{content:"\f40e"}.ion-ios-cloudy-night-outline:before{content:"\f40d"}.ion-ios-cloudy-outline:before{content:"\f40f"}.ion-ios-code:before{content:"\f157"}.ion-ios-code-download:before{content:"\f155"}.ion-ios-code-download-outline:before{content:"\f155"}.ion-ios-code-outline:before{content:"\f157"}.ion-ios-code-working:before{content:"\f156"}.ion-ios-code-working-outline:before{content:"\f156"}.ion-ios-cog:before{content:"\f412"}.ion-ios-cog-outline:before{content:"\f411"}.ion-ios-color-fill:before{content:"\f159"}.ion-ios-color-fill-outline:before{content:"\f158"}.ion-ios-color-filter:before{content:"\f414"}.ion-ios-color-filter-outline:before{content:"\f413"}.ion-ios-color-palette:before{content:"\f15b"}.ion-ios-color-palette-outline:before{content:"\f15a"}.ion-ios-color-wand:before{content:"\f416"}.ion-ios-color-wand-outline:before{content:"\f415"}.ion-ios-compass:before{content:"\f15d"}.ion-ios-compass-outline:before{content:"\f15c"}.ion-ios-construct:before{content:"\f15f"}.ion-ios-construct-outline:before{content:"\f15e"}.ion-ios-contact:before{content:"\f41a"}.ion-ios-contact-outline:before{content:"\f419"}.ion-ios-contacts:before{content:"\f161"}.ion-ios-contacts-outline:before{content:"\f160"}.ion-ios-contract:before{content:"\f162"}.ion-ios-contract-outline:before{content:"\f162"}.ion-ios-contrast:before{content:"\f163"}.ion-ios-contrast-outline:before{content:"\f163"}.ion-ios-copy:before{content:"\f41c"}.ion-ios-copy-outline:before{content:"\f41b"}.ion-ios-create:before{content:"\f165"}.ion-ios-create-outline:before{content:"\f164"}.ion-ios-crop:before{content:"\f41e"}.ion-ios-crop-outline:before{content:"\f166"}.ion-ios-cube:before{content:"\f168"}.ion-ios-cube-outline:before{content:"\f167"}.ion-ios-cut:before{content:"\f16a"}.ion-ios-cut-outline:before{content:"\f169"}.ion-ios-desktop:before{content:"\f16c"}.ion-ios-desktop-outline:before{content:"\f16b"}.ion-ios-disc:before{content:"\f16e"}.ion-ios-disc-outline:before{content:"\f16d"}.ion-ios-document:before{content:"\f170"}.ion-ios-document-outline:before{content:"\f16f"}.ion-ios-done-all:before{content:"\f171"}.ion-ios-done-all-outline:before{content:"\f171"}.ion-ios-download:before{content:"\f420"}.ion-ios-download-outline:before{content:"\f41f"}.ion-ios-easel:before{content:"\f173"}.ion-ios-easel-outline:before{content:"\f172"}.ion-ios-egg:before{content:"\f175"}.ion-ios-egg-outline:before{content:"\f174"}.ion-ios-exit:before{content:"\f177"}.ion-ios-exit-outline:before{content:"\f176"}.ion-ios-expand:before{content:"\f178"}.ion-ios-expand-outline:before{content:"\f178"}.ion-ios-eye:before{content:"\f425"}.ion-ios-eye-off:before{content:"\f17a"}.ion-ios-eye-off-outline:before{content:"\f179"}.ion-ios-eye-outline:before{content:"\f424"}.ion-ios-fastforward:before{content:"\f427"}.ion-ios-fastforward-outline:before{content:"\f426"}.ion-ios-female:before{content:"\f17b"}.ion-ios-female-outline:before{content:"\f17b"}.ion-ios-filing:before{content:"\f429"}.ion-ios-filing-outline:before{content:"\f428"}.ion-ios-film:before{content:"\f42b"}.ion-ios-film-outline:before{content:"\f42a"}.ion-ios-finger-print:before{content:"\f17c"}.ion-ios-finger-print-outline:before{content:"\f17c"}.ion-ios-flag:before{content:"\f42d"}.ion-ios-flag-outline:before{content:"\f42c"}.ion-ios-flame:before{content:"\f42f"}.ion-ios-flame-outline:before{content:"\f42e"}.ion-ios-flash:before{content:"\f17e"}.ion-ios-flash-outline:before{content:"\f17d"}.ion-ios-flask:before{content:"\f431"}.ion-ios-flask-outline:before{content:"\f430"}.ion-ios-flower:before{content:"\f433"}.ion-ios-flower-outline:before{content:"\f432"}.ion-ios-folder:before{content:"\f435"}.ion-ios-folder-open:before{content:"\f180"}.ion-ios-folder-open-outline:before{content:"\f17f"}.ion-ios-folder-outline:before{content:"\f434"}.ion-ios-football:before{content:"\f437"}.ion-ios-football-outline:before{content:"\f436"}.ion-ios-funnel:before{content:"\f182"}.ion-ios-funnel-outline:before{content:"\f181"}.ion-ios-game-controller-a:before{content:"\f439"}.ion-ios-game-controller-a-outline:before{content:"\f438"}.ion-ios-game-controller-b:before{content:"\f43b"}.ion-ios-game-controller-b-outline:before{content:"\f43a"}.ion-ios-git-branch:before{content:"\f183"}.ion-ios-git-branch-outline:before{content:"\f183"}.ion-ios-git-commit:before{content:"\f184"}.ion-ios-git-commit-outline:before{content:"\f184"}.ion-ios-git-compare:before{content:"\f185"}.ion-ios-git-compare-outline:before{content:"\f185"}.ion-ios-git-merge:before{content:"\f186"}.ion-ios-git-merge-outline:before{content:"\f186"}.ion-ios-git-network:before{content:"\f187"}.ion-ios-git-network-outline:before{content:"\f187"}.ion-ios-git-pull-request:before{content:"\f188"}.ion-ios-git-pull-request-outline:before{content:"\f188"}.ion-ios-glasses:before{content:"\f43f"}.ion-ios-glasses-outline:before{content:"\f43e"}.ion-ios-globe:before{content:"\f18a"}.ion-ios-globe-outline:before{content:"\f189"}.ion-ios-grid:before{content:"\f18c"}.ion-ios-grid-outline:before{content:"\f18b"}.ion-ios-hammer:before{content:"\f18e"}.ion-ios-hammer-outline:before{content:"\f18d"}.ion-ios-hand:before{content:"\f190"}.ion-ios-hand-outline:before{content:"\f18f"}.ion-ios-happy:before{content:"\f192"}.ion-ios-happy-outline:before{content:"\f191"}.ion-ios-headset:before{content:"\f194"}.ion-ios-headset-outline:before{content:"\f193"}.ion-ios-heart:before{content:"\f443"}.ion-ios-heart-outline:before{content:"\f442"}.ion-ios-help:before{content:"\f446"}.ion-ios-help-buoy:before{content:"\f196"}.ion-ios-help-buoy-outline:before{content:"\f195"}.ion-ios-help-circle:before{content:"\f198"}.ion-ios-help-circle-outline:before{content:"\f197"}.ion-ios-help-outline:before{content:"\f446"}.ion-ios-home:before{content:"\f448"}.ion-ios-home-outline:before{content:"\f447"}.ion-ios-ice-cream:before{content:"\f19a"}.ion-ios-ice-cream-outline:before{content:"\f199"}.ion-ios-image:before{content:"\f19c"}.ion-ios-image-outline:before{content:"\f19b"}.ion-ios-images:before{content:"\f19e"}.ion-ios-images-outline:before{content:"\f19d"}.ion-ios-infinite:before{content:"\f44a"}.ion-ios-infinite-outline:before{content:"\f449"}.ion-ios-information:before{content:"\f44d"}.ion-ios-information-circle:before{content:"\f1a0"}.ion-ios-information-circle-outline:before{content:"\f19f"}.ion-ios-information-outline:before{content:"\f44d"}.ion-ios-ionic:before{content:"\f1a1"}.ion-ios-ionic-outline:before{content:"\f44e"}.ion-ios-ionitron:before{content:"\f1a3"}.ion-ios-ionitron-outline:before{content:"\f1a2"}.ion-ios-jet:before{content:"\f1a5"}.ion-ios-jet-outline:before{content:"\f1a4"}.ion-ios-key:before{content:"\f1a7"}.ion-ios-key-outline:before{content:"\f1a6"}.ion-ios-keypad:before{content:"\f450"}.ion-ios-keypad-outline:before{content:"\f44f"}.ion-ios-laptop:before{content:"\f1a8"}.ion-ios-laptop-outline:before{content:"\f1a8"}.ion-ios-leaf:before{content:"\f1aa"}.ion-ios-leaf-outline:before{content:"\f1a9"}.ion-ios-link:before{content:"\f22a"}.ion-ios-link-outline:before{content:"\f1ca"}.ion-ios-list:before{content:"\f454"}.ion-ios-list-box:before{content:"\f1ac"}.ion-ios-list-box-outline:before{content:"\f1ab"}.ion-ios-list-outline:before{content:"\f454"}.ion-ios-locate:before{content:"\f1ae"}.ion-ios-locate-outline:before{content:"\f1ad"}.ion-ios-lock:before{content:"\f1b0"}.ion-ios-lock-outline:before{content:"\f1af"}.ion-ios-log-in:before{content:"\f1b1"}.ion-ios-log-in-outline:before{content:"\f1b1"}.ion-ios-log-out:before{content:"\f1b2"}.ion-ios-log-out-outline:before{content:"\f1b2"}.ion-ios-magnet:before{content:"\f1b4"}.ion-ios-magnet-outline:before{content:"\f1b3"}.ion-ios-mail:before{content:"\f1b8"}.ion-ios-mail-open:before{content:"\f1b6"}.ion-ios-mail-open-outline:before{content:"\f1b5"}.ion-ios-mail-outline:before{content:"\f1b7"}.ion-ios-male:before{content:"\f1b9"}.ion-ios-male-outline:before{content:"\f1b9"}.ion-ios-man:before{content:"\f1bb"}.ion-ios-man-outline:before{content:"\f1ba"}.ion-ios-map:before{content:"\f1bd"}.ion-ios-map-outline:before{content:"\f1bc"}.ion-ios-medal:before{content:"\f1bf"}.ion-ios-medal-outline:before{content:"\f1be"}.ion-ios-medical:before{content:"\f45c"}.ion-ios-medical-outline:before{content:"\f45b"}.ion-ios-medkit:before{content:"\f45e"}.ion-ios-medkit-outline:before{content:"\f45d"}.ion-ios-megaphone:before{content:"\f1c1"}.ion-ios-megaphone-outline:before{content:"\f1c0"}.ion-ios-menu:before{content:"\f1c3"}.ion-ios-menu-outline:before{content:"\f1c2"}.ion-ios-mic:before{content:"\f461"}.ion-ios-mic-off:before{content:"\f45f"}.ion-ios-mic-off-outline:before{content:"\f1c4"}.ion-ios-mic-outline:before{content:"\f460"}.ion-ios-microphone:before{content:"\f1c6"}.ion-ios-microphone-outline:before{content:"\f1c5"}.ion-ios-moon:before{content:"\f468"}.ion-ios-moon-outline:before{content:"\f467"}.ion-ios-more:before{content:"\f1c8"}.ion-ios-more-outline:before{content:"\f1c7"}.ion-ios-move:before{content:"\f1cb"}.ion-ios-move-outline:before{content:"\f1cb"}.ion-ios-musical-note:before{content:"\f46b"}.ion-ios-musical-note-outline:before{content:"\f1cc"}.ion-ios-musical-notes:before{content:"\f46c"}.ion-ios-musical-notes-outline:before{content:"\f1cd"}.ion-ios-navigate:before{content:"\f46e"}.ion-ios-navigate-outline:before{content:"\f46d"}.ion-ios-no-smoking:before{content:"\f1cf"}.ion-ios-no-smoking-outline:before{content:"\f1ce"}.ion-ios-notifications:before{content:"\f1d3"}.ion-ios-notifications-off:before{content:"\f1d1"}.ion-ios-notifications-off-outline:before{content:"\f1d0"}.ion-ios-notifications-outline:before{content:"\f1d2"}.ion-ios-nuclear:before{content:"\f1d5"}.ion-ios-nuclear-outline:before{content:"\f1d4"}.ion-ios-nutrition:before{content:"\f470"}.ion-ios-nutrition-outline:before{content:"\f46f"}.ion-ios-open:before{content:"\f1d7"}.ion-ios-open-outline:before{content:"\f1d6"}.ion-ios-options:before{content:"\f1d9"}.ion-ios-options-outline:before{content:"\f1d8"}.ion-ios-outlet:before{content:"\f1db"}.ion-ios-outlet-outline:before{content:"\f1da"}.ion-ios-paper:before{content:"\f472"}.ion-ios-paper-outline:before{content:"\f471"}.ion-ios-paper-plane:before{content:"\f1dd"}.ion-ios-paper-plane-outline:before{content:"\f1dc"}.ion-ios-partly-sunny:before{content:"\f1df"}.ion-ios-partly-sunny-outline:before{content:"\f1de"}.ion-ios-pause:before{content:"\f478"}.ion-ios-pause-outline:before{content:"\f477"}.ion-ios-paw:before{content:"\f47a"}.ion-ios-paw-outline:before{content:"\f479"}.ion-ios-people:before{content:"\f47c"}.ion-ios-people-outline:before{content:"\f47b"}.ion-ios-person:before{content:"\f47e"}.ion-ios-person-add:before{content:"\f1e1"}.ion-ios-person-add-outline:before{content:"\f1e0"}.ion-ios-person-outline:before{content:"\f47d"}.ion-ios-phone-landscape:before{content:"\f1e2"}.ion-ios-phone-landscape-outline:before{content:"\f1e2"}.ion-ios-phone-portrait:before{content:"\f1e3"}.ion-ios-phone-portrait-outline:before{content:"\f1e3"}.ion-ios-photos:before{content:"\f482"}.ion-ios-photos-outline:before{content:"\f481"}.ion-ios-pie:before{content:"\f484"}.ion-ios-pie-outline:before{content:"\f483"}.ion-ios-pin:before{content:"\f1e5"}.ion-ios-pin-outline:before{content:"\f1e4"}.ion-ios-pint:before{content:"\f486"}.ion-ios-pint-outline:before{content:"\f485"}.ion-ios-pizza:before{content:"\f1e7"}.ion-ios-pizza-outline:before{content:"\f1e6"}.ion-ios-plane:before{content:"\f1e9"}.ion-ios-plane-outline:before{content:"\f1e8"}.ion-ios-planet:before{content:"\f1eb"}.ion-ios-planet-outline:before{content:"\f1ea"}.ion-ios-play:before{content:"\f488"}.ion-ios-play-outline:before{content:"\f487"}.ion-ios-podium:before{content:"\f1ed"}.ion-ios-podium-outline:before{content:"\f1ec"}.ion-ios-power:before{content:"\f1ef"}.ion-ios-power-outline:before{content:"\f1ee"}.ion-ios-pricetag:before{content:"\f48d"}.ion-ios-pricetag-outline:before{content:"\f48c"}.ion-ios-pricetags:before{content:"\f48f"}.ion-ios-pricetags-outline:before{content:"\f48e"}.ion-ios-print:before{content:"\f1f1"}.ion-ios-print-outline:before{content:"\f1f0"}.ion-ios-pulse:before{content:"\f493"}.ion-ios-pulse-outline:before{content:"\f1f2"}.ion-ios-qr-scanner:before{content:"\f1f3"}.ion-ios-qr-scanner-outline:before{content:"\f1f3"}.ion-ios-quote:before{content:"\f1f5"}.ion-ios-quote-outline:before{content:"\f1f4"}.ion-ios-radio:before{content:"\f1f9"}.ion-ios-radio-button-off:before{content:"\f1f6"}.ion-ios-radio-button-off-outline:before{content:"\f1f6"}.ion-ios-radio-button-on:before{content:"\f1f7"}.ion-ios-radio-button-on-outline:before{content:"\f1f7"}.ion-ios-radio-outline:before{content:"\f1f8"}.ion-ios-rainy:before{content:"\f495"}.ion-ios-rainy-outline:before{content:"\f494"}.ion-ios-recording:before{content:"\f497"}.ion-ios-recording-outline:before{content:"\f496"}.ion-ios-redo:before{content:"\f499"}.ion-ios-redo-outline:before{content:"\f498"}.ion-ios-refresh:before{content:"\f49c"}.ion-ios-refresh-circle:before{content:"\f226"}.ion-ios-refresh-circle-outline:before{content:"\f224"}.ion-ios-refresh-outline:before{content:"\f49c"}.ion-ios-remove:before{content:"\f1fc"}.ion-ios-remove-circle:before{content:"\f1fb"}.ion-ios-remove-circle-outline:before{content:"\f1fa"}.ion-ios-remove-outline:before{content:"\f1fc"}.ion-ios-reorder:before{content:"\f1fd"}.ion-ios-reorder-outline:before{content:"\f1fd"}.ion-ios-repeat:before{content:"\f1fe"}.ion-ios-repeat-outline:before{content:"\f1fe"}.ion-ios-resize:before{content:"\f1ff"}.ion-ios-resize-outline:before{content:"\f1ff"}.ion-ios-restaurant:before{content:"\f201"}.ion-ios-restaurant-outline:before{content:"\f200"}.ion-ios-return-left:before{content:"\f202"}.ion-ios-return-left-outline:before{content:"\f202"}.ion-ios-return-right:before{content:"\f203"}.ion-ios-return-right-outline:before{content:"\f203"}.ion-ios-reverse-camera:before{content:"\f49f"}.ion-ios-reverse-camera-outline:before{content:"\f49e"}.ion-ios-rewind:before{content:"\f4a1"}.ion-ios-rewind-outline:before{content:"\f4a0"}.ion-ios-ribbon:before{content:"\f205"}.ion-ios-ribbon-outline:before{content:"\f204"}.ion-ios-rose:before{content:"\f4a3"}.ion-ios-rose-outline:before{content:"\f4a2"}.ion-ios-sad:before{content:"\f207"}.ion-ios-sad-outline:before{content:"\f206"}.ion-ios-school:before{content:"\f209"}.ion-ios-school-outline:before{content:"\f208"}.ion-ios-search:before{content:"\f4a5"}.ion-ios-search-outline:before{content:"\f20a"}.ion-ios-send:before{content:"\f20c"}.ion-ios-send-outline:before{content:"\f20b"}.ion-ios-settings:before{content:"\f4a7"}.ion-ios-settings-outline:before{content:"\f20d"}.ion-ios-share:before{content:"\f211"}.ion-ios-share-alt:before{content:"\f20f"}.ion-ios-share-alt-outline:before{content:"\f20e"}.ion-ios-share-outline:before{content:"\f210"}.ion-ios-shirt:before{content:"\f213"}.ion-ios-shirt-outline:before{content:"\f212"}.ion-ios-shuffle:before{content:"\f4a9"}.ion-ios-shuffle-outline:before{content:"\f4a9"}.ion-ios-skip-backward:before{content:"\f215"}.ion-ios-skip-backward-outline:before{content:"\f214"}.ion-ios-skip-forward:before{content:"\f217"}.ion-ios-skip-forward-outline:before{content:"\f216"}.ion-ios-snow:before{content:"\f218"}.ion-ios-snow-outline:before{content:"\f22c"}.ion-ios-speedometer:before{content:"\f4b0"}.ion-ios-speedometer-outline:before{content:"\f4af"}.ion-ios-square:before{content:"\f21a"}.ion-ios-square-outline:before{content:"\f219"}.ion-ios-star:before{content:"\f4b3"}.ion-ios-star-half:before{content:"\f4b1"}.ion-ios-star-half-outline:before{content:"\f4b1"}.ion-ios-star-outline:before{content:"\f4b2"}.ion-ios-stats:before{content:"\f21c"}.ion-ios-stats-outline:before{content:"\f21b"}.ion-ios-stopwatch:before{content:"\f4b5"}.ion-ios-stopwatch-outline:before{content:"\f4b4"}.ion-ios-subway:before{content:"\f21e"}.ion-ios-subway-outline:before{content:"\f21d"}.ion-ios-sunny:before{content:"\f4b7"}.ion-ios-sunny-outline:before{content:"\f4b6"}.ion-ios-swap:before{content:"\f21f"}.ion-ios-swap-outline:before{content:"\f21f"}.ion-ios-switch:before{content:"\f221"}.ion-ios-switch-outline:before{content:"\f220"}.ion-ios-sync:before{content:"\f222"}.ion-ios-sync-outline:before{content:"\f222"}.ion-ios-tablet-landscape:before{content:"\f223"}.ion-ios-tablet-landscape-outline:before{content:"\f223"}.ion-ios-tablet-portrait:before{content:"\f24e"}.ion-ios-tablet-portrait-outline:before{content:"\f24e"}.ion-ios-tennisball:before{content:"\f4bb"}.ion-ios-tennisball-outline:before{content:"\f4ba"}.ion-ios-text:before{content:"\f250"}.ion-ios-text-outline:before{content:"\f24f"}.ion-ios-thermometer:before{content:"\f252"}.ion-ios-thermometer-outline:before{content:"\f251"}.ion-ios-thumbs-down:before{content:"\f254"}.ion-ios-thumbs-down-outline:before{content:"\f253"}.ion-ios-thumbs-up:before{content:"\f256"}.ion-ios-thumbs-up-outline:before{content:"\f255"}.ion-ios-thunderstorm:before{content:"\f4bd"}.ion-ios-thunderstorm-outline:before{content:"\f4bc"}.ion-ios-time:before{content:"\f4bf"}.ion-ios-time-outline:before{content:"\f4be"}.ion-ios-timer:before{content:"\f4c1"}.ion-ios-timer-outline:before{content:"\f4c0"}.ion-ios-train:before{content:"\f258"}.ion-ios-train-outline:before{content:"\f257"}.ion-ios-transgender:before{content:"\f259"}.ion-ios-transgender-outline:before{content:"\f259"}.ion-ios-trash:before{content:"\f4c5"}.ion-ios-trash-outline:before{content:"\f4c4"}.ion-ios-trending-down:before{content:"\f25a"}.ion-ios-trending-down-outline:before{content:"\f25a"}.ion-ios-trending-up:before{content:"\f25b"}.ion-ios-trending-up-outline:before{content:"\f25b"}.ion-ios-trophy:before{content:"\f25d"}.ion-ios-trophy-outline:before{content:"\f25c"}.ion-ios-umbrella:before{content:"\f25f"}.ion-ios-umbrella-outline:before{content:"\f25e"}.ion-ios-undo:before{content:"\f4c7"}.ion-ios-undo-outline:before{content:"\f4c6"}.ion-ios-unlock:before{content:"\f261"}.ion-ios-unlock-outline:before{content:"\f260"}.ion-ios-videocam:before{content:"\f4cd"}.ion-ios-videocam-outline:before{content:"\f4cc"}.ion-ios-volume-down:before{content:"\f262"}.ion-ios-volume-down-outline:before{content:"\f262"}.ion-ios-volume-mute:before{content:"\f263"}.ion-ios-volume-mute-outline:before{content:"\f263"}.ion-ios-volume-off:before{content:"\f264"}.ion-ios-volume-off-outline:before{content:"\f264"}.ion-ios-volume-up:before{content:"\f265"}.ion-ios-volume-up-outline:before{content:"\f265"}.ion-ios-walk:before{content:"\f266"}.ion-ios-walk-outline:before{content:"\f266"}.ion-ios-warning:before{content:"\f268"}.ion-ios-warning-outline:before{content:"\f267"}.ion-ios-watch:before{content:"\f269"}.ion-ios-watch-outline:before{content:"\f269"}.ion-ios-water:before{content:"\f26b"}.ion-ios-water-outline:before{content:"\f26a"}.ion-ios-wifi:before{content:"\f26d"}.ion-ios-wifi-outline:before{content:"\f26c"}.ion-ios-wine:before{content:"\f26f"}.ion-ios-wine-outline:before{content:"\f26e"}.ion-ios-woman:before{content:"\f271"}.ion-ios-woman-outline:before{content:"\f270"}.ion-logo-android:before{content:"\f225"}.ion-logo-angular:before{content:"\f227"}.ion-logo-apple:before{content:"\f229"}.ion-logo-bitcoin:before{content:"\f22b"}.ion-logo-buffer:before{content:"\f22d"}.ion-logo-chrome:before{content:"\f22f"}.ion-logo-codepen:before{content:"\f230"}.ion-logo-css3:before{content:"\f231"}.ion-logo-designernews:before{content:"\f232"}.ion-logo-dribbble:before{content:"\f233"}.ion-logo-dropbox:before{content:"\f234"}.ion-logo-euro:before{content:"\f235"}.ion-logo-facebook:before{content:"\f236"}.ion-logo-foursquare:before{content:"\f237"}.ion-logo-freebsd-devil:before{content:"\f238"}.ion-logo-github:before{content:"\f239"}.ion-logo-google:before{content:"\f23a"}.ion-logo-googleplus:before{content:"\f23b"}.ion-logo-hackernews:before{content:"\f23c"}.ion-logo-html5:before{content:"\f23d"}.ion-logo-instagram:before{content:"\f23e"}.ion-logo-javascript:before{content:"\f23f"}.ion-logo-linkedin:before{content:"\f240"}.ion-logo-markdown:before{content:"\f241"}.ion-logo-nodejs:before{content:"\f242"}.ion-logo-octocat:before{content:"\f243"}.ion-logo-pinterest:before{content:"\f244"}.ion-logo-playstation:before{content:"\f245"}.ion-logo-python:before{content:"\f246"}.ion-logo-reddit:before{content:"\f247"}.ion-logo-rss:before{content:"\f248"}.ion-logo-sass:before{content:"\f249"}.ion-logo-skype:before{content:"\f24a"}.ion-logo-snapchat:before{content:"\f24b"}.ion-logo-steam:before{content:"\f24c"}.ion-logo-tumblr:before{content:"\f24d"}.ion-logo-tux:before{content:"\f2ae"}.ion-logo-twitch:before{content:"\f2af"}.ion-logo-twitter:before{content:"\f2b0"}.ion-logo-usd:before{content:"\f2b1"}.ion-logo-vimeo:before{content:"\f2c4"}.ion-logo-whatsapp:before{content:"\f2c5"}.ion-logo-windows:before{content:"\f32f"}.ion-logo-wordpress:before{content:"\f330"}.ion-logo-xbox:before{content:"\f34c"}.ion-logo-yahoo:before{content:"\f34d"}.ion-logo-yen:before{content:"\f34e"}.ion-logo-youtube:before{content:"\f34f"}.ion-md-add:before{content:"\f273"}.ion-md-add-circle:before{content:"\f272"}.ion-md-alarm:before{content:"\f274"}.ion-md-albums:before{content:"\f275"}.ion-md-alert:before{content:"\f276"}.ion-md-american-football:before{content:"\f277"}.ion-md-analytics:before{content:"\f278"}.ion-md-aperture:before{content:"\f279"}.ion-md-apps:before{content:"\f27a"}.ion-md-appstore:before{content:"\f27b"}.ion-md-archive:before{content:"\f27c"}.ion-md-arrow-back:before{content:"\f27d"}.ion-md-arrow-down:before{content:"\f27e"}.ion-md-arrow-dropdown:before{content:"\f280"}.ion-md-arrow-dropdown-circle:before{content:"\f27f"}.ion-md-arrow-dropleft:before{content:"\f282"}.ion-md-arrow-dropleft-circle:before{content:"\f281"}.ion-md-arrow-dropright:before{content:"\f284"}.ion-md-arrow-dropright-circle:before{content:"\f283"}.ion-md-arrow-dropup:before{content:"\f286"}.ion-md-arrow-dropup-circle:before{content:"\f285"}.ion-md-arrow-forward:before{content:"\f287"}.ion-md-arrow-round-back:before{content:"\f288"}.ion-md-arrow-round-down:before{content:"\f289"}.ion-md-arrow-round-forward:before{content:"\f28a"}.ion-md-arrow-round-up:before{content:"\f28b"}.ion-md-arrow-up:before{content:"\f28c"}.ion-md-at:before{content:"\f28d"}.ion-md-attach:before{content:"\f28e"}.ion-md-backspace:before{content:"\f28f"}.ion-md-barcode:before{content:"\f290"}.ion-md-baseball:before{content:"\f291"}.ion-md-basket:before{content:"\f292"}.ion-md-basketball:before{content:"\f293"}.ion-md-battery-charging:before{content:"\f294"}.ion-md-battery-dead:before{content:"\f295"}.ion-md-battery-full:before{content:"\f296"}.ion-md-beaker:before{content:"\f297"}.ion-md-beer:before{content:"\f298"}.ion-md-bicycle:before{content:"\f299"}.ion-md-bluetooth:before{content:"\f29a"}.ion-md-boat:before{content:"\f29b"}.ion-md-body:before{content:"\f29c"}.ion-md-bonfire:before{content:"\f29d"}.ion-md-book:before{content:"\f29e"}.ion-md-bookmark:before{content:"\f29f"}.ion-md-bookmarks:before{content:"\f2a0"}.ion-md-bowtie:before{content:"\f2a1"}.ion-md-briefcase:before{content:"\f2a2"}.ion-md-browsers:before{content:"\f2a3"}.ion-md-brush:before{content:"\f2a4"}.ion-md-bug:before{content:"\f2a5"}.ion-md-build:before{content:"\f2a6"}.ion-md-bulb:before{content:"\f2a7"}.ion-md-bus:before{content:"\f2a8"}.ion-md-cafe:before{content:"\f2a9"}.ion-md-calculator:before{content:"\f2aa"}.ion-md-calendar:before{content:"\f2ab"}.ion-md-call:before{content:"\f2ac"}.ion-md-camera:before{content:"\f2ad"}.ion-md-car:before{content:"\f2b2"}.ion-md-card:before{content:"\f2b3"}.ion-md-cart:before{content:"\f2b4"}.ion-md-cash:before{content:"\f2b5"}.ion-md-chatboxes:before{content:"\f2b6"}.ion-md-chatbubbles:before{content:"\f2b7"}.ion-md-checkbox:before{content:"\f2b9"}.ion-md-checkbox-outline:before{content:"\f2b8"}.ion-md-checkmark:before{content:"\f2bc"}.ion-md-checkmark-circle:before{content:"\f2bb"}.ion-md-checkmark-circle-outline:before{content:"\f2ba"}.ion-md-clipboard:before{content:"\f2bd"}.ion-md-clock:before{content:"\f2be"}.ion-md-close:before{content:"\f2c0"}.ion-md-close-circle:before{content:"\f2bf"}.ion-md-closed-captioning:before{content:"\f2c1"}.ion-md-cloud:before{content:"\f2c9"}.ion-md-cloud-circle:before{content:"\f2c2"}.ion-md-cloud-done:before{content:"\f2c3"}.ion-md-cloud-download:before{content:"\f2c6"}.ion-md-cloud-outline:before{content:"\f2c7"}.ion-md-cloud-upload:before{content:"\f2c8"}.ion-md-cloudy:before{content:"\f2cb"}.ion-md-cloudy-night:before{content:"\f2ca"}.ion-md-code:before{content:"\f2ce"}.ion-md-code-download:before{content:"\f2cc"}.ion-md-code-working:before{content:"\f2cd"}.ion-md-cog:before{content:"\f2cf"}.ion-md-color-fill:before{content:"\f2d0"}.ion-md-color-filter:before{content:"\f2d1"}.ion-md-color-palette:before{content:"\f2d2"}.ion-md-color-wand:before{content:"\f2d3"}.ion-md-compass:before{content:"\f2d4"}.ion-md-construct:before{content:"\f2d5"}.ion-md-contact:before{content:"\f2d6"}.ion-md-contacts:before{content:"\f2d7"}.ion-md-contract:before{content:"\f2d8"}.ion-md-contrast:before{content:"\f2d9"}.ion-md-copy:before{content:"\f2da"}.ion-md-create:before{content:"\f2db"}.ion-md-crop:before{content:"\f2dc"}.ion-md-cube:before{content:"\f2dd"}.ion-md-cut:before{content:"\f2de"}.ion-md-desktop:before{content:"\f2df"}.ion-md-disc:before{content:"\f2e0"}.ion-md-document:before{content:"\f2e1"}.ion-md-done-all:before{content:"\f2e2"}.ion-md-download:before{content:"\f2e3"}.ion-md-easel:before{content:"\f2e4"}.ion-md-egg:before{content:"\f2e5"}.ion-md-exit:before{content:"\f2e6"}.ion-md-expand:before{content:"\f2e7"}.ion-md-eye:before{content:"\f2e9"}.ion-md-eye-off:before{content:"\f2e8"}.ion-md-fastforward:before{content:"\f2ea"}.ion-md-female:before{content:"\f2eb"}.ion-md-filing:before{content:"\f2ec"}.ion-md-film:before{content:"\f2ed"}.ion-md-finger-print:before{content:"\f2ee"}.ion-md-flag:before{content:"\f2ef"}.ion-md-flame:before{content:"\f2f0"}.ion-md-flash:before{content:"\f2f1"}.ion-md-flask:before{content:"\f2f2"}.ion-md-flower:before{content:"\f2f3"}.ion-md-folder:before{content:"\f2f5"}.ion-md-folder-open:before{content:"\f2f4"}.ion-md-football:before{content:"\f2f6"}.ion-md-funnel:before{content:"\f2f7"}.ion-md-game-controller-a:before{content:"\f2f8"}.ion-md-game-controller-b:before{content:"\f2f9"}.ion-md-git-branch:before{content:"\f2fa"}.ion-md-git-commit:before{content:"\f2fb"}.ion-md-git-compare:before{content:"\f2fc"}.ion-md-git-merge:before{content:"\f2fd"}.ion-md-git-network:before{content:"\f2fe"}.ion-md-git-pull-request:before{content:"\f2ff"}.ion-md-glasses:before{content:"\f300"}.ion-md-globe:before{content:"\f301"}.ion-md-grid:before{content:"\f302"}.ion-md-hammer:before{content:"\f303"}.ion-md-hand:before{content:"\f304"}.ion-md-happy:before{content:"\f305"}.ion-md-headset:before{content:"\f306"}.ion-md-heart:before{content:"\f308"}.ion-md-heart-outline:before{content:"\f307"}.ion-md-help:before{content:"\f30b"}.ion-md-help-buoy:before{content:"\f309"}.ion-md-help-circle:before{content:"\f30a"}.ion-md-home:before{content:"\f30c"}.ion-md-ice-cream:before{content:"\f30d"}.ion-md-image:before{content:"\f30e"}.ion-md-images:before{content:"\f30f"}.ion-md-infinite:before{content:"\f310"}.ion-md-information:before{content:"\f312"}.ion-md-information-circle:before{content:"\f311"}.ion-md-ionic:before{content:"\f313"}.ion-md-ionitron:before{content:"\f314"}.ion-md-jet:before{content:"\f315"}.ion-md-key:before{content:"\f316"}.ion-md-keypad:before{content:"\f317"}.ion-md-laptop:before{content:"\f318"}.ion-md-leaf:before{content:"\f319"}.ion-md-link:before{content:"\f22e"}.ion-md-list:before{content:"\f31b"}.ion-md-list-box:before{content:"\f31a"}.ion-md-locate:before{content:"\f31c"}.ion-md-lock:before{content:"\f31d"}.ion-md-log-in:before{content:"\f31e"}.ion-md-log-out:before{content:"\f31f"}.ion-md-magnet:before{content:"\f320"}.ion-md-mail:before{content:"\f322"}.ion-md-mail-open:before{content:"\f321"}.ion-md-male:before{content:"\f323"}.ion-md-man:before{content:"\f324"}.ion-md-map:before{content:"\f325"}.ion-md-medal:before{content:"\f326"}.ion-md-medical:before{content:"\f327"}.ion-md-medkit:before{content:"\f328"}.ion-md-megaphone:before{content:"\f329"}.ion-md-menu:before{content:"\f32a"}.ion-md-mic:before{content:"\f32c"}.ion-md-mic-off:before{content:"\f32b"}.ion-md-microphone:before{content:"\f32d"}.ion-md-moon:before{content:"\f32e"}.ion-md-more:before{content:"\f1c9"}.ion-md-move:before{content:"\f331"}.ion-md-musical-note:before{content:"\f332"}.ion-md-musical-notes:before{content:"\f333"}.ion-md-navigate:before{content:"\f334"}.ion-md-no-smoking:before{content:"\f335"}.ion-md-notifications:before{content:"\f338"}.ion-md-notifications-off:before{content:"\f336"}.ion-md-notifications-outline:before{content:"\f337"}.ion-md-nuclear:before{content:"\f339"}.ion-md-nutrition:before{content:"\f33a"}.ion-md-open:before{content:"\f33b"}.ion-md-options:before{content:"\f33c"}.ion-md-outlet:before{content:"\f33d"}.ion-md-paper:before{content:"\f33f"}.ion-md-paper-plane:before{content:"\f33e"}.ion-md-partly-sunny:before{content:"\f340"}.ion-md-pause:before{content:"\f341"}.ion-md-paw:before{content:"\f342"}.ion-md-people:before{content:"\f343"}.ion-md-person:before{content:"\f345"}.ion-md-person-add:before{content:"\f344"}.ion-md-phone-landscape:before{content:"\f346"}.ion-md-phone-portrait:before{content:"\f347"}.ion-md-photos:before{content:"\f348"}.ion-md-pie:before{content:"\f349"}.ion-md-pin:before{content:"\f34a"}.ion-md-pint:before{content:"\f34b"}.ion-md-pizza:before{content:"\f354"}.ion-md-plane:before{content:"\f355"}.ion-md-planet:before{content:"\f356"}.ion-md-play:before{content:"\f357"}.ion-md-podium:before{content:"\f358"}.ion-md-power:before{content:"\f359"}.ion-md-pricetag:before{content:"\f35a"}.ion-md-pricetags:before{content:"\f35b"}.ion-md-print:before{content:"\f35c"}.ion-md-pulse:before{content:"\f35d"}.ion-md-qr-scanner:before{content:"\f35e"}.ion-md-quote:before{content:"\f35f"}.ion-md-radio:before{content:"\f362"}.ion-md-radio-button-off:before{content:"\f360"}.ion-md-radio-button-on:before{content:"\f361"}.ion-md-rainy:before{content:"\f363"}.ion-md-recording:before{content:"\f364"}.ion-md-redo:before{content:"\f365"}.ion-md-refresh:before{content:"\f366"}.ion-md-refresh-circle:before{content:"\f228"}.ion-md-remove:before{content:"\f368"}.ion-md-remove-circle:before{content:"\f367"}.ion-md-reorder:before{content:"\f369"}.ion-md-repeat:before{content:"\f36a"}.ion-md-resize:before{content:"\f36b"}.ion-md-restaurant:before{content:"\f36c"}.ion-md-return-left:before{content:"\f36d"}.ion-md-return-right:before{content:"\f36e"}.ion-md-reverse-camera:before{content:"\f36f"}.ion-md-rewind:before{content:"\f370"}.ion-md-ribbon:before{content:"\f371"}.ion-md-rose:before{content:"\f372"}.ion-md-sad:before{content:"\f373"}.ion-md-school:before{content:"\f374"}.ion-md-search:before{content:"\f375"}.ion-md-send:before{content:"\f376"}.ion-md-settings:before{content:"\f377"}.ion-md-share:before{content:"\f379"}.ion-md-share-alt:before{content:"\f378"}.ion-md-shirt:before{content:"\f37a"}.ion-md-shuffle:before{content:"\f37b"}.ion-md-skip-backward:before{content:"\f37c"}.ion-md-skip-forward:before{content:"\f37d"}.ion-md-snow:before{content:"\f37e"}.ion-md-speedometer:before{content:"\f37f"}.ion-md-square:before{content:"\f381"}.ion-md-square-outline:before{content:"\f380"}.ion-md-star:before{content:"\f384"}.ion-md-star-half:before{content:"\f382"}.ion-md-star-outline:before{content:"\f383"}.ion-md-stats:before{content:"\f385"}.ion-md-stopwatch:before{content:"\f386"}.ion-md-subway:before{content:"\f387"}.ion-md-sunny:before{content:"\f388"}.ion-md-swap:before{content:"\f389"}.ion-md-switch:before{content:"\f38a"}.ion-md-sync:before{content:"\f38b"}.ion-md-tablet-landscape:before{content:"\f38c"}.ion-md-tablet-portrait:before{content:"\f38d"}.ion-md-tennisball:before{content:"\f38e"}.ion-md-text:before{content:"\f38f"}.ion-md-thermometer:before{content:"\f390"}.ion-md-thumbs-down:before{content:"\f391"}.ion-md-thumbs-up:before{content:"\f392"}.ion-md-thunderstorm:before{content:"\f393"}.ion-md-time:before{content:"\f394"}.ion-md-timer:before{content:"\f395"}.ion-md-train:before{content:"\f396"}.ion-md-transgender:before{content:"\f397"}.ion-md-trash:before{content:"\f398"}.ion-md-trending-down:before{content:"\f399"}.ion-md-trending-up:before{content:"\f39a"}.ion-md-trophy:before{content:"\f39b"}.ion-md-umbrella:before{content:"\f39c"}.ion-md-undo:before{content:"\f39d"}.ion-md-unlock:before{content:"\f39e"}.ion-md-videocam:before{content:"\f39f"}.ion-md-volume-down:before{content:"\f3a0"}.ion-md-volume-mute:before{content:"\f3a1"}.ion-md-volume-off:before{content:"\f3a2"}.ion-md-volume-up:before{content:"\f3a3"}.ion-md-walk:before{content:"\f3a4"}.ion-md-warning:before{content:"\f3a5"}.ion-md-watch:before{content:"\f3a6"}.ion-md-water:before{content:"\f3a7"}.ion-md-wifi:before{content:"\f3a8"}.ion-md-wine:before{content:"\f3a9"}.ion-md-woman:before{content:"\f3aa"}@font-face{font-family:Ionicons;src:url(../assets/fonts/ionicons.woff2?v=3.0.0-alpha.3) format("woff2"),url(../assets/fonts/ionicons.woff?v=3.0.0-alpha.3) format("woff"),url(../assets/fonts/ionicons.ttf?v=3.0.0-alpha.3) format("truetype");font-weight:400;font-style:normal}ion-icon{display:inline-block;font-family:Ionicons;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto;text-transform:none;speak:none}ion-icon::before{display:inline-block}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../assets/fonts/roboto-light.woff2) format("woff2"),url(../assets/fonts/roboto-light.woff) format("woff"),url(../assets/fonts/roboto-light.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../assets/fonts/roboto-regular.woff2) format("woff2"),url(../assets/fonts/roboto-regular.woff) format("woff"),url(../assets/fonts/roboto-regular.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../assets/fonts/roboto-medium.woff2) format("woff2"),url(../assets/fonts/roboto-medium.woff) format("woff"),url(../assets/fonts/roboto-medium.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../assets/fonts/roboto-bold.woff2) format("woff2"),url(../assets/fonts/roboto-bold.woff) format("woff"),url(../assets/fonts/roboto-bold.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:300;src:local("Noto Sans"),local("Noto-Sans-Regular"),url(../assets/fonts/noto-sans-regular.woff) format("woff"),url(../assets/fonts/noto-sans-regular.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:400;src:local("Noto Sans"),local("Noto-Sans-Regular"),url(../assets/fonts/noto-sans-regular.woff) format("woff"),url(../assets/fonts/noto-sans-regular.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:500;src:local("Noto Sans Bold"),local("Noto-Sans-Bold"),url(../assets/fonts/noto-sans-bold.woff) format("woff"),url(../assets/fonts/noto-sans-bold.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:700;src:local("Noto Sans Bold"),local("Noto-Sans-Bold"),url(../assets/fonts/noto-sans-bold.woff) format("woff"),url(../assets/fonts/noto-sans-bold.ttf) format("truetype")}ion-action-sheet{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%}.action-sheet-wrapper{left:0;right:0;top:0;bottom:0;margin:auto;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);position:absolute;z-index:10;display:block;width:100%;max-width:500px;pointer-events:none}.action-sheet-button{width:100%}.action-sheet-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column;-ms-flex-flow:column;flex-flow:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group{overflow:scroll;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;pointer-events:all}.action-sheet-group-cancel{overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.action-sheet-ios{text-align:center}.action-sheet-ios .action-sheet-wrapper{margin:constant(safe-area-inset-top) auto constant(safe-area-inset-bottom);margin:env(safe-area-inset-top) auto env(safe-area-inset-bottom)}.action-sheet-ios .action-sheet-container{padding:0 10px}.action-sheet-ios .action-sheet-group{border-radius:13px;margin-bottom:8px;background:#f9f9f9}.action-sheet-ios .action-sheet-group:first-child{margin-top:10px}.action-sheet-ios .action-sheet-group:last-child{margin-bottom:10px}.action-sheet-ios .action-sheet-title{padding:1.5rem;text-align:center;border-radius:0;border-bottom:.55px solid #d6d6da;font-size:1.3rem;font-weight:400;color:#8f8f8f}.action-sheet-ios .action-sheet-button{margin:0;padding:18px;min-height:5.6rem;border-bottom:.55px solid #d6d6da;font-size:2rem;color:#007aff;background:0 0}.action-sheet-ios .action-sheet-button:last-child{border-bottom-color:transparent}.action-sheet-ios .action-sheet-button.activated{margin-top:-.55px;border-top:.55px solid #ebebeb;border-bottom-color:#ebebeb;background:#ebebeb}.action-sheet-ios .action-sheet-selected{font-weight:700;background:#fff}.action-sheet-ios .action-sheet-destructive{color:#f53d3d}.action-sheet-ios .action-sheet-cancel{font-weight:600;background:#fff}.action-sheet-md .action-sheet-title{text-align:left;text-align:start;font-size:1.6rem;color:#757575;padding:11px 16px 17px}.action-sheet-md .action-sheet-button{text-align:left;text-align:start;position:relative;overflow:hidden;min-height:4.8rem;font-size:1.6rem;color:#222;background:0 0;padding:0 16px}.action-sheet-md .action-sheet-button.activated{background:#f1f1f1}.action-sheet-md .action-sheet-icon{padding:0;text-align:center;width:2.3rem;font-size:2.4rem;vertical-align:middle;margin:0 32px 0 0}.action-sheet-md .action-sheet-group{background:#fafafa}.action-sheet-md .action-sheet-group:first-child{padding-top:.8rem}.action-sheet-md .action-sheet-group:last-child{padding-bottom:.8rem}.action-sheet-md .action-sheet-group .button-inner{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.action-sheet-md .action-sheet-selected{font-weight:700}.action-sheet-wp .action-sheet-title{text-align:left;text-align:start;font-size:2rem;color:#4d4d4d;padding:11px 16px 17px}.action-sheet-wp .action-sheet-button{text-align:left;text-align:start;min-height:4.8rem;font-size:1.5rem;color:#4d4d4d;background:0 0;padding:0 16px}.action-sheet-wp .action-sheet-button.activated{background:#aaa}.action-sheet-wp .action-sheet-icon{padding:0;text-align:center;width:2.3rem;font-size:2.4rem;vertical-align:middle;margin:0 20px 0 0}.action-sheet-wp .action-sheet-group{background:#fff}.action-sheet-wp .action-sheet-group:first-child{padding-top:.8rem;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,.2);box-shadow:0 -1px 0 rgba(0,0,0,.2)}.action-sheet-wp .action-sheet-group:last-child{padding-bottom:.8rem}.action-sheet-wp .action-sheet-group .button-inner{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.action-sheet-wp .action-sheet-selected{font-weight:700}.action-sheet-wp .action-sheet-cancel{background:0 0}ion-alert{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}ion-alert.alert-top{padding-top:50px;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}ion-alert input{width:100%}.alert-wrapper{z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-width:250px;max-height:90%;opacity:0;contain:content}.alert-title{margin:0;padding:0}.alert-sub-title{margin:5px 0 0;padding:0;font-weight:400}.alert-message{overflow-y:scroll;-webkit-overflow-scrolling:touch}.alert-input{padding:10px 0;border:0;background:inherit}.alert-input::-moz-placeholder{color:#999}.alert-input:-ms-input-placeholder{color:#999}.alert-input::-webkit-input-placeholder{text-indent:0;color:#999}.alert-button-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.alert-button-group-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button{margin:0;z-index:0;display:block;font-size:14px;line-height:20px}.alert-tappable{text-align:left;text-align:start;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;margin:0;padding:0;width:100%;font-size:inherit;line-height:initial;background:0 0}.alert-ios .alert-wrapper{border-radius:13px;overflow:hidden;max-width:270px;background-color:#f8f8f8;-webkit-box-shadow:none;box-shadow:none}.alert-ios .alert-head{text-align:center;padding:12px 16px 7px}.alert-ios .alert-title{margin-top:8px;font-size:17px;font-weight:600}.alert-ios .alert-sub-title{font-size:14px;color:#666}.alert-ios .alert-input-group,.alert-ios .alert-message{text-align:center;font-size:13px;color:inherit;padding:0 16px 21px}.alert-ios .alert-message{max-height:240px}.alert-ios .alert-message:empty{padding:0 0 12px}.alert-ios .alert-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;margin-top:10px;border-radius:4px;border:.55px solid #ccc;background-color:#fff;padding:6px}.alert-ios .alert-checkbox-group,.alert-ios .alert-radio-group{overflow:scroll;max-height:240px;border-top:.55px solid #dbdbdf;-webkit-overflow-scrolling:touch}.alert-ios .alert-tappable{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;min-height:44px}.alert-ios .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px}.alert-ios [aria-checked=true] .alert-radio-label{color:#673ab7}.alert-ios .alert-radio-icon{position:relative;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:30px}.alert-ios [aria-checked=true] .alert-radio-inner{left:7px;top:-7px;position:absolute;width:6px;height:12px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#673ab7;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-ios .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px}.alert-ios [aria-checked=true] .alert-checkbox-label{color:initial}.alert-ios .alert-checkbox-icon{border-radius:50%;position:relative;width:21px;height:21px;border-width:.55px;border-style:solid;border-color:#c8c7cc;background-color:#fff;margin:10px 6px 10px 16px}.alert-ios [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background-color:#673ab7}.alert-ios [aria-checked=true] .alert-checkbox-inner{left:7px;top:4px;position:absolute;width:4px;height:9px;border-width:.55px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-ios .alert-button-group{margin-right:-.55px;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-ios .alert-button{margin:0;border-radius:0;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:.55px solid #dbdbdf;border-right:.55px solid #dbdbdf;font-size:17px;color:#673ab7;background-color:transparent}.alert-ios .alert-button:last-child{border-right:0;font-weight:700}.alert-ios .alert-button.activated{background-color:#e9e9e9}.alert-md .alert-wrapper{border-radius:2px;max-width:280px;background-color:#fafafa;-webkit-box-shadow:0 16px 20px rgba(0,0,0,.4);box-shadow:0 16px 20px rgba(0,0,0,.4)}.alert-md .alert-head{text-align:left;text-align:start;padding:24px 24px 20px}.alert-md .alert-title{font-size:22px}.alert-md .alert-sub-title{font-size:16px}.alert-md .alert-input-group,.alert-md .alert-message{color:rgba(0,0,0,.5);padding:0 24px 24px}.alert-md .alert-message{max-height:240px;font-size:15px}.alert-md .alert-message:empty{padding:0}.alert-md .alert-input{margin:5px 0;border-bottom:1px solid #dedede;color:#000}.alert-md .alert-input:focus{margin-bottom:4px;border-bottom:2px solid #673ab7}.alert-md .alert-checkbox-group,.alert-md .alert-radio-group{position:relative;overflow:auto;max-height:240px;border-top:1px solid #dedede;border-bottom:1px solid #dedede}.alert-md .alert-tappable{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;min-height:4.4rem}.alert-md .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-md .alert-radio-icon{left:13px;top:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.alert-md .alert-radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:8px;height:8px;background-color:#673ab7;-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0);-webkit-transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1),-webkit-transform 280ms cubic-bezier(.4,0,.2,1)}.alert-md [aria-checked=true] .alert-radio-label{color:#673ab7}.alert-md [aria-checked=true] .alert-radio-icon{border-color:#673ab7}.alert-md [aria-checked=true] .alert-radio-inner{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}.alert-md .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-md [aria-checked=true] .alert-checkbox-label{color:initial}.alert-md .alert-checkbox-icon{left:13px;top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.alert-md [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background-color:#673ab7}.alert-md [aria-checked=true] .alert-checkbox-inner{left:3px;top:0;position:absolute;width:6px;height:10px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-md .alert-button-group{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding:8px 8px 8px 24px}.alert-md .alert-button{text-align:right;text-align:end;border-radius:2px;position:relative;overflow:hidden;font-weight:500;text-transform:uppercase;color:#673ab7;background-color:transparent;margin:0 8px 0 0;padding:10px}.alert-md .alert-button.activated{background-color:rgba(158,158,158,.2)}.alert-md .alert-button .button-inner{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.alert-wp ion-backdrop{background:#fff}.alert-wp .alert-wrapper{border-radius:0;width:100%;max-width:520px;border:1px solid #673ab7;background:#e6e6e6}.alert-wp .alert-head{text-align:left;text-align:start;padding:20px 22px 5px}.alert-wp .alert-title{font-size:20px;font-weight:400}.alert-wp .alert-sub-title{font-size:16px}.alert-wp .alert-input-group,.alert-wp .alert-message{color:#000;padding:0 22px 8px}.alert-wp .alert-message{max-height:240px;font-size:13px}.alert-wp .alert-message:empty{padding:0}.alert-wp .alert-input{border:2px solid rgba(0,0,0,.5);line-height:3rem;color:#000;margin:5px 0;padding:0 8px}.alert-wp .alert-input:focus{border-color:#673ab7}.alert-wp .alert-checkbox-group,.alert-wp .alert-radio-group{position:relative;overflow:auto;max-height:240px}.alert-wp .alert-tappable{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;min-height:4.4rem}.alert-wp .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-wp .alert-radio-icon{left:13px;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:rgba(0,0,0,.5)}.alert-wp .alert-radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;display:none;width:8px;height:8px;background:#673ab7}.alert-wp [aria-checked=true] .alert-radio-label{color:#000}.alert-wp [aria-checked=true] .alert-radio-icon{border-color:rgba(0,0,0,.5)}.alert-wp [aria-checked=true] .alert-radio-inner{display:block}.alert-wp .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-wp [aria-checked=true] .alert-checkbox-label{color:initial}.alert-wp .alert-checkbox-icon{left:13px;top:0;border-radius:0;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:rgba(0,0,0,.5);background:0 0}.alert-wp [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background:#673ab7}.alert-wp [aria-checked=true] .alert-checkbox-inner{left:3px;top:-2px;position:absolute;width:6px;height:12px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-wp .alert-button-group{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding:20px 22px}.alert-wp .alert-button-group-vertical .alert-button{margin-top:5px;width:100%}.alert-wp .alert-button-group-vertical .alert-button:first-child:not(:only-child){margin-right:0;margin-top:0}.alert-wp .alert-button{border-radius:0;width:49.5%;font-weight:400;color:#000;background:#b8b8b8;padding:5px}.alert-wp .alert-button:first-child:not(:only-child){margin-right:1%}.alert-wp .alert-button.activated{background:#a9a9a9}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%;border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:1px;border-width:0;-webkit-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-webkit-input-placeholder{padding-left:2px}textarea:-ms-input-placeholder{padding-left:2px}textarea::-ms-input-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{-ms-touch-action:manipulation;touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{border:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;cursor:pointer;-webkit-appearance:button}[tappable]{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.hide,[hidden],template{display:none!important}.sticky{position:-webkit-sticky;position:sticky;top:0}:active,:focus{outline:0}.focus-outline :focus{outline:thin dotted;outline-offset:-1px}.focus-outline [ion-button]:focus,.focus-outline button:focus{border-color:#51a7e8;outline:2px solid #51a7e8;-webkit-box-shadow:0 0 8px 1px #51a7e8;box-shadow:0 0 8px 1px #51a7e8}ion-input :focus{outline:0}.click-block{display:none}.click-block-enabled{left:0;right:0;top:0;bottom:0;-webkit-transform:translate3d(0,-100%,0) translateY(1px);transform:translate3d(0,-100%,0) translateY(1px);position:absolute;z-index:99999;display:block;opacity:0;contain:strict}.click-block-active{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}*{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;font-size:62.5%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;padding:0;position:fixed;overflow:hidden;width:100%;max-width:100%;height:100%;max-height:100%;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeLegibility;-webkit-user-drag:none;-ms-content-zooming:none;-ms-touch-action:manipulation;touch-action:manipulation;word-wrap:break-word;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}a{background-color:transparent}.enable-hover a:hover{opacity:.7}h1,h2,h3,h4,h5,h6{margin-top:1.6rem;margin-bottom:1rem;font-weight:500;line-height:1.2}[padding] h1:first-child,[padding] h2:first-child,[padding] h3:first-child,[padding] h4:first-child,[padding] h5:first-child,[padding] h6:first-child{margin-top:-.3rem}h1+h2,h1+h3,h2+h3{margin-top:-.3rem}h1{margin-top:2rem;font-size:2.6rem}h2{margin-top:1.8rem;font-size:2.4rem}h3{font-size:2.2rem}h4{font-size:2rem}h5{font-size:1.8rem}h6{font-size:1.6rem}small{font-size:75%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.app-root,ion-app,ion-nav,ion-tab,ion-tabs{left:0;top:0;position:absolute;z-index:0;display:block;width:100%;height:100%}ion-nav,ion-tab,ion-tabs{overflow:hidden}ion-tab{display:none}ion-tab.show-tab{display:block}.app-root,.ion-page,ion-app,ion-nav,ion-tab,ion-tabs{contain:strict}.ion-page{left:0;top:0;position:absolute;display:block;width:100%;height:100%;opacity:0}.ion-page.show-page{opacity:1}ion-header{left:0;top:0;position:absolute;z-index:10;display:block;width:100%}ion-footer{left:0;bottom:0;position:absolute;z-index:10;display:block;width:100%}.nav-decor,[app-viewport],[nav-viewport],[overlay-portal],[tab-portal]{display:none}[text-center]{text-align:center!important}[text-justify]{text-align:justify!important}[text-start]{text-align:left;text-align:start!important}[text-end]{text-align:right;text-align:end!important}[text-left]{text-align:left!important}[text-right]{text-align:right!important}[text-nowrap]{white-space:nowrap!important}[text-wrap]{white-space:normal!important}@media (min-width:576px){[text-sm-center]{text-align:center!important}[text-sm-justify]{text-align:justify!important}[text-sm-start]{text-align:left;text-align:start!important}[text-sm-end]{text-align:right;text-align:end!important}[text-sm-left]{text-align:left!important}[text-sm-right]{text-align:right!important}[text-sm-nowrap]{white-space:nowrap!important}[text-sm-wrap]{white-space:normal!important}}@media (min-width:768px){[text-md-center]{text-align:center!important}[text-md-justify]{text-align:justify!important}[text-md-start]{text-align:left;text-align:start!important}[text-md-end]{text-align:right;text-align:end!important}[text-md-left]{text-align:left!important}[text-md-right]{text-align:right!important}[text-md-nowrap]{white-space:nowrap!important}[text-md-wrap]{white-space:normal!important}}@media (min-width:992px){[text-lg-center]{text-align:center!important}[text-lg-justify]{text-align:justify!important}[text-lg-start]{text-align:left;text-align:start!important}[text-lg-end]{text-align:right;text-align:end!important}[text-lg-left]{text-align:left!important}[text-lg-right]{text-align:right!important}[text-lg-nowrap]{white-space:nowrap!important}[text-lg-wrap]{white-space:normal!important}}@media (min-width:1200px){[text-xl-center]{text-align:center!important}[text-xl-justify]{text-align:justify!important}[text-xl-start]{text-align:left;text-align:start!important}[text-xl-end]{text-align:right;text-align:end!important}[text-xl-left]{text-align:left!important}[text-xl-right]{text-align:right!important}[text-xl-nowrap]{white-space:nowrap!important}[text-xl-wrap]{white-space:normal!important}}[text-uppercase]{text-transform:uppercase!important}[text-lowercase]{text-transform:lowercase!important}[text-capitalize]{text-transform:capitalize!important}@media (min-width:576px){[text-sm-uppercase]{text-transform:uppercase!important}[text-sm-lowercase]{text-transform:lowercase!important}[text-sm-capitalize]{text-transform:capitalize!important}}@media (min-width:768px){[text-md-uppercase]{text-transform:uppercase!important}[text-md-lowercase]{text-transform:lowercase!important}[text-md-capitalize]{text-transform:capitalize!important}}@media (min-width:992px){[text-lg-uppercase]{text-transform:uppercase!important}[text-lg-lowercase]{text-transform:lowercase!important}[text-lg-capitalize]{text-transform:capitalize!important}}@media (min-width:1200px){[text-xl-uppercase]{text-transform:uppercase!important}[text-xl-lowercase]{text-transform:lowercase!important}[text-xl-capitalize]{text-transform:capitalize!important}}[float-left]{float:left!important}[float-right]{float:right!important}[float-start]{float:left!important}[float-end]{float:right!important}@media (min-width:576px){[float-sm-left]{float:left!important}[float-sm-right]{float:right!important}[float-sm-start]{float:left!important}[float-sm-end]{float:right!important}}@media (min-width:768px){[float-md-left]{float:left!important}[float-md-right]{float:right!important}[float-md-start]{float:left!important}[float-md-end]{float:right!important}}@media (min-width:992px){[float-lg-left]{float:left!important}[float-lg-right]{float:right!important}[float-lg-start]{float:left!important}[float-lg-end]{float:right!important}}@media (min-width:1200px){[float-xl-left]{float:left!important}[float-xl-right]{float:right!important}[float-xl-start]{float:left!important}[float-xl-end]{float:right!important}}ion-app.ios{font-family:-apple-system,"Helvetica Neue",Roboto,sans-serif;font-size:1.4rem;background-color:#fff}ion-app.md{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:1.4rem;background-color:#fff}ion-app.wp{font-family:"Segoe UI","Noto Sans",sans-serif;font-size:1.4rem;background-color:#fff}ion-backdrop{left:0;top:0;position:absolute;z-index:2;display:block;width:100%;height:100%;background-color:#000;opacity:.01;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-backdrop.backdrop-no-tappable{cursor:auto}ion-badge{padding:3px 8px;text-align:center;display:inline-block;min-width:10px;font-size:1.3rem;font-weight:700;line-height:1;white-space:nowrap;vertical-align:baseline}ion-badge:empty{display:none}.badge-ios{border-radius:10px;color:#fff;background-color:#673ab7}.badge-ios-primary{color:#fff;background-color:#673ab7}.badge-ios-secondary{color:#fff;background-color:#32db64}.badge-ios-danger{color:#fff;background-color:#f53d3d}.badge-ios-light{color:#000;background-color:#f4f4f4}.badge-ios-dark{color:#fff;background-color:#222}.badge-ios-optblue{color:#fff;background-color:#e00201}.badge-md{border-radius:4px;color:#fff;background-color:#673ab7}.badge-md-primary{color:#fff;background-color:#673ab7}.badge-md-secondary{color:#fff;background-color:#32db64}.badge-md-danger{color:#fff;background-color:#f53d3d}.badge-md-light{color:#000;background-color:#f4f4f4}.badge-md-dark{color:#fff;background-color:#222}.badge-md-optblue{color:#fff;background-color:#e00201}.badge-wp{border-radius:0;color:#fff;background-color:#673ab7}.badge-wp-primary{color:#fff;background-color:#673ab7}.badge-wp-secondary{color:#fff;background-color:#32db64}.badge-wp-danger{color:#fff;background-color:#f53d3d}.badge-wp-light{color:#000;background-color:#f4f4f4}.badge-wp-dark{color:#fff;background-color:#222}.badge-wp-optblue{color:#fff;background-color:#e00201}.button{text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;position:relative;z-index:0;display:inline-block;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-transition:background-color,opacity .1s linear;transition:background-color,opacity .1s linear;-webkit-font-kerning:none;font-kerning:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;contain:content}.button-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}[ion-button]{text-decoration:none}[ion-button][disabled],a[disabled],button[disabled]{cursor:default;opacity:.4;pointer-events:none}.button-block{display:block;clear:both;width:100%;contain:strict}.button-block::after{clear:both}.button-full{display:block;width:100%;contain:strict}.button-full.button-outline{border-radius:0;border-right-width:0;border-left-width:0}[icon-left] ion-icon,[icon-start] ion-icon{font-size:1.4em;line-height:.67;pointer-events:none;padding-right:.3em}[icon-end] ion-icon,[icon-right] ion-icon{font-size:1.4em;line-height:.67;pointer-events:none;padding-left:.4em}.button[icon-only]{padding:0;min-width:.9em}[icon-only] ion-icon{padding:0 .5em;font-size:1.8em;line-height:.67;pointer-events:none}.button-ios{border-radius:4px;height:2.8em;font-size:1.6rem;color:#fff;background-color:#673ab7;margin:.4rem .2rem;padding:0 1em}.button-ios.activated{background-color:#734abd;opacity:1}.button-ios:hover:not(.disable-hover){opacity:.8}.button-large-ios{height:2.8em;font-size:2rem;padding:0 1em}.button-small-ios{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-ios[icon-only] ion-icon{font-size:1.3em}.button-block-ios{margin-left:0;margin-right:0}.button-full-ios{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-ios{border-radius:4px;border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-ios.activated{color:#fff;background-color:#673ab7;opacity:1}.button-clear-ios{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-ios.activated{background-color:transparent;opacity:.4}.button-clear-ios:hover:not(.disable-hover){color:#673ab7;opacity:.6}.button-round-ios{border-radius:64px;padding:0 2.6rem}.button-ios-primary{color:#fff;background-color:#673ab7}.button-ios-primary.activated{background-color:#734abd}.button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.button-clear-ios-primary{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-ios-primary.activated{opacity:.4}.button-clear-ios-primary:hover:not(.disable-hover){color:#673ab7}.button-ios-secondary{color:#fff;background-color:#32db64}.button-ios-secondary.activated{background-color:#2ec95c}.button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.button-clear-ios-secondary{border-color:transparent;color:#32db64;background-color:transparent}.button-clear-ios-secondary.activated{opacity:.4}.button-clear-ios-secondary:hover:not(.disable-hover){color:#32db64}.button-ios-danger{color:#fff;background-color:#f53d3d}.button-ios-danger.activated{background-color:#e13838}.button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.button-clear-ios-danger{border-color:transparent;color:#f53d3d;background-color:transparent}.button-clear-ios-danger.activated{opacity:.4}.button-clear-ios-danger:hover:not(.disable-hover){color:#f53d3d}.button-ios-light{color:#000;background-color:#f4f4f4}.button-ios-light.activated{background-color:#e0e0e0}.button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.button-clear-ios-light{border-color:transparent;color:#f4f4f4;background-color:transparent}.button-clear-ios-light.activated{opacity:.4}.button-clear-ios-light:hover:not(.disable-hover){color:#f4f4f4}.button-ios-dark{color:#fff;background-color:#222}.button-ios-dark.activated{background-color:#343434}.button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.button-outline-ios-dark.activated{color:#fff;background-color:#222}.button-clear-ios-dark{border-color:transparent;color:#222;background-color:transparent}.button-clear-ios-dark.activated{opacity:.4}.button-clear-ios-dark:hover:not(.disable-hover){color:#222}.button-ios-optblue{color:#fff;background-color:#e00201}.button-ios-optblue.activated{background-color:#e21615}.button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.button-clear-ios-optblue{border-color:transparent;color:#e00201;background-color:transparent}.button-clear-ios-optblue.activated{opacity:.4}.button-clear-ios-optblue:hover:not(.disable-hover){color:#e00201}.button-strong-ios{font-weight:600}.button-md{border-radius:2px;overflow:hidden;height:3.6rem;font-size:1.4rem;font-weight:500;text-transform:uppercase;color:#fff;background-color:#673ab7;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);margin:.4rem .2rem;padding:0 1.1em}.button-md:hover:not(.disable-hover){background-color:#673ab7}.button-md.activated{background-color:#734abd;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.14),0 3px 5px rgba(0,0,0,.21),0 0 0 0 transparent;box-shadow:0 3px 5px rgba(0,0,0,.14),0 3px 5px rgba(0,0,0,.21),0 0 0 0 transparent}.button-md .button-effect{background-color:#fff}.button-large-md{height:2.8em;font-size:2rem;padding:0 1em}.button-small-md{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-md[icon-only] ion-icon{font-size:1.4em}.button-block-md{margin-left:0;margin-right:0}.button-full-md{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-md{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.button-outline-md:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md.activated{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;opacity:1}.button-outline-md .button-effect{background-color:#673ab7}.button-clear-md{border-color:transparent;color:#673ab7;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;opacity:1}.button-clear-md.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-clear-md .button-effect{background-color:#999}.button-round-md{border-radius:64px;padding:0 2.6rem}.button-md [icon-only]{padding:0}.button-effect{border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;position:absolute;z-index:0;display:none;background-color:#555;opacity:.2;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;pointer-events:none;top:0;left:0}.md button .button-effect{display:block}.button-md-primary{color:#fff;background-color:#673ab7}.button-md-primary:hover:not(.disable-hover){background-color:#673ab7}.button-md-primary.activated{background-color:#734abd;opacity:1}.button-md-primary .button-effect{background-color:#fff}.button-outline-md-primary{border-color:#6f44bb;color:#6f44bb;background-color:transparent}.button-outline-md-primary:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-primary.activated{background-color:transparent}.button-outline-md-primary .button-effect{background-color:#6f44bb}.button-clear-md-primary{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-md-primary.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-primary:hover:not(.disable-hover){color:#673ab7}.button-md-secondary{color:#fff;background-color:#32db64}.button-md-secondary:hover:not(.disable-hover){background-color:#32db64}.button-md-secondary.activated{background-color:#2ec95c;opacity:1}.button-md-secondary .button-effect{background-color:#fff}.button-outline-md-secondary{border-color:#30d05f;color:#30d05f;background-color:transparent}.button-outline-md-secondary:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-secondary.activated{background-color:transparent}.button-outline-md-secondary .button-effect{background-color:#30d05f}.button-clear-md-secondary{border-color:transparent;color:#32db64;background-color:transparent}.button-clear-md-secondary.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-secondary:hover:not(.disable-hover){color:#32db64}.button-md-danger{color:#fff;background-color:#f53d3d}.button-md-danger:hover:not(.disable-hover){background-color:#f53d3d}.button-md-danger.activated{background-color:#e13838;opacity:1}.button-md-danger .button-effect{background-color:#fff}.button-outline-md-danger{border-color:#e93a3a;color:#e93a3a;background-color:transparent}.button-outline-md-danger:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-danger.activated{background-color:transparent}.button-outline-md-danger .button-effect{background-color:#e93a3a}.button-clear-md-danger{border-color:transparent;color:#f53d3d;background-color:transparent}.button-clear-md-danger.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-danger:hover:not(.disable-hover){color:#f53d3d}.button-md-light{color:#000;background-color:#f4f4f4}.button-md-light:hover:not(.disable-hover){background-color:#f4f4f4}.button-md-light.activated{background-color:#e0e0e0;opacity:1}.button-md-light .button-effect{background-color:#000}.button-outline-md-light{border-color:#e8e8e8;color:#e8e8e8;background-color:transparent}.button-outline-md-light:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-light.activated{background-color:transparent}.button-outline-md-light .button-effect{background-color:#e8e8e8}.button-clear-md-light{border-color:transparent;color:#f4f4f4;background-color:transparent}.button-clear-md-light.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-light:hover:not(.disable-hover){color:#f4f4f4}.button-md-dark{color:#fff;background-color:#222}.button-md-dark:hover:not(.disable-hover){background-color:#222}.button-md-dark.activated{background-color:#343434;opacity:1}.button-md-dark .button-effect{background-color:#fff}.button-outline-md-dark{border-color:#2d2d2d;color:#2d2d2d;background-color:transparent}.button-outline-md-dark:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-dark.activated{background-color:transparent}.button-outline-md-dark .button-effect{background-color:#2d2d2d}.button-clear-md-dark{border-color:transparent;color:#222;background-color:transparent}.button-clear-md-dark.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-dark:hover:not(.disable-hover){color:#222}.button-md-optblue{color:#fff;background-color:#e00201}.button-md-optblue:hover:not(.disable-hover){background-color:#e00201}.button-md-optblue.activated{background-color:#e21615;opacity:1}.button-md-optblue .button-effect{background-color:#fff}.button-outline-md-optblue{border-color:#e20f0e;color:#e20f0e;background-color:transparent}.button-outline-md-optblue:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-optblue.activated{background-color:transparent}.button-outline-md-optblue .button-effect{background-color:#e20f0e}.button-clear-md-optblue{border-color:transparent;color:#e00201;background-color:transparent}.button-clear-md-optblue.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-optblue:hover:not(.disable-hover){color:#e00201}.button-strong-md{font-weight:700}.button-wp{border-radius:0;height:3.6rem;border:3px solid transparent;font-size:1.4rem;color:#fff;background-color:#673ab7;margin:.4rem .2rem;padding:0 1.1em}.button-wp:hover:not(.disable-hover){border-color:#734abd;background-color:#673ab7}.button-wp.activated{background-color:#734abd}.button-large-wp{height:2.8em;font-size:2rem;padding:0 1em}.button-small-wp{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-wp[icon-only] ion-icon{font-size:1.4em}.button-block-wp{margin-left:0;margin-right:0}.button-full-wp{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-wp{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-wp:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-wp.activated{background-color:rgba(103,58,183,.16)}.button-clear-wp{color:#673ab7;background-color:transparent}.button-clear-wp.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-round-wp{border-radius:64px;padding:0 2.6rem}.button-wp [icon-only]{padding:0}.button-wp-primary{color:#fff;background-color:#673ab7}.button-wp-primary:hover:not(.disable-hover){border-color:#734abd;background-color:#673ab7}.button-wp-primary.activated{background-color:#734abd}.button-outline-wp-primary{border-color:#6f44bb;color:#6f44bb;background-color:transparent}.button-outline-wp-primary:hover:not(.disable-hover){border-color:#6f44bb;background-color:rgba(158,158,158,.1)}.button-outline-wp-primary.activated{background-color:rgba(111,68,187,.16)}.button-clear-wp-primary{color:#673ab7;background-color:transparent}.button-clear-wp-primary.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-primary:hover:not(.disable-hover){color:#673ab7}.button-wp-secondary{color:#fff;background-color:#32db64}.button-wp-secondary:hover:not(.disable-hover){border-color:#2ec95c;background-color:#32db64}.button-wp-secondary.activated{background-color:#2ec95c}.button-outline-wp-secondary{border-color:#30d05f;color:#30d05f;background-color:transparent}.button-outline-wp-secondary:hover:not(.disable-hover){border-color:#30d05f;background-color:rgba(158,158,158,.1)}.button-outline-wp-secondary.activated{background-color:rgba(48,208,95,.16)}.button-clear-wp-secondary{color:#32db64;background-color:transparent}.button-clear-wp-secondary.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-secondary:hover:not(.disable-hover){color:#32db64}.button-wp-danger{color:#fff;background-color:#f53d3d}.button-wp-danger:hover:not(.disable-hover){border-color:#e13838;background-color:#f53d3d}.button-wp-danger.activated{background-color:#e13838}.button-outline-wp-danger{border-color:#e93a3a;color:#e93a3a;background-color:transparent}.button-outline-wp-danger:hover:not(.disable-hover){border-color:#e93a3a;background-color:rgba(158,158,158,.1)}.button-outline-wp-danger.activated{background-color:rgba(233,58,58,.16)}.button-clear-wp-danger{color:#f53d3d;background-color:transparent}.button-clear-wp-danger.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-danger:hover:not(.disable-hover){color:#f53d3d}.button-wp-light{color:#000;background-color:#f4f4f4}.button-wp-light:hover:not(.disable-hover){border-color:#e0e0e0;background-color:#f4f4f4}.button-wp-light.activated{background-color:#e0e0e0}.button-outline-wp-light{border-color:#e8e8e8;color:#e8e8e8;background-color:transparent}.button-outline-wp-light:hover:not(.disable-hover){border-color:#e8e8e8;background-color:rgba(158,158,158,.1)}.button-outline-wp-light.activated{background-color:rgba(232,232,232,.16)}.button-clear-wp-light{color:#f4f4f4;background-color:transparent}.button-clear-wp-light.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-light:hover:not(.disable-hover){color:#f4f4f4}.button-wp-dark{color:#fff;background-color:#222}.button-wp-dark:hover:not(.disable-hover){border-color:#343434;background-color:#222}.button-wp-dark.activated{background-color:#343434}.button-outline-wp-dark{border-color:#2d2d2d;color:#2d2d2d;background-color:transparent}.button-outline-wp-dark:hover:not(.disable-hover){border-color:#2d2d2d;background-color:rgba(158,158,158,.1)}.button-outline-wp-dark.activated{background-color:rgba(45,45,45,.16)}.button-clear-wp-dark{color:#222;background-color:transparent}.button-clear-wp-dark.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-dark:hover:not(.disable-hover){color:#222}.button-wp-optblue{color:#fff;background-color:#e00201}.button-wp-optblue:hover:not(.disable-hover){border-color:#e21615;background-color:#e00201}.button-wp-optblue.activated{background-color:#e21615}.button-outline-wp-optblue{border-color:#e20f0e;color:#e20f0e;background-color:transparent}.button-outline-wp-optblue:hover:not(.disable-hover){border-color:#e20f0e;background-color:rgba(158,158,158,.1)}.button-outline-wp-optblue.activated{background-color:rgba(226,15,14,.16)}.button-clear-wp-optblue{color:#e00201;background-color:transparent}.button-clear-wp-optblue.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-optblue:hover:not(.disable-hover){color:#e00201}.button-strong-wp{font-weight:700}ion-card{display:block;overflow:hidden}ion-card img{display:block;width:100%}ion-card-header{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ion-card-content{display:block}.card-ios{margin:12px;border-radius:2px;width:calc(100% - 24px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.card-ios ion-list{margin-bottom:0}.card-ios>.item-wrapper:last-child .item,.card-ios>.item:last-child,.card-ios>.item:last-child .item-inner{border-bottom:0}.card-ios .item-ios.item-block .item-inner{border:0}.card-content-ios{padding:13px 16px 14px;font-size:1.4rem;line-height:1.4}.card-header-ios{font-size:1.6rem;font-weight:500;color:#333;padding:16px}.card-header-ios+.card-content-ios,.card-ios .item+.card-content-ios{padding-top:0}.card .note-ios{font-size:1.3rem}.card-title-ios{display:block;font-size:1.8rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-ios h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.card-ios h2{margin:2px 0;font-size:1.6rem;font-weight:400}.card-ios h3,.card-ios h4,.card-ios h5,.card-ios h6{margin:2px 0;font-size:1.4rem;font-weight:400}.card-ios p{margin:0 0 2px;font-size:1.4rem;color:#666}.card-ios+ion-card{margin-top:0}.card-ios .text-ios-primary{color:#673ab7}.card-ios-primary{color:#fff;background-color:#673ab7}.card-ios-primary .card-content-ios,.card-ios-primary .card-header-ios,.card-ios-primary .card-title-ios,.card-ios-primary p{color:#fff}.card-ios-primary .card-content-ios-primary,.card-ios-primary .card-header-ios-primary,.card-ios-primary .card-title-ios-primary,.card-ios-primary .text-ios-primary{color:#673ab7}.card-ios-primary .card-content-ios-secondary,.card-ios-primary .card-header-ios-secondary,.card-ios-primary .card-title-ios-secondary,.card-ios-primary .text-ios-secondary{color:#32db64}.card-ios-primary .card-content-ios-danger,.card-ios-primary .card-header-ios-danger,.card-ios-primary .card-title-ios-danger,.card-ios-primary .text-ios-danger{color:#f53d3d}.card-ios-primary .card-content-ios-light,.card-ios-primary .card-header-ios-light,.card-ios-primary .card-title-ios-light,.card-ios-primary .text-ios-light{color:#f4f4f4}.card-ios-primary .card-content-ios-dark,.card-ios-primary .card-header-ios-dark,.card-ios-primary .card-title-ios-dark,.card-ios-primary .text-ios-dark{color:#222}.card-ios-primary .card-content-ios-optblue,.card-ios-primary .card-header-ios-optblue,.card-ios-primary .card-title-ios-optblue,.card-ios-primary .text-ios-optblue{color:#e00201}.card-content-ios-primary,.card-header-ios-primary,.card-title-ios-primary{color:#673ab7}.card-ios .text-ios-secondary{color:#32db64}.card-ios-secondary{color:#fff;background-color:#32db64}.card-ios-secondary .card-content-ios,.card-ios-secondary .card-header-ios,.card-ios-secondary .card-title-ios,.card-ios-secondary p{color:#fff}.card-ios-secondary .card-content-ios-primary,.card-ios-secondary .card-header-ios-primary,.card-ios-secondary .card-title-ios-primary,.card-ios-secondary .text-ios-primary{color:#673ab7}.card-ios-secondary .card-content-ios-secondary,.card-ios-secondary .card-header-ios-secondary,.card-ios-secondary .card-title-ios-secondary,.card-ios-secondary .text-ios-secondary{color:#32db64}.card-ios-secondary .card-content-ios-danger,.card-ios-secondary .card-header-ios-danger,.card-ios-secondary .card-title-ios-danger,.card-ios-secondary .text-ios-danger{color:#f53d3d}.card-ios-secondary .card-content-ios-light,.card-ios-secondary .card-header-ios-light,.card-ios-secondary .card-title-ios-light,.card-ios-secondary .text-ios-light{color:#f4f4f4}.card-ios-secondary .card-content-ios-dark,.card-ios-secondary .card-header-ios-dark,.card-ios-secondary .card-title-ios-dark,.card-ios-secondary .text-ios-dark{color:#222}.card-ios-secondary .card-content-ios-optblue,.card-ios-secondary .card-header-ios-optblue,.card-ios-secondary .card-title-ios-optblue,.card-ios-secondary .text-ios-optblue{color:#e00201}.card-content-ios-secondary,.card-header-ios-secondary,.card-title-ios-secondary{color:#32db64}.card-ios .text-ios-danger{color:#f53d3d}.card-ios-danger{color:#fff;background-color:#f53d3d}.card-ios-danger .card-content-ios,.card-ios-danger .card-header-ios,.card-ios-danger .card-title-ios,.card-ios-danger p{color:#fff}.card-ios-danger .card-content-ios-primary,.card-ios-danger .card-header-ios-primary,.card-ios-danger .card-title-ios-primary,.card-ios-danger .text-ios-primary{color:#673ab7}.card-ios-danger .card-content-ios-secondary,.card-ios-danger .card-header-ios-secondary,.card-ios-danger .card-title-ios-secondary,.card-ios-danger .text-ios-secondary{color:#32db64}.card-ios-danger .card-content-ios-danger,.card-ios-danger .card-header-ios-danger,.card-ios-danger .card-title-ios-danger,.card-ios-danger .text-ios-danger{color:#f53d3d}.card-ios-danger .card-content-ios-light,.card-ios-danger .card-header-ios-light,.card-ios-danger .card-title-ios-light,.card-ios-danger .text-ios-light{color:#f4f4f4}.card-ios-danger .card-content-ios-dark,.card-ios-danger .card-header-ios-dark,.card-ios-danger .card-title-ios-dark,.card-ios-danger .text-ios-dark{color:#222}.card-ios-danger .card-content-ios-optblue,.card-ios-danger .card-header-ios-optblue,.card-ios-danger .card-title-ios-optblue,.card-ios-danger .text-ios-optblue{color:#e00201}.card-content-ios-danger,.card-header-ios-danger,.card-title-ios-danger{color:#f53d3d}.card-ios .text-ios-light{color:#f4f4f4}.card-ios-light{color:#000;background-color:#f4f4f4}.card-ios-light .card-content-ios,.card-ios-light .card-header-ios,.card-ios-light .card-title-ios,.card-ios-light p{color:#000}.card-ios-light .card-content-ios-primary,.card-ios-light .card-header-ios-primary,.card-ios-light .card-title-ios-primary,.card-ios-light .text-ios-primary{color:#673ab7}.card-ios-light .card-content-ios-secondary,.card-ios-light .card-header-ios-secondary,.card-ios-light .card-title-ios-secondary,.card-ios-light .text-ios-secondary{color:#32db64}.card-ios-light .card-content-ios-danger,.card-ios-light .card-header-ios-danger,.card-ios-light .card-title-ios-danger,.card-ios-light .text-ios-danger{color:#f53d3d}.card-ios-light .card-content-ios-light,.card-ios-light .card-header-ios-light,.card-ios-light .card-title-ios-light,.card-ios-light .text-ios-light{color:#f4f4f4}.card-ios-light .card-content-ios-dark,.card-ios-light .card-header-ios-dark,.card-ios-light .card-title-ios-dark,.card-ios-light .text-ios-dark{color:#222}.card-ios-light .card-content-ios-optblue,.card-ios-light .card-header-ios-optblue,.card-ios-light .card-title-ios-optblue,.card-ios-light .text-ios-optblue{color:#e00201}.card-content-ios-light,.card-header-ios-light,.card-title-ios-light{color:#f4f4f4}.card-ios .text-ios-dark{color:#222}.card-ios-dark{color:#fff;background-color:#222}.card-ios-dark .card-content-ios,.card-ios-dark .card-header-ios,.card-ios-dark .card-title-ios,.card-ios-dark p{color:#fff}.card-ios-dark .card-content-ios-primary,.card-ios-dark .card-header-ios-primary,.card-ios-dark .card-title-ios-primary,.card-ios-dark .text-ios-primary{color:#673ab7}.card-ios-dark .card-content-ios-secondary,.card-ios-dark .card-header-ios-secondary,.card-ios-dark .card-title-ios-secondary,.card-ios-dark .text-ios-secondary{color:#32db64}.card-ios-dark .card-content-ios-danger,.card-ios-dark .card-header-ios-danger,.card-ios-dark .card-title-ios-danger,.card-ios-dark .text-ios-danger{color:#f53d3d}.card-ios-dark .card-content-ios-light,.card-ios-dark .card-header-ios-light,.card-ios-dark .card-title-ios-light,.card-ios-dark .text-ios-light{color:#f4f4f4}.card-ios-dark .card-content-ios-dark,.card-ios-dark .card-header-ios-dark,.card-ios-dark .card-title-ios-dark,.card-ios-dark .text-ios-dark{color:#222}.card-ios-dark .card-content-ios-optblue,.card-ios-dark .card-header-ios-optblue,.card-ios-dark .card-title-ios-optblue,.card-ios-dark .text-ios-optblue{color:#e00201}.card-content-ios-dark,.card-header-ios-dark,.card-title-ios-dark{color:#222}.card-ios .text-ios-optblue{color:#e00201}.card-ios-optblue{color:#fff;background-color:#e00201}.card-ios-optblue .card-content-ios,.card-ios-optblue .card-header-ios,.card-ios-optblue .card-title-ios,.card-ios-optblue p{color:#fff}.card-ios-optblue .card-content-ios-primary,.card-ios-optblue .card-header-ios-primary,.card-ios-optblue .card-title-ios-primary,.card-ios-optblue .text-ios-primary{color:#673ab7}.card-ios-optblue .card-content-ios-secondary,.card-ios-optblue .card-header-ios-secondary,.card-ios-optblue .card-title-ios-secondary,.card-ios-optblue .text-ios-secondary{color:#32db64}.card-ios-optblue .card-content-ios-danger,.card-ios-optblue .card-header-ios-danger,.card-ios-optblue .card-title-ios-danger,.card-ios-optblue .text-ios-danger{color:#f53d3d}.card-ios-optblue .card-content-ios-light,.card-ios-optblue .card-header-ios-light,.card-ios-optblue .card-title-ios-light,.card-ios-optblue .text-ios-light{color:#f4f4f4}.card-ios-optblue .card-content-ios-dark,.card-ios-optblue .card-header-ios-dark,.card-ios-optblue .card-title-ios-dark,.card-ios-optblue .text-ios-dark{color:#222}.card-ios-optblue .card-content-ios-optblue,.card-ios-optblue .card-header-ios-optblue,.card-ios-optblue .card-title-ios-optblue,.card-ios-optblue .text-ios-optblue{color:#e00201}.card-content-ios-optblue,.card-header-ios-optblue,.card-title-ios-optblue{color:#e00201}.card-md{margin:10px;border-radius:2px;width:calc(100% - 20px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.card-md ion-list{margin-bottom:0}.card-md>.item-wrapper:last-child .item,.card-md>.item:last-child,.card-md>.item:last-child .item-inner{border-bottom:0}.card-md .item-md.item-block .item-inner{border:0}.card-content-md{padding:13px 16px;font-size:1.4rem;line-height:1.5}.card-header-md{font-size:1.6rem;color:#222;padding:16px}.card-header-md+.card-content-md,.card-md .item+.card-content-md{padding-top:0}.card .note-md{font-size:1.3rem}.card-title-md{display:block;font-size:2.4rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-md h1{margin:0 0 2px;font-size:2.4rem;font-weight:400;color:#222}.card-md h2{margin:2px 0;font-size:1.6rem;font-weight:400;color:#222}.card-md h3,.card-md h4,.card-md h5,.card-md h6{margin:2px 0;font-size:1.4rem;font-weight:400;color:#222}.card-md p{margin:0 0 2px;font-size:1.4rem;font-weight:400;line-height:1.5;color:#222}.card-md+ion-card{margin-top:0}.card-md .text-md-primary{color:#673ab7}.card-md-primary{color:#fff;background-color:#673ab7}.card-md-primary .card-content-md,.card-md-primary .card-header-md,.card-md-primary .card-title-md,.card-md-primary h1,.card-md-primary h2,.card-md-primary h3,.card-md-primary h4,.card-md-primary h5,.card-md-primary h6,.card-md-primary p{color:#fff}.card-md-primary .card-content-md-primary,.card-md-primary .card-header-md-primary,.card-md-primary .card-title-md-primary,.card-md-primary .text-md-primary{color:#673ab7}.card-md-primary .card-content-md-secondary,.card-md-primary .card-header-md-secondary,.card-md-primary .card-title-md-secondary,.card-md-primary .text-md-secondary{color:#32db64}.card-md-primary .card-content-md-danger,.card-md-primary .card-header-md-danger,.card-md-primary .card-title-md-danger,.card-md-primary .text-md-danger{color:#f53d3d}.card-md-primary .card-content-md-light,.card-md-primary .card-header-md-light,.card-md-primary .card-title-md-light,.card-md-primary .text-md-light{color:#f4f4f4}.card-md-primary .card-content-md-dark,.card-md-primary .card-header-md-dark,.card-md-primary .card-title-md-dark,.card-md-primary .text-md-dark{color:#222}.card-md-primary .card-content-md-optblue,.card-md-primary .card-header-md-optblue,.card-md-primary .card-title-md-optblue,.card-md-primary .text-md-optblue{color:#e00201}.card-content-md-primary,.card-header-md-primary,.card-title-md-primary{color:#673ab7}.card-md .text-md-secondary{color:#32db64}.card-md-secondary{color:#fff;background-color:#32db64}.card-md-secondary .card-content-md,.card-md-secondary .card-header-md,.card-md-secondary .card-title-md,.card-md-secondary h1,.card-md-secondary h2,.card-md-secondary h3,.card-md-secondary h4,.card-md-secondary h5,.card-md-secondary h6,.card-md-secondary p{color:#fff}.card-md-secondary .card-content-md-primary,.card-md-secondary .card-header-md-primary,.card-md-secondary .card-title-md-primary,.card-md-secondary .text-md-primary{color:#673ab7}.card-md-secondary .card-content-md-secondary,.card-md-secondary .card-header-md-secondary,.card-md-secondary .card-title-md-secondary,.card-md-secondary .text-md-secondary{color:#32db64}.card-md-secondary .card-content-md-danger,.card-md-secondary .card-header-md-danger,.card-md-secondary .card-title-md-danger,.card-md-secondary .text-md-danger{color:#f53d3d}.card-md-secondary .card-content-md-light,.card-md-secondary .card-header-md-light,.card-md-secondary .card-title-md-light,.card-md-secondary .text-md-light{color:#f4f4f4}.card-md-secondary .card-content-md-dark,.card-md-secondary .card-header-md-dark,.card-md-secondary .card-title-md-dark,.card-md-secondary .text-md-dark{color:#222}.card-md-secondary .card-content-md-optblue,.card-md-secondary .card-header-md-optblue,.card-md-secondary .card-title-md-optblue,.card-md-secondary .text-md-optblue{color:#e00201}.card-content-md-secondary,.card-header-md-secondary,.card-title-md-secondary{color:#32db64}.card-md .text-md-danger{color:#f53d3d}.card-md-danger{color:#fff;background-color:#f53d3d}.card-md-danger .card-content-md,.card-md-danger .card-header-md,.card-md-danger .card-title-md,.card-md-danger h1,.card-md-danger h2,.card-md-danger h3,.card-md-danger h4,.card-md-danger h5,.card-md-danger h6,.card-md-danger p{color:#fff}.card-md-danger .card-content-md-primary,.card-md-danger .card-header-md-primary,.card-md-danger .card-title-md-primary,.card-md-danger .text-md-primary{color:#673ab7}.card-md-danger .card-content-md-secondary,.card-md-danger .card-header-md-secondary,.card-md-danger .card-title-md-secondary,.card-md-danger .text-md-secondary{color:#32db64}.card-md-danger .card-content-md-danger,.card-md-danger .card-header-md-danger,.card-md-danger .card-title-md-danger,.card-md-danger .text-md-danger{color:#f53d3d}.card-md-danger .card-content-md-light,.card-md-danger .card-header-md-light,.card-md-danger .card-title-md-light,.card-md-danger .text-md-light{color:#f4f4f4}.card-md-danger .card-content-md-dark,.card-md-danger .card-header-md-dark,.card-md-danger .card-title-md-dark,.card-md-danger .text-md-dark{color:#222}.card-md-danger .card-content-md-optblue,.card-md-danger .card-header-md-optblue,.card-md-danger .card-title-md-optblue,.card-md-danger .text-md-optblue{color:#e00201}.card-content-md-danger,.card-header-md-danger,.card-title-md-danger{color:#f53d3d}.card-md .text-md-light{color:#f4f4f4}.card-md-light{color:#000;background-color:#f4f4f4}.card-md-light .card-content-md,.card-md-light .card-header-md,.card-md-light .card-title-md,.card-md-light h1,.card-md-light h2,.card-md-light h3,.card-md-light h4,.card-md-light h5,.card-md-light h6,.card-md-light p{color:#000}.card-md-light .card-content-md-primary,.card-md-light .card-header-md-primary,.card-md-light .card-title-md-primary,.card-md-light .text-md-primary{color:#673ab7}.card-md-light .card-content-md-secondary,.card-md-light .card-header-md-secondary,.card-md-light .card-title-md-secondary,.card-md-light .text-md-secondary{color:#32db64}.card-md-light .card-content-md-danger,.card-md-light .card-header-md-danger,.card-md-light .card-title-md-danger,.card-md-light .text-md-danger{color:#f53d3d}.card-md-light .card-content-md-light,.card-md-light .card-header-md-light,.card-md-light .card-title-md-light,.card-md-light .text-md-light{color:#f4f4f4}.card-md-light .card-content-md-dark,.card-md-light .card-header-md-dark,.card-md-light .card-title-md-dark,.card-md-light .text-md-dark{color:#222}.card-md-light .card-content-md-optblue,.card-md-light .card-header-md-optblue,.card-md-light .card-title-md-optblue,.card-md-light .text-md-optblue{color:#e00201}.card-content-md-light,.card-header-md-light,.card-title-md-light{color:#f4f4f4}.card-md .text-md-dark{color:#222}.card-md-dark{color:#fff;background-color:#222}.card-md-dark .card-content-md,.card-md-dark .card-header-md,.card-md-dark .card-title-md,.card-md-dark h1,.card-md-dark h2,.card-md-dark h3,.card-md-dark h4,.card-md-dark h5,.card-md-dark h6,.card-md-dark p{color:#fff}.card-md-dark .card-content-md-primary,.card-md-dark .card-header-md-primary,.card-md-dark .card-title-md-primary,.card-md-dark .text-md-primary{color:#673ab7}.card-md-dark .card-content-md-secondary,.card-md-dark .card-header-md-secondary,.card-md-dark .card-title-md-secondary,.card-md-dark .text-md-secondary{color:#32db64}.card-md-dark .card-content-md-danger,.card-md-dark .card-header-md-danger,.card-md-dark .card-title-md-danger,.card-md-dark .text-md-danger{color:#f53d3d}.card-md-dark .card-content-md-light,.card-md-dark .card-header-md-light,.card-md-dark .card-title-md-light,.card-md-dark .text-md-light{color:#f4f4f4}.card-md-dark .card-content-md-dark,.card-md-dark .card-header-md-dark,.card-md-dark .card-title-md-dark,.card-md-dark .text-md-dark{color:#222}.card-md-dark .card-content-md-optblue,.card-md-dark .card-header-md-optblue,.card-md-dark .card-title-md-optblue,.card-md-dark .text-md-optblue{color:#e00201}.card-content-md-dark,.card-header-md-dark,.card-title-md-dark{color:#222}.card-md .text-md-optblue{color:#e00201}.card-md-optblue{color:#fff;background-color:#e00201}.card-md-optblue .card-content-md,.card-md-optblue .card-header-md,.card-md-optblue .card-title-md,.card-md-optblue h1,.card-md-optblue h2,.card-md-optblue h3,.card-md-optblue h4,.card-md-optblue h5,.card-md-optblue h6,.card-md-optblue p{color:#fff}.card-md-optblue .card-content-md-primary,.card-md-optblue .card-header-md-primary,.card-md-optblue .card-title-md-primary,.card-md-optblue .text-md-primary{color:#673ab7}.card-md-optblue .card-content-md-secondary,.card-md-optblue .card-header-md-secondary,.card-md-optblue .card-title-md-secondary,.card-md-optblue .text-md-secondary{color:#32db64}.card-md-optblue .card-content-md-danger,.card-md-optblue .card-header-md-danger,.card-md-optblue .card-title-md-danger,.card-md-optblue .text-md-danger{color:#f53d3d}.card-md-optblue .card-content-md-light,.card-md-optblue .card-header-md-light,.card-md-optblue .card-title-md-light,.card-md-optblue .text-md-light{color:#f4f4f4}.card-md-optblue .card-content-md-dark,.card-md-optblue .card-header-md-dark,.card-md-optblue .card-title-md-dark,.card-md-optblue .text-md-dark{color:#222}.card-md-optblue .card-content-md-optblue,.card-md-optblue .card-header-md-optblue,.card-md-optblue .card-title-md-optblue,.card-md-optblue .text-md-optblue{color:#e00201}.card-content-md-optblue,.card-header-md-optblue,.card-title-md-optblue{color:#e00201}.card-wp{margin:8px;border-radius:1px;width:calc(100% - 16px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 1px 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px 1px rgba(0,0,0,.2)}.card-wp ion-list{margin-bottom:0}.card-wp>.item-wrapper:last-child .item,.card-wp>.item:last-child,.card-wp>.item:last-child .item-inner{border-bottom:0}.card-wp .item-wp.item-block .item-inner{border:0}.card-content-wp{padding:13px 16px;font-size:1.4rem;line-height:1.5}.card-header-wp{font-size:1.6rem;color:#222;padding:16px}.card-header-wp+.card-content-wp,.card-wp .item+.card-content-wp{padding-top:0}.card .note-wp{font-size:1.3rem}.card-title-wp{display:block;font-size:2.4rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-wp h1{margin:0 0 2px;font-size:2.4rem;font-weight:400;color:#222}.card-wp h2{margin:2px 0;font-size:1.6rem;font-weight:400;color:#222}.card-wp h3,.card-wp h4,.card-wp h5,.card-wp h6{margin:2px 0;font-size:1.4rem;font-weight:400;color:#222}.card-wp p{margin:0 0 2px;font-size:1.4rem;font-weight:400;line-height:1.5;color:#222}.card-wp+ion-card{margin-top:0}.card-wp .text-wp-primary{color:#673ab7}.card-wp-primary{color:#fff;background-color:#673ab7}.card-wp-primary .card-content-wp,.card-wp-primary .card-header-wp,.card-wp-primary .card-title-wp,.card-wp-primary h1,.card-wp-primary h2,.card-wp-primary h3,.card-wp-primary h4,.card-wp-primary h5,.card-wp-primary h6,.card-wp-primary p{color:#fff}.card-wp-primary .card-content-wp-primary,.card-wp-primary .card-header-wp-primary,.card-wp-primary .card-title-wp-primary,.card-wp-primary .text-wp-primary{color:#673ab7}.card-wp-primary .card-content-wp-secondary,.card-wp-primary .card-header-wp-secondary,.card-wp-primary .card-title-wp-secondary,.card-wp-primary .text-wp-secondary{color:#32db64}.card-wp-primary .card-content-wp-danger,.card-wp-primary .card-header-wp-danger,.card-wp-primary .card-title-wp-danger,.card-wp-primary .text-wp-danger{color:#f53d3d}.card-wp-primary .card-content-wp-light,.card-wp-primary .card-header-wp-light,.card-wp-primary .card-title-wp-light,.card-wp-primary .text-wp-light{color:#f4f4f4}.card-wp-primary .card-content-wp-dark,.card-wp-primary .card-header-wp-dark,.card-wp-primary .card-title-wp-dark,.card-wp-primary .text-wp-dark{color:#222}.card-wp-primary .card-content-wp-optblue,.card-wp-primary .card-header-wp-optblue,.card-wp-primary .card-title-wp-optblue,.card-wp-primary .text-wp-optblue{color:#e00201}.card-content-wp-primary,.card-header-wp-primary,.card-title-wp-primary{color:#673ab7}.card-wp .text-wp-secondary{color:#32db64}.card-wp-secondary{color:#fff;background-color:#32db64}.card-wp-secondary .card-content-wp,.card-wp-secondary .card-header-wp,.card-wp-secondary .card-title-wp,.card-wp-secondary h1,.card-wp-secondary h2,.card-wp-secondary h3,.card-wp-secondary h4,.card-wp-secondary h5,.card-wp-secondary h6,.card-wp-secondary p{color:#fff}.card-wp-secondary .card-content-wp-primary,.card-wp-secondary .card-header-wp-primary,.card-wp-secondary .card-title-wp-primary,.card-wp-secondary .text-wp-primary{color:#673ab7}.card-wp-secondary .card-content-wp-secondary,.card-wp-secondary .card-header-wp-secondary,.card-wp-secondary .card-title-wp-secondary,.card-wp-secondary .text-wp-secondary{color:#32db64}.card-wp-secondary .card-content-wp-danger,.card-wp-secondary .card-header-wp-danger,.card-wp-secondary .card-title-wp-danger,.card-wp-secondary .text-wp-danger{color:#f53d3d}.card-wp-secondary .card-content-wp-light,.card-wp-secondary .card-header-wp-light,.card-wp-secondary .card-title-wp-light,.card-wp-secondary .text-wp-light{color:#f4f4f4}.card-wp-secondary .card-content-wp-dark,.card-wp-secondary .card-header-wp-dark,.card-wp-secondary .card-title-wp-dark,.card-wp-secondary .text-wp-dark{color:#222}.card-wp-secondary .card-content-wp-optblue,.card-wp-secondary .card-header-wp-optblue,.card-wp-secondary .card-title-wp-optblue,.card-wp-secondary .text-wp-optblue{color:#e00201}.card-content-wp-secondary,.card-header-wp-secondary,.card-title-wp-secondary{color:#32db64}.card-wp .text-wp-danger{color:#f53d3d}.card-wp-danger{color:#fff;background-color:#f53d3d}.card-wp-danger .card-content-wp,.card-wp-danger .card-header-wp,.card-wp-danger .card-title-wp,.card-wp-danger h1,.card-wp-danger h2,.card-wp-danger h3,.card-wp-danger h4,.card-wp-danger h5,.card-wp-danger h6,.card-wp-danger p{color:#fff}.card-wp-danger .card-content-wp-primary,.card-wp-danger .card-header-wp-primary,.card-wp-danger .card-title-wp-primary,.card-wp-danger .text-wp-primary{color:#673ab7}.card-wp-danger .card-content-wp-secondary,.card-wp-danger .card-header-wp-secondary,.card-wp-danger .card-title-wp-secondary,.card-wp-danger .text-wp-secondary{color:#32db64}.card-wp-danger .card-content-wp-danger,.card-wp-danger .card-header-wp-danger,.card-wp-danger .card-title-wp-danger,.card-wp-danger .text-wp-danger{color:#f53d3d}.card-wp-danger .card-content-wp-light,.card-wp-danger .card-header-wp-light,.card-wp-danger .card-title-wp-light,.card-wp-danger .text-wp-light{color:#f4f4f4}.card-wp-danger .card-content-wp-dark,.card-wp-danger .card-header-wp-dark,.card-wp-danger .card-title-wp-dark,.card-wp-danger .text-wp-dark{color:#222}.card-wp-danger .card-content-wp-optblue,.card-wp-danger .card-header-wp-optblue,.card-wp-danger .card-title-wp-optblue,.card-wp-danger .text-wp-optblue{color:#e00201}.card-content-wp-danger,.card-header-wp-danger,.card-title-wp-danger{color:#f53d3d}.card-wp .text-wp-light{color:#f4f4f4}.card-wp-light{color:#000;background-color:#f4f4f4}.card-wp-light .card-content-wp,.card-wp-light .card-header-wp,.card-wp-light .card-title-wp,.card-wp-light h1,.card-wp-light h2,.card-wp-light h3,.card-wp-light h4,.card-wp-light h5,.card-wp-light h6,.card-wp-light p{color:#000}.card-wp-light .card-content-wp-primary,.card-wp-light .card-header-wp-primary,.card-wp-light .card-title-wp-primary,.card-wp-light .text-wp-primary{color:#673ab7}.card-wp-light .card-content-wp-secondary,.card-wp-light .card-header-wp-secondary,.card-wp-light .card-title-wp-secondary,.card-wp-light .text-wp-secondary{color:#32db64}.card-wp-light .card-content-wp-danger,.card-wp-light .card-header-wp-danger,.card-wp-light .card-title-wp-danger,.card-wp-light .text-wp-danger{color:#f53d3d}.card-wp-light .card-content-wp-light,.card-wp-light .card-header-wp-light,.card-wp-light .card-title-wp-light,.card-wp-light .text-wp-light{color:#f4f4f4}.card-wp-light .card-content-wp-dark,.card-wp-light .card-header-wp-dark,.card-wp-light .card-title-wp-dark,.card-wp-light .text-wp-dark{color:#222}.card-wp-light .card-content-wp-optblue,.card-wp-light .card-header-wp-optblue,.card-wp-light .card-title-wp-optblue,.card-wp-light .text-wp-optblue{color:#e00201}.card-content-wp-light,.card-header-wp-light,.card-title-wp-light{color:#f4f4f4}.card-wp .text-wp-dark{color:#222}.card-wp-dark{color:#fff;background-color:#222}.card-wp-dark .card-content-wp,.card-wp-dark .card-header-wp,.card-wp-dark .card-title-wp,.card-wp-dark h1,.card-wp-dark h2,.card-wp-dark h3,.card-wp-dark h4,.card-wp-dark h5,.card-wp-dark h6,.card-wp-dark p{color:#fff}.card-wp-dark .card-content-wp-primary,.card-wp-dark .card-header-wp-primary,.card-wp-dark .card-title-wp-primary,.card-wp-dark .text-wp-primary{color:#673ab7}.card-wp-dark .card-content-wp-secondary,.card-wp-dark .card-header-wp-secondary,.card-wp-dark .card-title-wp-secondary,.card-wp-dark .text-wp-secondary{color:#32db64}.card-wp-dark .card-content-wp-danger,.card-wp-dark .card-header-wp-danger,.card-wp-dark .card-title-wp-danger,.card-wp-dark .text-wp-danger{color:#f53d3d}.card-wp-dark .card-content-wp-light,.card-wp-dark .card-header-wp-light,.card-wp-dark .card-title-wp-light,.card-wp-dark .text-wp-light{color:#f4f4f4}.card-wp-dark .card-content-wp-dark,.card-wp-dark .card-header-wp-dark,.card-wp-dark .card-title-wp-dark,.card-wp-dark .text-wp-dark{color:#222}.card-wp-dark .card-content-wp-optblue,.card-wp-dark .card-header-wp-optblue,.card-wp-dark .card-title-wp-optblue,.card-wp-dark .text-wp-optblue{color:#e00201}.card-content-wp-dark,.card-header-wp-dark,.card-title-wp-dark{color:#222}.card-wp .text-wp-optblue{color:#e00201}.card-wp-optblue{color:#fff;background-color:#e00201}.card-wp-optblue .card-content-wp,.card-wp-optblue .card-header-wp,.card-wp-optblue .card-title-wp,.card-wp-optblue h1,.card-wp-optblue h2,.card-wp-optblue h3,.card-wp-optblue h4,.card-wp-optblue h5,.card-wp-optblue h6,.card-wp-optblue p{color:#fff}.card-wp-optblue .card-content-wp-primary,.card-wp-optblue .card-header-wp-primary,.card-wp-optblue .card-title-wp-primary,.card-wp-optblue .text-wp-primary{color:#673ab7}.card-wp-optblue .card-content-wp-secondary,.card-wp-optblue .card-header-wp-secondary,.card-wp-optblue .card-title-wp-secondary,.card-wp-optblue .text-wp-secondary{color:#32db64}.card-wp-optblue .card-content-wp-danger,.card-wp-optblue .card-header-wp-danger,.card-wp-optblue .card-title-wp-danger,.card-wp-optblue .text-wp-danger{color:#f53d3d}.card-wp-optblue .card-content-wp-light,.card-wp-optblue .card-header-wp-light,.card-wp-optblue .card-title-wp-light,.card-wp-optblue .text-wp-light{color:#f4f4f4}.card-wp-optblue .card-content-wp-dark,.card-wp-optblue .card-header-wp-dark,.card-wp-optblue .card-title-wp-dark,.card-wp-optblue .text-wp-dark{color:#222}.card-wp-optblue .card-content-wp-optblue,.card-wp-optblue .card-header-wp-optblue,.card-wp-optblue .card-title-wp-optblue,.card-wp-optblue .text-wp-optblue{color:#e00201}.card-content-wp-optblue,.card-header-wp-optblue,.card-title-wp-optblue{color:#e00201}.checkbox-ios{position:relative;display:inline-block}.checkbox-ios .checkbox-icon{border-radius:50%;position:relative;width:21px;height:21px;border-width:1px;border-style:solid;border-color:#c8c7cc;background-color:#fff}.checkbox-ios .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-ios .checkbox-checked .checkbox-inner{left:7px;top:4px;position:absolute;width:4px;height:9px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-ios.checkbox-disabled,.item-ios.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-ios .checkbox-ios{position:static;display:block;margin:8px 16px 8px 2px}.item.item-ios .checkbox-ios[item-end],.item.item-ios .checkbox-ios[item-right]{margin:10px 8px 9px 0}.checkbox-ios-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-ios-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-ios-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-ios-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-ios-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-ios-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-ios-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-ios-optblue .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md{position:relative;display:inline-block}.checkbox-md .checkbox-icon{border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878;background-color:#fff;-webkit-transition-duration:280ms;transition-duration:280ms;-webkit-transition-property:background;transition-property:background;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.checkbox-md .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-md .checkbox-checked .checkbox-inner{left:4px;top:0;position:absolute;width:5px;height:10px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-md.checkbox-disabled,.item-md.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-md .checkbox-md{position:static;display:block;margin:9px 36px 9px 4px}.item.item-md .checkbox-md[item-end],.item.item-md .checkbox-md[item-right]{margin:11px 10px 10px 0}.checkbox-md+.item-inner ion-label{margin-left:0}.checkbox-md-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-md-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-md-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-md-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-md-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-md-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-md-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-md-optblue .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp{position:relative;display:inline-block}.checkbox-wp .checkbox-icon{border-radius:0;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#333;background-color:#fff}.checkbox-wp .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-wp .checkbox-checked .checkbox-inner{left:3px;top:-2px;position:absolute;width:6px;height:12px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-wp.checkbox-disabled,.item-wp.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-wp .checkbox-wp{position:static;display:block;margin:9px 16px 9px 4px}.item.item-wp .checkbox-wp[item-end],.item.item-wp .checkbox-wp[item-right]{margin:11px 10px 10px 0}.checkbox-wp+.item-inner ion-label{margin-left:0}.checkbox-wp-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-wp-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-wp-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-wp-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-wp-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-wp-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-wp-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-wp-optblue .checkbox-checked .checkbox-inner{border-color:#fff}ion-chip{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;font-weight:400;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}ion-chip .button{border-radius:50%;width:32px;height:32px;margin:0}ion-chip ion-icon{text-align:center;border-radius:50%;width:32px;height:32px;font-size:18px;line-height:32px}ion-chip ion-avatar{border-radius:50%;width:32px;min-width:32px;height:32px;min-height:32px}ion-chip ion-avatar img{border-radius:50%;display:block;width:100%;max-width:100%;height:100%;max-height:100%}.chip-ios{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-ios>ion-label{margin:0 10px}.chip-ios>ion-icon{color:#fff;background-color:#673ab7}.chip-ios .icon-ios-primary,.chip-ios-primary{color:#fff;background-color:#673ab7}.chip-ios .icon-ios-secondary,.chip-ios-secondary{color:#fff;background-color:#32db64}.chip-ios .icon-ios-danger,.chip-ios-danger{color:#fff;background-color:#f53d3d}.chip-ios .icon-ios-light,.chip-ios-light{color:#000;background-color:#f4f4f4}.chip-ios .icon-ios-dark,.chip-ios-dark{color:#fff;background-color:#222}.chip-ios .icon-ios-optblue,.chip-ios-optblue{color:#fff;background-color:#e00201}.chip-md{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-md>ion-label{margin:0 10px}.chip-md>ion-icon{color:#fff;background-color:#673ab7}.chip-md .icon-md-primary,.chip-md-primary{color:#fff;background-color:#673ab7}.chip-md .icon-md-secondary,.chip-md-secondary{color:#fff;background-color:#32db64}.chip-md .icon-md-danger,.chip-md-danger{color:#fff;background-color:#f53d3d}.chip-md .icon-md-light,.chip-md-light{color:#000;background-color:#f4f4f4}.chip-md .icon-md-dark,.chip-md-dark{color:#fff;background-color:#222}.chip-md .icon-md-optblue,.chip-md-optblue{color:#fff;background-color:#e00201}.chip-wp{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-wp>ion-label{margin:0 10px}.chip-wp>ion-icon{color:#fff;background-color:#673ab7}.chip-wp .button{border:0}.chip-wp .icon-wp-primary,.chip-wp-primary{color:#fff;background-color:#673ab7}.chip-wp .icon-wp-secondary,.chip-wp-secondary{color:#fff;background-color:#32db64}.chip-wp .icon-wp-danger,.chip-wp-danger{color:#fff;background-color:#f53d3d}.chip-wp .icon-wp-light,.chip-wp-light{color:#000;background-color:#f4f4f4}.chip-wp .icon-wp-dark,.chip-wp-dark{color:#fff;background-color:#222}.chip-wp .icon-wp-optblue,.chip-wp-optblue{color:#fff;background-color:#e00201}ion-content{left:0;top:0;position:relative;display:block;width:100%;height:100%;contain:layout size style}.ion-page>ion-content{position:absolute}a{color:#673ab7}.scroll-content{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;display:block;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch;will-change:scroll-position;contain:size style layout}ion-content.js-scroll>.scroll-content{position:relative;min-height:100%;overflow-x:initial;overflow-y:initial;-webkit-overflow-scrolling:auto;will-change:initial}.disable-scroll .ion-page{pointer-events:none;-ms-touch-action:none;touch-action:none}ion-content.has-refresher>.scroll-content{background-color:inherit}.fixed-content{left:0;right:0;top:0;bottom:0;position:absolute;display:block}[ion-fixed]{position:absolute;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-app [no-padding],ion-app [no-padding] .scroll-content{padding:0}ion-app [no-margin],ion-app [no-margin] .scroll-content{margin:0}.content-ios{color:#000;background-color:#fff}.content-ios.outer-content{background:#efeff4}.content-ios hr{height:.55px;background-color:rgba(0,0,0,.12)}.ios .ion-page.show-page~.nav-decor{left:0;top:0;position:absolute;z-index:0;display:block;width:100%;height:100%;background:#000;pointer-events:none}ion-app.ios [padding]{padding:16px}ion-app.ios [padding-top]{padding-top:16px}ion-app.ios [padding-left]{padding-left:16px}ion-app.ios [padding-right]{padding-right:16px}ion-app.ios [padding-bottom]{padding-bottom:16px}ion-app.ios [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.ios [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.ios [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.ios [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.ios [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.ios [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.ios [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.ios [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.ios [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.ios [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.ios [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.ios [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.ios [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.ios [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.ios [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.ios [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.ios [margin],ion-app.ios [margin] .scroll-content{margin:16px}ion-app.ios [margin-top],ion-app.ios [margin-top] .scroll-content{margin-top:16px}ion-app.ios [margin-left],ion-app.ios [margin-left] .scroll-content{margin-left:16px}ion-app.ios [margin-start],ion-app.ios [margin-start] .scroll-content{margin-left:16px}ion-app.ios [margin-right],ion-app.ios [margin-right] .scroll-content{margin-right:16px}ion-app.ios [margin-end],ion-app.ios [margin-end] .scroll-content{margin-right:16px}ion-app.ios [margin-bottom],ion-app.ios [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.ios [margin-vertical],ion-app.ios [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.ios [margin-horizontal],ion-app.ios [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}.content-ios:not([no-bounce])>.scroll-content::after,.content-ios:not([no-bounce])>.scroll-content::before{position:absolute;width:1px;height:1px;content:""}.content-ios:not([no-bounce])>.scroll-content::before{bottom:-1px}.content-ios:not([no-bounce])>.scroll-content::after{top:-1px}.platform-core .content-ios .scroll-content::after,.platform-core .content-ios .scroll-content::before{position:initial;top:initial;bottom:initial;width:initial;height:initial}.content-md{color:#000;background-color:#fff}.content-md hr{background-color:rgba(0,0,0,.08)}ion-app.md [padding]{padding:16px}ion-app.md [padding-top]{padding-top:16px}ion-app.md [padding-left]{padding-left:16px}ion-app.md [padding-right]{padding-right:16px}ion-app.md [padding-bottom]{padding-bottom:16px}ion-app.md [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.md [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.md [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.md [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.md [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.md [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.md [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.md [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.md [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.md [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.md [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.md [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.md [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.md [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.md [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.md [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.md [margin],ion-app.md [margin] .scroll-content{margin:16px}ion-app.md [margin-top],ion-app.md [margin-top] .scroll-content{margin-top:16px}ion-app.md [margin-left],ion-app.md [margin-left] .scroll-content{margin-left:16px}ion-app.md [margin-start],ion-app.md [margin-start] .scroll-content{margin-left:16px}ion-app.md [margin-right],ion-app.md [margin-right] .scroll-content{margin-right:16px}ion-app.md [margin-end],ion-app.md [margin-end] .scroll-content{margin-right:16px}ion-app.md [margin-bottom],ion-app.md [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.md [margin-vertical],ion-app.md [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.md [margin-horizontal],ion-app.md [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}.content-wp{color:#000;background-color:#fff}.content-wp hr{background-color:rgba(0,0,0,.08)}ion-app.wp [padding]{padding:16px}ion-app.wp [padding-top]{padding-top:16px}ion-app.wp [padding-left]{padding-left:16px}ion-app.wp [padding-right]{padding-right:16px}ion-app.wp [padding-bottom]{padding-bottom:16px}ion-app.wp [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.wp [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.wp [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.wp [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.wp [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.wp [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.wp [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.wp [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.wp [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.wp [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.wp [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.wp [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.wp [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.wp [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.wp [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.wp [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.wp [margin],ion-app.wp [margin] .scroll-content{margin:16px}ion-app.wp [margin-top],ion-app.wp [margin-top] .scroll-content{margin-top:16px}ion-app.wp [margin-left],ion-app.wp [margin-left] .scroll-content{margin-left:16px}ion-app.wp [margin-start],ion-app.wp [margin-start] .scroll-content{margin-left:16px}ion-app.wp [margin-right],ion-app.wp [margin-right] .scroll-content{margin-right:16px}ion-app.wp [margin-end],ion-app.wp [margin-end] .scroll-content{margin-right:16px}ion-app.wp [margin-bottom],ion-app.wp [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.wp [margin-vertical],ion-app.wp [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.wp [margin-horizontal],ion-app.wp [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}ion-datetime{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden}.datetime-text{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;min-width:16px;min-height:1.2em;font-size:inherit;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.datetime-disabled,.item-datetime-disabled ion-label{opacity:.4;pointer-events:none}.item-label-floating ion-datetime,.item-label-stacked ion-datetime{padding-left:0;width:100%}.datetime-ios{padding:11px 8px 11px 16px}.datetime-ios .datetime-placeholder{color:#999}.datetime-md{padding:13px 8px 13px 16px}.datetime-md .datetime-placeholder{color:#999}.datetime-wp{padding:13px 8px 13px 16px;min-width:45%}.datetime-wp .datetime-text{padding:0 8px;min-height:3.4rem;border:2px solid rgba(0,0,0,.5);line-height:3rem}.item-datetime .datetime-wp ion-label[floating]{-webkit-transform:translate3d(8px,41px,0);transform:translate3d(8px,41px,0)}.datetime-wp .datetime-placeholder{color:rgba(0,0,0,.5)}.fab{text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border-radius:50%;position:relative;z-index:0;display:block;overflow:hidden;width:56px;height:56px;font-size:14px;line-height:56px;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;-webkit-transition:background-color,opacity .1s linear;transition:background-color,opacity .1s linear;background-clip:padding-box;-webkit-font-kerning:none;font-kerning:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;contain:strict}.fab ion-icon{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:2.4rem}.fab[mini]{margin:8px;width:40px;height:40px;line-height:40px}.fab[mini] .fab-close-icon{line-height:40px}ion-fab{position:absolute;z-index:999}ion-fab[center]{left:50%;margin-left:-28px}ion-fab[middle]{margin-top:-28px;top:50%}ion-fab[top]{top:10px}ion-fab[right]{right:10px;right:calc(10px + constant(safe-area-inset-right));right:calc(10px + env(safe-area-inset-right))}ion-fab[end]{right:10px;right:calc(constant(safe-area-inset-right) + 10px);right:calc(env(safe-area-inset-right) + 10px)}ion-fab[bottom]{bottom:10px}ion-fab[left]{left:10px;left:calc(10px + constant(safe-area-inset-left));left:calc(10px + env(safe-area-inset-left))}ion-fab[start]{left:10px;left:calc(constant(safe-area-inset-left) + 10px);left:calc(env(safe-area-inset-left) + 10px)}ion-fab[top][edge]{top:-28px}ion-fab[bottom][edge]{bottom:-28px}ion-fab-list{margin:66px 0;position:absolute;top:0;display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}.fab-in-list{margin:8px 0;width:40px;height:40px;opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0)}.fab-in-list.show{opacity:1;visibility:visible;-webkit-transform:scale(1);transform:scale(1)}ion-fab-list[side=left] .fab-in-list,ion-fab-list[side=right] .fab-in-list{margin:0 8px}ion-fab-list[side=top]{top:auto;bottom:0;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}ion-fab-list[side=left]{margin:0 66px;right:0;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}ion-fab-list[side=right]{margin:0 66px;left:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.fab-list-active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.fab-close-icon{left:0;right:0;top:0;position:absolute;line-height:56px;opacity:0;-webkit-transform:scale(.4) rotateZ(-45deg);transform:scale(.4) rotateZ(-45deg);-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.fab .button-inner{-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.fab-close-active .fab-close-icon{opacity:1;-webkit-transform:scale(1) rotateZ(0);transform:scale(1) rotateZ(0)}.fab-close-active .button-inner{opacity:0;-webkit-transform:scale(.4) rotateZ(45deg);transform:scale(.4) rotateZ(45deg)}.fab-ios{color:#fff;background-color:#673ab7}.fab-ios.activated{background-color:#734abd}.fab-ios-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms,-webkit-transform .2s ease 10ms}.fab-ios-in-list.activated{background-color:#e0e0e0}.fab-ios-primary{color:#fff;background-color:#673ab7}.fab-ios-primary.activated{background-color:#734abd}.fab-ios-secondary{color:#fff;background-color:#32db64}.fab-ios-secondary.activated{background-color:#2ec95c}.fab-ios-danger{color:#fff;background-color:#f53d3d}.fab-ios-danger.activated{background-color:#e13838}.fab-ios-light{color:#000;background-color:#f4f4f4}.fab-ios-light.activated{background-color:#e0e0e0}.fab-ios-dark{color:#fff;background-color:#222}.fab-ios-dark.activated{background-color:#343434}.fab-ios-optblue{color:#fff;background-color:#e00201}.fab-ios-optblue.activated{background-color:#e21615}.fab-md{color:#fff;background-color:#673ab7;-webkit-box-shadow:0 4px 6px 0 rgba(0,0,0,.14),0 4px 5px rgba(0,0,0,.1);box-shadow:0 4px 6px 0 rgba(0,0,0,.14),0 4px 5px rgba(0,0,0,.1);-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1)}.fab-md.activated{background-color:#734abd;-webkit-box-shadow:0 5px 15px 0 rgba(0,0,0,.4),0 4px 7px 0 rgba(0,0,0,.1);box-shadow:0 5px 15px 0 rgba(0,0,0,.4),0 4px 7px 0 rgba(0,0,0,.1)}.fab-md-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:opacity .2s ease 10ms,background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:transform .2s ease 10ms,opacity .2s ease 10ms,box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:transform .2s ease 10ms,opacity .2s ease 10ms,box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1)}.fab-md-in-list.activated{background-color:#e0e0e0}.fab-md .button-effect{background-color:#fff}.fab-md-primary{color:#fff;background-color:#673ab7}.fab-md-primary.activated{background-color:#734abd}.fab-md-primary .button-effect{background-color:#fff}.fab-md-secondary{color:#fff;background-color:#32db64}.fab-md-secondary.activated{background-color:#2ec95c}.fab-md-secondary .button-effect{background-color:#fff}.fab-md-danger{color:#fff;background-color:#f53d3d}.fab-md-danger.activated{background-color:#e13838}.fab-md-danger .button-effect{background-color:#fff}.fab-md-light{color:#000;background-color:#f4f4f4}.fab-md-light.activated{background-color:#e0e0e0}.fab-md-light .button-effect{background-color:#000}.fab-md-dark{color:#fff;background-color:#222}.fab-md-dark.activated{background-color:#343434}.fab-md-dark .button-effect{background-color:#fff}.fab-md-optblue{color:#fff;background-color:#e00201}.fab-md-optblue.activated{background-color:#e21615}.fab-md-optblue .button-effect{background-color:#fff}.fab-wp{color:#fff;background-color:#673ab7}.fab-wp.activated{background-color:#734abd}.fab-wp-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms,-webkit-transform .2s ease 10ms}.fab-wp-in-list.activated{background-color:#e0e0e0}.fab-wp-primary{color:#fff;background-color:#673ab7}.fab-wp-primary.activated{background-color:#734abd}.fab-wp-secondary{color:#fff;background-color:#32db64}.fab-wp-secondary.activated{background-color:#2ec95c}.fab-wp-danger{color:#fff;background-color:#f53d3d}.fab-wp-danger.activated{background-color:#e13838}.fab-wp-light{color:#000;background-color:#f4f4f4}.fab-wp-light.activated{background-color:#e0e0e0}.fab-wp-dark{color:#fff;background-color:#222}.fab-wp-dark.activated{background-color:#343434}.fab-wp-optblue{color:#fff;background-color:#e00201}.fab-wp-optblue.activated{background-color:#e21615}.grid{padding:5px;margin-left:auto;margin-right:auto;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.grid[no-padding]{padding:0}.grid[no-padding]>.row>.col{padding:0}@media (min-width:576px){.grid[fixed]{width:540px;max-width:100%}}@media (min-width:768px){.grid[fixed]{width:720px;max-width:100%}}@media (min-width:992px){.grid[fixed]{width:960px;max-width:100%}}@media (min-width:1200px){.grid[fixed]{width:1140px;max-width:100%}}.row{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.row[nowrap]{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.row[wrap-reverse]{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.row[align-items-start]{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.row[align-items-center]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.row[align-items-end]{-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end}.row[align-items-stretch]{-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.row[align-items-baseline]{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}.row[justify-content-start]{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.row[justify-content-center]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.row[justify-content-end]{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.row[justify-content-around]{-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around}.row[justify-content-between]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.col{padding:5px;position:relative;width:100%;margin:0;min-height:1px;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col[align-self-start]{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.col[align-self-end]{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.col[align-self-center]{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.col[align-self-stretch]{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch}.col[align-self-baseline]{-webkit-align-self:baseline;-ms-flex-item-align:baseline;align-self:baseline}[col-1]{padding:5px}@media (min-width:576px){[col-1]{padding:5px}}@media (min-width:768px){[col-1]{padding:5px}}@media (min-width:992px){[col-1]{padding:5px}}@media (min-width:1200px){[col-1]{padding:5px}}[col-2]{padding:5px}@media (min-width:576px){[col-2]{padding:5px}}@media (min-width:768px){[col-2]{padding:5px}}@media (min-width:992px){[col-2]{padding:5px}}@media (min-width:1200px){[col-2]{padding:5px}}[col-3]{padding:5px}@media (min-width:576px){[col-3]{padding:5px}}@media (min-width:768px){[col-3]{padding:5px}}@media (min-width:992px){[col-3]{padding:5px}}@media (min-width:1200px){[col-3]{padding:5px}}[col-4]{padding:5px}@media (min-width:576px){[col-4]{padding:5px}}@media (min-width:768px){[col-4]{padding:5px}}@media (min-width:992px){[col-4]{padding:5px}}@media (min-width:1200px){[col-4]{padding:5px}}[col-5]{padding:5px}@media (min-width:576px){[col-5]{padding:5px}}@media (min-width:768px){[col-5]{padding:5px}}@media (min-width:992px){[col-5]{padding:5px}}@media (min-width:1200px){[col-5]{padding:5px}}[col-6]{padding:5px}@media (min-width:576px){[col-6]{padding:5px}}@media (min-width:768px){[col-6]{padding:5px}}@media (min-width:992px){[col-6]{padding:5px}}@media (min-width:1200px){[col-6]{padding:5px}}[col-7]{padding:5px}@media (min-width:576px){[col-7]{padding:5px}}@media (min-width:768px){[col-7]{padding:5px}}@media (min-width:992px){[col-7]{padding:5px}}@media (min-width:1200px){[col-7]{padding:5px}}[col-8]{padding:5px}@media (min-width:576px){[col-8]{padding:5px}}@media (min-width:768px){[col-8]{padding:5px}}@media (min-width:992px){[col-8]{padding:5px}}@media (min-width:1200px){[col-8]{padding:5px}}[col-9]{padding:5px}@media (min-width:576px){[col-9]{padding:5px}}@media (min-width:768px){[col-9]{padding:5px}}@media (min-width:992px){[col-9]{padding:5px}}@media (min-width:1200px){[col-9]{padding:5px}}[col-10]{padding:5px}@media (min-width:576px){[col-10]{padding:5px}}@media (min-width:768px){[col-10]{padding:5px}}@media (min-width:992px){[col-10]{padding:5px}}@media (min-width:1200px){[col-10]{padding:5px}}[col-11]{padding:5px}@media (min-width:576px){[col-11]{padding:5px}}@media (min-width:768px){[col-11]{padding:5px}}@media (min-width:992px){[col-11]{padding:5px}}@media (min-width:1200px){[col-11]{padding:5px}}[col-12]{padding:5px}@media (min-width:576px){[col-12]{padding:5px}}@media (min-width:768px){[col-12]{padding:5px}}@media (min-width:992px){[col-12]{padding:5px}}@media (min-width:1200px){[col-12]{padding:5px}}[col]{padding:5px}@media (min-width:576px){[col]{padding:5px}}@media (min-width:768px){[col]{padding:5px}}@media (min-width:992px){[col]{padding:5px}}@media (min-width:1200px){[col]{padding:5px}}[col]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-0]{right:auto}[pull-1]{right:8.33333%}[pull-2]{right:16.66667%}[pull-3]{right:25%}[pull-4]{right:33.33333%}[pull-5]{right:41.66667%}[pull-6]{right:50%}[pull-7]{right:58.33333%}[pull-8]{right:66.66667%}[pull-9]{right:75%}[pull-10]{right:83.33333%}[pull-11]{right:91.66667%}[pull-12]{right:100%}[push-0]{left:auto}[push-1]{left:8.33333%}[push-2]{left:16.66667%}[push-3]{left:25%}[push-4]{left:33.33333%}[push-5]{left:41.66667%}[push-6]{left:50%}[push-7]{left:58.33333%}[push-8]{left:66.66667%}[push-9]{left:75%}[push-10]{left:83.33333%}[push-11]{left:91.66667%}[push-12]{left:100%}[offset-1]{margin-left:8.33333%}[offset-2]{margin-left:16.66667%}[offset-3]{margin-left:25%}[offset-4]{margin-left:33.33333%}[offset-5]{margin-left:41.66667%}[offset-6]{margin-left:50%}[offset-7]{margin-left:58.33333%}[offset-8]{margin-left:66.66667%}[offset-9]{margin-left:75%}[offset-10]{margin-left:83.33333%}[offset-11]{margin-left:91.66667%}[col-sm-1]{padding:5px}@media (min-width:576px){[col-sm-1]{padding:5px}}@media (min-width:768px){[col-sm-1]{padding:5px}}@media (min-width:992px){[col-sm-1]{padding:5px}}@media (min-width:1200px){[col-sm-1]{padding:5px}}[col-sm-2]{padding:5px}@media (min-width:576px){[col-sm-2]{padding:5px}}@media (min-width:768px){[col-sm-2]{padding:5px}}@media (min-width:992px){[col-sm-2]{padding:5px}}@media (min-width:1200px){[col-sm-2]{padding:5px}}[col-sm-3]{padding:5px}@media (min-width:576px){[col-sm-3]{padding:5px}}@media (min-width:768px){[col-sm-3]{padding:5px}}@media (min-width:992px){[col-sm-3]{padding:5px}}@media (min-width:1200px){[col-sm-3]{padding:5px}}[col-sm-4]{padding:5px}@media (min-width:576px){[col-sm-4]{padding:5px}}@media (min-width:768px){[col-sm-4]{padding:5px}}@media (min-width:992px){[col-sm-4]{padding:5px}}@media (min-width:1200px){[col-sm-4]{padding:5px}}[col-sm-5]{padding:5px}@media (min-width:576px){[col-sm-5]{padding:5px}}@media (min-width:768px){[col-sm-5]{padding:5px}}@media (min-width:992px){[col-sm-5]{padding:5px}}@media (min-width:1200px){[col-sm-5]{padding:5px}}[col-sm-6]{padding:5px}@media (min-width:576px){[col-sm-6]{padding:5px}}@media (min-width:768px){[col-sm-6]{padding:5px}}@media (min-width:992px){[col-sm-6]{padding:5px}}@media (min-width:1200px){[col-sm-6]{padding:5px}}[col-sm-7]{padding:5px}@media (min-width:576px){[col-sm-7]{padding:5px}}@media (min-width:768px){[col-sm-7]{padding:5px}}@media (min-width:992px){[col-sm-7]{padding:5px}}@media (min-width:1200px){[col-sm-7]{padding:5px}}[col-sm-8]{padding:5px}@media (min-width:576px){[col-sm-8]{padding:5px}}@media (min-width:768px){[col-sm-8]{padding:5px}}@media (min-width:992px){[col-sm-8]{padding:5px}}@media (min-width:1200px){[col-sm-8]{padding:5px}}[col-sm-9]{padding:5px}@media (min-width:576px){[col-sm-9]{padding:5px}}@media (min-width:768px){[col-sm-9]{padding:5px}}@media (min-width:992px){[col-sm-9]{padding:5px}}@media (min-width:1200px){[col-sm-9]{padding:5px}}[col-sm-10]{padding:5px}@media (min-width:576px){[col-sm-10]{padding:5px}}@media (min-width:768px){[col-sm-10]{padding:5px}}@media (min-width:992px){[col-sm-10]{padding:5px}}@media (min-width:1200px){[col-sm-10]{padding:5px}}[col-sm-11]{padding:5px}@media (min-width:576px){[col-sm-11]{padding:5px}}@media (min-width:768px){[col-sm-11]{padding:5px}}@media (min-width:992px){[col-sm-11]{padding:5px}}@media (min-width:1200px){[col-sm-11]{padding:5px}}[col-sm-12]{padding:5px}@media (min-width:576px){[col-sm-12]{padding:5px}}@media (min-width:768px){[col-sm-12]{padding:5px}}@media (min-width:992px){[col-sm-12]{padding:5px}}@media (min-width:1200px){[col-sm-12]{padding:5px}}[col-sm]{padding:5px}@media (min-width:576px){[col-sm]{padding:5px}}@media (min-width:768px){[col-sm]{padding:5px}}@media (min-width:992px){[col-sm]{padding:5px}}@media (min-width:1200px){[col-sm]{padding:5px}}@media (min-width:576px){[col-sm]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-sm-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-sm-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-sm-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-sm-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-sm-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-sm-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-sm-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-sm-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-sm-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-sm-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-sm-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-sm-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-sm-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-sm-0]{right:auto}[pull-sm-1]{right:8.33333%}[pull-sm-2]{right:16.66667%}[pull-sm-3]{right:25%}[pull-sm-4]{right:33.33333%}[pull-sm-5]{right:41.66667%}[pull-sm-6]{right:50%}[pull-sm-7]{right:58.33333%}[pull-sm-8]{right:66.66667%}[pull-sm-9]{right:75%}[pull-sm-10]{right:83.33333%}[pull-sm-11]{right:91.66667%}[pull-sm-12]{right:100%}[push-sm-0]{left:auto}[push-sm-1]{left:8.33333%}[push-sm-2]{left:16.66667%}[push-sm-3]{left:25%}[push-sm-4]{left:33.33333%}[push-sm-5]{left:41.66667%}[push-sm-6]{left:50%}[push-sm-7]{left:58.33333%}[push-sm-8]{left:66.66667%}[push-sm-9]{left:75%}[push-sm-10]{left:83.33333%}[push-sm-11]{left:91.66667%}[push-sm-12]{left:100%}[offset-sm-0]{margin-left:0}[offset-sm-1]{margin-left:8.33333%}[offset-sm-2]{margin-left:16.66667%}[offset-sm-3]{margin-left:25%}[offset-sm-4]{margin-left:33.33333%}[offset-sm-5]{margin-left:41.66667%}[offset-sm-6]{margin-left:50%}[offset-sm-7]{margin-left:58.33333%}[offset-sm-8]{margin-left:66.66667%}[offset-sm-9]{margin-left:75%}[offset-sm-10]{margin-left:83.33333%}[offset-sm-11]{margin-left:91.66667%}}[col-md-1]{padding:5px}@media (min-width:576px){[col-md-1]{padding:5px}}@media (min-width:768px){[col-md-1]{padding:5px}}@media (min-width:992px){[col-md-1]{padding:5px}}@media (min-width:1200px){[col-md-1]{padding:5px}}[col-md-2]{padding:5px}@media (min-width:576px){[col-md-2]{padding:5px}}@media (min-width:768px){[col-md-2]{padding:5px}}@media (min-width:992px){[col-md-2]{padding:5px}}@media (min-width:1200px){[col-md-2]{padding:5px}}[col-md-3]{padding:5px}@media (min-width:576px){[col-md-3]{padding:5px}}@media (min-width:768px){[col-md-3]{padding:5px}}@media (min-width:992px){[col-md-3]{padding:5px}}@media (min-width:1200px){[col-md-3]{padding:5px}}[col-md-4]{padding:5px}@media (min-width:576px){[col-md-4]{padding:5px}}@media (min-width:768px){[col-md-4]{padding:5px}}@media (min-width:992px){[col-md-4]{padding:5px}}@media (min-width:1200px){[col-md-4]{padding:5px}}[col-md-5]{padding:5px}@media (min-width:576px){[col-md-5]{padding:5px}}@media (min-width:768px){[col-md-5]{padding:5px}}@media (min-width:992px){[col-md-5]{padding:5px}}@media (min-width:1200px){[col-md-5]{padding:5px}}[col-md-6]{padding:5px}@media (min-width:576px){[col-md-6]{padding:5px}}@media (min-width:768px){[col-md-6]{padding:5px}}@media (min-width:992px){[col-md-6]{padding:5px}}@media (min-width:1200px){[col-md-6]{padding:5px}}[col-md-7]{padding:5px}@media (min-width:576px){[col-md-7]{padding:5px}}@media (min-width:768px){[col-md-7]{padding:5px}}@media (min-width:992px){[col-md-7]{padding:5px}}@media (min-width:1200px){[col-md-7]{padding:5px}}[col-md-8]{padding:5px}@media (min-width:576px){[col-md-8]{padding:5px}}@media (min-width:768px){[col-md-8]{padding:5px}}@media (min-width:992px){[col-md-8]{padding:5px}}@media (min-width:1200px){[col-md-8]{padding:5px}}[col-md-9]{padding:5px}@media (min-width:576px){[col-md-9]{padding:5px}}@media (min-width:768px){[col-md-9]{padding:5px}}@media (min-width:992px){[col-md-9]{padding:5px}}@media (min-width:1200px){[col-md-9]{padding:5px}}[col-md-10]{padding:5px}@media (min-width:576px){[col-md-10]{padding:5px}}@media (min-width:768px){[col-md-10]{padding:5px}}@media (min-width:992px){[col-md-10]{padding:5px}}@media (min-width:1200px){[col-md-10]{padding:5px}}[col-md-11]{padding:5px}@media (min-width:576px){[col-md-11]{padding:5px}}@media (min-width:768px){[col-md-11]{padding:5px}}@media (min-width:992px){[col-md-11]{padding:5px}}@media (min-width:1200px){[col-md-11]{padding:5px}}[col-md-12]{padding:5px}@media (min-width:576px){[col-md-12]{padding:5px}}@media (min-width:768px){[col-md-12]{padding:5px}}@media (min-width:992px){[col-md-12]{padding:5px}}@media (min-width:1200px){[col-md-12]{padding:5px}}[col-md]{padding:5px}@media (min-width:576px){[col-md]{padding:5px}}@media (min-width:768px){[col-md]{padding:5px}}@media (min-width:992px){[col-md]{padding:5px}}@media (min-width:1200px){[col-md]{padding:5px}}@media (min-width:768px){[col-md]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-md-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-md-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-md-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-md-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-md-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-md-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-md-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-md-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-md-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-md-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-md-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-md-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-md-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-md-0]{right:auto}[pull-md-1]{right:8.33333%}[pull-md-2]{right:16.66667%}[pull-md-3]{right:25%}[pull-md-4]{right:33.33333%}[pull-md-5]{right:41.66667%}[pull-md-6]{right:50%}[pull-md-7]{right:58.33333%}[pull-md-8]{right:66.66667%}[pull-md-9]{right:75%}[pull-md-10]{right:83.33333%}[pull-md-11]{right:91.66667%}[pull-md-12]{right:100%}[push-md-0]{left:auto}[push-md-1]{left:8.33333%}[push-md-2]{left:16.66667%}[push-md-3]{left:25%}[push-md-4]{left:33.33333%}[push-md-5]{left:41.66667%}[push-md-6]{left:50%}[push-md-7]{left:58.33333%}[push-md-8]{left:66.66667%}[push-md-9]{left:75%}[push-md-10]{left:83.33333%}[push-md-11]{left:91.66667%}[push-md-12]{left:100%}[offset-md-0]{margin-left:0}[offset-md-1]{margin-left:8.33333%}[offset-md-2]{margin-left:16.66667%}[offset-md-3]{margin-left:25%}[offset-md-4]{margin-left:33.33333%}[offset-md-5]{margin-left:41.66667%}[offset-md-6]{margin-left:50%}[offset-md-7]{margin-left:58.33333%}[offset-md-8]{margin-left:66.66667%}[offset-md-9]{margin-left:75%}[offset-md-10]{margin-left:83.33333%}[offset-md-11]{margin-left:91.66667%}}[col-lg-1]{padding:5px}@media (min-width:576px){[col-lg-1]{padding:5px}}@media (min-width:768px){[col-lg-1]{padding:5px}}@media (min-width:992px){[col-lg-1]{padding:5px}}@media (min-width:1200px){[col-lg-1]{padding:5px}}[col-lg-2]{padding:5px}@media (min-width:576px){[col-lg-2]{padding:5px}}@media (min-width:768px){[col-lg-2]{padding:5px}}@media (min-width:992px){[col-lg-2]{padding:5px}}@media (min-width:1200px){[col-lg-2]{padding:5px}}[col-lg-3]{padding:5px}@media (min-width:576px){[col-lg-3]{padding:5px}}@media (min-width:768px){[col-lg-3]{padding:5px}}@media (min-width:992px){[col-lg-3]{padding:5px}}@media (min-width:1200px){[col-lg-3]{padding:5px}}[col-lg-4]{padding:5px}@media (min-width:576px){[col-lg-4]{padding:5px}}@media (min-width:768px){[col-lg-4]{padding:5px}}@media (min-width:992px){[col-lg-4]{padding:5px}}@media (min-width:1200px){[col-lg-4]{padding:5px}}[col-lg-5]{padding:5px}@media (min-width:576px){[col-lg-5]{padding:5px}}@media (min-width:768px){[col-lg-5]{padding:5px}}@media (min-width:992px){[col-lg-5]{padding:5px}}@media (min-width:1200px){[col-lg-5]{padding:5px}}[col-lg-6]{padding:5px}@media (min-width:576px){[col-lg-6]{padding:5px}}@media (min-width:768px){[col-lg-6]{padding:5px}}@media (min-width:992px){[col-lg-6]{padding:5px}}@media (min-width:1200px){[col-lg-6]{padding:5px}}[col-lg-7]{padding:5px}@media (min-width:576px){[col-lg-7]{padding:5px}}@media (min-width:768px){[col-lg-7]{padding:5px}}@media (min-width:992px){[col-lg-7]{padding:5px}}@media (min-width:1200px){[col-lg-7]{padding:5px}}[col-lg-8]{padding:5px}@media (min-width:576px){[col-lg-8]{padding:5px}}@media (min-width:768px){[col-lg-8]{padding:5px}}@media (min-width:992px){[col-lg-8]{padding:5px}}@media (min-width:1200px){[col-lg-8]{padding:5px}}[col-lg-9]{padding:5px}@media (min-width:576px){[col-lg-9]{padding:5px}}@media (min-width:768px){[col-lg-9]{padding:5px}}@media (min-width:992px){[col-lg-9]{padding:5px}}@media (min-width:1200px){[col-lg-9]{padding:5px}}[col-lg-10]{padding:5px}@media (min-width:576px){[col-lg-10]{padding:5px}}@media (min-width:768px){[col-lg-10]{padding:5px}}@media (min-width:992px){[col-lg-10]{padding:5px}}@media (min-width:1200px){[col-lg-10]{padding:5px}}[col-lg-11]{padding:5px}@media (min-width:576px){[col-lg-11]{padding:5px}}@media (min-width:768px){[col-lg-11]{padding:5px}}@media (min-width:992px){[col-lg-11]{padding:5px}}@media (min-width:1200px){[col-lg-11]{padding:5px}}[col-lg-12]{padding:5px}@media (min-width:576px){[col-lg-12]{padding:5px}}@media (min-width:768px){[col-lg-12]{padding:5px}}@media (min-width:992px){[col-lg-12]{padding:5px}}@media (min-width:1200px){[col-lg-12]{padding:5px}}[col-lg]{padding:5px}@media (min-width:576px){[col-lg]{padding:5px}}@media (min-width:768px){[col-lg]{padding:5px}}@media (min-width:992px){[col-lg]{padding:5px}}@media (min-width:1200px){[col-lg]{padding:5px}}@media (min-width:992px){[col-lg]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-lg-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-lg-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-lg-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-lg-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-lg-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-lg-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-lg-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-lg-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-lg-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-lg-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-lg-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-lg-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-lg-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-lg-0]{right:auto}[pull-lg-1]{right:8.33333%}[pull-lg-2]{right:16.66667%}[pull-lg-3]{right:25%}[pull-lg-4]{right:33.33333%}[pull-lg-5]{right:41.66667%}[pull-lg-6]{right:50%}[pull-lg-7]{right:58.33333%}[pull-lg-8]{right:66.66667%}[pull-lg-9]{right:75%}[pull-lg-10]{right:83.33333%}[pull-lg-11]{right:91.66667%}[pull-lg-12]{right:100%}[push-lg-0]{left:auto}[push-lg-1]{left:8.33333%}[push-lg-2]{left:16.66667%}[push-lg-3]{left:25%}[push-lg-4]{left:33.33333%}[push-lg-5]{left:41.66667%}[push-lg-6]{left:50%}[push-lg-7]{left:58.33333%}[push-lg-8]{left:66.66667%}[push-lg-9]{left:75%}[push-lg-10]{left:83.33333%}[push-lg-11]{left:91.66667%}[push-lg-12]{left:100%}[offset-lg-0]{margin-left:0}[offset-lg-1]{margin-left:8.33333%}[offset-lg-2]{margin-left:16.66667%}[offset-lg-3]{margin-left:25%}[offset-lg-4]{margin-left:33.33333%}[offset-lg-5]{margin-left:41.66667%}[offset-lg-6]{margin-left:50%}[offset-lg-7]{margin-left:58.33333%}[offset-lg-8]{margin-left:66.66667%}[offset-lg-9]{margin-left:75%}[offset-lg-10]{margin-left:83.33333%}[offset-lg-11]{margin-left:91.66667%}}[col-xl-1]{padding:5px}@media (min-width:576px){[col-xl-1]{padding:5px}}@media (min-width:768px){[col-xl-1]{padding:5px}}@media (min-width:992px){[col-xl-1]{padding:5px}}@media (min-width:1200px){[col-xl-1]{padding:5px}}[col-xl-2]{padding:5px}@media (min-width:576px){[col-xl-2]{padding:5px}}@media (min-width:768px){[col-xl-2]{padding:5px}}@media (min-width:992px){[col-xl-2]{padding:5px}}@media (min-width:1200px){[col-xl-2]{padding:5px}}[col-xl-3]{padding:5px}@media (min-width:576px){[col-xl-3]{padding:5px}}@media (min-width:768px){[col-xl-3]{padding:5px}}@media (min-width:992px){[col-xl-3]{padding:5px}}@media (min-width:1200px){[col-xl-3]{padding:5px}}[col-xl-4]{padding:5px}@media (min-width:576px){[col-xl-4]{padding:5px}}@media (min-width:768px){[col-xl-4]{padding:5px}}@media (min-width:992px){[col-xl-4]{padding:5px}}@media (min-width:1200px){[col-xl-4]{padding:5px}}[col-xl-5]{padding:5px}@media (min-width:576px){[col-xl-5]{padding:5px}}@media (min-width:768px){[col-xl-5]{padding:5px}}@media (min-width:992px){[col-xl-5]{padding:5px}}@media (min-width:1200px){[col-xl-5]{padding:5px}}[col-xl-6]{padding:5px}@media (min-width:576px){[col-xl-6]{padding:5px}}@media (min-width:768px){[col-xl-6]{padding:5px}}@media (min-width:992px){[col-xl-6]{padding:5px}}@media (min-width:1200px){[col-xl-6]{padding:5px}}[col-xl-7]{padding:5px}@media (min-width:576px){[col-xl-7]{padding:5px}}@media (min-width:768px){[col-xl-7]{padding:5px}}@media (min-width:992px){[col-xl-7]{padding:5px}}@media (min-width:1200px){[col-xl-7]{padding:5px}}[col-xl-8]{padding:5px}@media (min-width:576px){[col-xl-8]{padding:5px}}@media (min-width:768px){[col-xl-8]{padding:5px}}@media (min-width:992px){[col-xl-8]{padding:5px}}@media (min-width:1200px){[col-xl-8]{padding:5px}}[col-xl-9]{padding:5px}@media (min-width:576px){[col-xl-9]{padding:5px}}@media (min-width:768px){[col-xl-9]{padding:5px}}@media (min-width:992px){[col-xl-9]{padding:5px}}@media (min-width:1200px){[col-xl-9]{padding:5px}}[col-xl-10]{padding:5px}@media (min-width:576px){[col-xl-10]{padding:5px}}@media (min-width:768px){[col-xl-10]{padding:5px}}@media (min-width:992px){[col-xl-10]{padding:5px}}@media (min-width:1200px){[col-xl-10]{padding:5px}}[col-xl-11]{padding:5px}@media (min-width:576px){[col-xl-11]{padding:5px}}@media (min-width:768px){[col-xl-11]{padding:5px}}@media (min-width:992px){[col-xl-11]{padding:5px}}@media (min-width:1200px){[col-xl-11]{padding:5px}}[col-xl-12]{padding:5px}@media (min-width:576px){[col-xl-12]{padding:5px}}@media (min-width:768px){[col-xl-12]{padding:5px}}@media (min-width:992px){[col-xl-12]{padding:5px}}@media (min-width:1200px){[col-xl-12]{padding:5px}}[col-xl]{padding:5px}@media (min-width:576px){[col-xl]{padding:5px}}@media (min-width:768px){[col-xl]{padding:5px}}@media (min-width:992px){[col-xl]{padding:5px}}@media (min-width:1200px){[col-xl]{padding:5px}}@media (min-width:1200px){[col-xl]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-xl-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-xl-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-xl-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-xl-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-xl-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-xl-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-xl-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-xl-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-xl-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-xl-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-xl-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-xl-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-xl-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-xl-0]{right:auto}[pull-xl-1]{right:8.33333%}[pull-xl-2]{right:16.66667%}[pull-xl-3]{right:25%}[pull-xl-4]{right:33.33333%}[pull-xl-5]{right:41.66667%}[pull-xl-6]{right:50%}[pull-xl-7]{right:58.33333%}[pull-xl-8]{right:66.66667%}[pull-xl-9]{right:75%}[pull-xl-10]{right:83.33333%}[pull-xl-11]{right:91.66667%}[pull-xl-12]{right:100%}[push-xl-0]{left:auto}[push-xl-1]{left:8.33333%}[push-xl-2]{left:16.66667%}[push-xl-3]{left:25%}[push-xl-4]{left:33.33333%}[push-xl-5]{left:41.66667%}[push-xl-6]{left:50%}[push-xl-7]{left:58.33333%}[push-xl-8]{left:66.66667%}[push-xl-9]{left:75%}[push-xl-10]{left:83.33333%}[push-xl-11]{left:91.66667%}[push-xl-12]{left:100%}[offset-xl-0]{margin-left:0}[offset-xl-1]{margin-left:8.33333%}[offset-xl-2]{margin-left:16.66667%}[offset-xl-3]{margin-left:25%}[offset-xl-4]{margin-left:33.33333%}[offset-xl-5]{margin-left:41.66667%}[offset-xl-6]{margin-left:50%}[offset-xl-7]{margin-left:58.33333%}[offset-xl-8]{margin-left:66.66667%}[offset-xl-9]{margin-left:75%}[offset-xl-10]{margin-left:83.33333%}[offset-xl-11]{margin-left:91.66667%}}ion-icon{display:inline-block;font-size:1.2em}ion-icon[small]{min-height:1.1em;font-size:1.1em}.icon-ios-primary{color:#673ab7}.icon-ios-secondary{color:#32db64}.icon-ios-danger{color:#f53d3d}.icon-ios-light{color:#f4f4f4}.icon-ios-dark{color:#222}.icon-ios-optblue{color:#e00201}.icon-md-primary{color:#673ab7}.icon-md-secondary{color:#32db64}.icon-md-danger{color:#f53d3d}.icon-md-light{color:#f4f4f4}.icon-md-dark{color:#222}.icon-md-optblue{color:#e00201}.icon-wp-primary{color:#673ab7}.icon-wp-secondary{color:#32db64}.icon-wp-danger{color:#f53d3d}.icon-wp-light{color:#f4f4f4}.icon-wp-dark{color:#222}.icon-wp-optblue{color:#e00201}ion-img{display:inline-block;min-width:20px;min-height:20px;background:#eee;contain:strict}ion-img img{-o-object-fit:cover;object-fit:cover}ion-img.img-unloaded img{display:none}ion-img.img-loaded img{display:block}ion-infinite-scroll{display:block;width:100%}ion-infinite-scroll-content{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%;min-height:84px}.infinite-loading{display:none;width:100%;margin:0 0 32px}.infinite-loading-text{color:#666;margin:4px 32px 0}.infinite-loading-spinner .spinner-crescent circle,.infinite-loading-spinner .spinner-ios line,.infinite-loading-spinner .spinner-ios-small line{stroke:#666}.infinite-loading-spinner .spinner-bubbles circle,.infinite-loading-spinner .spinner-circles circle,.infinite-loading-spinner .spinner-dots circle{fill:#666}ion-infinite-scroll-content[state=loading] .infinite-loading{display:block}ion-infinite-scroll-content[state=disabled]{display:none}ion-input,ion-textarea{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%}.item-input ion-input,.item-input ion-textarea{position:static}.item.item-textarea{-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.text-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border-radius:0;display:inline-block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:92%;width:calc(100% - 10px);border:0;background:0 0}.text-input::-moz-placeholder{color:#999}.text-input:-ms-input-placeholder{color:#999}.text-input::-webkit-input-placeholder{text-indent:0;color:#999}textarea.text-input{display:block}.text-input[disabled]{opacity:.4}input.text-input:-webkit-autofill{background-color:transparent}.platform-mobile textarea.text-input{resize:none}.input-cover{left:0;top:0;position:absolute;width:100%;height:100%;-ms-touch-action:manipulation;touch-action:manipulation}.input[disabled] .input-cover{pointer-events:none}.input-has-focus .input-cover,.item-input-has-focus .input-cover{display:none}.input-has-focus,.item-input-has-focus{pointer-events:none}.input-has-focus a,.input-has-focus button,.input-has-focus input,.input-has-focus textarea,.item-input-has-focus a,.item-input-has-focus button,.item-input-has-focus input,.item-input-has-focus textarea{pointer-events:auto}.text-input-clear-icon{margin:0;padding:0;background-position:center;position:absolute;top:0;display:none;height:100%;background-repeat:no-repeat}.input-has-focus.input-has-value .text-input-clear-icon,.item-input-has-focus.item-input-has-value .text-input-clear-icon{display:block}.text-input-ios{margin:11px 8px 11px 0;padding:0;width:calc(100% - 8px)}.input-ios .inset-input{padding:5.5px 8px;margin:5.5px 16px 5.5px 0}.item-ios.item-label-floating .text-input,.item-ios.item-label-stacked .text-input{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-ios.item-label-floating .label-ios+.input+.cloned-input,.item-ios.item-label-stacked .label-ios+.input+.cloned-input{margin-left:0}.item-label-floating .select-ios,.item-label-stacked .select-ios{padding-left:0;padding-top:8px;padding-bottom:8px}.input-ios[clearInput]{position:relative}.input-ios[clearInput] .text-input{padding-right:30px}.input-ios .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:18px}.text-input-md{margin:13px 8px;padding:0;width:calc(100% - 8px - 8px)}.input-md .inset-input{padding:6.5px 8px;margin:6.5px 16px}.item-md.item-input.input-has-focus .item-inner,.item-md.item-input.item-input-has-focus .item-inner{border-bottom-color:#673ab7;-webkit-box-shadow:inset 0 -1px 0 0 #673ab7;box-shadow:inset 0 -1px 0 0 #673ab7}.list-md .item-input.input-has-focus:last-child,.list-md .item-input.item-input-has-focus:last-child{border-bottom-color:#673ab7;-webkit-box-shadow:inset 0 -1px 0 0 #673ab7;box-shadow:inset 0 -1px 0 0 #673ab7}.list-md .item-input.input-has-focus:last-child .item-inner,.list-md .item-input.item-input-has-focus:last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-md.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner,.item-md.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner{border-bottom-color:#32db64;-webkit-box-shadow:inset 0 -1px 0 0 #32db64;box-shadow:inset 0 -1px 0 0 #32db64}.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child,.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child{border-bottom-color:#32db64;-webkit-box-shadow:inset 0 -1px 0 0 #32db64;box-shadow:inset 0 -1px 0 0 #32db64}.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner,.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-md.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .item-inner{border-bottom-color:#f53d3d;-webkit-box-shadow:inset 0 -1px 0 0 #f53d3d;box-shadow:inset 0 -1px 0 0 #f53d3d}.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child{border-bottom-color:#f53d3d;-webkit-box-shadow:inset 0 -1px 0 0 #f53d3d;box-shadow:inset 0 -1px 0 0 #f53d3d}.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-label-floating .text-input-md,.item-label-stacked .text-input-md{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-label-floating .select-md,.item-label-stacked .select-md{padding-left:0;padding-top:8px;padding-bottom:8px}.input-md[clearInput]{position:relative}.input-md[clearInput] .text-input{padding-right:30px}.input-md .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:22px}.text-input-wp{margin:13px 8px;padding:0 8px;width:calc(100% - 8px - 8px);border:2px solid rgba(0,0,0,.5);line-height:3rem}.item-wp .inset-input{padding:6.5px 8px;margin:6.5px 16px}.item-wp.item-input.input-has-focus .text-input,.item-wp.item-input.item-input-has-focus .text-input{border-color:#673ab7}.item-wp.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input,.item-wp.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input{border-color:#32db64}.item-wp.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .text-input{border-color:#f53d3d}.item-label-floating .select-wp,.item-label-floating .text-input-wp,.item-label-stacked .select-wp,.item-label-stacked .text-input-wp{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-wp.item-label-floating [item-end],.item-wp.item-label-floating [item-right],.item-wp.item-label-stacked [item-end],.item-wp.item-label-stacked [item-right]{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.input-wp[clearInput]{position:relative}.input-wp[clearInput] .text-input{padding-right:30px}.input-wp .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:22px}.item{contain:content}.item-block{margin:0;padding:0;text-align:initial;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:4.4rem;border:0;font-weight:400;line-height:normal;text-decoration:none;color:inherit}.item-inner{margin:0;padding:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-webkit-flex-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;-webkit-box-align:inherit;-webkit-align-items:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0}.input-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-webkit-flex-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;-webkit-box-align:inherit;-webkit-align-items:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis}.item.item[no-lines] .item-inner,.item[no-lines]{border:0}ion-item-group{display:block}ion-item-divider{margin:0;padding:0;z-index:100;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:30px}ion-item-divider[sticky]{position:-webkit-sticky;position:sticky;top:0}[vertical-align-top],ion-input.item{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.item-inner>ion-icon[small]:first-child,.item>ion-icon[small]:first-child{min-width:18px}.item-inner>ion-icon:first-child,.item>ion-icon:first-child{text-align:center;min-width:24px}.item-inner>ion-icon,.item>ion-icon{min-height:2.8rem;font-size:2.8rem;line-height:1}.item-inner>ion-icon[large],.item>ion-icon[large]{min-height:3.2rem;font-size:3.2rem}.item-inner>ion-icon[small],.item>ion-icon[small]{min-height:1.8rem;font-size:1.8rem}ion-avatar,ion-thumbnail{display:block;line-height:1}ion-avatar img,ion-thumbnail img{display:block}.item-cover{left:0;top:0;position:absolute;width:100%;height:100%;background:0 0;cursor:pointer}ion-reorder{-webkit-transform:translate3d(300%,0,0);transform:translate3d(300%,0,0);display:none;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;max-width:40px;height:100%;font-size:1.7em;opacity:.25;-webkit-transition:-webkit-transform 140ms ease-in;transition:-webkit-transform 140ms ease-in;transition:transform 140ms ease-in;transition:transform 140ms ease-in,-webkit-transform 140ms ease-in;pointer-events:all;-ms-touch-action:manipulation;touch-action:manipulation}.reorder-side-start ion-reorder{-webkit-transform:translate3d(-300%,0,0);transform:translate3d(-300%,0,0);-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}ion-reorder ion-icon{pointer-events:none}.reorder-enabled ion-reorder{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.reorder-visible ion-reorder{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reorder-list-active .item,.reorder-list-active .item-wrapper{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;will-change:transform}.reorder-list-active .item-inner{pointer-events:none}.item-wrapper.reorder-active,.item.reorder-active,.reorder-active{z-index:4;-webkit-box-shadow:0 0 10px rgba(0,0,0,.4);box-shadow:0 0 10px rgba(0,0,0,.4);opacity:.8;-webkit-transition:none;transition:none;pointer-events:none}ion-item-sliding{position:relative;display:block;overflow:hidden;width:100%}ion-item-sliding .item{position:static}ion-item-options{position:absolute;z-index:1;display:none;height:100%;font-size:14px;visibility:hidden;top:0;right:0;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}ion-item-options[side=left]{right:auto;left:0;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}ion-item-options .button{margin:0;padding:0 .7em;border-radius:0;height:100%;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:content-box;box-sizing:content-box}ion-item-options .button:last-child{padding-right:.7em}@media screen and (orientation:landscape){ion-item-options .button:last-child{padding-right:calc(constant(safe-area-inset-right) + .7em);padding-right:calc(env(safe-area-inset-right) + .7em)}}ion-item-options:not([icon-left]) .button:not([icon-only]) .button-inner,ion-item-options:not([icon-start]) .button:not([icon-only]) .button-inner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}ion-item-options:not([icon-left]) .button:not([icon-only]) ion-icon,ion-item-options:not([icon-start]) .button:not([icon-only]) ion-icon{padding-left:0;padding-right:0;padding-bottom:.3em}ion-item-sliding.active-slide .item,ion-item-sliding.active-slide .item.activated{position:relative;z-index:2;opacity:1;-webkit-transition:-webkit-transform .5s cubic-bezier(.36,.66,.04,1);transition:-webkit-transform .5s cubic-bezier(.36,.66,.04,1);transition:transform .5s cubic-bezier(.36,.66,.04,1);transition:transform .5s cubic-bezier(.36,.66,.04,1),-webkit-transform .5s cubic-bezier(.36,.66,.04,1);pointer-events:none;will-change:transform}ion-item-sliding.active-slide ion-item-options{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}ion-item-sliding.active-slide.active-options-left ion-item-options[side=left],ion-item-sliding.active-slide.active-options-right ion-item-options:not([side=left]){width:100%;visibility:visible}button[expandable]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(.65,.05,.36,1);transition-timing-function:cubic-bezier(.65,.05,.36,1)}ion-item-sliding.active-swipe-right button[expandable]{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:padding-left;transition-property:padding-left;padding-left:90%;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}ion-item-sliding.active-swipe-left button[expandable]{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:padding-right;transition-property:padding-right;padding-right:90%;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.item-ios{padding-left:16px;padding-left:16px;border-radius:0;position:relative;font-size:1.7rem;color:#000;background-color:#fff;-webkit-transition:background-color .2s linear;transition:background-color .2s linear}@media screen and (orientation:landscape){.item-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.item-ios.activated{background-color:#d9d9d9;-webkit-transition-duration:0s;transition-duration:0s}.item-ios h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-ios h2{margin:0 0 2px;font-size:1.7rem;font-weight:400}.item-ios h3,.item-ios h4,.item-ios h5,.item-ios h6{margin:0 0 3px;font-size:1.4rem;font-weight:400;line-height:normal}.item-ios p{overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#8e9093;margin:0 0 2px}.item-ios h2:last-child,.item-ios h3:last-child,.item-ios h4:last-child,.item-ios h5:last-child,.item-ios h6:last-child,.item-ios p:last-child{margin-bottom:0}.item-ios.item-block .item-inner{padding-right:8px;padding-right:8px;border-bottom:.55px solid #c8c7cc}@media screen and (orientation:landscape){.item-ios.item-block .item-inner{padding-right:calc(constant(safe-area-inset-right) + 8px);padding-right:calc(env(safe-area-inset-right) + 8px)}}.item-ios [item-left],.item-ios [item-start]{margin:8px 16px 8px 0}.item-ios [item-end],.item-ios [item-right]{margin:8px}.item-ios ion-icon[item-end],.item-ios ion-icon[item-left],.item-ios ion-icon[item-right],.item-ios ion-icon[item-start]{margin-left:0;margin-top:9px;margin-bottom:8px}.item-ios .item-button{padding:0 .5em;height:24px;font-size:1.3rem}.item-ios .item-button[icon-only],.item-ios .item-button[icon-only] ion-icon{padding:0 1px}.item-ios ion-avatar[item-left],.item-ios ion-avatar[item-start],.item-ios ion-thumbnail[item-left],.item-ios ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-ios ion-avatar[item-end],.item-ios ion-avatar[item-right],.item-ios ion-thumbnail[item-end],.item-ios ion-thumbnail[item-right]{margin:8px}.item-ios ion-avatar{min-width:36px;min-height:36px}.item-ios ion-avatar img,.item-ios ion-avatar ion-img{border-radius:50%;overflow:hidden;width:36px;height:36px}.item-ios ion-thumbnail{min-width:56px;min-height:56px}.item-ios ion-thumbnail img,.item-ios ion-thumbnail ion-img{width:56px;height:56px}.item-ios[detail-push] .item-inner,a.item-ios:not([detail-none]) .item-inner,button.item-ios:not([detail-none]) .item-inner{background-image:url("data:image/svg+xml;charset=utf-8,");padding-right:32px;background-position:right 14px center;background-position:right calc(14px + constant(safe-area-inset-right)) center;background-position:right calc(14px + env(safe-area-inset-right)) center;background-repeat:no-repeat;background-size:14px 14px}ion-item-group .item-ios:first-child .item-inner{border-top-width:0}ion-item-group .item-ios:last-child .item-inner,ion-item-group .item-wrapper:last-child .item-ios .item-inner{border:0}.item-divider-ios{padding-left:16px;padding-left:16px;color:#222;background-color:#f7f7f7}@media screen and (orientation:landscape){.item-divider-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.item-ios .text-ios-primary{color:#673ab7}.item-divider-ios-primary,.item-ios-primary{color:#fff;background-color:#673ab7}.item-divider-ios-primary p,.item-ios-primary p{color:#fff}.item-divider-ios-primary.activated,.item-ios-primary.activated{background-color:#734abd}.item-ios .text-ios-secondary{color:#32db64}.item-divider-ios-secondary,.item-ios-secondary{color:#fff;background-color:#32db64}.item-divider-ios-secondary p,.item-ios-secondary p{color:#fff}.item-divider-ios-secondary.activated,.item-ios-secondary.activated{background-color:#2ec95c}.item-ios .text-ios-danger{color:#f53d3d}.item-divider-ios-danger,.item-ios-danger{color:#fff;background-color:#f53d3d}.item-divider-ios-danger p,.item-ios-danger p{color:#fff}.item-divider-ios-danger.activated,.item-ios-danger.activated{background-color:#e13838}.item-ios .text-ios-light{color:#f4f4f4}.item-divider-ios-light,.item-ios-light{color:#000;background-color:#f4f4f4}.item-divider-ios-light p,.item-ios-light p{color:#000}.item-divider-ios-light.activated,.item-ios-light.activated{background-color:#e0e0e0}.item-ios .text-ios-dark{color:#222}.item-divider-ios-dark,.item-ios-dark{color:#fff;background-color:#222}.item-divider-ios-dark p,.item-ios-dark p{color:#fff}.item-divider-ios-dark.activated,.item-ios-dark.activated{background-color:#343434}.item-ios .text-ios-optblue{color:#e00201}.item-divider-ios-optblue,.item-ios-optblue{color:#fff;background-color:#e00201}.item-divider-ios-optblue p,.item-ios-optblue p{color:#fff}.item-divider-ios-optblue.activated,.item-ios-optblue.activated{background-color:#e21615}.list-ios ion-item-sliding{background-color:#fff}.item-md{padding-left:16px;padding-right:0;position:relative;font-size:1.6rem;font-weight:400;text-transform:none;color:#000;background-color:#fff;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1)}.item-md.activated{background-color:#f1f1f1}.item-md[no-lines]{border-width:0}.item-md h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-md h2{margin:2px 0;font-size:1.6rem;font-weight:400}.item-md h3,.item-md h4,.item-md h5,.item-md h6{margin:2px 0;font-size:1.4rem;font-weight:400;line-height:normal}.item-md p{margin:0 0 2px;overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#666}.item-md.item-block .item-inner{padding-right:8px;border-bottom:1px solid #dedede}.item-md [item-end],.item-md [item-left],.item-md [item-right],.item-md [item-start]{margin:9px 8px 9px 0}.item-md ion-icon[item-end],.item-md ion-icon[item-left],.item-md ion-icon[item-right],.item-md ion-icon[item-start]{margin-left:0;margin-top:11px;margin-bottom:10px}.item-md .item-button{padding:0 .6em;height:25px;font-size:1.2rem}.item-md .item-button[icon-only],.item-md .item-button[icon-only] ion-icon{padding:0 1px}.item-md ion-icon[item-left]+.item-inner,.item-md ion-icon[item-left]+.item-input,.item-md ion-icon[item-start]+.item-inner,.item-md ion-icon[item-start]+.item-input{margin-left:24px}.item-md ion-avatar[item-left],.item-md ion-avatar[item-start],.item-md ion-thumbnail[item-left],.item-md ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-md ion-avatar[item-end],.item-md ion-avatar[item-right],.item-md ion-thumbnail[item-end],.item-md ion-thumbnail[item-right]{margin:8px}.item-md ion-avatar{min-width:40px;min-height:40px}.item-md ion-avatar img,.item-md ion-avatar ion-img{border-radius:50%;overflow:hidden;width:40px;height:40px}.item-md ion-thumbnail{min-width:80px;min-height:80px}.item-md ion-thumbnail img,.item-md ion-thumbnail ion-img{width:80px;height:80px}ion-item-group .item-md:first-child .item-inner{border-top-width:0}ion-item-group .item-md .item-wrapper:last-child .item-inner,ion-item-group .item-md:last-child .item-inner{border:0}.item-divider-md{padding-left:16px;border-bottom:1px solid #dedede;font-size:1.4rem;color:#858585;background-color:#fff}.item-md .text-md-primary{color:#673ab7}.item-divider-md-primary,.item-md-primary{color:#fff;background-color:#673ab7}.item-divider-md-primary p,.item-md-primary p{color:#fff}.item-divider-md-primary.activated,.item-md-primary.activated{background-color:#734abd}.item-md .text-md-secondary{color:#32db64}.item-divider-md-secondary,.item-md-secondary{color:#fff;background-color:#32db64}.item-divider-md-secondary p,.item-md-secondary p{color:#fff}.item-divider-md-secondary.activated,.item-md-secondary.activated{background-color:#2ec95c}.item-md .text-md-danger{color:#f53d3d}.item-divider-md-danger,.item-md-danger{color:#fff;background-color:#f53d3d}.item-divider-md-danger p,.item-md-danger p{color:#fff}.item-divider-md-danger.activated,.item-md-danger.activated{background-color:#e13838}.item-md .text-md-light{color:#f4f4f4}.item-divider-md-light,.item-md-light{color:#000;background-color:#f4f4f4}.item-divider-md-light p,.item-md-light p{color:#000}.item-divider-md-light.activated,.item-md-light.activated{background-color:#e0e0e0}.item-md .text-md-dark{color:#222}.item-divider-md-dark,.item-md-dark{color:#fff;background-color:#222}.item-divider-md-dark p,.item-md-dark p{color:#fff}.item-divider-md-dark.activated,.item-md-dark.activated{background-color:#343434}.item-md .text-md-optblue{color:#e00201}.item-divider-md-optblue,.item-md-optblue{color:#fff;background-color:#e00201}.item-divider-md-optblue p,.item-md-optblue p{color:#fff}.item-divider-md-optblue.activated,.item-md-optblue.activated{background-color:#e21615}.list-md ion-item-sliding{background-color:#fff}.item-md ion-reorder{font-size:1.5em;opacity:.3}.item-wp{padding-left:16px;padding-right:0;position:relative;font-size:1.6rem;font-weight:400;text-transform:none;color:#000;background-color:#fff;-webkit-box-shadow:none;box-shadow:none}.item-wp.activated{background-color:#aaa}.item-wp[no-lines]{border-width:0}.item-wp h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-wp h2{margin:2px 0;font-size:1.6rem;font-weight:400}.item-wp h3,.item-wp h4,.item-wp h5,.item-wp h6{margin:2px 0;font-size:1.4rem;font-weight:400;line-height:normal}.item-wp p{margin:0 0 2px;overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#666}.item-wp.item-block .item-inner{padding-right:8px;border-bottom:1px solid transparent}.item-wp [item-end],.item-wp [item-left],.item-wp [item-right],.item-wp [item-start]{margin:9px 8px 9px 0}.item-wp ion-icon[item-end],.item-wp ion-icon[item-left],.item-wp ion-icon[item-right],.item-wp ion-icon[item-start]{margin-left:0;margin-top:11px;margin-bottom:10px}.item-wp .item-button{padding:0 .6em;height:25px;font-size:1.2rem}.item-wp .item-button[icon-only],.item-wp .item-button[icon-only] ion-icon{padding:0 1px}.item-wp[text-wrap] ion-label{font-size:1.4rem;line-height:1.5}.item-wp ion-icon[item-left]+.item-inner,.item-wp ion-icon[item-left]+.item-input,.item-wp ion-icon[item-start]+.item-inner,.item-wp ion-icon[item-start]+.item-input{margin-left:8px}.item-wp ion-avatar[item-left],.item-wp ion-avatar[item-start],.item-wp ion-thumbnail[item-left],.item-wp ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-wp ion-avatar[item-end],.item-wp ion-avatar[item-right],.item-wp ion-thumbnail[item-end],.item-wp ion-thumbnail[item-right]{margin:8px}.item-wp ion-avatar{min-width:40px;min-height:40px}.item-wp ion-avatar img,.item-wp ion-avatar ion-img{border-radius:50%;overflow:hidden;width:40px;height:40px}.item-wp ion-thumbnail{min-width:80px;min-height:80px}.item-wp ion-thumbnail img,.item-wp ion-thumbnail ion-img{width:80px;height:80px}.item-divider-wp{padding-left:16px;border-bottom:1px solid transparent;font-size:2rem;color:#000;background-color:#fff}.item-wp .text-wp-primary{color:#673ab7}.item-divider-wp-primary,.item-wp-primary{color:#fff;background-color:#673ab7}.item-divider-wp-primary p,.item-wp-primary p{color:#fff}.item-divider-wp-primary.activated,.item-wp-primary.activated{background-color:#734abd}.item-wp .text-wp-secondary{color:#32db64}.item-divider-wp-secondary,.item-wp-secondary{color:#fff;background-color:#32db64}.item-divider-wp-secondary p,.item-wp-secondary p{color:#fff}.item-divider-wp-secondary.activated,.item-wp-secondary.activated{background-color:#2ec95c}.item-wp .text-wp-danger{color:#f53d3d}.item-divider-wp-danger,.item-wp-danger{color:#fff;background-color:#f53d3d}.item-divider-wp-danger p,.item-wp-danger p{color:#fff}.item-divider-wp-danger.activated,.item-wp-danger.activated{background-color:#e13838}.item-wp .text-wp-light{color:#f4f4f4}.item-divider-wp-light,.item-wp-light{color:#000;background-color:#f4f4f4}.item-divider-wp-light p,.item-wp-light p{color:#000}.item-divider-wp-light.activated,.item-wp-light.activated{background-color:#e0e0e0}.item-wp .text-wp-dark{color:#222}.item-divider-wp-dark,.item-wp-dark{color:#fff;background-color:#222}.item-divider-wp-dark p,.item-wp-dark p{color:#fff}.item-divider-wp-dark.activated,.item-wp-dark.activated{background-color:#343434}.item-wp .text-wp-optblue{color:#e00201}.item-divider-wp-optblue,.item-wp-optblue{color:#fff;background-color:#e00201}.item-divider-wp-optblue p,.item-wp-optblue p{color:#fff}.item-divider-wp-optblue.activated,.item-wp-optblue.activated{background-color:#e21615}.list-wp ion-item-sliding{background-color:#fff}ion-label{margin:0;display:block;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:inherit;text-overflow:ellipsis;white-space:nowrap}.item-input ion-label{-webkit-box-flex:initial;-webkit-flex:initial;-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}[text-wrap] ion-label{white-space:normal}ion-label[fixed]{-webkit-box-flex:0;-webkit-flex:0 0 100px;-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.item-label-floating ion-label,.item-label-stacked ion-label{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}ion-label[floating],ion-label[stacked]{margin-bottom:0}.item-label-floating .input-wrapper,.item-label-stacked .input-wrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.item-label-floating ion-select,.item-label-stacked ion-select{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;max-width:100%}.label-ios{margin:11px 8px 11px 0}.label-ios+.input+.cloned-input,.label-ios+ion-input .text-input,.label-ios+ion-textarea .text-input{margin-left:16px;width:calc(100% - (16px / 2) - 16px)}.label-ios[stacked]{margin-bottom:4px;font-size:1.2rem}.label-ios[floating]{margin-bottom:0;-webkit-transform:translate3d(0,27px,0);transform:translate3d(0,27px,0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out,-webkit-transform 150ms ease-in-out}.input-has-focus .label-ios[floating],.input-has-value .label-ios[floating],.item-input-has-focus .label-ios[floating],.item-input-has-value .label-ios[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-ios.item-label-floating [item-end],.item-ios.item-label-floating [item-right],.item-ios.item-label-stacked [item-end],.item-ios.item-label-stacked [item-right]{margin-top:6px;margin-bottom:6px}.item-datetime .label-ios-primary,.item-input .label-ios-primary,.item-select .label-ios-primary,.label-ios-primary{color:#673ab7}.item-datetime .label-ios-secondary,.item-input .label-ios-secondary,.item-select .label-ios-secondary,.label-ios-secondary{color:#32db64}.item-datetime .label-ios-danger,.item-input .label-ios-danger,.item-select .label-ios-danger,.label-ios-danger{color:#f53d3d}.item-datetime .label-ios-light,.item-input .label-ios-light,.item-select .label-ios-light,.label-ios-light{color:#f4f4f4}.item-datetime .label-ios-dark,.item-input .label-ios-dark,.item-select .label-ios-dark,.label-ios-dark{color:#222}.item-datetime .label-ios-optblue,.item-input .label-ios-optblue,.item-select .label-ios-optblue,.label-ios-optblue{color:#e00201}.label-md{margin:13px 8px 13px 0}[text-wrap] .label-md{font-size:1.4rem;line-height:1.5}.item-datetime .label-md,.item-input .label-md,.item-select .label-md{color:#999}.label-md[stacked]{font-size:1.2rem}.label-md[floating]{-webkit-transform:translate3d(0,27px,0);transform:translate3d(0,27px,0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out,-webkit-transform 150ms ease-in-out}.label-md[floating],.label-md[stacked]{margin-left:0;margin-bottom:0}.input-has-focus .label-md[floating],.input-has-focus .label-md[stacked],.item-input-has-focus .label-md[floating],.item-input-has-focus .label-md[stacked]{color:#673ab7}.input-has-focus .label-md[floating],.input-has-value .label-md[floating],.item-input-has-focus .label-md[floating],.item-input-has-value .label-md[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-md.item-label-floating [item-end],.item-md.item-label-floating [item-right],.item-md.item-label-stacked [item-end],.item-md.item-label-stacked [item-right]{margin-top:7px;margin-bottom:7px}.item-datetime .label-md-primary,.item-input .label-md-primary,.item-select .label-md-primary,.label-md-primary{color:#673ab7}.item-datetime .label-md-secondary,.item-input .label-md-secondary,.item-select .label-md-secondary,.label-md-secondary{color:#32db64}.item-datetime .label-md-danger,.item-input .label-md-danger,.item-select .label-md-danger,.label-md-danger{color:#f53d3d}.item-datetime .label-md-light,.item-input .label-md-light,.item-select .label-md-light,.label-md-light{color:#f4f4f4}.item-datetime .label-md-dark,.item-input .label-md-dark,.item-select .label-md-dark,.label-md-dark{color:#222}.item-datetime .label-md-optblue,.item-input .label-md-optblue,.item-select .label-md-optblue,.label-md-optblue{color:#e00201}.label-wp{margin:13px 8px 13px 0}.item-datetime .label-wp,.item-input .label-wp,.item-select .label-wp{color:#999}.label-wp[stacked]{font-size:1.2rem}.label-wp[floating]{-webkit-transform:translate3d(8px,34px,0);transform:translate3d(8px,34px,0);-webkit-transform-origin:left top;transform-origin:left top}.label-wp[floating],.label-wp[stacked]{margin-left:0;margin-bottom:0}.input-has-focus .label-wp[floating],.input-has-focus .label-wp[stacked],.item-input-has-focus .label-wp[floating],.item-input-has-focus .label-wp[stacked]{color:#673ab7}.input-has-focus .label-wp[floating],.input-has-value .label-wp[floating],.item-input-has-focus .label-wp[floating],.item-input-has-value .label-wp[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-wp.item-label-floating [item-end],.item-wp.item-label-floating [item-right],.item-wp.item-label-stacked [item-end],.item-wp.item-label-stacked [item-right]{margin-top:13px;margin-bottom:13px}.item-datetime .label-wp-primary,.item-input .label-wp-primary,.item-select .label-wp-primary,.label-wp-primary{color:#673ab7}.item-datetime .label-wp-secondary,.item-input .label-wp-secondary,.item-select .label-wp-secondary,.label-wp-secondary{color:#32db64}.item-datetime .label-wp-danger,.item-input .label-wp-danger,.item-select .label-wp-danger,.label-wp-danger{color:#f53d3d}.item-datetime .label-wp-light,.item-input .label-wp-light,.item-select .label-wp-light,.label-wp-light{color:#f4f4f4}.item-datetime .label-wp-dark,.item-input .label-wp-dark,.item-select .label-wp-dark,.label-wp-dark{color:#222}.item-datetime .label-wp-optblue,.item-input .label-wp-optblue,.item-select .label-wp-optblue,.label-wp-optblue{color:#e00201}ion-list-header{margin:0;padding:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:4rem}ion-list{margin:0;padding:0;display:block;list-style-type:none}ion-list[inset]{overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.list-ios{margin:-1px 0 32px}.list-ios>.item-block:first-child{border-top:.55px solid #c8c7cc}.list-ios>.item-block:last-child,.list-ios>.item-wrapper:last-child .item-block{border-bottom:.55px solid #c8c7cc}.list-ios>.item-block:last-child .item-inner,.list-ios>.item-wrapper:last-child .item-block .item-inner{border-bottom:0}.list-ios .item-block .item-inner{border-bottom:.55px solid #c8c7cc}.list-ios .item[no-lines],.list-ios .item[no-lines] .item-inner{border-width:0}.list-ios ion-item-options{border-bottom:.55px solid #c8c7cc}.list-ios ion-item-options .button{margin:0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%;min-height:100%;border:0;-webkit-box-sizing:border-box;box-sizing:border-box}.list-ios ion-item-options .button::before{margin:0 auto}.list-ios:not([inset])+.list-ios:not([inset]) ion-list-header{margin-top:-10px;padding-top:0}.list-ios[inset]{margin:16px;border-radius:4px}.list-ios[inset] ion-list-header{background-color:#fff}.list-ios[inset] .item{border-bottom:1px solid #c8c7cc}.list-ios[inset] .item-inner{border-bottom:0}.list-ios[inset]>.item-wrapper:first-child .item,.list-ios[inset]>.item:first-child{border-top:0}.list-ios[inset]>.item-wrapper:last-child .item,.list-ios[inset]>.item:last-child{border-bottom:0}.list-ios[inset]+ion-list[inset]{margin-top:0}.list-ios[no-lines] .item,.list-ios[no-lines] .item .item-inner,.list-ios[no-lines] ion-item-options,.list-ios[no-lines] ion-list-header{border-width:0}.list-header-ios{padding-left:16px;padding-left:16px;position:relative;border-bottom:.55px solid #c8c7cc;font-size:1.2rem;font-weight:500;letter-spacing:.1rem;text-transform:uppercase;color:#333;background:0 0}@media screen and (orientation:landscape){.list-header-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.list-header-ios-primary{color:#fff;background-color:#673ab7}.list-header-ios-secondary{color:#fff;background-color:#32db64}.list-header-ios-danger{color:#fff;background-color:#f53d3d}.list-header-ios-light{color:#000;background-color:#f4f4f4}.list-header-ios-dark{color:#fff;background-color:#222}.list-header-ios-optblue{color:#fff;background-color:#e00201}.list-md{margin:-1px 0 16px}.list-md .item-block .item-inner{border-bottom:1px solid #dedede}.list-md>.item-block:last-child .item-inner,.list-md>.item-block:last-child ion-label,.list-md>.item-wrapper:last-child .item-inner,.list-md>.item-wrapper:last-child ion-label{border-bottom:0}.list-md>ion-input:last-child::after{left:0}.list-md ion-item-options{border-bottom:1px solid #dedede}.list-md ion-item-options .button{margin:0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box}.list-md ion-item-options .button::before{margin:0 auto}.list-md .item[no-lines],.list-md .item[no-lines] .item-inner{border-width:0}.list-md+ion-list ion-list-header{margin-top:-16px}.list-md[inset]{margin:16px;border-radius:2px}.list-md[inset] .item:first-child{border-top-left-radius:2px;border-top-right-radius:2px;border-top-width:0}.list-md[inset] .item:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom-width:0}.list-md[inset] .item-input{padding-left:0;padding-right:0}.list-md[inset]+ion-list[inset]{margin-top:0}.list-md[inset] ion-list-header{background-color:#fff}.list-md[no-lines] .item .item-inner,.list-md[no-lines] .item-block,.list-md[no-lines] ion-item-options{border-width:0}.list-header-md{padding-left:16px;margin-bottom:13px;min-height:4.5rem;border-top:1px solid #dedede;font-size:1.4rem;color:#757575}.list-header-md-primary{color:#fff;background-color:#673ab7}.list-header-md-secondary{color:#fff;background-color:#32db64}.list-header-md-danger{color:#fff;background-color:#f53d3d}.list-header-md-light{color:#000;background-color:#f4f4f4}.list-header-md-dark{color:#fff;background-color:#222}.list-header-md-optblue{color:#fff;background-color:#e00201}.list-md .item-input:last-child{border-bottom:1px solid #dedede}.list-wp{margin:0 0 16px}.list-wp .item-block .item-inner{border-bottom:1px solid transparent}.list-wp>.item-block:first-child,.list-wp>.item-wrapper:first-child .item-block{border-top:1px solid transparent}.list-wp>.item-block:last-child,.list-wp>.item-wrapper:last-child .item-block{border-bottom:1px solid transparent}.list-wp>.item-block:last-child .item-inner,.list-wp>.item-block:last-child ion-label,.list-wp>.item-wrapper:last-child .item-inner,.list-wp>.item-wrapper:last-child ion-label{border-bottom:0}.list-wp>ion-input:last-child::after{left:0}.list-wp ion-item-options .button{margin:1px 0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:calc(100% - 2px);border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box}.list-wp ion-item-options .button::before{margin:0 auto}.list-wp .item[no-lines],.list-wp .item[no-lines] .item-inner{border-width:0}.list-wp+ion-list ion-list-header{margin-top:-16px;padding-top:0}.list-wp[inset]{margin:16px;border-radius:2px}.list-wp[inset] .item:first-child{border-top-left-radius:2px;border-top-right-radius:2px;border-top-width:0}.list-wp[inset] .item:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom-width:0}.list-wp[inset] .item-input{padding-left:0;padding-right:0}.list-wp[inset]+ion-list[inset]{margin-top:0}.list-wp[inset] ion-list-header{background-color:#fff}.list-wp[no-lines] .item,.list-wp[no-lines] .item .item-inner{border-width:0}.list-header-wp{padding-left:16px;border-bottom:1px solid transparent;font-size:2rem;color:#000}.list-header-wp-primary{color:#fff;background-color:#673ab7}.list-header-wp-secondary{color:#fff;background-color:#32db64}.list-header-wp-danger{color:#fff;background-color:#f53d3d}.list-header-wp-light{color:#000;background-color:#f4f4f4}.list-header-wp-dark{color:#fff;background-color:#222}.list-header-wp-optblue{color:#fff;background-color:#e00201}ion-loading{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}.loading-wrapper{z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0}.loading-ios .loading-wrapper{border-radius:8px;max-width:270px;max-height:90%;color:#000;background:#f8f8f8;padding:24px 34px}.loading-ios .loading-content{font-weight:700}.loading-ios .loading-spinner+.loading-content{margin-left:16px}.loading-ios .spinner-ios line,.loading-ios .spinner-ios-small line{stroke:#69717d}.loading-ios .spinner-bubbles circle{fill:#69717d}.loading-ios .spinner-circles circle{fill:#69717d}.loading-ios .spinner-crescent circle{stroke:#69717d}.loading-ios .spinner-dots circle{fill:#69717d}.loading-md .loading-wrapper{border-radius:2px;max-width:280px;max-height:90%;color:rgba(0,0,0,.5);background:#fafafa;-webkit-box-shadow:0 16px 20px rgba(0,0,0,.4);box-shadow:0 16px 20px rgba(0,0,0,.4);padding:24px}.loading-md .loading-spinner+.loading-content{margin-left:16px}.loading-md .spinner-ios line,.loading-md .spinner-ios-small line{stroke:#673ab7}.loading-md .spinner-bubbles circle{fill:#673ab7}.loading-md .spinner-circles circle{fill:#673ab7}.loading-md .spinner-crescent circle{stroke:#673ab7}.loading-md .spinner-dots circle{fill:#673ab7}.loading-wp .loading-wrapper{border-radius:2px;max-width:280px;max-height:90%;color:#fff;background:#000;padding:20px}.loading-wp .loading-spinner+.loading-content{margin-left:16px}.loading-wp .spinner-ios line,.loading-wp .spinner-ios-small line{stroke:#fff}.loading-wp .spinner-bubbles circle{fill:#fff}.loading-wp .spinner-circles circle{fill:#fff}.loading-wp .spinner-crescent circle{stroke:#fff}.loading-wp .spinner-dots circle{fill:#fff}ion-menu{left:0;right:0;top:0;bottom:0;position:absolute;display:none;contain:strict}ion-menu.show-menu{display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;-webkit-transform:translate3d(-9999px,0,0);transform:translate3d(-9999px,0,0);position:absolute;display:block;width:304px;height:100%;contain:strict}.menu-inner>ion-content,.menu-inner>ion-footer,.menu-inner>ion-header{position:absolute}ion-menu[side=left]>.menu-inner{right:auto;left:0}ion-menu[side=right]>.menu-inner{right:0;left:auto}ion-menu[side=end]>.menu-inner{left:auto;right:0}ion-menu ion-backdrop{z-index:-1;display:none;opacity:.01}.menu-content{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.menu-content-open{cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.menu-content-open .toolbar,.menu-content-open ion-content,.menu-content-open ion-pane{pointer-events:none}@media (max-width:340px){.menu-inner{width:264px}}ion-menu[type=reveal]{z-index:0}ion-menu[type=reveal].show-menu .menu-inner{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}ion-menu[type=overlay]{z-index:80}ion-menu[type=overlay] .show-backdrop{display:block}.ios .menu-inner{background:#fff}.ios .menu-content-reveal{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.ios .menu-content-push{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.ios ion-menu[type=overlay] .menu-inner{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md .menu-inner{background:#fff}.md .menu-content-reveal{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md .menu-content-push{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md ion-menu[type=overlay] .menu-inner{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.wp .menu-inner{background:#f2f2f2}ion-modal{left:0;top:0;position:absolute;display:block;width:100%;height:100%;contain:strict}@media not all and (min-width:768px) and (min-height:600px){ion-modal ion-backdrop{visibility:hidden}}.modal-wrapper{z-index:10;height:100%;contain:strict}@media only screen and (min-width:768px) and (min-height:600px){.modal-wrapper{left:calc(50% - (600px/2));top:calc(50% - (500px/2));position:absolute;width:600px;height:500px}}@media only screen and (min-width:768px) and (min-height:768px){.modal-wrapper{left:calc(50% - (600px/2));top:calc(50% - (600px/2));position:absolute;width:600px;height:600px}}.ios .modal-wrapper{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}@media only screen and (min-width:768px) and (min-height:600px){.ios .modal-wrapper{border-radius:10px;overflow:hidden}}.md .modal-wrapper{-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0);opacity:.01}@media only screen and (min-width:768px) and (min-height:600px){.md .modal-wrapper{border-radius:2px;overflow:hidden;-webkit-box-shadow:0 28px 48px rgba(0,0,0,.4);box-shadow:0 28px 48px rgba(0,0,0,.4)}}.wp .modal-wrapper{-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0);opacity:.01}.note-ios{color:#aeacb4}.note-ios-primary{color:#673ab7}.note-ios-secondary{color:#32db64}.note-ios-danger{color:#f53d3d}.note-ios-light{color:#f4f4f4}.note-ios-dark{color:#222}.note-ios-optblue{color:#e00201}.note-md{color:#c5c5c5}.note-md-primary{color:#673ab7}.note-md-secondary{color:#32db64}.note-md-danger{color:#f53d3d}.note-md-light{color:#f4f4f4}.note-md-dark{color:#222}.note-md-optblue{color:#e00201}.note-wp{color:rgba(0,0,0,.5)}.note-wp-primary{color:#673ab7}.note-wp-secondary{color:#32db64}.note-wp-danger{color:#f53d3d}.note-wp-light{color:#f4f4f4}.note-wp-dark{color:#222}.note-wp-optblue{color:#e00201}ion-picker-cmp{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%;contain:strict}.picker-toolbar{z-index:1;width:100%;contain:strict}.picker-wrapper{left:0;right:0;bottom:0;margin:auto;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%;max-width:500px;contain:strict}.picker-columns{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}.picker-col{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-width:100%}.picker-prefix{text-align:right;text-align:end;position:relative;-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2;min-width:45%;max-width:50%;white-space:nowrap}.picker-suffix{text-align:left;text-align:start;position:relative;-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2;min-width:45%;max-width:50%;white-space:nowrap}.picker-opt{left:0;top:0;text-align:center;position:absolute;display:block;overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap;will-change:transform;contain:strict}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.picker-above-highlight,.picker-below-highlight{display:none;pointer-events:none}.picker-ios .picker-wrapper{height:260px;border-top:1px solid #c8c7cc;background:#fff}.picker-ios .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:44px;border-bottom:.55px solid #c8c7cc;background:#fff}.picker-ios .picker-toolbar-button{text-align:right;text-align:end;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.picker-ios .picker-toolbar-button:last-child .picker-button{font-weight:600}.picker-ios .picker-toolbar-cancel{text-align:left;text-align:start;font-weight:400}.picker-ios .picker-button,.picker-ios .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0}.picker-columns{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-ios .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 4px}.picker-ios .picker-opts,.picker-ios .picker-prefix,.picker-ios .picker-suffix{top:77px;font-size:20px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-ios .picker-opt{margin:0;-webkit-transform-origin:center center;transform-origin:center center;height:4.6rem;font-size:20px;line-height:42px;color:#000;background:0 0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-ios .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;display:block;width:100%;height:81px;border-bottom:1px solid #c8c7cc;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-ios .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;display:block;width:100%;height:119px;border-top:1px solid #c8c7cc;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}.picker-md .picker-wrapper{height:260px;border-top:.55px solid #dedede;background:#fff}.picker-md .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:44px;background:#fff}.picker-md .picker-button,.picker-md .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0;-webkit-box-shadow:none;box-shadow:none}.picker-md .picker-columns{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-md .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 8px}.picker-md .picker-opts,.picker-md .picker-prefix,.picker-md .picker-suffix{top:77px;font-size:22px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-md .picker-opt{margin:0;height:4.3rem;font-size:22px;line-height:42px;color:#000;background:0 0;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-md .picker-opt.picker-opt-selected,.picker-md .picker-prefix,.picker-md .picker-suffix{color:#673ab7}.picker-md .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;width:100%;height:81px;border-bottom:1px solid #dedede;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-md .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;width:100%;height:119px;border-top:1px solid #dedede;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}.picker-wp .picker-wrapper{height:260px;border-top:.55px solid transparent;background:#fff}.picker-wp .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:44px;border-width:.55px;background:#fff}.picker-wp .picker-toolbar-button{text-align:right;text-align:end;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.picker-wp .picker-toolbar-cancel{text-align:left;text-align:start;font-weight:400}.picker-wp .picker-button,.picker-wp .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0;-webkit-box-shadow:none;box-shadow:none}.picker-wp .picker-columns{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-wp .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 4px}.picker-wp .picker-opts,.picker-wp .picker-prefix,.picker-wp .picker-suffix{top:77px;font-size:22px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-wp .picker-opt{margin:0;height:4.2rem;font-size:22px;line-height:42px;color:#000;background:0 0;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-wp .picker-opt-selected,.picker-wp .picker-prefix,.picker-wp .picker-suffix{color:#673ab7}.picker-wp .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;width:100%;height:81px;border-bottom:1px solid transparent;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-wp .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;width:100%;height:119px;border-top:1px solid transparent;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}ion-popover{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.popover-wrapper{z-index:10;opacity:0}.popover-content{position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.popover-content .scroll-content,.popover-content ion-content{contain:none}.popover-content .scroll-content{position:relative}.popover-ios .popover-content{border-radius:10px;width:200px;min-width:0;min-height:0;max-height:90%;color:#000;background:#fff}.popover-ios .popover-arrow{position:absolute;display:block;overflow:hidden;width:20px;height:10px}.popover-ios .popover-arrow::after{left:3px;top:3px;border-radius:3px;position:absolute;z-index:10;width:14px;height:14px;background-color:#fff;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.popover-ios.popover-bottom .popover-arrow{top:auto;bottom:-10px}.popover-ios.popover-bottom .popover-arrow::after{top:-6px}.popover-ios .item-ios{padding-left:16px}.popover-ios .item-ios[detail-push] .item-inner,.popover-ios a.item-ios:not([detail-none]) .item-inner,.popover-ios button.item-ios:not([detail-none]) .item-inner{background-position:right 14px center}.popover-md .popover-content{border-radius:2px;-webkit-transform-origin:left top;transform-origin:left top;width:250px;min-width:0;min-height:0;max-height:90%;color:#000;background:#fff;-webkit-box-shadow:0 3px 12px 2px rgba(0,0,0,.3);box-shadow:0 3px 12px 2px rgba(0,0,0,.3)}.popover-md .popover-viewport{opacity:0;-webkit-transition-delay:.1s;transition-delay:.1s}.popover-wp .popover-content{border-radius:0;-webkit-transform-origin:left top;transform-origin:left top;width:200px;min-width:0;min-height:0;max-height:90%;border:2px solid #ccc;color:#000;background:#fff}.popover-wp .popover-viewport{opacity:0;-webkit-transition-delay:.1s;transition-delay:.1s}.radio-ios{position:relative;display:inline-block}.radio-ios .radio-icon{position:relative;display:block;width:16px;height:21px}.radio-ios .radio-checked .radio-inner{left:7px;top:4px;position:absolute;width:5px;height:12px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#673ab7;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.item-ios.item-radio-disabled ion-label,.radio-ios.radio-disabled{opacity:.3;pointer-events:none}.item-ios .radio-ios{position:static;display:block;margin:8px 11px 8px 8px}.item-ios .radio-ios[item-left],.item-ios .radio-ios[item-start]{margin:8px 21px 8px 3px}.item-radio.item-ios ion-label{margin-left:0}.item-radio-checked.item-ios ion-label{color:#673ab7}.item-radio-ios-primary.item-radio-checked ion-label{color:#673ab7}.radio-ios-primary .radio-checked{color:#673ab7}.radio-ios-primary .radio-checked .radio-inner{border-color:#673ab7}.item-radio-ios-secondary.item-radio-checked ion-label{color:#32db64}.radio-ios-secondary .radio-checked{color:#32db64}.radio-ios-secondary .radio-checked .radio-inner{border-color:#32db64}.item-radio-ios-danger.item-radio-checked ion-label{color:#f53d3d}.radio-ios-danger .radio-checked{color:#f53d3d}.radio-ios-danger .radio-checked .radio-inner{border-color:#f53d3d}.item-radio-ios-light.item-radio-checked ion-label{color:#f4f4f4}.radio-ios-light .radio-checked{color:#f4f4f4}.radio-ios-light .radio-checked .radio-inner{border-color:#f4f4f4}.item-radio-ios-dark.item-radio-checked ion-label{color:#222}.radio-ios-dark .radio-checked{color:#222}.radio-ios-dark .radio-checked .radio-inner{border-color:#222}.item-radio-ios-optblue.item-radio-checked ion-label{color:#e00201}.radio-ios-optblue .radio-checked{color:#e00201}.radio-ios-optblue .radio-checked .radio-inner{border-color:#e00201}.radio-md{position:relative;display:inline-block}.radio-md .radio-icon{left:0;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.radio-md .radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:8px;height:8px;background-color:#673ab7;-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0);-webkit-transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1),-webkit-transform 280ms cubic-bezier(.4,0,.2,1)}.radio-md .radio-checked{border-color:#673ab7}.radio-md .radio-checked .radio-inner{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}.item-md.item-radio-disabled ion-label,.radio-md.radio-disabled{opacity:.3;pointer-events:none}.item-md .radio-md{position:static;display:block;margin:9px 10px 9px 0}.item-md .radio-md[item-left],.item-md .radio-md[item-start]{margin:11px 36px 10px 4px}.item-radio.item-md ion-label{margin-left:0}.item-radio-checked.item-md ion-label{color:#673ab7}.item-radio-md-primary.item-radio-checked ion-label{color:#673ab7}.radio-md-primary .radio-checked{border-color:#673ab7}.radio-md-primary .radio-inner{background-color:#673ab7}.item-radio-md-secondary.item-radio-checked ion-label{color:#32db64}.radio-md-secondary .radio-checked{border-color:#32db64}.radio-md-secondary .radio-inner{background-color:#32db64}.item-radio-md-danger.item-radio-checked ion-label{color:#f53d3d}.radio-md-danger .radio-checked{border-color:#f53d3d}.radio-md-danger .radio-inner{background-color:#f53d3d}.item-radio-md-light.item-radio-checked ion-label{color:#f4f4f4}.radio-md-light .radio-checked{border-color:#f4f4f4}.radio-md-light .radio-inner{background-color:#f4f4f4}.item-radio-md-dark.item-radio-checked ion-label{color:#222}.radio-md-dark .radio-checked{border-color:#222}.radio-md-dark .radio-inner{background-color:#222}.item-radio-md-optblue.item-radio-checked ion-label{color:#e00201}.radio-md-optblue .radio-checked{border-color:#e00201}.radio-md-optblue .radio-inner{background-color:#e00201}.radio-wp{position:relative;display:inline-block}.radio-wp .radio-icon{left:0;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#333}.radio-wp .radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;display:none;width:8px;height:8px;background-color:#333}.radio-wp .radio-checked{border-color:#673ab7}.radio-wp .radio-checked .radio-inner{display:block}.item-wp.item-radio-disabled ion-label,.radio-wp.radio-disabled{opacity:.3;pointer-events:none}.item-wp .radio-wp{position:static;display:block;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1;margin:9px 20px 9px 4px}.item-wp .radio-wp[item-end],.item-wp .radio-wp[item-right]{-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;margin:11px 10px 10px 0}.item-radio.item-wp ion-label{margin-left:0}.radio-wp-primary .radio-checked{border-color:#673ab7}.radio-wp-secondary .radio-checked{border-color:#32db64}.radio-wp-danger .radio-checked{border-color:#f53d3d}.radio-wp-light .radio-checked{border-color:#f4f4f4}.radio-wp-dark .radio-checked{border-color:#222}.radio-wp-optblue .radio-checked{border-color:#e00201}.item-range .item-inner{overflow:visible;width:100%}.item-range .input-wrapper{overflow:visible;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%}.item-range ion-range{width:100%}.item-range ion-range ion-label{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}ion-range{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}ion-range ion-label{-webkit-box-flex:initial;-webkit-flex:initial;-ms-flex:initial;flex:initial}ion-range ion-icon{min-height:2.4rem;font-size:2.4rem;line-height:1}.range-slider{position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;cursor:pointer}.range-ios{padding:8px 16px}.range-ios [range-left]{margin:0 20px 0 0}.range-ios [range-right]{margin:0 0 0 20px}.range-ios.range-has-pin{padding-top:20px}.range-ios .range-slider{height:42px}.range-ios .range-bar{left:0;top:21px;border-radius:1px;position:absolute;width:100%;height:1px;background:#bdbdbd;pointer-events:none}.range-ios.range-pressed .range-bar-active{will-change:left,right}.range-ios.range-pressed .range-knob-handle{will-change:left}.range-ios .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-ios .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-ios .range-knob{left:7px;top:7px;border-radius:50%;position:absolute;width:28px;height:28px;background:#fff;-webkit-box-shadow:0 3px 1px rgba(0,0,0,.1),0 4px 8px rgba(0,0,0,.13),0 0 0 1px rgba(0,0,0,.02);box-shadow:0 3px 1px rgba(0,0,0,.1),0 4px 8px rgba(0,0,0,.13),0 0 0 1px rgba(0,0,0,.02);pointer-events:none}.range-ios .range-tick{margin-left:-.5px;border-radius:0;position:absolute;top:17.5px;width:1px;height:8px;background:#bdbdbd;pointer-events:none}.range-ios .range-tick-active{background:#673ab7}.range-ios .range-pin{text-align:center;border-radius:50px;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-20px;display:inline-block;min-width:28px;font-size:12px;color:#000;background:0 0;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease,-webkit-transform 120ms ease;padding:8px}.range-ios .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-ios.range-disabled{opacity:.5}.range-ios-primary .range-bar-active,.range-ios-primary .range-tick-active{background:#673ab7}.range-ios-secondary .range-bar-active,.range-ios-secondary .range-tick-active{background:#32db64}.range-ios-danger .range-bar-active,.range-ios-danger .range-tick-active{background:#f53d3d}.range-ios-light .range-bar-active,.range-ios-light .range-tick-active{background:#f4f4f4}.range-ios-dark .range-bar-active,.range-ios-dark .range-tick-active{background:#222}.range-ios-optblue .range-bar-active,.range-ios-optblue .range-tick-active{background:#e00201}.range-md{padding:8px}.range-md [range-left]{margin:0 12px 0 0}.range-md [range-right]{margin:0 0 0 12px}.range-md.range-has-pin{padding-top:28px}.range-md .range-slider{height:42px}.range-md .range-bar{left:0;top:21px;position:absolute;width:100%;height:2px;background:#bdbdbd;pointer-events:none}.range-md.range-pressed .range-bar-active{will-change:left,right}.range-md.range-pressed .range-knob-handle{will-change:left}.range-md .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-md .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-md .range-knob{left:12px;top:13px;border-radius:50%;position:absolute;z-index:2;width:18px;height:18px;background:#673ab7;-webkit-transform:scale(.67);transform:scale(.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color,border,-webkit-transform;transition-property:background-color,border,-webkit-transform;transition-property:transform,background-color,border;transition-property:transform,background-color,border,-webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;pointer-events:none}.range-md .range-tick{margin-left:-1px;border-radius:50%;position:absolute;top:21px;z-index:1;width:2px;height:2px;background:#000;pointer-events:none}.range-md .range-tick-active{background:#000}.range-md .range-pin{padding:8px 0;text-align:center;border-radius:50%;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-20px;display:inline-block;min-width:28px;height:28px;font-size:12px;color:#fff;background:#673ab7;-webkit-transition:background-color 120ms ease,-webkit-transform 120ms ease;transition:background-color 120ms ease,-webkit-transform 120ms ease;transition:transform 120ms ease,background-color 120ms ease;transition:transform 120ms ease,background-color 120ms ease,-webkit-transform 120ms ease}.range-md .range-pin::before{left:50%;top:3px;border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-right-radius:50%;border-bottom-left-radius:0;margin-left:-13px;position:absolute;z-index:-1;width:26px;height:26px;background:#673ab7;content:"";-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background-color 120ms ease;transition:background-color 120ms ease}.range-md .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-md:not(.range-has-pin) .range-knob-pressed .range-knob{-webkit-transform:scale(1);transform:scale(1)}.range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md .range-knob-min.range-knob-min .range-pin,.range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md.range-disabled .range-bar-active{background-color:#bdbdbd}.range-md.range-disabled .range-knob{outline:5px solid #fff;background-color:#bdbdbd;-webkit-transform:scale(.55);transform:scale(.55)}.range-md-primary .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin,.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-primary .range-bar-active,.range-md-primary .range-knob,.range-md-primary .range-pin,.range-md-primary .range-pin::before{background:#673ab7}.range-md-secondary .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin,.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-secondary .range-bar-active,.range-md-secondary .range-knob,.range-md-secondary .range-pin,.range-md-secondary .range-pin::before{background:#32db64}.range-md-danger .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin,.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-danger .range-bar-active,.range-md-danger .range-knob,.range-md-danger .range-pin,.range-md-danger .range-pin::before{background:#f53d3d}.range-md-light .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-light .range-md .range-knob-min.range-knob-min .range-pin,.range-md-light .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-light .range-bar-active,.range-md-light .range-knob,.range-md-light .range-pin,.range-md-light .range-pin::before{background:#f4f4f4}.range-md-dark .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin,.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-dark .range-bar-active,.range-md-dark .range-knob,.range-md-dark .range-pin,.range-md-dark .range-pin::before{background:#222}.range-md-optblue .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin,.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-optblue .range-bar-active,.range-md-optblue .range-knob,.range-md-optblue .range-pin,.range-md-optblue .range-pin::before{background:#e00201}.range-wp{padding:8px}.range-wp [range-left]{margin:0 12px 0 0}.range-wp [range-right]{margin:0 0 0 12px}.range-wp.range-has-pin{padding-top:28px}.range-wp .range-slider{height:42px}.range-wp .range-bar{left:0;top:21px;position:absolute;width:100%;height:2px;background:#bdbdbd;pointer-events:none}.range-wp.range-pressed .range-bar-active{will-change:left,right}.range-wp.range-pressed .range-knob-handle{will-change:left}.range-wp .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-wp .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-wp .range-knob{left:17px;top:10px;border-radius:4px;position:absolute;width:8px;height:24px;background:#673ab7;pointer-events:none}.range-wp .range-tick{margin-left:-1px;border-radius:4px;position:absolute;top:19px;width:2px;height:6px;background:#bdbdbd;pointer-events:none}.range-wp .range-tick-active{background:#673ab7}.range-wp .range-pin{text-align:center;border-radius:50px;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-24px;display:inline-block;min-width:28px;font-size:12px;color:#fff;background:#673ab7;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease,-webkit-transform 120ms ease;padding:8px}.range-wp .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-wp.range-disabled{opacity:.5}.range-wp-primary .range-bar-active,.range-wp-primary .range-knob,.range-wp-primary .range-pin,.range-wp-primary .range-tick-active{background:#673ab7}.range-wp-secondary .range-bar-active,.range-wp-secondary .range-knob,.range-wp-secondary .range-pin,.range-wp-secondary .range-tick-active{background:#32db64}.range-wp-danger .range-bar-active,.range-wp-danger .range-knob,.range-wp-danger .range-pin,.range-wp-danger .range-tick-active{background:#f53d3d}.range-wp-light .range-bar-active,.range-wp-light .range-knob,.range-wp-light .range-pin,.range-wp-light .range-tick-active{background:#f4f4f4}.range-wp-dark .range-bar-active,.range-wp-dark .range-knob,.range-wp-dark .range-pin,.range-wp-dark .range-tick-active{background:#222}.range-wp-optblue .range-bar-active,.range-wp-optblue .range-knob,.range-wp-optblue .range-pin,.range-wp-optblue .range-tick-active{background:#e00201}ion-refresher{left:0;top:0;position:absolute;z-index:0;display:none;width:100%;height:60px}ion-refresher.refresher-active{display:block}.has-refresher>.scroll-content{margin-top:-1px;border-top:1px solid #ddd;-webkit-transition:-webkit-transform 320ms cubic-bezier(.36,.66,.04,1);transition:-webkit-transform 320ms cubic-bezier(.36,.66,.04,1);transition:transform 320ms cubic-bezier(.36,.66,.04,1);transition:transform 320ms cubic-bezier(.36,.66,.04,1),-webkit-transform 320ms cubic-bezier(.36,.66,.04,1)}ion-refresher-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{text-align:center;-webkit-transform-origin:center;transform-origin:center;font-size:30px;color:#000;-webkit-transition:.2s;transition:.2s}.refresher-pulling-text,.refresher-refreshing-text{text-align:center;font-size:16px;color:#000}.refresher-refreshing .spinner-crescent circle,.refresher-refreshing .spinner-ios line,.refresher-refreshing .spinner-ios-small line{stroke:#000}.refresher-refreshing .spinner-bubbles circle,.refresher-refreshing .spinner-circles circle,.refresher-refreshing .spinner-dots circle{fill:#000}ion-refresher-content[state=pulling] .refresher-pulling{display:block}ion-refresher-content[state=ready] .refresher-pulling{display:block}ion-refresher-content[state=ready] .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}ion-refresher-content[state=refreshing] .refresher-refreshing{display:block}ion-refresher-content[state=cancelling] .refresher-pulling{display:block}ion-refresher-content[state=cancelling] .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}ion-refresher-content[state=completing] .refresher-refreshing{display:block}ion-refresher-content[state=completing] .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}ion-scroll{position:relative;display:block}ion-scroll.scroll-x .scroll-content{overflow-x:auto}ion-scroll.scroll-y .scroll-content{overflow-y:auto}ion-scroll[center] .scroll-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}ion-scroll .scroll-content{left:0;right:0;top:0;bottom:0;position:absolute;overflow-y:hidden;overflow-x:hidden;-webkit-overflow-scrolling:touch;will-change:scroll-position}ion-searchbar{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%}.searchbar-icon{pointer-events:none}.searchbar-input-container{position:relative;display:block;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;border:0;font-family:inherit}.searchbar-clear-icon{margin:0;padding:0;display:none;min-height:0}.searchbar-has-value.searchbar-has-focus .searchbar-clear-icon{display:block}.searchbar-ios{padding:0 8px;min-height:44px;border-top:.55px solid transparent;border-bottom:.55px solid rgba(0,0,0,.05);background:rgba(0,0,0,.2)}.searchbar-ios .searchbar-search-icon{left:9px;top:9px;background-image:url("data:image/svg+xml;charset=utf-8,");margin-left:calc(50% - 60px);position:absolute;width:14px;height:14px;background-repeat:no-repeat;background-size:13px}.searchbar-ios .searchbar-input{padding:0 28px;border-radius:5px;height:3rem;font-size:1.4rem;font-weight:400;color:#000;background-color:#fff}.searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-clear-icon{right:0;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");background-position:center;position:absolute;width:30px;height:100%;background-repeat:no-repeat;background-size:18px}.searchbar-ios .searchbar-ios-cancel{padding:0 0 0 8px;margin-left:0;display:none;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;cursor:pointer}.searchbar-ios.searchbar-left-aligned .searchbar-search-icon{margin-left:0}.searchbar-ios.searchbar-left-aligned .searchbar-input{padding-left:30px}.searchbar-ios.searchbar-show-cancel.searchbar-has-focus .searchbar-ios-cancel{display:block}.toolbar .searchbar-ios{border-bottom-width:0;background:0 0}.toolbar .searchbar-ios .searchbar-input{background:rgba(0,0,0,.08)}.toolbar .searchbar-ios .searchbar-ios-cancel{padding:0}.toolbar .searchbar-ios.searchbar-has-focus .searchbar-ios-cancel{padding-left:8px}.searchbar-ios .searchbar-md-cancel{display:none}.searchbar-ios-primary .searchbar-ios-cancel{color:#673ab7}.searchbar-ios-primary .searchbar-ios-cancel:hover:not(.disable-hover){color:#734abd}.toolbar-ios-primary .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-primary .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-primary .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-primary .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-secondary .searchbar-ios-cancel{color:#32db64}.searchbar-ios-secondary .searchbar-ios-cancel:hover:not(.disable-hover){color:#2ec95c}.toolbar-ios-secondary .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-secondary .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-secondary .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-secondary .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-danger .searchbar-ios-cancel{color:#f53d3d}.searchbar-ios-danger .searchbar-ios-cancel:hover:not(.disable-hover){color:#e13838}.toolbar-ios-danger .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-danger .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-danger .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-danger .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-light .searchbar-ios-cancel{color:#f4f4f4}.searchbar-ios-light .searchbar-ios-cancel:hover:not(.disable-hover){color:#e0e0e0}.toolbar-ios-light .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-light .searchbar-ios .searchbar-input{color:#000;background:rgba(0,0,0,.08)}.toolbar-ios-light .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-light .searchbar-ios .searchbar-ios-cancel{color:#673ab7}.searchbar-ios-dark .searchbar-ios-cancel{color:#222}.searchbar-ios-dark .searchbar-ios-cancel:hover:not(.disable-hover){color:#343434}.toolbar-ios-dark .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-dark .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-dark .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-dark .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-optblue .searchbar-ios-cancel{color:#e00201}.searchbar-ios-optblue .searchbar-ios-cancel:hover:not(.disable-hover){color:#e21615}.toolbar-ios-optblue .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-optblue .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-optblue .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-optblue .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios.searchbar-animated.searchbar-show-cancel .searchbar-ios-cancel{display:block}.searchbar-ios.searchbar-animated .searchbar-input,.searchbar-ios.searchbar-animated .searchbar-search-icon{-webkit-transition:all .3s ease;transition:all .3s ease}.searchbar-animated.searchbar-has-focus .searchbar-ios-cancel{opacity:1;pointer-events:auto}.searchbar-animated .searchbar-ios-cancel{margin-right:-100%;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:0;-webkit-transition:all .3s ease;transition:all .3s ease;pointer-events:none}.searchbar-md{background:inherit;padding:8px}.searchbar-md .searchbar-search-icon{left:16px;top:11px;background-image:url("data:image/svg+xml;charset=utf-8,");width:21px;height:21px}.searchbar-md .searchbar-md-cancel{left:10px;top:0;margin:0;display:none;width:21px;height:100%}.searchbar-md .searchbar-md-cancel,.searchbar-md .searchbar-search-icon{position:absolute;background-repeat:no-repeat;background-size:20px}.searchbar-md .searchbar-md-cancel.activated,.searchbar-md .searchbar-search-icon.activated{background-color:transparent}.searchbar-md .searchbar-input{padding:6px 55px;border-radius:2px;background-position:left 8px center;height:auto;font-size:1.6rem;font-weight:400;line-height:3rem;color:#141414;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.searchbar-md .searchbar-input::-moz-placeholder{color:#aeaeae}.searchbar-md .searchbar-input:-ms-input-placeholder{color:#aeaeae}.searchbar-md .searchbar-input::-webkit-input-placeholder{text-indent:0;color:#aeaeae}.searchbar-md .searchbar-clear-icon{right:13px;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");padding:0;background-position:center;position:absolute;width:22px;height:100%;background-repeat:no-repeat;background-size:22px}.searchbar-md .searchbar-clear-icon.activated{background-color:transparent}.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-search-icon{display:none}.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-md-cancel{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.toolbar .searchbar-md{padding:3px}.toolbar .searchbar-md .searchbar-md-cancel{left:14px}.searchbar-md .searchbar-ios-cancel{display:none}.searchbar-wp{background:0 0;padding:8px}.searchbar-wp .searchbar-input-container{border:2px solid rgba(0,0,0,.5)}.searchbar-wp .searchbar-search-icon{right:8px;top:5px;background-image:url("data:image/svg+xml;charset=utf-8,");position:absolute;width:21px;height:21px;background-repeat:no-repeat;background-size:20px}.searchbar-wp .searchbar-search-icon.activated{background-color:transparent}.searchbar-wp .searchbar-input{padding:0 8px;border-radius:0;background-position:left 8px center;height:auto;font-size:1.4rem;font-weight:400;line-height:3rem;color:#141414;background-color:#fff}.searchbar-wp .searchbar-input::-moz-placeholder{color:#858585}.searchbar-wp .searchbar-input:-ms-input-placeholder{color:#858585}.searchbar-wp .searchbar-input::-webkit-input-placeholder{text-indent:0;color:#858585}.searchbar-wp .searchbar-clear-icon{right:8px;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");padding:0;background-position:center;position:absolute;width:22px;height:100%;background-repeat:no-repeat;background-size:22px}.searchbar-wp .searchbar-clear-icon.activated{background-color:transparent}.searchbar-wp.searchbar-has-focus .searchbar-input-container{border-color:#673ab7}.searchbar-wp.searchbar-has-value .searchbar-search-icon{display:none}.searchbar-wp .searchbar-ios-cancel{display:none}.searchbar-wp .searchbar-md-cancel{display:none}.toolbar .searchbar-wp{padding:2px}.searchbar-wp-primary.searchbar-has-focus .searchbar-input-container{border-color:#673ab7}.searchbar-wp-secondary.searchbar-has-focus .searchbar-input-container{border-color:#32db64}.searchbar-wp-danger.searchbar-has-focus .searchbar-input-container{border-color:#f53d3d}.searchbar-wp-light.searchbar-has-focus .searchbar-input-container{border-color:#f4f4f4}.searchbar-wp-dark.searchbar-has-focus .searchbar-input-container{border-color:#222}.searchbar-wp-optblue.searchbar-has-focus .searchbar-input-container{border-color:#e00201}ion-segment{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%}.segment-button{margin-left:0;margin-right:0;text-align:center;position:relative;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.segment-ios .segment-button{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:0;height:3.2rem;border-width:1px;border-style:solid;border-color:#673ab7;font-size:1.3rem;line-height:3rem;color:#673ab7;background-color:transparent}.segment-ios .segment-button ion-icon{font-size:2.6rem;line-height:2.8rem}.segment-ios .segment-button.segment-activated{color:#fff;background-color:#673ab7;opacity:1;-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:hover:not(.segment-activated){background-color:rgba(103,58,183,.1);-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:active:not(.segment-activated){background-color:rgba(103,58,183,.16);-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:first-of-type{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;margin-right:0}.segment-ios .segment-button:not(:first-of-type){border-left-width:0}.segment-ios .segment-button:last-of-type{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0;margin-left:0;border-left-width:0}[dir=rtl] .segment-ios .segment-button:first-of-type{border-left-width:0}[dir=rtl] .segment-ios .segment-button:last-of-type{border-left-width:1px}.segment-ios.segment-disabled{opacity:.4;pointer-events:none}.segment-ios .segment-button-disabled{color:rgba(103,58,183,.3);pointer-events:none}.toolbar-ios .segment-ios{left:0;right:0;top:0;bottom:0;position:absolute}.toolbar-ios .segment-button{max-width:100px;height:2.6rem;font-size:1.2rem;line-height:2.5rem}.toolbar-ios .segment-button ion-icon{font-size:2.2rem;line-height:2.4rem}.segment-ios-primary .segment-button{border-color:#673ab7;color:#673ab7}.segment-ios-primary .segment-button:hover:not(.segment-activated){background-color:rgba(103,58,183,.1)}.segment-ios-primary .segment-button:active:not(.segment-activated){background-color:rgba(103,58,183,.16)}.segment-ios-primary .segment-button.segment-activated{color:#fff;background-color:#673ab7}.segment-ios-primary .segment-button-disabled{color:rgba(103,58,183,.3)}.toolbar-ios-primary .segment-ios .segment-button.segment-activated{color:#673ab7}.segment-ios-secondary .segment-button{border-color:#32db64;color:#32db64}.segment-ios-secondary .segment-button:hover:not(.segment-activated){background-color:rgba(50,219,100,.1)}.segment-ios-secondary .segment-button:active:not(.segment-activated){background-color:rgba(50,219,100,.16)}.segment-ios-secondary .segment-button.segment-activated{color:#fff;background-color:#32db64}.segment-ios-secondary .segment-button-disabled{color:rgba(50,219,100,.3)}.toolbar-ios-secondary .segment-ios .segment-button.segment-activated{color:#32db64}.segment-ios-danger .segment-button{border-color:#f53d3d;color:#f53d3d}.segment-ios-danger .segment-button:hover:not(.segment-activated){background-color:rgba(245,61,61,.1)}.segment-ios-danger .segment-button:active:not(.segment-activated){background-color:rgba(245,61,61,.16)}.segment-ios-danger .segment-button.segment-activated{color:#fff;background-color:#f53d3d}.segment-ios-danger .segment-button-disabled{color:rgba(245,61,61,.3)}.toolbar-ios-danger .segment-ios .segment-button.segment-activated{color:#f53d3d}.segment-ios-light .segment-button{border-color:#f4f4f4;color:#f4f4f4}.segment-ios-light .segment-button:hover:not(.segment-activated){background-color:rgba(244,244,244,.1)}.segment-ios-light .segment-button:active:not(.segment-activated){background-color:rgba(244,244,244,.16)}.segment-ios-light .segment-button.segment-activated{color:#000;background-color:#f4f4f4}.segment-ios-light .segment-button-disabled{color:rgba(244,244,244,.3)}.toolbar-ios-light .segment-ios .segment-button.segment-activated{color:#f4f4f4}.segment-ios-dark .segment-button{border-color:#222;color:#222}.segment-ios-dark .segment-button:hover:not(.segment-activated){background-color:rgba(34,34,34,.1)}.segment-ios-dark .segment-button:active:not(.segment-activated){background-color:rgba(34,34,34,.16)}.segment-ios-dark .segment-button.segment-activated{color:#fff;background-color:#222}.segment-ios-dark .segment-button-disabled{color:rgba(34,34,34,.3)}.toolbar-ios-dark .segment-ios .segment-button.segment-activated{color:#222}.segment-ios-optblue .segment-button{border-color:#e00201;color:#e00201}.segment-ios-optblue .segment-button:hover:not(.segment-activated){background-color:rgba(224,2,1,.1)}.segment-ios-optblue .segment-button:active:not(.segment-activated){background-color:rgba(224,2,1,.16)}.segment-ios-optblue .segment-button.segment-activated{color:#fff;background-color:#e00201}.segment-ios-optblue .segment-button-disabled{color:rgba(224,2,1,.3)}.toolbar-ios-optblue .segment-ios .segment-button.segment-activated{color:#e00201}.segment-md .segment-button{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:0;height:4.2rem;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:rgba(0,0,0,.1);font-size:1.2rem;font-weight:500;line-height:4rem;text-transform:uppercase;color:#673ab7;background-color:transparent;opacity:.7;-webkit-transition:.1s all linear;transition:.1s all linear;padding:0 6px}.segment-md .segment-button ion-icon{font-size:2.6rem;line-height:4rem}.segment-md .segment-button.activated,.segment-md .segment-button.segment-activated{border-color:#673ab7;opacity:1}.segment-md .segment-button-disabled,.segment-md.segment-disabled{opacity:.3;pointer-events:none}.toolbar .segment-md{margin:0 auto}.toolbar .segment-md .segment-button.activated,.toolbar .segment-md .segment-button.segment-activated{opacity:1}.segment-md-primary .segment-button{color:#673ab7}.segment-md-primary .segment-button.activated,.segment-md-primary .segment-button.segment-activated{border-color:#673ab7;color:#673ab7;opacity:1}.segment-md-secondary .segment-button{color:#32db64}.segment-md-secondary .segment-button.activated,.segment-md-secondary .segment-button.segment-activated{border-color:#32db64;color:#32db64;opacity:1}.segment-md-danger .segment-button{color:#f53d3d}.segment-md-danger .segment-button.activated,.segment-md-danger .segment-button.segment-activated{border-color:#f53d3d;color:#f53d3d;opacity:1}.segment-md-light .segment-button{color:#f4f4f4}.segment-md-light .segment-button.activated,.segment-md-light .segment-button.segment-activated{border-color:#f4f4f4;color:#f4f4f4;opacity:1}.segment-md-dark .segment-button{color:#222}.segment-md-dark .segment-button.activated,.segment-md-dark .segment-button.segment-activated{border-color:#222;color:#222;opacity:1}.segment-md-optblue .segment-button{color:#e00201}.segment-md-optblue .segment-button.activated,.segment-md-optblue .segment-button.segment-activated{border-color:#e00201;color:#e00201;opacity:1}.segment-wp{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.segment-wp .segment-button{height:4rem;font-size:1.3rem;font-weight:700;line-height:4rem;text-transform:uppercase;color:#000;background-color:transparent;opacity:.5;padding:0 6px}.segment-wp .segment-button.segment-activated{opacity:1}.segment-wp .segment-button ion-icon{font-size:2.6rem;line-height:4rem}.segment-wp .segment-button-disabled,.segment-wp.segment-disabled{opacity:.3;pointer-events:none}.toolbar .segment-wp{margin:0 auto}.segment-wp-primary .segment-button{color:#673ab7}.segment-wp-primary .segment-button.activated,.segment-wp-primary .segment-button.segment-activated{border-color:#673ab7;color:#673ab7;opacity:1}.segment-wp-secondary .segment-button{color:#32db64}.segment-wp-secondary .segment-button.activated,.segment-wp-secondary .segment-button.segment-activated{border-color:#32db64;color:#32db64;opacity:1}.segment-wp-danger .segment-button{color:#f53d3d}.segment-wp-danger .segment-button.activated,.segment-wp-danger .segment-button.segment-activated{border-color:#f53d3d;color:#f53d3d;opacity:1}.segment-wp-light .segment-button{color:#f4f4f4}.segment-wp-light .segment-button.activated,.segment-wp-light .segment-button.segment-activated{border-color:#f4f4f4;color:#f4f4f4;opacity:1}.segment-wp-dark .segment-button{color:#222}.segment-wp-dark .segment-button.activated,.segment-wp-dark .segment-button.segment-activated{border-color:#222;color:#222;opacity:1}.segment-wp-optblue .segment-button{color:#e00201}.segment-wp-optblue .segment-button.activated,.segment-wp-optblue .segment-button.segment-activated{border-color:#e00201;color:#e00201;opacity:1}ion-select{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;max-width:45%}.select-text{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap}.item-multiple-inputs ion-select{position:relative}.item-select-disabled ion-label,.select-disabled{opacity:.4;pointer-events:none}.select-popover ion-list{margin:-1px 0}.select-ios{padding:11px 8px 11px 16px}.select-ios .select-placeholder{color:#999}.select-ios .select-icon{position:relative;width:12px;height:18px}.select-ios .select-icon .select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:#999;pointer-events:none}.select-md{padding:13px 8px 13px 16px}.select-md .select-placeholder{color:#999}.select-md .item-select ion-label{margin-left:0}.select-md .select-icon{position:relative;width:12px;height:19px}.select-md .select-icon .select-icon-inner{left:5px;top:50%;margin-top:-3px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:#999;pointer-events:none}.select-wp{margin:13px 8px;padding:0 8px;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-width:100%;border:2px solid rgba(0,0,0,.5);line-height:3rem}.select-wp .select-placeholder{color:rgba(0,0,0,.5)}.item-wp.item-select ion-label{margin-left:0}.select-wp .select-icon{position:relative;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;width:18px;height:18px}.select-wp .select-icon .select-icon-inner{left:5px;top:3px;position:absolute;display:block;width:9px;height:9px;border-top:2px solid rgba(0,0,0,.5);border-right:2px solid rgba(0,0,0,.5);-webkit-transform:rotate(135deg);transform:rotate(135deg);pointer-events:none}.select-wp .select-text{min-height:3rem}.hidden-show-when{display:none!important}.hidden-hide-when{display:none!important}.swiper-container{margin-left:auto;margin-right:auto;padding:0;position:relative;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;width:100%;height:100%}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{padding:0;position:relative;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-slide{text-align:center;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:18px;-webkit-box-sizing:border-box;box-sizing:border-box}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container .swiper-notification{left:0;top:0;position:absolute;z-index:-1000;opacity:0;pointer-events:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{top:50%;margin-top:-22px;background-position:center;position:absolute;z-index:10;width:27px;height:44px;background-repeat:no-repeat;background-size:27px 44px;cursor:pointer}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{left:auto;right:10px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-pagination{text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);position:absolute;z-index:10;-webkit-transition:.3s;transition:.3s;pointer-events:none}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{left:0;bottom:10px;width:100%}.swiper-pagination-bullet{border-radius:100%;display:inline-block;width:8px;height:8px;background:#000;opacity:.2;pointer-events:auto}button.swiper-pagination-bullet{margin:0;padding:0;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border:0;-webkit-box-shadow:none;box-shadow:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:5px 0;display:block}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 5px}.swiper-pagination-progress{position:absolute;background:rgba(0,0,0,.25)}.swiper-pagination-progress .swiper-pagination-progressbar{left:0;top:0;-webkit-transform-origin:left top;transform-origin:left top;position:absolute;width:100%;height:100%;background:#007aff;-webkit-transform:scale(0);transform:scale(0)}.swiper-container-rtl .swiper-pagination-progress .swiper-pagination-progressbar{-webkit-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progress{left:0;top:0;width:100%;height:4px}.swiper-container-vertical>.swiper-pagination-progress{left:0;top:0;width:4px;height:100%}.swiper-pagination-progress.swiper-pagination-white{background:rgba(255,255,255,.5)}.swiper-pagination-progress.swiper-pagination-white .swiper-pagination-progressbar{background:#fff}.swiper-pagination-progress.swiper-pagination-black .swiper-pagination-progressbar{background:#000}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{left:0;top:0;position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to left,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to right,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to top,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),transparent)}.swiper-container-coverflow .swiper-wrapper,.swiper-container-flip .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-container-cube,.swiper-container-flip{overflow:visible}.swiper-container-cube .swiper-slide,.swiper-container-flip .swiper-slide{z-index:1;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:none}.swiper-container-cube .swiper-slide .swiper-slide,.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active,.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-slide{-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%;visibility:hidden}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{visibility:visible;pointer-events:auto}.swiper-container-cube .swiper-cube-shadow{left:0;bottom:0;position:absolute;z-index:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{-webkit-transition-property:opacity;transition-property:opacity;pointer-events:none}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-zoom-container{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-scrollbar{border-radius:10px;position:relative;background:rgba(0,0,0,.1);-ms-touch-action:none;touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{left:1%;bottom:3px;position:absolute;z-index:50;width:98%;height:5px}.swiper-container-vertical>.swiper-scrollbar{right:3px;top:1%;position:absolute;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{left:0;top:0;border-radius:10px;position:relative;width:100%;height:100%;background:rgba(0,0,0,.5)}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{left:50%;top:50%;margin-left:-21px;margin-top:-21px;-webkit-transform-origin:50%;transform-origin:50%;position:absolute;z-index:10;width:42px;height:42px;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader::after{background-position:50%;display:block;width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:100%;content:""}.swiper-lazy-preloader-white::after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}ion-slides{display:block;width:100%;height:100%}.slide-zoom{text-align:center;display:block;width:100%}.swiper-slide img{width:auto;max-width:100%;height:auto;max-height:100%}ion-spinner{position:relative;display:inline-block;width:28px;height:28px}ion-spinner svg{left:0;top:0;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-spinner.spinner-paused svg{-webkit-animation-play-state:paused;animation-play-state:paused}.spinner-ios line,.spinner-ios-small line{stroke-width:4px;stroke-linecap:round}.spinner-ios svg,.spinner-ios-small svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}.spinner-bubbles svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite}.spinner-circles svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}.spinner-crescent circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px}.spinner-crescent svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}.spinner-dots circle{stroke-width:0}.spinner-dots svg{-webkit-transform-origin:center;transform-origin:center;-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(0,0);transform:scale(0,0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(0,0);transform:scale(0,0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}50%{opacity:.3;-webkit-transform:scale(.4,.4);transform:scale(.4,.4)}100%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}}@keyframes spinner-dots{0%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}50%{opacity:.3;-webkit-transform:scale(.4,.4);transform:scale(.4,.4)}100%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}}.spinner-ios-ios line,.spinner-ios-ios-small line{stroke:#69717d}.spinner-ios-bubbles circle{fill:#000}.spinner-ios-circles circle{fill:#69717d}.spinner-ios-crescent circle{stroke:#000}.spinner-ios-dots circle{fill:#444}.spinner-ios-primary.spinner-crescent circle,.spinner-ios-primary.spinner-ios line,.spinner-ios-primary.spinner-ios-small line{stroke:#673ab7}.spinner-ios-primary.spinner-bubbles circle,.spinner-ios-primary.spinner-circles circle,.spinner-ios-primary.spinner-dots circle{fill:#673ab7}.spinner-ios-secondary.spinner-crescent circle,.spinner-ios-secondary.spinner-ios line,.spinner-ios-secondary.spinner-ios-small line{stroke:#32db64}.spinner-ios-secondary.spinner-bubbles circle,.spinner-ios-secondary.spinner-circles circle,.spinner-ios-secondary.spinner-dots circle{fill:#32db64}.spinner-ios-danger.spinner-crescent circle,.spinner-ios-danger.spinner-ios line,.spinner-ios-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-ios-danger.spinner-bubbles circle,.spinner-ios-danger.spinner-circles circle,.spinner-ios-danger.spinner-dots circle{fill:#f53d3d}.spinner-ios-light.spinner-crescent circle,.spinner-ios-light.spinner-ios line,.spinner-ios-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-ios-light.spinner-bubbles circle,.spinner-ios-light.spinner-circles circle,.spinner-ios-light.spinner-dots circle{fill:#f4f4f4}.spinner-ios-dark.spinner-crescent circle,.spinner-ios-dark.spinner-ios line,.spinner-ios-dark.spinner-ios-small line{stroke:#222}.spinner-ios-dark.spinner-bubbles circle,.spinner-ios-dark.spinner-circles circle,.spinner-ios-dark.spinner-dots circle{fill:#222}.spinner-ios-optblue.spinner-crescent circle,.spinner-ios-optblue.spinner-ios line,.spinner-ios-optblue.spinner-ios-small line{stroke:#e00201}.spinner-ios-optblue.spinner-bubbles circle,.spinner-ios-optblue.spinner-circles circle,.spinner-ios-optblue.spinner-dots circle{fill:#e00201}.spinner-md-ios line,.spinner-md-ios-small line{stroke:#69717d}.spinner-md-bubbles circle{fill:#000}.spinner-md-circles circle{fill:#69717d}.spinner-md-crescent circle{stroke:#000}.spinner-md-dots circle{fill:#444}.spinner-md-primary.spinner-crescent circle,.spinner-md-primary.spinner-ios line,.spinner-md-primary.spinner-ios-small line{stroke:#673ab7}.spinner-md-primary.spinner-bubbles circle,.spinner-md-primary.spinner-circles circle,.spinner-md-primary.spinner-dots circle{fill:#673ab7}.spinner-md-secondary.spinner-crescent circle,.spinner-md-secondary.spinner-ios line,.spinner-md-secondary.spinner-ios-small line{stroke:#32db64}.spinner-md-secondary.spinner-bubbles circle,.spinner-md-secondary.spinner-circles circle,.spinner-md-secondary.spinner-dots circle{fill:#32db64}.spinner-md-danger.spinner-crescent circle,.spinner-md-danger.spinner-ios line,.spinner-md-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-md-danger.spinner-bubbles circle,.spinner-md-danger.spinner-circles circle,.spinner-md-danger.spinner-dots circle{fill:#f53d3d}.spinner-md-light.spinner-crescent circle,.spinner-md-light.spinner-ios line,.spinner-md-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-md-light.spinner-bubbles circle,.spinner-md-light.spinner-circles circle,.spinner-md-light.spinner-dots circle{fill:#f4f4f4}.spinner-md-dark.spinner-crescent circle,.spinner-md-dark.spinner-ios line,.spinner-md-dark.spinner-ios-small line{stroke:#222}.spinner-md-dark.spinner-bubbles circle,.spinner-md-dark.spinner-circles circle,.spinner-md-dark.spinner-dots circle{fill:#222}.spinner-md-optblue.spinner-crescent circle,.spinner-md-optblue.spinner-ios line,.spinner-md-optblue.spinner-ios-small line{stroke:#e00201}.spinner-md-optblue.spinner-bubbles circle,.spinner-md-optblue.spinner-circles circle,.spinner-md-optblue.spinner-dots circle{fill:#e00201}.spinner-wp-ios line,.spinner-wp-ios-small line{stroke:#69717d}.spinner-wp-bubbles circle{fill:#000}.spinner-wp-circles circle{fill:#69717d}.spinner-wp-crescent circle{stroke:#000}.spinner-wp-dots circle{fill:#444}.spinner-wp-primary.spinner-crescent circle,.spinner-wp-primary.spinner-ios line,.spinner-wp-primary.spinner-ios-small line{stroke:#673ab7}.spinner-wp-primary.spinner-bubbles circle,.spinner-wp-primary.spinner-circles circle,.spinner-wp-primary.spinner-dots circle{fill:#673ab7}.spinner-wp-secondary.spinner-crescent circle,.spinner-wp-secondary.spinner-ios line,.spinner-wp-secondary.spinner-ios-small line{stroke:#32db64}.spinner-wp-secondary.spinner-bubbles circle,.spinner-wp-secondary.spinner-circles circle,.spinner-wp-secondary.spinner-dots circle{fill:#32db64}.spinner-wp-danger.spinner-crescent circle,.spinner-wp-danger.spinner-ios line,.spinner-wp-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-wp-danger.spinner-bubbles circle,.spinner-wp-danger.spinner-circles circle,.spinner-wp-danger.spinner-dots circle{fill:#f53d3d}.spinner-wp-light.spinner-crescent circle,.spinner-wp-light.spinner-ios line,.spinner-wp-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-wp-light.spinner-bubbles circle,.spinner-wp-light.spinner-circles circle,.spinner-wp-light.spinner-dots circle{fill:#f4f4f4}.spinner-wp-dark.spinner-crescent circle,.spinner-wp-dark.spinner-ios line,.spinner-wp-dark.spinner-ios-small line{stroke:#222}.spinner-wp-dark.spinner-bubbles circle,.spinner-wp-dark.spinner-circles circle,.spinner-wp-dark.spinner-dots circle{fill:#222}.spinner-wp-optblue.spinner-crescent circle,.spinner-wp-optblue.spinner-ios line,.spinner-wp-optblue.spinner-ios-small line{stroke:#e00201}.spinner-wp-optblue.spinner-bubbles circle,.spinner-wp-optblue.spinner-circles circle,.spinner-wp-optblue.spinner-dots circle{fill:#e00201}.split-pane{left:0;right:0;top:0;bottom:0;position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}.split-pane-side:not(ion-menu){display:none}.split-pane-visible>.split-pane-main,.split-pane-visible>.split-pane-side{left:0;right:0;top:0;bottom:0;position:relative;z-index:0;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-shadow:none!important;box-shadow:none!important}.split-pane-visible>.split-pane-side{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-main,.split-pane-visible>ion-menu.menu-enabled,.split-pane-visible>ion-nav.split-pane-side,.split-pane-visible>ion-tabs.split-pane-side{display:block}.split-pane-visible>ion-split-pane.split-pane-main,.split-pane-visible>ion-split-pane.split-pane-side{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.split-pane-visible>ion-menu.menu-enabled>.menu-inner{left:0;right:0;width:auto;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-transform:none!important;transform:none!important}.split-pane-visible>ion-menu.menu-enabled>.ion-backdrop{display:hidden!important}.split-pane-visible>.split-pane-side[side=start]{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-side[side=end]{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}.split-pane-visible>.split-pane-side[side=left]{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-side[side=right]{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}.split-pane-ios.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:.55px solid #c8c7cc;border-left:0}.split-pane-ios.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:.55px solid #c8c7cc}.split-pane-md.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:1px solid #dedede;border-left:0}.split-pane-md.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:1px solid #dedede}.split-pane-wp.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:1px solid transparent;border-left:0}.split-pane-wp.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:1px solid transparent}.tabbar{left:0;bottom:0;position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;opacity:0}.tabbar-hidden .tabbar{display:none}.tabbar.show-tabbar{opacity:1}[tabsPlacement=top]>.tabbar{top:0;bottom:auto}.tab-button{margin:0;text-align:center;border-radius:0;position:relative;z-index:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border:0;text-decoration:none;background:0 0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tab-disabled{pointer-events:none}.tab-disabled ion-badge,.tab-disabled ion-icon,.tab-disabled span{opacity:.4}.tab-button-text{margin-top:3px;margin-bottom:2px}.tab-button-icon,.tab-button-text{display:none;overflow:hidden;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;min-width:26px;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.has-icon .tab-button-icon,.has-title .tab-button-text{display:block}.has-title-only .tab-button-text{white-space:normal}[tabsLayout=icon-bottom] .tab-button .tab-button-icon{-webkit-box-ordinal-group:11;-webkit-order:10;-ms-flex-order:10;order:10}[tabsLayout=icon-end] .tab-button,[tabsLayout=icon-left] .tab-button,[tabsLayout=icon-right] .tab-button,[tabsLayout=icon-start] .tab-button{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}[tabsLayout=icon-left] .tab-button .tab-button-icon,[tabsLayout=icon-start] .tab-button .tab-button-icon{padding-right:8px;text-align:right;text-align:end}[tabsLayout=icon-end] .tab-button .tab-button-icon,[tabsLayout=icon-right] .tab-button .tab-button-icon{padding-left:8px;text-align:left;text-align:start;-webkit-box-ordinal-group:11;-webkit-order:10;-ms-flex-order:10;order:10}.tab-hidden,.tab-highlight,[tabsLayout=icon-hide] .tab-button-icon,[tabsLayout=title-hide] .tab-button-text{display:none}.tab-badge{right:4%;top:6%;right:calc(50% - 50px);padding:1px 6px;position:absolute;height:auto;font-size:12px;line-height:16px}.has-icon .tab-badge{right:calc(50% - 30px)}[tabsLayout=icon-bottom] .tab-badge,[tabsLayout=icon-end] .tab-badge,[tabsLayout=icon-left] .tab-badge,[tabsLayout=icon-right] .tab-badge,[tabsLayout=icon-start] .tab-badge{right:calc(50% - 50px)}.tabs-ios .tabbar{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-top:.55px solid rgba(0,0,0,.3);background:#f8f8f8}.tabs-ios[tabsPlacement=top] .tabbar{border-top:0;border-bottom:.55px solid rgba(0,0,0,.3)}.tabs-ios .tab-button{max-width:240px;min-height:49px;font-size:10px;font-weight:500;color:#8c8c8c;padding:0 2px}.tabs-ios .tab-button:hover:not(.disable-hover),.tabs-ios .tab-button[aria-selected=true]{color:#673ab7}.tabs-ios .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7}.tabs-ios .tab-button-text{margin-top:0;margin-bottom:1px;min-height:11px}.tabs-ios .has-title-only .tab-button-text{font-size:12px}.tabs-ios .tab-button-icon{margin-top:4px;margin-bottom:1px;min-width:35px;height:30px;font-size:30px;color:#8c8c8c}.tabs-ios .tab-button-icon::before{vertical-align:top}.tabs-ios[tabsLayout=icon-end] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-left] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-right] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-start] .tab-button .tab-button-text{font-size:1.4rem;line-height:1.1}.tabs-ios[tabsLayout=icon-end] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-left] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-right] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-start] .tab-button ion-icon{min-width:24px;height:26px;font-size:24px}.tabs-ios .tab-button.has-title-only,.tabs-ios[tabsLayout=icon-hide] .tab-button{min-height:41px}.tabs-ios .tab-button.has-title-only .tab-button-text,.tabs-ios[tabsLayout=icon-hide] .tab-button .tab-button-text{margin:2px 0;font-size:1.4rem;line-height:1.1}.tabs-ios .tab-button.icon-only,.tabs-ios[tabsLayout=title-hide] .tab-button{min-height:41px}.tabs-ios-primary .tabbar{border-color:#512e90;background-color:#673ab7}.tabs-ios-primary .tab-button,.tabs-ios-primary .tab-button-icon,.tabs-ios-primary .tab-button:hover:not(.disable-hover),.tabs-ios-primary .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-primary .tab-button[aria-selected=true],.tabs-ios-primary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-secondary .tabbar{border-color:#21b94e;background-color:#32db64}.tabs-ios-secondary .tab-button,.tabs-ios-secondary .tab-button-icon,.tabs-ios-secondary .tab-button:hover:not(.disable-hover),.tabs-ios-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-secondary .tab-button[aria-selected=true],.tabs-ios-secondary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-danger .tabbar{border-color:#f30d0d;background-color:#f53d3d}.tabs-ios-danger .tab-button,.tabs-ios-danger .tab-button-icon,.tabs-ios-danger .tab-button:hover:not(.disable-hover),.tabs-ios-danger .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-danger .tab-button[aria-selected=true],.tabs-ios-danger .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-light .tabbar{border-color:#dbdbdb;background-color:#f4f4f4}.tabs-ios-light .tab-button,.tabs-ios-light .tab-button-icon,.tabs-ios-light .tab-button:hover:not(.disable-hover),.tabs-ios-light .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-ios-light .tab-button[aria-selected=true],.tabs-ios-light .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-ios-dark .tabbar{border-color:#090909;background-color:#222}.tabs-ios-dark .tab-button,.tabs-ios-dark .tab-button-icon,.tabs-ios-dark .tab-button:hover:not(.disable-hover),.tabs-ios-dark .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-dark .tab-button[aria-selected=true],.tabs-ios-dark .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-optblue .tabbar{border-color:#ad0201;background-color:#e00201}.tabs-ios-optblue .tab-button,.tabs-ios-optblue .tab-button-icon,.tabs-ios-optblue .tab-button:hover:not(.disable-hover),.tabs-ios-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-optblue .tab-button[aria-selected=true],.tabs-ios-optblue .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md .tabbar{background:#f8f8f8}.tabs-md .tab-button{min-height:5.6rem;font-weight:400;color:rgba(60,60,60,.7);padding:0}.tabs-md .tab-button[aria-selected=true]{color:#673ab7;padding:0}.tabs-md .tab-button-text{font-size:1.2rem;text-transform:none;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;margin:0;-webkit-transform-origin:50% 80%;transform-origin:50% 80%}.tabs-md .tab-button[aria-selected=true] .tab-button-text{-webkit-transform:scale3d(1.16667,1.16667,1);transform:scale3d(1.16667,1.16667,1);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.tabs-md[tabsLayout=icon-top] .has-icon .tab-button-text{margin-top:4px;margin-bottom:0}.tabs-md[tabsLayout=icon-bottom] .tab-button .tab-button-text{margin-top:0}.tabs-md .tab-button-icon{margin-top:1px;min-width:2.4rem;font-size:2.4rem;color:rgba(60,60,60,.7);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;-webkit-transform-origin:50% 150%;transform-origin:50% 150%}.tabs-md .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7;-webkit-transform:translate3d(0,-2px,0);transform:translate3d(0,-2px,0)}.tabs-md[tabsLayout=icon-end] .tab-button[aria-selected=true] .tab-button-icon,.tabs-md[tabsLayout=icon-right] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(2px,0,0);transform:translate3d(2px,0,0)}.tabs-md[tabsLayout=icon-bottom] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(0,2px,0);transform:translate3d(0,2px,0)}.tabs-md[tabsLayout=icon-left] .tab-button[aria-selected=true] .tab-button-icon,.tabs-md[tabsLayout=icon-start] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(-2px,0,0);transform:translate3d(-2px,0,0)}.tabs-md .tab-button.has-title-only,.tabs-md .tab-button.icon-only,.tabs-md[tabsLayout=icon-hide] .tab-button,.tabs-md[tabsLayout=title-hide] .tab-button{padding:0 10px}.tabs-md[tabsHighlight=true] .tab-highlight{left:0;bottom:0;-webkit-transform-origin:0 0;transform-origin:0 0;position:absolute;display:block;width:1px;height:2px;background:#673ab7;-webkit-transform:translateZ(0);transform:translateZ(0)}.tabs-md[tabsHighlight=true] .tab-highlight.animate{-webkit-transition-duration:.3s;transition-duration:.3s}.tabs-md[tabsHighlight=true][tabsPlacement=bottom]>.tabbar>.tab-highlight{top:0}.tabs-md-primary .tabbar{background-color:#673ab7}.tabs-md-primary .tab-button,.tabs-md-primary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-primary .tab-button:hover:not(.disable-hover),.tabs-md-primary .tab-button[aria-selected=true],.tabs-md-primary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-primary[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-secondary .tabbar{background-color:#32db64}.tabs-md-secondary .tab-button,.tabs-md-secondary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-secondary .tab-button:hover:not(.disable-hover),.tabs-md-secondary .tab-button[aria-selected=true],.tabs-md-secondary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-secondary[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-danger .tabbar{background-color:#f53d3d}.tabs-md-danger .tab-button,.tabs-md-danger .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-danger .tab-button:hover:not(.disable-hover),.tabs-md-danger .tab-button[aria-selected=true],.tabs-md-danger .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-danger[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-light .tabbar{background-color:#f4f4f4}.tabs-md-light .tab-button,.tabs-md-light .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-md-light .tab-button:hover:not(.disable-hover),.tabs-md-light .tab-button[aria-selected=true],.tabs-md-light .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-md-light[tabsHighlight=true] .tab-highlight{background:#000}.tabs-md-dark .tabbar{background-color:#222}.tabs-md-dark .tab-button,.tabs-md-dark .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-dark .tab-button:hover:not(.disable-hover),.tabs-md-dark .tab-button[aria-selected=true],.tabs-md-dark .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-dark[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-optblue .tabbar{background-color:#e00201}.tabs-md-optblue .tab-button,.tabs-md-optblue .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-optblue .tab-button:hover:not(.disable-hover),.tabs-md-optblue .tab-button[aria-selected=true],.tabs-md-optblue .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-optblue[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-wp .tabbar{background:#f8f8f8}.tabs-wp .tab-button{border-radius:0;min-height:4.8rem;border-bottom:2px solid transparent;font-size:1.2rem;font-weight:400;color:rgba(140,140,140,.7);-webkit-box-shadow:none;box-shadow:none;padding:12px 10px 5px}.tabs-wp .tab-button[aria-selected=true]{border-bottom-color:#673ab7;color:#673ab7}.tabs-wp .tab-button.activated{background:rgba(0,0,0,.1)}.tabs-wp[tabsPlacement=bottom] .tab-button{border-top:2px solid transparent;border-bottom-width:0}.tabs-wp[tabsPlacement=bottom] .tab-button[aria-selected=true]{border-top-color:#673ab7}.tabs-wp .tab-button-text{margin-top:5px;margin-bottom:5px}.tabs-wp .tab-button-icon{min-width:2.4rem;font-size:2.4rem;color:rgba(140,140,140,.7)}.tabs-wp .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7}.tabs-wp[tabsLayout=icon-bottom] .tab-button{padding-top:8px;padding-bottom:8px}.tabs-wp[tabsLayout=icon-end] .tab-button,.tabs-wp[tabsLayout=icon-left] .tab-button,.tabs-wp[tabsLayout=icon-right] .tab-button,.tabs-wp[tabsLayout=icon-start] .tab-button{padding-bottom:10px}.tabs-wp[tabsLayout=icon-end] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-left] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-right] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-start] .tab-button ion-icon{min-width:24px}.tabs-wp .tab-button.has-title-only,.tabs-wp .tab-button.icon-only,.tabs-wp[tabsLayout=icon-hide] .tab-button,.tabs-wp[tabsLayout=title-hide] .tab-button{padding:6px 10px}.tabs-wp-primary .tabbar{background-color:#673ab7}.tabs-wp-primary .tab-button,.tabs-wp-primary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-primary .tab-button:hover:not(.disable-hover),.tabs-wp-primary .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-primary .tab-button[aria-selected=true],.tabs-wp-primary .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-secondary .tabbar{background-color:#32db64}.tabs-wp-secondary .tab-button,.tabs-wp-secondary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-secondary .tab-button:hover:not(.disable-hover),.tabs-wp-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-secondary .tab-button[aria-selected=true],.tabs-wp-secondary .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-danger .tabbar{background-color:#f53d3d}.tabs-wp-danger .tab-button,.tabs-wp-danger .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-danger .tab-button:hover:not(.disable-hover),.tabs-wp-danger .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-danger .tab-button[aria-selected=true],.tabs-wp-danger .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-light .tabbar{background-color:#f4f4f4}.tabs-wp-light .tab-button,.tabs-wp-light .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-wp-light .tab-button:hover:not(.disable-hover),.tabs-wp-light .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-light .tab-button[aria-selected=true],.tabs-wp-light .tab-button[aria-selected=true] .tab-button-icon{border-color:#000;color:#000}.tabs-wp-dark .tabbar{background-color:#222}.tabs-wp-dark .tab-button,.tabs-wp-dark .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-dark .tab-button:hover:not(.disable-hover),.tabs-wp-dark .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-dark .tab-button[aria-selected=true],.tabs-wp-dark .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-optblue .tabbar{background-color:#e00201}.tabs-wp-optblue .tab-button,.tabs-wp-optblue .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-optblue .tab-button:hover:not(.disable-hover),.tabs-wp-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-optblue .tab-button[aria-selected=true],.tabs-wp-optblue .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}ion-toast{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%;pointer-events:none;contain:strict}.toast-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;pointer-events:auto;contain:content}.toast-button{padding:19px 16px 17px;font-size:1.5rem}.toast-message{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.toast-ios .toast-wrapper{left:10px;right:10px;margin:auto;border-radius:.65rem;position:absolute;z-index:10;display:block;max-width:700px;background:rgba(0,0,0,.9)}.toast-ios .toast-wrapper.toast-top{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);margin:constant(safe-area-inset-top) auto auto;margin:env(safe-area-inset-top) auto auto;top:0}.toast-ios .toast-wrapper.toast-bottom{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);margin:auto auto constant(safe-area-inset-bottom);margin:auto auto env(safe-area-inset-bottom);bottom:0}.toast-ios .toast-wrapper.toast-middle{opacity:.01}.toast-ios .toast-message{font-size:1.4rem;color:#fff;padding:1.5rem}.toast-md .toast-wrapper{left:0;right:0;margin:auto;position:absolute;z-index:10;display:block;width:100%;max-width:700px;background:#333}.toast-md .toast-wrapper.toast-top{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);top:0}.toast-md .toast-wrapper.toast-bottom{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);bottom:0}.toast-md .toast-wrapper.toast-middle{opacity:.01}.toast-md .toast-message{font-size:1.5rem;color:#fff;padding:19px 16px 17px}.toast-wp .toast-wrapper{left:0;right:0;margin:auto;border-radius:0;position:absolute;z-index:10;display:block;max-width:700px;background:#000}.toast-wp .toast-wrapper.toast-top{top:0;opacity:.01}.toast-wp .toast-wrapper.toast-bottom{bottom:0;opacity:.01}.toast-wp .toast-wrapper.toast-middle{opacity:.01}.toast-message{font-size:1.4rem;color:#fff;padding:1.5rem}.toast-button{color:#fff}.toggle-ios{position:relative;width:51px;height:32px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict}.toggle-ios .toggle-icon{border-radius:16px;position:relative;display:block;width:100%;height:100%;background-color:#e6e6e6;-webkit-transition:background-color .3s;transition:background-color .3s;pointer-events:none}.toggle-ios .toggle-icon::before{left:2px;right:2px;top:2px;bottom:2px;border-radius:16px;position:absolute;background-color:#fff;content:"";-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.toggle-ios .toggle-inner{left:2px;top:2px;border-radius:14px;position:absolute;width:28px;height:28px;background-color:#fff;-webkit-box-shadow:0 3px 12px rgba(0,0,0,.16),0 3px 1px rgba(0,0,0,.1);box-shadow:0 3px 12px rgba(0,0,0,.16),0 3px 1px rgba(0,0,0,.1);-webkit-transition:width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;transition:width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;transition:transform .3s,width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms;transition:transform .3s,width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;will-change:transform;contain:strict}.toggle-ios.toggle-checked .toggle-icon{background-color:#673ab7}.toggle-ios.toggle-activated .toggle-icon::before,.toggle-ios.toggle-checked .toggle-icon::before{-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0)}.toggle-ios.toggle-checked .toggle-inner{-webkit-transform:translate3d(19px,0,0);transform:translate3d(19px,0,0)}.toggle-ios.toggle-activated.toggle-checked .toggle-inner::before{-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0)}.toggle-ios.toggle-activated .toggle-inner{width:34px}.toggle-ios.toggle-activated.toggle-checked .toggle-inner{left:-4px}.item-ios.item-toggle-disabled ion-label,.toggle-ios.toggle-disabled{opacity:.3;pointer-events:none}.item-ios .toggle-ios{margin:0;padding:6px 8px 5px 16px}.item-ios .toggle-ios[item-left],.item-ios .toggle-ios[item-start]{padding:6px 16px 5px 0}.toggle-ios-primary.toggle-checked .toggle-icon{background-color:#673ab7}.toggle-ios-secondary.toggle-checked .toggle-icon{background-color:#32db64}.toggle-ios-danger.toggle-checked .toggle-icon{background-color:#f53d3d}.toggle-ios-light.toggle-checked .toggle-icon{background-color:#f4f4f4}.toggle-ios-dark.toggle-checked .toggle-icon{background-color:#222}.toggle-ios-optblue.toggle-checked .toggle-icon{background-color:#e00201}.toggle-md{position:relative;width:36px;height:14px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict;padding:12px}.toggle-md .toggle-icon{border-radius:14px;position:relative;display:block;width:100%;height:100%;background-color:#dedede;-webkit-transition:background-color .3s;transition:background-color .3s;pointer-events:none}.toggle-md .toggle-inner{left:0;top:-3px;border-radius:50%;position:absolute;width:20px;height:20px;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:background-color,-webkit-transform;transition-property:background-color,-webkit-transform;transition-property:transform,background-color;transition-property:transform,background-color,-webkit-transform;will-change:transform,background-color;contain:strict}.toggle-md.toggle-checked .toggle-icon{background-color:#ae94dd}.toggle-md.toggle-checked .toggle-inner{-webkit-transform:translate3d(16px,0,0);transform:translate3d(16px,0,0);background-color:#673ab7}.item-md.item-toggle-disabled ion-label,.toggle-md.toggle-disabled{opacity:.3;pointer-events:none}.toggle-md.toggle-disabled ion-radio{opacity:.3}.item-md .toggle-md{cursor:pointer;margin:0;padding:12px 8px 12px 16px}.item-md .toggle-md[item-left],.item-md .toggle-md[item-start]{padding:12px 18px 12px 2px}.item-md.item-toggle ion-label{margin-left:0}.toggle-md-primary.toggle-checked .toggle-icon{background-color:#ae94dd}.toggle-md-primary.toggle-checked .toggle-inner{background-color:#673ab7}.toggle-md-secondary.toggle-checked .toggle-icon{background-color:#9eeeb6}.toggle-md-secondary.toggle-checked .toggle-inner{background-color:#32db64}.toggle-md-danger.toggle-checked .toggle-icon{background-color:#fbb6b6}.toggle-md-danger.toggle-checked .toggle-inner{background-color:#f53d3d}.toggle-md-light.toggle-checked .toggle-icon{background-color:#fff}.toggle-md-light.toggle-checked .toggle-inner{background-color:#f4f4f4}.toggle-md-dark.toggle-checked .toggle-icon{background-color:#626262}.toggle-md-dark.toggle-checked .toggle-inner{background-color:#222}.toggle-md-optblue.toggle-checked .toggle-icon{background-color:#fe6362}.toggle-md-optblue.toggle-checked .toggle-inner{background-color:#e00201}.toggle-wp{position:relative;width:40px;height:18px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict}.toggle-wp .toggle-icon{border-radius:18px;position:relative;display:block;width:100%;height:100%;border:2px solid #323232;background-color:transparent;pointer-events:none;contain:strict}.toggle-wp .toggle-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:10px;height:10px;background-color:#323232;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:background-color,-webkit-transform;transition-property:background-color,-webkit-transform;transition-property:transform,background-color;transition-property:transform,background-color,-webkit-transform;will-change:transform,background-color}.toggle-wp.toggle-checked .toggle-icon{border-color:#673ab7;background-color:#673ab7}.toggle-wp.toggle-checked .toggle-inner{-webkit-transform:translate3d(22px,0,0);transform:translate3d(22px,0,0);background-color:#fff}.item-wp.item-toggle-disabled ion-label,.toggle-wp.toggle-disabled{opacity:.3;pointer-events:none}.toggle-wp.toggle-disabled ion-radio{opacity:.3}.item-wp .toggle-wp{margin:0;cursor:pointer;padding:12px 8px 12px 16px}.item-wp .toggle-wp[item-left],.item-wp .toggle-wp[item-start]{padding:12px 18px 12px 2px}.item-wp.item-toggle ion-label{margin-left:0}.toggle-wp-primary.toggle-checked .toggle-icon{border-color:#673ab7;background-color:#673ab7}.toggle-wp-primary.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-secondary.toggle-checked .toggle-icon{border-color:#32db64;background-color:#32db64}.toggle-wp-secondary.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-danger.toggle-checked .toggle-icon{border-color:#f53d3d;background-color:#f53d3d}.toggle-wp-danger.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-light.toggle-checked .toggle-icon{border-color:#f4f4f4;background-color:#f4f4f4}.toggle-wp-light.toggle-checked .toggle-inner{background-color:#000}.toggle-wp-dark.toggle-checked .toggle-icon{border-color:#222;background-color:#222}.toggle-wp-dark.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-optblue.toggle-checked .toggle-icon{border-color:#e00201;background-color:#e00201}.toggle-wp-optblue.toggle-checked .toggle-inner{background-color:#fff}ion-toolbar{position:relative;z-index:10}.toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;contain:content}.toolbar-background{left:0;top:0;position:absolute;z-index:-1;width:100%;height:100%;border:0;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none;contain:strict}ion-title{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0)}.toolbar-title{display:block;overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap}ion-buttons{margin:0 .2rem;display:block;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none}ion-buttons a,ion-buttons button,ion-buttons div,ion-buttons input,ion-buttons textarea{pointer-events:auto}.toolbar[transparent] .toolbar-background{border-color:transparent;background:0 0}.bar-button-menutoggle,ion-buttons{z-index:99;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-navbar.toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-button{margin:0;padding:0;text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;line-height:1;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bar-button::after{left:-2px;right:-2px;top:-7px;bottom:-6px;position:absolute;content:""}.bar-button-menutoggle{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.back-button{display:none}.back-button.show-back-button{display:inline-block}.back-button-text{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.toolbar-ios{padding:4px;padding-left:4px;padding-right:4px;min-height:44px}@media screen and (orientation:landscape){.toolbar-ios{padding-left:calc(constant(safe-area-inset-left) + 4px);padding-right:calc(constant(safe-area-inset-right) + 4px);padding-left:calc(env(safe-area-inset-left) + 4px);padding-right:calc(env(safe-area-inset-right) + 4px)}}.toolbar-background-ios{background:#f8f8f8}.footer-ios .toolbar-background-ios,.header-ios .toolbar-background-ios{border-style:solid;border-color:rgba(0,0,0,.3)}.header-ios .toolbar-ios:last-child .toolbar-background-ios{border-width:0 0 .55px}.footer-ios .toolbar-ios:first-child .toolbar-background-ios{border-width:.55px 0 0}.header-ios[no-border] .toolbar-ios:last-child .toolbar-background-ios{border-bottom-width:0}.footer-ios[no-border] .toolbar-ios:first-child .toolbar-background-ios{border-top-width:0}.toolbar-content-ios{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;min-width:0}.toolbar-title-ios{text-align:center;font-size:1.7rem;font-weight:600;color:#000;pointer-events:auto}.toolbar-ios ion-title{left:0;top:0;padding:0 90px 1px;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none}.bar-buttons-ios{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-ios[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-buttons-ios[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-ios[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-ios{padding:0 4px;border-radius:4px;height:32px;border:0;font-size:1.7rem}.bar-button-outline-ios{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.bar-button-outline-ios:hover:not(.disable-hover){opacity:.4}.bar-button-outline-ios.activated{color:#fff;background-color:#673ab7}.bar-button-solid-ios{color:#fff;background-color:#673ab7}.bar-button-solid-ios:hover:not(.disable-hover){color:#fff;opacity:.4}.bar-button-solid-ios.activated{color:#fff;background-color:#734abd;opacity:.4}.bar-button-ios.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-ios.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-ios[icon-only]{padding:0;min-width:.9em}.bar-button-ios[icon-only] ion-icon{padding:0 .1em;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-ios{margin:0;z-index:99;overflow:visible;-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;min-height:3.2rem;line-height:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.back-button-icon-ios{margin:-1px 0 0;display:inherit;min-width:18px;font-size:3.4rem}.back-button-text-ios{letter-spacing:-.01em}.bar-button-menutoggle-ios{margin:0 6px;padding:0;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:36px}.bar-button-menutoggle-ios ion-icon{padding:0 6px;font-size:2.8rem}.bar-button-menutoggle-ios[end],.bar-button-menutoggle-ios[right]{-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7}.bar-button-clear-ios-default,.bar-button-default-ios,.bar-button-default.bar-button-ios-default{color:#673ab7;background-color:transparent}.bar-button-clear-ios-default:hover:not(.disable-hover),.bar-button-default-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-default:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-default.activated,.bar-button-default-ios.activated,.bar-button-default.bar-button-ios-default.activated{opacity:.4}.bar-button-clear-ios,.bar-button-clear-ios-clear,.bar-button-default.bar-button-ios-clear{color:#673ab7;background-color:transparent}.bar-button-clear-ios-clear:hover:not(.disable-hover),.bar-button-clear-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-clear:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-clear.activated,.bar-button-clear-ios.activated,.bar-button-default.bar-button-ios-clear.activated{opacity:.4}.toolbar-ios-primary .toolbar-background-ios{background:#673ab7}.toolbar-ios-primary .bar-button-clear-ios,.toolbar-ios-primary .bar-button-default-ios,.toolbar-ios-primary .toolbar-title-ios{color:#fff}.toolbar-ios-primary .bar-button-clear-ios-primary,.toolbar-ios-primary .bar-button-default.bar-button-ios-primary,.toolbar-ios-primary .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-primary .bar-button-clear-ios-primary.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-primary .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-primary .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-primary .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-primary .bar-button-clear-ios-secondary,.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary,.toolbar-ios-primary .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-primary .bar-button-clear-ios-secondary.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-primary .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-primary .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-primary .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-primary .bar-button-clear-ios-danger,.toolbar-ios-primary .bar-button-danger-ios,.toolbar-ios-primary .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-primary .bar-button-clear-ios-danger.activated,.toolbar-ios-primary .bar-button-danger-ios.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-primary .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-primary .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-primary .bar-button-clear-ios-light,.toolbar-ios-primary .bar-button-default.bar-button-ios-light,.toolbar-ios-primary .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-primary .bar-button-clear-ios-light.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-primary .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-primary .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-primary .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-primary .bar-button-clear-ios-dark,.toolbar-ios-primary .bar-button-dark-ios,.toolbar-ios-primary .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-primary .bar-button-clear-ios-dark.activated,.toolbar-ios-primary .bar-button-dark-ios.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-primary .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-primary .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-primary .bar-button-clear-ios-optblue,.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue,.toolbar-ios-primary .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-primary .bar-button-clear-ios-optblue.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-primary .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-primary .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-primary .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-primary,.bar-button-default.bar-button-ios-primary,.bar-button-primary-ios{color:#673ab7;background-color:transparent}.bar-button-clear-ios-primary:hover:not(.disable-hover),.bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-primary.activated,.bar-button-default.bar-button-ios-primary.activated,.bar-button-primary-ios.activated{opacity:.4}.bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-secondary .toolbar-background-ios{background:#32db64}.toolbar-ios-secondary .bar-button-clear-ios,.toolbar-ios-secondary .bar-button-default-ios,.toolbar-ios-secondary .toolbar-title-ios{color:#fff}.toolbar-ios-secondary .bar-button-clear-ios-primary,.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary,.toolbar-ios-secondary .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-secondary .bar-button-clear-ios-primary.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-secondary .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-secondary .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-secondary .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-secondary .bar-button-clear-ios-secondary,.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary,.toolbar-ios-secondary .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-secondary .bar-button-clear-ios-secondary.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-secondary .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-secondary .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-secondary .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-secondary .bar-button-clear-ios-danger,.toolbar-ios-secondary .bar-button-danger-ios,.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-secondary .bar-button-clear-ios-danger.activated,.toolbar-ios-secondary .bar-button-danger-ios.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-secondary .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-secondary .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-secondary .bar-button-clear-ios-light,.toolbar-ios-secondary .bar-button-default.bar-button-ios-light,.toolbar-ios-secondary .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-secondary .bar-button-clear-ios-light.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-secondary .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-secondary .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-secondary .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-secondary .bar-button-clear-ios-dark,.toolbar-ios-secondary .bar-button-dark-ios,.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-secondary .bar-button-clear-ios-dark.activated,.toolbar-ios-secondary .bar-button-dark-ios.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-secondary .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-secondary .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-secondary .bar-button-clear-ios-optblue,.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue,.toolbar-ios-secondary .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-secondary .bar-button-clear-ios-optblue.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-secondary .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-secondary .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-secondary .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-secondary,.bar-button-default.bar-button-ios-secondary,.bar-button-secondary-ios{color:#32db64;background-color:transparent}.bar-button-clear-ios-secondary:hover:not(.disable-hover),.bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.bar-button-clear-ios-secondary.activated,.bar-button-default.bar-button-ios-secondary.activated,.bar-button-secondary-ios.activated{opacity:.4}.bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-danger .toolbar-background-ios{background:#f53d3d}.toolbar-ios-danger .bar-button-clear-ios,.toolbar-ios-danger .bar-button-default-ios,.toolbar-ios-danger .toolbar-title-ios{color:#fff}.toolbar-ios-danger .bar-button-clear-ios-primary,.toolbar-ios-danger .bar-button-default.bar-button-ios-primary,.toolbar-ios-danger .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-danger .bar-button-clear-ios-primary.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-danger .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-danger .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-danger .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-danger .bar-button-clear-ios-secondary,.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary,.toolbar-ios-danger .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-danger .bar-button-clear-ios-secondary.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-danger .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-danger .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-danger .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-danger .bar-button-clear-ios-danger,.toolbar-ios-danger .bar-button-danger-ios,.toolbar-ios-danger .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-danger .bar-button-clear-ios-danger.activated,.toolbar-ios-danger .bar-button-danger-ios.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-danger .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-danger .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-danger .bar-button-clear-ios-light,.toolbar-ios-danger .bar-button-default.bar-button-ios-light,.toolbar-ios-danger .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-danger .bar-button-clear-ios-light.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-danger .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-danger .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-danger .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-danger .bar-button-clear-ios-dark,.toolbar-ios-danger .bar-button-dark-ios,.toolbar-ios-danger .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-danger .bar-button-clear-ios-dark.activated,.toolbar-ios-danger .bar-button-dark-ios.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-danger .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-danger .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-danger .bar-button-clear-ios-optblue,.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue,.toolbar-ios-danger .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-danger .bar-button-clear-ios-optblue.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-danger .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-danger .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-danger .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-danger,.bar-button-danger-ios,.bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-ios-danger:hover:not(.disable-hover),.bar-button-danger-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-clear-ios-danger.activated,.bar-button-danger-ios.activated,.bar-button-default.bar-button-ios-danger.activated{opacity:.4}.bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-light .toolbar-background-ios{background:#f4f4f4}.toolbar-ios-light .bar-button-clear-ios,.toolbar-ios-light .bar-button-default-ios,.toolbar-ios-light .toolbar-title-ios{color:#000}.toolbar-ios-light .bar-button-clear-ios-primary,.toolbar-ios-light .bar-button-default.bar-button-ios-primary,.toolbar-ios-light .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-light .bar-button-clear-ios-primary.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-light .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-light .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-light .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-light .bar-button-clear-ios-secondary,.toolbar-ios-light .bar-button-default.bar-button-ios-secondary,.toolbar-ios-light .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-light .bar-button-clear-ios-secondary.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-light .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-light .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-light .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-light .bar-button-clear-ios-danger,.toolbar-ios-light .bar-button-danger-ios,.toolbar-ios-light .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-light .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-light .bar-button-clear-ios-danger.activated,.toolbar-ios-light .bar-button-danger-ios.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-light .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-light .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-light .bar-button-clear-ios-light,.toolbar-ios-light .bar-button-default.bar-button-ios-light,.toolbar-ios-light .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-light .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-light .bar-button-clear-ios-light.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-light .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-light .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-light .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-light .bar-button-clear-ios-dark,.toolbar-ios-light .bar-button-dark-ios,.toolbar-ios-light .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-light .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-light .bar-button-clear-ios-dark.activated,.toolbar-ios-light .bar-button-dark-ios.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-light .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-light .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-light .bar-button-clear-ios-optblue,.toolbar-ios-light .bar-button-default.bar-button-ios-optblue,.toolbar-ios-light .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-light .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-light .bar-button-clear-ios-optblue.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-light .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-light .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-light .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-light,.bar-button-default.bar-button-ios-light,.bar-button-light-ios{color:#f4f4f4;background-color:transparent}.bar-button-clear-ios-light:hover:not(.disable-hover),.bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.bar-button-clear-ios-light.activated,.bar-button-default.bar-button-ios-light.activated,.bar-button-light-ios.activated{opacity:.4}.bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-dark .toolbar-background-ios{background:#222}.toolbar-ios-dark .bar-button-clear-ios,.toolbar-ios-dark .bar-button-default-ios,.toolbar-ios-dark .toolbar-title-ios{color:#fff}.toolbar-ios-dark .bar-button-clear-ios-primary,.toolbar-ios-dark .bar-button-default.bar-button-ios-primary,.toolbar-ios-dark .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-dark .bar-button-clear-ios-primary.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-dark .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-dark .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-dark .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-dark .bar-button-clear-ios-secondary,.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary,.toolbar-ios-dark .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-dark .bar-button-clear-ios-secondary.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-dark .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-dark .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-dark .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-dark .bar-button-clear-ios-danger,.toolbar-ios-dark .bar-button-danger-ios,.toolbar-ios-dark .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-dark .bar-button-clear-ios-danger.activated,.toolbar-ios-dark .bar-button-danger-ios.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-dark .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-dark .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-dark .bar-button-clear-ios-light,.toolbar-ios-dark .bar-button-default.bar-button-ios-light,.toolbar-ios-dark .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-dark .bar-button-clear-ios-light.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-dark .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-dark .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-dark .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-dark .bar-button-clear-ios-dark,.toolbar-ios-dark .bar-button-dark-ios,.toolbar-ios-dark .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-dark .bar-button-clear-ios-dark.activated,.toolbar-ios-dark .bar-button-dark-ios.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-dark .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-dark .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-dark .bar-button-clear-ios-optblue,.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue,.toolbar-ios-dark .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-dark .bar-button-clear-ios-optblue.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-dark .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-dark .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-dark .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-dark,.bar-button-dark-ios,.bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.bar-button-clear-ios-dark:hover:not(.disable-hover),.bar-button-dark-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.bar-button-clear-ios-dark.activated,.bar-button-dark-ios.activated,.bar-button-default.bar-button-ios-dark.activated{opacity:.4}.bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.bar-button-solid-ios-dark{color:#fff;background-color:#222}.bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-optblue .toolbar-background-ios{background:#e00201}.toolbar-ios-optblue .bar-button-clear-ios,.toolbar-ios-optblue .bar-button-default-ios,.toolbar-ios-optblue .toolbar-title-ios{color:#fff}.toolbar-ios-optblue .bar-button-clear-ios-primary,.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary,.toolbar-ios-optblue .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-optblue .bar-button-clear-ios-primary.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-optblue .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-optblue .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-optblue .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-optblue .bar-button-clear-ios-secondary,.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary,.toolbar-ios-optblue .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-optblue .bar-button-clear-ios-secondary.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-optblue .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-optblue .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-optblue .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-optblue .bar-button-clear-ios-danger,.toolbar-ios-optblue .bar-button-danger-ios,.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-optblue .bar-button-clear-ios-danger.activated,.toolbar-ios-optblue .bar-button-danger-ios.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-optblue .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-optblue .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-optblue .bar-button-clear-ios-light,.toolbar-ios-optblue .bar-button-default.bar-button-ios-light,.toolbar-ios-optblue .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-optblue .bar-button-clear-ios-light.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-optblue .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-optblue .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-optblue .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-optblue .bar-button-clear-ios-dark,.toolbar-ios-optblue .bar-button-dark-ios,.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-optblue .bar-button-clear-ios-dark.activated,.toolbar-ios-optblue .bar-button-dark-ios.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-optblue .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-optblue .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-optblue .bar-button-clear-ios-optblue,.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue,.toolbar-ios-optblue .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-optblue .bar-button-clear-ios-optblue.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-optblue .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-optblue .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-optblue .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-optblue,.bar-button-default.bar-button-ios-optblue,.bar-button-optblue-ios{color:#e00201;background-color:transparent}.bar-button-clear-ios-optblue:hover:not(.disable-hover),.bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.bar-button-clear-ios-optblue.activated,.bar-button-default.bar-button-ios-optblue.activated,.bar-button-optblue-ios.activated{opacity:.4}.bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-strong-ios{font-weight:600}.toolbar-md{padding:4px;min-height:56px}.toolbar-background-md{border-color:#b2b2b2;background:#f8f8f8}.footer-md::before,.header-md::after,.tabs-md[tabsPlacement=bottom]>.tabbar::before,.tabs-md[tabsPlacement=top]>.tabbar::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:""}.footer-md::before,.tabs-md[tabsPlacement=bottom]>.tabbar::before{top:-2px;bottom:auto;background-position:left 0 top 0;height:2px}.footer-md[no-border]::before,.header-md[no-border]::after,.tabs-md[tabsPlacement=bottom][no-border]>.tabbar::before,.tabs-md[tabsPlacement=top][no-border]>.tabbar::after{display:none}.toolbar-content-md{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;min-width:0;max-width:100%}.toolbar-title-md{padding:0 12px;font-size:2rem;font-weight:500;color:#424242}.bar-buttons-md{-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-md[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-button-md:first-child{margin-left:0}.bar-buttons-md[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-md[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-md{margin:0 .2rem;padding:0 5px;border-radius:2px;height:32px;border:0;font-size:1.4rem;font-weight:500;text-transform:uppercase}.bar-button-outline-md,.bar-button-solid-md{overflow:hidden}.bar-button-outline-md{border-width:1px;border-style:solid;border-color:#424242;color:#424242;background-color:transparent}.bar-button-outline-md:hover:not(.disable-hover){opacity:.4}.bar-button-outline-md.activated{background-color:transparent}.bar-button-outline-md .button-effect{background-color:#424242}.bar-button-solid-md{color:#fff;background-color:#424242}.bar-button-solid-md:hover:not(.disable-hover){color:#fff}.bar-button-solid-md.activated{color:#fff;background-color:#515151}.bar-button-md.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-md.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-md[icon-only]{padding:0}.bar-button-md[icon-only] ion-icon{padding:0 .1em;min-width:28px;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-md{margin:0 6px;min-width:44px;-webkit-box-shadow:none;box-shadow:none}.back-button-icon-md{margin:0;padding:0 6px;text-align:left;text-align:start;font-size:2.4rem;font-weight:400}.bar-button-menutoggle-md{margin:0 6px;padding:0 2px;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:44px}.bar-button-menutoggle-md ion-icon{padding:0 6px;font-size:2.4rem}.bar-button-menutoggle-md[end],.bar-button-menutoggle-md[right]{margin:0 2px;-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7;min-width:28px}.bar-button-clear-md-default,.bar-button-default-md,.bar-button-md-default{color:#424242;background-color:transparent}.bar-button-clear-md-default:hover:not(.disable-hover),.bar-button-default-md:hover:not(.disable-hover),.bar-button-md-default:hover:not(.disable-hover){color:#424242}.bar-button-clear-md,.bar-button-clear-md-clear,.bar-button-md-clear{color:#424242;background-color:transparent}.bar-button-clear-md-clear:hover:not(.disable-hover),.bar-button-clear-md:hover:not(.disable-hover),.bar-button-md-clear:hover:not(.disable-hover){color:#424242}.toolbar-md-primary .toolbar-background-md{background:#673ab7}.toolbar-md-primary .bar-button-clear-md,.toolbar-md-primary .bar-button-default-md,.toolbar-md-primary .bar-button-outline-md,.toolbar-md-primary .toolbar-title-md{color:#fff}.toolbar-md-primary .bar-button-clear-md .button-effect,.toolbar-md-primary .bar-button-default-md .button-effect,.toolbar-md-primary .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-primary .bar-button-outline-md{border-color:#fff}.toolbar-md-primary .bar-button-clear-md-primary,.toolbar-md-primary .bar-button-md-primary,.toolbar-md-primary .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-primary .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-primary .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-primary .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-primary .bar-button-clear-md-secondary,.toolbar-md-primary .bar-button-md-secondary,.toolbar-md-primary .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-primary .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-primary .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-primary .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-primary .bar-button-clear-md-danger,.toolbar-md-primary .bar-button-danger-md,.toolbar-md-primary .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-primary .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-primary .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-primary .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-primary .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-primary .bar-button-clear-md-light,.toolbar-md-primary .bar-button-light-md,.toolbar-md-primary .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-primary .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-primary .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-primary .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-primary .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-primary .bar-button-clear-md-dark,.toolbar-md-primary .bar-button-dark-md,.toolbar-md-primary .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-primary .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-primary .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-primary .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-primary .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-primary .bar-button-clear-md-optblue,.toolbar-md-primary .bar-button-md-optblue,.toolbar-md-primary .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-primary .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-primary .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-primary .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-primary .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-primary,.bar-button-md-primary,.bar-button-primary-md{color:#673ab7;background-color:transparent}.bar-button-clear-md-primary:hover:not(.disable-hover),.bar-button-md-primary:hover:not(.disable-hover),.bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.bar-button-outline-md-primary.activated{background-color:transparent}.bar-button-outline-md-primary .button-effect{background-color:#734abd}.bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-secondary .toolbar-background-md{background:#32db64}.toolbar-md-secondary .bar-button-clear-md,.toolbar-md-secondary .bar-button-default-md,.toolbar-md-secondary .bar-button-outline-md,.toolbar-md-secondary .toolbar-title-md{color:#fff}.toolbar-md-secondary .bar-button-clear-md .button-effect,.toolbar-md-secondary .bar-button-default-md .button-effect,.toolbar-md-secondary .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-secondary .bar-button-outline-md{border-color:#fff}.toolbar-md-secondary .bar-button-clear-md-primary,.toolbar-md-secondary .bar-button-md-primary,.toolbar-md-secondary .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-secondary .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-secondary .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-secondary .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-secondary .bar-button-clear-md-secondary,.toolbar-md-secondary .bar-button-md-secondary,.toolbar-md-secondary .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-secondary .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-secondary .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-secondary .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-secondary .bar-button-clear-md-danger,.toolbar-md-secondary .bar-button-danger-md,.toolbar-md-secondary .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-secondary .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-secondary .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-secondary .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-secondary .bar-button-clear-md-light,.toolbar-md-secondary .bar-button-light-md,.toolbar-md-secondary .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-secondary .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-secondary .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-secondary .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-secondary .bar-button-clear-md-dark,.toolbar-md-secondary .bar-button-dark-md,.toolbar-md-secondary .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-secondary .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-secondary .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-secondary .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-secondary .bar-button-clear-md-optblue,.toolbar-md-secondary .bar-button-md-optblue,.toolbar-md-secondary .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-secondary .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-secondary .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-secondary .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-secondary,.bar-button-md-secondary,.bar-button-secondary-md{color:#32db64;background-color:transparent}.bar-button-clear-md-secondary:hover:not(.disable-hover),.bar-button-md-secondary:hover:not(.disable-hover),.bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.bar-button-outline-md-secondary.activated{background-color:transparent}.bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-danger .toolbar-background-md{background:#f53d3d}.toolbar-md-danger .bar-button-clear-md,.toolbar-md-danger .bar-button-default-md,.toolbar-md-danger .bar-button-outline-md,.toolbar-md-danger .toolbar-title-md{color:#fff}.toolbar-md-danger .bar-button-clear-md .button-effect,.toolbar-md-danger .bar-button-default-md .button-effect,.toolbar-md-danger .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-danger .bar-button-outline-md{border-color:#fff}.toolbar-md-danger .bar-button-clear-md-primary,.toolbar-md-danger .bar-button-md-primary,.toolbar-md-danger .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-danger .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-danger .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-danger .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-danger .bar-button-clear-md-secondary,.toolbar-md-danger .bar-button-md-secondary,.toolbar-md-danger .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-danger .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-danger .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-danger .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-danger .bar-button-clear-md-danger,.toolbar-md-danger .bar-button-danger-md,.toolbar-md-danger .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-danger .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-danger .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-danger .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-danger .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-danger .bar-button-clear-md-light,.toolbar-md-danger .bar-button-light-md,.toolbar-md-danger .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-danger .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-danger .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-danger .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-danger .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-danger .bar-button-clear-md-dark,.toolbar-md-danger .bar-button-dark-md,.toolbar-md-danger .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-danger .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-danger .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-danger .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-danger .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-danger .bar-button-clear-md-optblue,.toolbar-md-danger .bar-button-md-optblue,.toolbar-md-danger .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-danger .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-danger .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-danger .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-danger .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-danger,.bar-button-danger-md,.bar-button-md-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-md-danger:hover:not(.disable-hover),.bar-button-danger-md:hover:not(.disable-hover),.bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.bar-button-outline-md-danger.activated{background-color:transparent}.bar-button-outline-md-danger .button-effect{background-color:#e13838}.bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-light .toolbar-background-md{background:#f4f4f4}.toolbar-md-light .bar-button-clear-md,.toolbar-md-light .bar-button-default-md,.toolbar-md-light .bar-button-outline-md,.toolbar-md-light .toolbar-title-md{color:#424242}.toolbar-md-light .bar-button-clear-md .button-effect,.toolbar-md-light .bar-button-default-md .button-effect,.toolbar-md-light .bar-button-outline-md .button-effect{background-color:#424242}.toolbar-md-light .bar-button-outline-md{border-color:#424242}.toolbar-md-light .bar-button-clear-md-primary,.toolbar-md-light .bar-button-md-primary,.toolbar-md-light .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-light .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-light .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-light .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-light .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-light .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-light .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-light .bar-button-clear-md-secondary,.toolbar-md-light .bar-button-md-secondary,.toolbar-md-light .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-light .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-light .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-light .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-light .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-light .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-light .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-light .bar-button-clear-md-danger,.toolbar-md-light .bar-button-danger-md,.toolbar-md-light .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-light .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-light .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-light .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-light .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-light .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-light .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-light .bar-button-clear-md-light,.toolbar-md-light .bar-button-light-md,.toolbar-md-light .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-light .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-light .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-light .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-light .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-light .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-light .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-light .bar-button-clear-md-dark,.toolbar-md-light .bar-button-dark-md,.toolbar-md-light .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-light .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-light .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-light .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-light .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-light .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-light .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-light .bar-button-clear-md-optblue,.toolbar-md-light .bar-button-md-optblue,.toolbar-md-light .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-light .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-light .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-light .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-light .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-light .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-light .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-light,.bar-button-light-md,.bar-button-md-light{color:#f4f4f4;background-color:transparent}.bar-button-clear-md-light:hover:not(.disable-hover),.bar-button-light-md:hover:not(.disable-hover),.bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.bar-button-outline-md-light.activated{background-color:transparent}.bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-dark .toolbar-background-md{background:#222}.toolbar-md-dark .bar-button-clear-md,.toolbar-md-dark .bar-button-default-md,.toolbar-md-dark .bar-button-outline-md,.toolbar-md-dark .toolbar-title-md{color:#fff}.toolbar-md-dark .bar-button-clear-md .button-effect,.toolbar-md-dark .bar-button-default-md .button-effect,.toolbar-md-dark .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-dark .bar-button-outline-md{border-color:#fff}.toolbar-md-dark .bar-button-clear-md-primary,.toolbar-md-dark .bar-button-md-primary,.toolbar-md-dark .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-dark .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-dark .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-dark .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-dark .bar-button-clear-md-secondary,.toolbar-md-dark .bar-button-md-secondary,.toolbar-md-dark .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-dark .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-dark .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-dark .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-dark .bar-button-clear-md-danger,.toolbar-md-dark .bar-button-danger-md,.toolbar-md-dark .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-dark .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-dark .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-dark .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-dark .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-dark .bar-button-clear-md-light,.toolbar-md-dark .bar-button-light-md,.toolbar-md-dark .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-dark .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-dark .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-dark .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-dark .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-dark .bar-button-clear-md-dark,.toolbar-md-dark .bar-button-dark-md,.toolbar-md-dark .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-dark .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-dark .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-dark .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-dark .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-dark .bar-button-clear-md-optblue,.toolbar-md-dark .bar-button-md-optblue,.toolbar-md-dark .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-dark .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-dark .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-dark .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-dark .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-dark,.bar-button-dark-md,.bar-button-md-dark{color:#222;background-color:transparent}.bar-button-clear-md-dark:hover:not(.disable-hover),.bar-button-dark-md:hover:not(.disable-hover),.bar-button-md-dark:hover:not(.disable-hover){color:#222}.bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.bar-button-outline-md-dark.activated{background-color:transparent}.bar-button-outline-md-dark .button-effect{background-color:#343434}.bar-button-solid-md-dark{color:#fff;background-color:#222}.bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-optblue .toolbar-background-md{background:#e00201}.toolbar-md-optblue .bar-button-clear-md,.toolbar-md-optblue .bar-button-default-md,.toolbar-md-optblue .bar-button-outline-md,.toolbar-md-optblue .toolbar-title-md{color:#fff}.toolbar-md-optblue .bar-button-clear-md .button-effect,.toolbar-md-optblue .bar-button-default-md .button-effect,.toolbar-md-optblue .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-optblue .bar-button-outline-md{border-color:#fff}.toolbar-md-optblue .bar-button-clear-md-primary,.toolbar-md-optblue .bar-button-md-primary,.toolbar-md-optblue .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-optblue .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-optblue .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-optblue .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-optblue .bar-button-clear-md-secondary,.toolbar-md-optblue .bar-button-md-secondary,.toolbar-md-optblue .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-optblue .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-optblue .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-optblue .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-optblue .bar-button-clear-md-danger,.toolbar-md-optblue .bar-button-danger-md,.toolbar-md-optblue .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-optblue .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-optblue .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-optblue .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-optblue .bar-button-clear-md-light,.toolbar-md-optblue .bar-button-light-md,.toolbar-md-optblue .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-optblue .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-optblue .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-optblue .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-optblue .bar-button-clear-md-dark,.toolbar-md-optblue .bar-button-dark-md,.toolbar-md-optblue .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-optblue .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-optblue .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-optblue .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-optblue .bar-button-clear-md-optblue,.toolbar-md-optblue .bar-button-md-optblue,.toolbar-md-optblue .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-optblue .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-optblue .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-optblue .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-optblue,.bar-button-md-optblue,.bar-button-optblue-md{color:#e00201;background-color:transparent}.bar-button-clear-md-optblue:hover:not(.disable-hover),.bar-button-md-optblue:hover:not(.disable-hover),.bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.bar-button-outline-md-optblue.activated{background-color:transparent}.bar-button-outline-md-optblue .button-effect{background-color:#e21615}.bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-strong-md{font-weight:700}.toolbar-wp{padding:4px;min-height:46px}.toolbar-background-wp{border-color:#b2b2b2;background:#f8f8f8}.toolbar-content-wp{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;min-width:0;max-width:100%}.toolbar-title-wp{font-size:1.5rem;font-weight:700;text-transform:uppercase;color:#000;padding:0 6px}.bar-buttons-wp{-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-wp[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-buttons-wp[left] .bar-button:first-child{margin-left:0}.bar-buttons-wp[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-wp[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-wp{margin:0 .2rem;padding:0 5px;border-radius:2px;height:32px;border:0;font-size:1.4rem;font-weight:500;text-transform:uppercase}.bar-button-outline-wp,.bar-button-solid-wp{overflow:hidden}.bar-button-outline-wp{border-width:1px;border-style:solid;border-color:#000;color:#000;background-color:transparent}.bar-button-outline-wp:hover:not(.disable-hover){opacity:.4}.bar-button-outline-wp.activated{color:#fff;background-color:#000}.bar-button-solid-wp{color:#fff;background-color:#000}.bar-button-solid-wp:hover:not(.disable-hover){color:#fff}.bar-button-solid-wp.activated{color:#fff;background-color:#141414}.bar-button-wp.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-wp.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-wp[icon-only]{padding:0}.bar-button-wp[icon-only] ion-icon{padding:0 .1em;min-width:28px;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-wp{margin:0 6px;min-width:44px;-webkit-box-shadow:none;box-shadow:none}.back-button-icon-wp{text-align:left;text-align:start;margin:0;padding:0 6px;font-size:2.4rem;font-weight:400}.bar-button-menutoggle-wp{margin:0 6px;padding:0 2px;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:44px}.bar-button-menutoggle-wp ion-icon{padding:0 6px;font-size:2.4rem}.bar-button-menutoggle-wp[end],.bar-button-menutoggle-wp[right]{margin:0 2px;-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7;min-width:28px}.bar-button-clear-wp-default,.bar-button-default-wp,.bar-button-wp-default{color:#000;background-color:transparent}.bar-button-clear-wp-default:hover:not(.disable-hover),.bar-button-default-wp:hover:not(.disable-hover),.bar-button-wp-default:hover:not(.disable-hover){color:#000}.bar-button-clear-wp,.bar-button-clear-wp-clear,.bar-button-wp-clear{color:#000;background-color:transparent}.bar-button-clear-wp-clear:hover:not(.disable-hover),.bar-button-clear-wp:hover:not(.disable-hover),.bar-button-wp-clear:hover:not(.disable-hover){color:#000}.toolbar-wp-primary .toolbar-background-wp{background:#673ab7}.toolbar-wp-primary .bar-button-clear-wp,.toolbar-wp-primary .bar-button-default-wp,.toolbar-wp-primary .bar-button-outline-wp,.toolbar-wp-primary .toolbar-title-wp{color:#fff}.toolbar-wp-primary .bar-button-outline-wp{border-color:#fff}.toolbar-wp-primary .bar-button-clear-wp-primary,.toolbar-wp-primary .bar-button-primary-wp,.toolbar-wp-primary .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-primary .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-primary .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-primary .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-primary .bar-button-clear-wp-secondary,.toolbar-wp-primary .bar-button-secondary-wp,.toolbar-wp-primary .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-primary .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-primary .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-primary .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-primary .bar-button-clear-wp-danger,.toolbar-wp-primary .bar-button-danger-wp,.toolbar-wp-primary .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-primary .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-primary .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-primary .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-primary .bar-button-clear-wp-light,.toolbar-wp-primary .bar-button-light-wp,.toolbar-wp-primary .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-primary .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-primary .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-primary .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-primary .bar-button-clear-wp-dark,.toolbar-wp-primary .bar-button-dark-wp,.toolbar-wp-primary .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-primary .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-primary .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-primary .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-primary .bar-button-clear-wp-optblue,.toolbar-wp-primary .bar-button-optblue-wp,.toolbar-wp-primary .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-primary .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-primary .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-primary .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-primary,.bar-button-primary-wp,.bar-button-wp-primary{color:#673ab7;background-color:transparent}.bar-button-clear-wp-primary:hover:not(.disable-hover),.bar-button-primary-wp:hover:not(.disable-hover),.bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .toolbar-background-wp{background:#32db64}.toolbar-wp-secondary .bar-button-clear-wp,.toolbar-wp-secondary .bar-button-default-wp,.toolbar-wp-secondary .bar-button-outline-wp,.toolbar-wp-secondary .toolbar-title-wp{color:#fff}.toolbar-wp-secondary .bar-button-outline-wp{border-color:#fff}.toolbar-wp-secondary .bar-button-clear-wp-primary,.toolbar-wp-secondary .bar-button-primary-wp,.toolbar-wp-secondary .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-secondary .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-secondary .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .bar-button-clear-wp-secondary,.toolbar-wp-secondary .bar-button-secondary-wp,.toolbar-wp-secondary .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-secondary .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-secondary .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-secondary .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-secondary .bar-button-clear-wp-danger,.toolbar-wp-secondary .bar-button-danger-wp,.toolbar-wp-secondary .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-secondary .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-secondary .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-secondary .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-secondary .bar-button-clear-wp-light,.toolbar-wp-secondary .bar-button-light-wp,.toolbar-wp-secondary .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-secondary .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-secondary .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-secondary .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-secondary .bar-button-clear-wp-dark,.toolbar-wp-secondary .bar-button-dark-wp,.toolbar-wp-secondary .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-secondary .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-secondary .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-secondary .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-secondary .bar-button-clear-wp-optblue,.toolbar-wp-secondary .bar-button-optblue-wp,.toolbar-wp-secondary .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-secondary .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-secondary .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-secondary .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-secondary,.bar-button-secondary-wp,.bar-button-wp-secondary{color:#32db64;background-color:transparent}.bar-button-clear-wp-secondary:hover:not(.disable-hover),.bar-button-secondary-wp:hover:not(.disable-hover),.bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .toolbar-background-wp{background:#f53d3d}.toolbar-wp-danger .bar-button-clear-wp,.toolbar-wp-danger .bar-button-default-wp,.toolbar-wp-danger .bar-button-outline-wp,.toolbar-wp-danger .toolbar-title-wp{color:#fff}.toolbar-wp-danger .bar-button-outline-wp{border-color:#fff}.toolbar-wp-danger .bar-button-clear-wp-primary,.toolbar-wp-danger .bar-button-primary-wp,.toolbar-wp-danger .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-danger .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-danger .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-danger .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-danger .bar-button-clear-wp-secondary,.toolbar-wp-danger .bar-button-secondary-wp,.toolbar-wp-danger .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-danger .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-danger .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .bar-button-clear-wp-danger,.toolbar-wp-danger .bar-button-danger-wp,.toolbar-wp-danger .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-danger .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-danger .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-danger .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-danger .bar-button-clear-wp-light,.toolbar-wp-danger .bar-button-light-wp,.toolbar-wp-danger .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-danger .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-danger .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-danger .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-danger .bar-button-clear-wp-dark,.toolbar-wp-danger .bar-button-dark-wp,.toolbar-wp-danger .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-danger .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-danger .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-danger .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-danger .bar-button-clear-wp-optblue,.toolbar-wp-danger .bar-button-optblue-wp,.toolbar-wp-danger .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-danger .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-danger .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-danger .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-danger,.bar-button-danger-wp,.bar-button-wp-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-wp-danger:hover:not(.disable-hover),.bar-button-danger-wp:hover:not(.disable-hover),.bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .toolbar-background-wp{background:#f4f4f4}.toolbar-wp-light .bar-button-clear-wp,.toolbar-wp-light .bar-button-default-wp,.toolbar-wp-light .bar-button-outline-wp,.toolbar-wp-light .toolbar-title-wp{color:#000}.toolbar-wp-light .bar-button-outline-wp{border-color:#000}.toolbar-wp-light .bar-button-clear-wp-primary,.toolbar-wp-light .bar-button-primary-wp,.toolbar-wp-light .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-light .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-light .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-light .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-light .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-light .bar-button-clear-wp-secondary,.toolbar-wp-light .bar-button-secondary-wp,.toolbar-wp-light .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-light .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-light .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-light .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-light .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-light .bar-button-clear-wp-danger,.toolbar-wp-light .bar-button-danger-wp,.toolbar-wp-light .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-light .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-light .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-light .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .bar-button-clear-wp-light,.toolbar-wp-light .bar-button-light-wp,.toolbar-wp-light .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-light .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-light .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-light .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-light .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-light .bar-button-clear-wp-dark,.toolbar-wp-light .bar-button-dark-wp,.toolbar-wp-light .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-light .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-light .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-light .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-light .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-light .bar-button-clear-wp-optblue,.toolbar-wp-light .bar-button-optblue-wp,.toolbar-wp-light .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-light .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-light .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-light .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-light .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-light,.bar-button-light-wp,.bar-button-wp-light{color:#f4f4f4;background-color:transparent}.bar-button-clear-wp-light:hover:not(.disable-hover),.bar-button-light-wp:hover:not(.disable-hover),.bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .toolbar-background-wp{background:#222}.toolbar-wp-dark .bar-button-clear-wp,.toolbar-wp-dark .bar-button-default-wp,.toolbar-wp-dark .bar-button-outline-wp,.toolbar-wp-dark .toolbar-title-wp{color:#fff}.toolbar-wp-dark .bar-button-outline-wp{border-color:#fff}.toolbar-wp-dark .bar-button-clear-wp-primary,.toolbar-wp-dark .bar-button-primary-wp,.toolbar-wp-dark .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-dark .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-dark .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-dark .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-dark .bar-button-clear-wp-secondary,.toolbar-wp-dark .bar-button-secondary-wp,.toolbar-wp-dark .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-dark .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-dark .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-dark .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-dark .bar-button-clear-wp-danger,.toolbar-wp-dark .bar-button-danger-wp,.toolbar-wp-dark .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-dark .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-dark .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-dark .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-dark .bar-button-clear-wp-light,.toolbar-wp-dark .bar-button-light-wp,.toolbar-wp-dark .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-dark .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-dark .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .bar-button-clear-wp-dark,.toolbar-wp-dark .bar-button-dark-wp,.toolbar-wp-dark .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-dark .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-dark .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-dark .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-dark .bar-button-clear-wp-optblue,.toolbar-wp-dark .bar-button-optblue-wp,.toolbar-wp-dark .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-dark .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-dark .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-dark .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-dark,.bar-button-dark-wp,.bar-button-wp-dark{color:#222;background-color:transparent}.bar-button-clear-wp-dark:hover:not(.disable-hover),.bar-button-dark-wp:hover:not(.disable-hover),.bar-button-wp-dark:hover:not(.disable-hover){color:#222}.bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.bar-button-solid-wp-dark{color:#fff;background-color:#222}.bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .toolbar-background-wp{background:#e00201}.toolbar-wp-optblue .bar-button-clear-wp,.toolbar-wp-optblue .bar-button-default-wp,.toolbar-wp-optblue .bar-button-outline-wp,.toolbar-wp-optblue .toolbar-title-wp{color:#fff}.toolbar-wp-optblue .bar-button-outline-wp{border-color:#fff}.toolbar-wp-optblue .bar-button-clear-wp-primary,.toolbar-wp-optblue .bar-button-primary-wp,.toolbar-wp-optblue .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-optblue .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-optblue .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-optblue .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-optblue .bar-button-clear-wp-secondary,.toolbar-wp-optblue .bar-button-secondary-wp,.toolbar-wp-optblue .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-optblue .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-optblue .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-optblue .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-optblue .bar-button-clear-wp-danger,.toolbar-wp-optblue .bar-button-danger-wp,.toolbar-wp-optblue .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-optblue .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-optblue .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-optblue .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-optblue .bar-button-clear-wp-light,.toolbar-wp-optblue .bar-button-light-wp,.toolbar-wp-optblue .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-optblue .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-optblue .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-optblue .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-optblue .bar-button-clear-wp-dark,.toolbar-wp-optblue .bar-button-dark-wp,.toolbar-wp-optblue .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-optblue .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-optblue .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .bar-button-clear-wp-optblue,.toolbar-wp-optblue .bar-button-optblue-wp,.toolbar-wp-optblue .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-optblue .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-optblue .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-optblue .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-optblue,.bar-button-optblue-wp,.bar-button-wp-optblue{color:#e00201;background-color:transparent}.bar-button-clear-wp-optblue:hover:not(.disable-hover),.bar-button-optblue-wp:hover:not(.disable-hover),.bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-strong-wp{font-weight:700}.text-ios-primary{color:#673ab7}.text-ios-secondary{color:#32db64}.text-ios-danger{color:#f53d3d}.text-ios-light{color:#f4f4f4}.text-ios-dark{color:#222}.text-ios-optblue{color:#e00201}.text-md-primary{color:#673ab7}.text-md-secondary{color:#32db64}.text-md-danger{color:#f53d3d}.text-md-light{color:#f4f4f4}.text-md-dark{color:#222}.text-md-optblue{color:#e00201}.text-wp-primary{color:#673ab7}.text-wp-secondary{color:#32db64}.text-wp-danger{color:#f53d3d}.text-wp-light{color:#f4f4f4}.text-wp-dark{color:#222}.text-wp-optblue{color:#e00201}.virtual-loading{opacity:0}.virtual-scroll{position:relative;contain:content}.virtual-scroll .virtual-position,.virtual-scroll .virtual-position.item{left:0;top:0;position:absolute;-webkit-transition-duration:0s;transition-duration:0s;contain:content}.virtual-scroll .virtual-last{display:none}.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child ion-title,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child ion-title,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child ion-title{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);height:calc(44px + 20px);height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}@media only screen and (max-width:767px){.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);height:calc(44px + 20px);height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}}.ios .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.ios ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(44px + constant(safe-area-inset-bottom));min-height:calc(44px + env(safe-area-inset-bottom))}.md ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.md ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.md ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.md ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.md ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.md ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.md ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(56px + 20px);min-height:calc(56px + constant(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top))}.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}@media only screen and (max-width:767px){.md .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(56px + 20px);min-height:calc(56px + constant(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top))}.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}.md .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.md ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(56px + constant(safe-area-inset-bottom));min-height:calc(56px + env(safe-area-inset-bottom))}.wp ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.wp ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.wp ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.wp ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(46px + 20px);min-height:calc(46px + constant(safe-area-inset-top));min-height:calc(46px + env(safe-area-inset-top))}.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}@media only screen and (max-width:767px){.wp .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(46px + 20px);min-height:calc(46px + constant(safe-area-inset-top));min-height:calc(46px + env(safe-area-inset-top))}.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}.wp .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.wp ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(46px + constant(safe-area-inset-bottom));min-height:calc(46px + env(safe-area-inset-bottom))}image-viewer.ion-page{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;opacity:1}image-viewer.ion-page ion-navbar.toolbar .toolbar-background{background-color:transparent}image-viewer.ion-page ion-navbar.toolbar.toolbar-ios{padding-top:calc(20px + 4px)}image-viewer.ion-page ion-navbar .bar-button-default{color:#fff}image-viewer.ion-page .backdrop{will-change:opacity}image-viewer.ion-page .image-wrapper{position:relative;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-top:56px;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}image-viewer.ion-page .image{will-change:transform}image-viewer.ion-page img{display:block;max-width:100%;max-height:100%;margin:0 auto}@font-face{font-family:Roboto;src:url(../assets/fonts/Roboto-Light.ttf)}*{font-family:Roboto;font-size:16px}.align-center{text-align:center}.highlight{background-color:#f4f4f4}.center{display:block;margin:0 auto}.vertical-center{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.top-radius{border-radius:10% 10% 0 0}.bottom-radius{border-radius:0 0 10% 10%}.round{border-radius:50%}.transparent-header .back-button,.transparent-header .toolbar-content{color:#fff}.transparent-header .toolbar-background,.transparent-header ion-header,.transparent-header ion-navbar{background:0 0!important;background-color:transparent!important}.transparent-header .header-md::after,.transparent-header .toolbar-background-ios{background-image:none;border-bottom:0}.transparent-header .footer-ios .toolbar-background-ios,.transparent-header .header-ios .toolbar-background-ios{border:0}#menu-right button{padding-left:16px}#menu-right ion-content{background:#00d2ff;background:-webkit-gradient(linear,right top,left top,from(#3a7bd5),to(#00d2ff));background:linear-gradient(to left,#3a7bd5,#00d2ff)}#menu-right .menu-inner{width:10vh}@media screen and (orientation:landscape){#menu-right .menu-inner{width:15vh}}#menu-right .active-menu-item{position:absolute;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #fff}#menu-right .label{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#menu-right .list-ios[no-lines] .item .item-inner,#menu-right .list-ios[no-lines] .item-block,#menu-right .list-ios[no-lines] ion-item-options,#menu-right .list-md[no-lines] .item .item-inner,#menu-right .list-md[no-lines] .item-block,#menu-right .list-md[no-lines] ion-item-options{padding:.3rem 0;background:0 0;color:#fff}#menu-right ion-icon{line-height:1}.icon-badge{top:0;right:0;background:#e00201;color:#fff;font-size:12px;position:absolute;padding:5px 8px;border-radius:15px}#menu-avatar .user-avatar{max-width:125px;height:125px;padding:.5em}#menu-avatar .label,#menu-avatar h3{color:#fff;font-weight:700;font-size:14px}#menu-avatar .item{background:0 0}#menu-avatar ion-content{background:#649173;background:-webkit-gradient(linear,right top,left top,from(#dbd5a4),to(#649173));background:linear-gradient(to left,#dbd5a4,#649173)}#menu-avatar .menu-inner{background:rgba(255,255,255,.3)}#menu-material .scroll-content .name{font-weight:500;margin-top:0;margin-left:0;font-size:24px}#menu-material .scroll-content .e-mail{margin-top:0;margin-bottom:5px}#menu-material .user-avatar{max-width:125px;height:125px;padding:.5em;height:12vh}#menu-material .label,#menu-material h3{color:#111;font-weight:500}#menu-material .menu-inner{-webkit-box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important;box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}#menu-material .menu-header{background-image:url(../assets/img/misc/sidemenubg.jpg);background-size:cover;color:#fff;padding-bottom:15px}#menu-material .item-md{background-color:rgba(255,255,255,.28)!important}#menu-material ion-icon{color:#111}#menu-dark .sidemenuHeader ion-toolbar .toolbar-background{background:#19152c;border:#19152c}#menu-dark .sidemenuHeader ion-toolbar ion-buttons button{color:#fff}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item{background:0 0;color:#fff}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar{background:#fff;color:#8835c3;border-radius:50%;text-align:center}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar h2{margin:0;font-size:25px;line-height:40px;color:#19152c}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item h2{font-size:12px;font-weight:400}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item p{font-size:11px;font-weight:400;color:#fff}#menu-dark .menu{background:#19152c}#menu-dark .menu ion-list button{background:0 0;color:#c9c7d3;font-size:13px}#menu-dark .menu ion-list button .item-inner{border-bottom:1px solid #474456!important}#menu-dark .menu ion-list button .item-inner img{width:30px;height:30px;vertical-align:middle;margin-right:10px;margin-bottom:5px}page-auth .scroll-content{background-color:#eee}page-auth .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-auth h4{font-weight:400}page-auth button.mat-primary{background-color:#e00201!important}page-auth .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-auth .rounded-circle{border-radius:50%!important}page-auth .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-auth ion-icon{font-size:2.2em}page-googleplaytab .SwipedTabs-indicatorSegment{-webkit-transition:.2s all;transition:.2s all;-webkit-transform-origin:top 0 left 0;transform-origin:top 0 left 0;height:1px;position:relative;top:-2px;background-color:#00f!important}page-googleplaytab .SwipedTabs-tabs ion-segment-button{border:none!important;color:#111!important;background-color:#fff!important;padding-left:16px!important;padding-right:20px!important}page-googleplaytab .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab{color:#00f!important}page-googleplaytab .SwipedTabs-tabs{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}page-googleplaytab .toolbar *{margin:0!important}page-googleplaytab .tabsContent .scroll-content{overflow-x:scroll!important}page-googleplaytab .tabsContent{height:50px!important}page-googleplaytab .segment-button{max-width:initial!important;-webkit-box-flex:1!important;-webkit-flex:auto!important;-ms-flex:auto!important;flex:auto!important;width:initial!important}page-googleplaytab .segment-md .segment-button{font-size:2rem}page-googleplaytab .scroll-content{background-color:#eee!important}page-googleplaytab .grid{padding:0}page-googleplaytab h1{margin:2px 0;font-size:2.2rem!important}page-googleplaytab .scroll-content{background-color:#eee!important;padding:0!important}page-googleplaytab .mat-card{-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(156,39,176,.6)!important;box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(156,39,176,.6)!important;margin-bottom:3px}page-googleplaytab h2{font-size:2rem;font-weight:400}page-input .example-form{min-width:150px;max-width:500px;width:100%}page-input .example-full-width{width:100%}page-input .cusicon{padding-top:36px;font-size:23px;color:#3272b2}page-input mat-grid-tile{background:#fff!important}page-input .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-input .box{-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(50,114,178,.59)!important;box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(50,114,178,.59)!important}page-input .scroll-content{background-color:#eee!important}page-input .mat-card{padding:7px 16px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input *{font-size:14px}page-input .mat-card-title{margin-bottom:0}page-input .button-md-primary{background-color:#e00201!important;margin-bottom:0!important;height:50px}page-input .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input .fab-md-optblue{-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input ion-footer{position:absolute}page-input .cardinfo{font-size:19px!important;padding-bottom:30px!important}page-input .input-cover{position:static}page-input .leaveDays{color:red}page-login .scroll-content{background-image:url(../assets/img/misc/login.jpg);background-size:cover}page-login .form{margin:22px;font:inherit;color:inherit}page-login .mat-card{margin-top:50%;background-color:rgba(255,255,255,.57);border-radius:10px}page-login .login-session{margin-top:50%}page-login img{height:70px!important}page-login *{font-size:25px!important}page-login button.mat-primary{background-color:#e00201!important}page-login .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-otp .scroll-content{background-color:#eee}page-otp .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-otp h4{font-weight:400}page-otp button.mat-primary{background-color:#e00201!important}page-otp .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-otp .rounded-circle{border-radius:50%!important;background-image:url(../assets/img/misc/avatar.jpg)}page-otp .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-otp ion-icon{font-size:2.2em}page-password .scroll-content{background-color:#eee}page-password .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-password h4{font-weight:400}page-password button.mat-primary{background-color:#dd4437!important}page-password .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-password .rounded-circle{border-radius:50%!important;background-image:url(../assets/img/misc/avatar.jpg)}page-password .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-password ion-icon{font-size:2.2em}page-pd-allocation mat-grid-tile{background:#fff!important}page-pd-allocation .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-allocation .scroll-content{background-color:#eee!important;padding:0!important}page-pd-allocation *{font-size:14px}page-pd-allocation .mat-card-title{margin-bottom:0}page-pd-allocation .lettericon{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-allocation .mat-card-header-text{margin:0}page-pd-allocation .mat-card-subtitle{margin-bottom:0}page-pd-allocation .mat-card-content>:last-child:not(.mat-card-footer){margin-top:0}page-pd-allocation p{margin-top:0!important;margin-left:5%!important}page-pd-allocation h2{margin:1px!important}page-pd-allocation .mat-card{border-radius:10px}page-pd-list mat-grid-tile{background:#fff!important}page-pd-list .grid{padding:0}page-pd-list .scroll-content{padding:0!important}page-pd-list .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-list .scroll-content{padding:0!important}page-pd-list .mat-card{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}page-pd-list *{font-size:10px}page-pd-list .mat-card-title{margin-bottom:0}page-pd-list .list-md{margin:0}page-pd-list .lettericon{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-list .label-md{margin:0}page-pd-list .item-md h4{font-size:1.7rem}page-pd-list .item-md ion-icon[item-start]+.item-inner{margin-left:0}page-pd-list .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-list .button-md-primary{margin-bottom:0!important;height:50px}page-pd-list ion-fab[middle]{top:17%!important}page-pd-list .fab-md-optblue{-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-list ion-footer{position:absolute}page-pd-question .SwipedTabs-indicatorSegment{-webkit-transition:.2s all;transition:.2s all;-webkit-transform-origin:top 0 left 0;transform-origin:top 0 left 0;height:1px;position:relative;top:-2px;background-color:#00f!important}page-pd-question .SwipedTabs-tabs ion-segment-button{border:none!important;color:#111!important;background-color:#fff!important;padding-left:16px!important;padding-right:20px!important}page-pd-question .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab{color:#00f!important}page-pd-question .SwipedTabs-tabs{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}page-pd-question .toolbar *{margin:0!important}page-pd-question .tabsContent .scroll-content{overflow-x:scroll!important}page-pd-question .tabsContent{height:50px!important}page-pd-question .segment-button{max-width:initial!important;-webkit-box-flex:1!important;-webkit-flex:auto!important;-ms-flex:auto!important;flex:auto!important;width:initial!important}page-pd-question .segment-md .segment-button{font-size:2rem}page-pd-question .scroll-content{background-color:#fff!important}page-pd-question .mat-card1{margin-bottom:5px}page-pd-question ion-scroll{position:inherit!important}page-pd-question .button-md{padding:25px 0 25px 0!important}page-pd-question-category mat-grid-tile{background:#fff!important}page-pd-question-category .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-question-category .grid{padding:0}page-pd-question-category h1{margin:2px 0;font-size:2.2rem!important}page-pd-question-category .scroll-content{background-color:#eee!important;padding:0!important}page-pd-question-category .mat-card{padding:0!important;-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(0,0,0,.2);box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(0,0,0,.2)}page-pd-question-category *{font-size:16px}page-pd-question-category .mat-card-title{margin-bottom:0}page-pd-question-category .list-md{margin:0}page-pd-question-category .lettericon{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-question-category .label-md{margin:0}page-pd-question-category .item-md h4{font-size:1.7rem}page-pd-question-category .item-md ion-icon[item-start]+.item-inner{margin-left:0}page-pd-question-category .button-md-primary{margin-bottom:0!important;height:50px}page-pd-question-address .scroll-content{background-color:#eee}page-pd-question-address .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-address .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-daily-sales .input-cover{position:static}page-pd-question-assessed-dash .mat-card{border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-dash .htag{font-size:1.5rem;margin-top:0}page-pd-question-assessed-dash .ion-icon-custome{font-size:2.8em;color:#e00201}page-pd-question-assessed-dash .item-ribbon{background-color:#fff;position:relative;-webkit-filter:none;filter:none;opacity:1}page-pd-question-assessed-dash .item-ribbon .ribbon{position:absolute;right:-5px;top:-5px;z-index:2;overflow:hidden;width:75px;height:75px;text-align:right}page-pd-question-assessed-dash .item-ribbon .ribbon span{font-size:1rem;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;transform:rotate(45deg);-webkit-transform:rotate(45deg);width:100px;display:block;background:#f53d3d;position:absolute;top:19px;right:-21px}page-pd-question-assessed-dash .item-ribbon .ribbon span::before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #f53d3d;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .item-ribbon .ribbon span::after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #f53d3d;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .ribbon.cruzeiro span{color:#fff;background:#20c127}page-pd-question-assessed-dash .ribbon.cruzeiro span::before{border-left:3px solid #20c127;border-top:3px solid #20c127}page-pd-question-assessed-dash .ribbon.cruzeiro span::after{border-right:3px solid #20c127;border-top:3px solid #20c127}page-pd-question-assessed-dash .ribbon.default span{color:#fff;background:#f53d3d}page-pd-question-assessed-dash .ribbon.default span::before{border-left:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .ribbon.default span::after{border-right:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-assessed-info .scroll-content{background-color:none}page-pd-question-assessed-info ion-scroll.scroll-y .scroll-content{width:100%;height:200px}page-pd-question-assessed-info span{font-size:12px}page-pd-question-assests .scroll-content{padding:16px}page-pd-question-assests .scroll-content{background-color:#eee}page-pd-question-assests .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assests .mat-card-content{margin-bottom:0!important}page-pd-question-banking .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-banking .mat-card-content{margin-bottom:0!important}page-pd-question-banking .scroll-content{background-color:#eee}page-pd-question-business-group .mat-expansion-panel{margin-bottom:10px!important;background-color:#e14533!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-group .mat-expansion-panel-header-title{color:#fff!important}page-pd-question-business-group .mat-card{margin-bottom:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;padding:3px 10px!important}page-pd-question-business-group .item-ribbon{background-color:#fff;position:relative;-webkit-filter:none;filter:none;opacity:1}page-pd-question-business-group .item-ribbon .ribbon{position:absolute;right:-5px;top:-5px;z-index:2;overflow:hidden;width:75px;height:75px;text-align:right}page-pd-question-business-group .item-ribbon .ribbon span{font-size:1rem;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;transform:rotate(45deg);-webkit-transform:rotate(45deg);width:73px;display:block;background:#f53d3d;position:absolute;top:10px;right:-17px}page-pd-question-business-group .item-ribbon .ribbon span::before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #f53d3d;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-business-group .item-ribbon .ribbon span::after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #f53d3d;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.answered span{color:#fff;background:green}page-pd-question-business-group .ribbon.answered span::before{border-left:3px solid green;border-top:3px solid green}page-pd-question-business-group .ribbon.answered span::after{border-right:3px solid green;border-top:3px solid green}page-pd-question-business-group .ribbon.notanswered span{color:#fff;background:#f53d3d}page-pd-question-business-group .ribbon.notanswered span::before{border-left:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.notanswered span::after{border-right:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.javascript span{color:#000;background:#f7e023}page-pd-question-business-group .ribbon.javascript span::before{border-left:3px solid #f7e023;border-top:3px solid #f7e023}page-pd-question-business-group .ribbon.javascript span::after{border-right:3px solid #f7e023;border-top:3px solid #f7e023}page-pd-question-business-assets mat-form-field{width:100%}page-pd-question-business-assets .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-assets .mat-card-content{margin-bottom:0!important}page-pd-question-business-assets .scroll-content{background-color:#eee}page-pd-question-business-banking .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-banking .mat-card-content{margin-bottom:0!important}page-pd-question-business-banking .accordion{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-banking .scroll-content{background-color:#eee}page-pd-question-business-info mat-form-field{width:100%}page-pd-question-business-info mat-card-title{font-weight:700;font-size:18px}page-pd-question-business-info mat-card-header{font-weight:700;font-size:18px}page-pd-question-business-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-info .mat-card-content{margin-bottom:0!important}page-pd-question-business-info .scroll-content{background-color:#eee}page-pd-question-client-info mat-hint{font-size:12px}page-pd-question-client-info .scroll-content{background-color:#eee}page-pd-question-client-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-client-info .mat-card-content{margin-bottom:0!important}page-pd-question-financial-info mat-form-field{width:100%}page-pd-question-financial-info .info>span{bottom:20px;margin-left:10px;font-size:13px}page-pd-question-financial-info b,page-pd-question-financial-info i{font-size:12px}page-pd-question-financial-info .greenhighlight{color:green;background-color:#fff}page-pd-question-financial-info .highlight{color:red;background-color:#fff}page-pd-question-financial-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-financial-info .mat-card-content{margin-bottom:0!important}page-pd-question-financial-info .scroll-content{background-color:#eee}page-pd-question-stock-info mat-hint{font-size:12px}page-pd-question-stock-info .scroll-content{background-color:#eee}page-pd-question-stock-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-stock-info .mat-card-content{margin-bottom:0!important}page-pd-question-supplier-info mat-hint{font-size:12px}page-pd-question-supplier-info .scroll-content{background-color:#eee}page-pd-question-supplier-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-supplier-info .mat-card-content{margin-bottom:0!important}page-pd-question-current-loans mat-form-field{width:100%}page-pd-question-current-loans mat-hint{font-size:11px}page-pd-question-current-loans .scroll-content{background-color:#eee}page-pd-question-current-loans .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-current-loans .mat-card-content{margin-bottom:0!important}page-pd-question-family mat-form-field{width:100%}page-pd-question-family .scroll-content{background-color:#eee}page-pd-question-family .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-family .mat-card-content{margin-bottom:0!important}page-pd-question-family h4{font-size:120%}page-pd-question-final-remark mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-final-remark mat-form-field{width:100%}page-pd-question-final-remark .scroll-content{background-color:#eee}page-pd-question-general-info .item-md{padding-left:0!important}page-pd-question-general-info .scroll-content{padding:6px!important;background-color:#eee}page-pd-question-general-info .button-large-md{height:20px!important;padding:0!important}page-pd-question-general-info .mat-card{margin-bottom:10px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-general-info .label-md{margin:10px 0 10px 0!important}page-pd-question-general-info ion-toggle{zoom:.8}page-pd-question-lender-representative mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-lender-representative .scroll-content{background-color:#eee}page-pd-question-loans mat-hint{font-size:12px}page-pd-question-loans .scroll-content{background-color:#eee}page-pd-question-loans .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-loans .mat-card-content{margin-bottom:0!important}page-pd-question-neighbour-hood mat-form-field{width:100%}page-pd-question-neighbour-hood mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-neighbour-hood mat-hint{font-size:11px}page-pd-question-neighbour-hood .scroll-content{background-color:#eee}page-pd-question-other-income mat-form-field{width:100%}page-pd-question-other-income mat-hint{font-size:11px}page-pd-question-other-income mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-other-income .mat-card-content{margin-bottom:0!important}page-pd-question-other-income .scroll-content{background-color:#eee}page-pd-question-rental-info .button-md{padding:0 2.9em!important} \ No newline at end of file +.ion-ios-add:before { + content: "\f102"; +} + +.ion-ios-add-circle:before { + content: "\f101"; +} + +.ion-ios-add-circle-outline:before { + content: "\f100"; +} + +.ion-ios-add-outline:before { + content: "\f102"; +} + +.ion-ios-alarm:before { + content: "\f3c8"; +} + +.ion-ios-alarm-outline:before { + content: "\f3c7"; +} + +.ion-ios-albums:before { + content: "\f3ca"; +} + +.ion-ios-albums-outline:before { + content: "\f3c9"; +} + +.ion-ios-alert:before { + content: "\f104"; +} + +.ion-ios-alert-outline:before { + content: "\f103"; +} + +.ion-ios-american-football:before { + content: "\f106"; +} + +.ion-ios-american-football-outline:before { + content: "\f105"; +} + +.ion-ios-analytics:before { + content: "\f3ce"; +} + +.ion-ios-analytics-outline:before { + content: "\f3cd"; +} + +.ion-ios-aperture:before { + content: "\f108"; +} + +.ion-ios-aperture-outline:before { + content: "\f107"; +} + +.ion-ios-apps:before { + content: "\f10a"; +} + +.ion-ios-apps-outline:before { + content: "\f109"; +} + +.ion-ios-appstore:before { + content: "\f10c"; +} + +.ion-ios-appstore-outline:before { + content: "\f10b"; +} + +.ion-ios-archive:before { + content: "\f10e"; +} + +.ion-ios-archive-outline:before { + content: "\f10d"; +} + +.ion-ios-arrow-back:before { + content: "\f3cf"; +} + +.ion-ios-arrow-back-outline:before { + content: "\f3cf"; +} + +.ion-ios-arrow-down:before { + content: "\f3d0"; +} + +.ion-ios-arrow-down-outline:before { + content: "\f3d0"; +} + +.ion-ios-arrow-dropdown:before { + content: "\f110"; +} + +.ion-ios-arrow-dropdown-circle:before { + content: "\f10f"; +} + +.ion-ios-arrow-dropdown-circle-outline:before { + content: "\f10f"; +} + +.ion-ios-arrow-dropdown-outline:before { + content: "\f110"; +} + +.ion-ios-arrow-dropleft:before { + content: "\f112"; +} + +.ion-ios-arrow-dropleft-circle:before { + content: "\f111"; +} + +.ion-ios-arrow-dropleft-circle-outline:before { + content: "\f111"; +} + +.ion-ios-arrow-dropleft-outline:before { + content: "\f112"; +} + +.ion-ios-arrow-dropright:before { + content: "\f114"; +} + +.ion-ios-arrow-dropright-circle:before { + content: "\f113"; +} + +.ion-ios-arrow-dropright-circle-outline:before { + content: "\f113"; +} + +.ion-ios-arrow-dropright-outline:before { + content: "\f114"; +} + +.ion-ios-arrow-dropup:before { + content: "\f116"; +} + +.ion-ios-arrow-dropup-circle:before { + content: "\f115"; +} + +.ion-ios-arrow-dropup-circle-outline:before { + content: "\f115"; +} + +.ion-ios-arrow-dropup-outline:before { + content: "\f116"; +} + +.ion-ios-arrow-forward:before { + content: "\f3d1"; +} + +.ion-ios-arrow-forward-outline:before { + content: "\f3d1"; +} + +.ion-ios-arrow-round-back:before { + content: "\f117"; +} + +.ion-ios-arrow-round-back-outline:before { + content: "\f117"; +} + +.ion-ios-arrow-round-down:before { + content: "\f118"; +} + +.ion-ios-arrow-round-down-outline:before { + content: "\f118"; +} + +.ion-ios-arrow-round-forward:before { + content: "\f119"; +} + +.ion-ios-arrow-round-forward-outline:before { + content: "\f119"; +} + +.ion-ios-arrow-round-up:before { + content: "\f11a"; +} + +.ion-ios-arrow-round-up-outline:before { + content: "\f11a"; +} + +.ion-ios-arrow-up:before { + content: "\f3d8"; +} + +.ion-ios-arrow-up-outline:before { + content: "\f3d8"; +} + +.ion-ios-at:before { + content: "\f3da"; +} + +.ion-ios-at-outline:before { + content: "\f3d9"; +} + +.ion-ios-attach:before { + content: "\f11b"; +} + +.ion-ios-attach-outline:before { + content: "\f11b"; +} + +.ion-ios-backspace:before { + content: "\f11d"; +} + +.ion-ios-backspace-outline:before { + content: "\f11c"; +} + +.ion-ios-barcode:before { + content: "\f3dc"; +} + +.ion-ios-barcode-outline:before { + content: "\f3db"; +} + +.ion-ios-baseball:before { + content: "\f3de"; +} + +.ion-ios-baseball-outline:before { + content: "\f3dd"; +} + +.ion-ios-basket:before { + content: "\f11f"; +} + +.ion-ios-basket-outline:before { + content: "\f11e"; +} + +.ion-ios-basketball:before { + content: "\f3e0"; +} + +.ion-ios-basketball-outline:before { + content: "\f3df"; +} + +.ion-ios-battery-charging:before { + content: "\f120"; +} + +.ion-ios-battery-charging-outline:before { + content: "\f120"; +} + +.ion-ios-battery-dead:before { + content: "\f121"; +} + +.ion-ios-battery-dead-outline:before { + content: "\f121"; +} + +.ion-ios-battery-full:before { + content: "\f122"; +} + +.ion-ios-battery-full-outline:before { + content: "\f122"; +} + +.ion-ios-beaker:before { + content: "\f124"; +} + +.ion-ios-beaker-outline:before { + content: "\f123"; +} + +.ion-ios-beer:before { + content: "\f126"; +} + +.ion-ios-beer-outline:before { + content: "\f125"; +} + +.ion-ios-bicycle:before { + content: "\f127"; +} + +.ion-ios-bicycle-outline:before { + content: "\f127"; +} + +.ion-ios-bluetooth:before { + content: "\f128"; +} + +.ion-ios-bluetooth-outline:before { + content: "\f128"; +} + +.ion-ios-boat:before { + content: "\f12a"; +} + +.ion-ios-boat-outline:before { + content: "\f129"; +} + +.ion-ios-body:before { + content: "\f3e4"; +} + +.ion-ios-body-outline:before { + content: "\f3e3"; +} + +.ion-ios-bonfire:before { + content: "\f12c"; +} + +.ion-ios-bonfire-outline:before { + content: "\f12b"; +} + +.ion-ios-book:before { + content: "\f3e8"; +} + +.ion-ios-book-outline:before { + content: "\f3e7"; +} + +.ion-ios-bookmark:before { + content: "\f12e"; +} + +.ion-ios-bookmark-outline:before { + content: "\f12d"; +} + +.ion-ios-bookmarks:before { + content: "\f3ea"; +} + +.ion-ios-bookmarks-outline:before { + content: "\f3e9"; +} + +.ion-ios-bowtie:before { + content: "\f130"; +} + +.ion-ios-bowtie-outline:before { + content: "\f12f"; +} + +.ion-ios-briefcase:before { + content: "\f3ee"; +} + +.ion-ios-briefcase-outline:before { + content: "\f3ed"; +} + +.ion-ios-browsers:before { + content: "\f3f0"; +} + +.ion-ios-browsers-outline:before { + content: "\f3ef"; +} + +.ion-ios-brush:before { + content: "\f132"; +} + +.ion-ios-brush-outline:before { + content: "\f131"; +} + +.ion-ios-bug:before { + content: "\f134"; +} + +.ion-ios-bug-outline:before { + content: "\f133"; +} + +.ion-ios-build:before { + content: "\f136"; +} + +.ion-ios-build-outline:before { + content: "\f135"; +} + +.ion-ios-bulb:before { + content: "\f138"; +} + +.ion-ios-bulb-outline:before { + content: "\f137"; +} + +.ion-ios-bus:before { + content: "\f13a"; +} + +.ion-ios-bus-outline:before { + content: "\f139"; +} + +.ion-ios-cafe:before { + content: "\f13c"; +} + +.ion-ios-cafe-outline:before { + content: "\f13b"; +} + +.ion-ios-calculator:before { + content: "\f3f2"; +} + +.ion-ios-calculator-outline:before { + content: "\f3f1"; +} + +.ion-ios-calendar:before { + content: "\f3f4"; +} + +.ion-ios-calendar-outline:before { + content: "\f3f3"; +} + +.ion-ios-call:before { + content: "\f13e"; +} + +.ion-ios-call-outline:before { + content: "\f13d"; +} + +.ion-ios-camera:before { + content: "\f3f6"; +} + +.ion-ios-camera-outline:before { + content: "\f3f5"; +} + +.ion-ios-car:before { + content: "\f140"; +} + +.ion-ios-car-outline:before { + content: "\f13f"; +} + +.ion-ios-card:before { + content: "\f142"; +} + +.ion-ios-card-outline:before { + content: "\f141"; +} + +.ion-ios-cart:before { + content: "\f3f8"; +} + +.ion-ios-cart-outline:before { + content: "\f3f7"; +} + +.ion-ios-cash:before { + content: "\f144"; +} + +.ion-ios-cash-outline:before { + content: "\f143"; +} + +.ion-ios-chatboxes:before { + content: "\f3fa"; +} + +.ion-ios-chatboxes-outline:before { + content: "\f3f9"; +} + +.ion-ios-chatbubbles:before { + content: "\f146"; +} + +.ion-ios-chatbubbles-outline:before { + content: "\f145"; +} + +.ion-ios-checkbox:before { + content: "\f148"; +} + +.ion-ios-checkbox-outline:before { + content: "\f147"; +} + +.ion-ios-checkmark:before { + content: "\f3ff"; +} + +.ion-ios-checkmark-circle:before { + content: "\f14a"; +} + +.ion-ios-checkmark-circle-outline:before { + content: "\f149"; +} + +.ion-ios-checkmark-outline:before { + content: "\f3ff"; +} + +.ion-ios-clipboard:before { + content: "\f14c"; +} + +.ion-ios-clipboard-outline:before { + content: "\f14b"; +} + +.ion-ios-clock:before { + content: "\f403"; +} + +.ion-ios-clock-outline:before { + content: "\f402"; +} + +.ion-ios-close:before { + content: "\f406"; +} + +.ion-ios-close-circle:before { + content: "\f14e"; +} + +.ion-ios-close-circle-outline:before { + content: "\f14d"; +} + +.ion-ios-close-outline:before { + content: "\f406"; +} + +.ion-ios-closed-captioning:before { + content: "\f150"; +} + +.ion-ios-closed-captioning-outline:before { + content: "\f14f"; +} + +.ion-ios-cloud:before { + content: "\f40c"; +} + +.ion-ios-cloud-circle:before { + content: "\f152"; +} + +.ion-ios-cloud-circle-outline:before { + content: "\f151"; +} + +.ion-ios-cloud-done:before { + content: "\f154"; +} + +.ion-ios-cloud-done-outline:before { + content: "\f153"; +} + +.ion-ios-cloud-download:before { + content: "\f408"; +} + +.ion-ios-cloud-download-outline:before { + content: "\f407"; +} + +.ion-ios-cloud-outline:before { + content: "\f409"; +} + +.ion-ios-cloud-upload:before { + content: "\f40b"; +} + +.ion-ios-cloud-upload-outline:before { + content: "\f40a"; +} + +.ion-ios-cloudy:before { + content: "\f410"; +} + +.ion-ios-cloudy-night:before { + content: "\f40e"; +} + +.ion-ios-cloudy-night-outline:before { + content: "\f40d"; +} + +.ion-ios-cloudy-outline:before { + content: "\f40f"; +} + +.ion-ios-code:before { + content: "\f157"; +} + +.ion-ios-code-download:before { + content: "\f155"; +} + +.ion-ios-code-download-outline:before { + content: "\f155"; +} + +.ion-ios-code-outline:before { + content: "\f157"; +} + +.ion-ios-code-working:before { + content: "\f156"; +} + +.ion-ios-code-working-outline:before { + content: "\f156"; +} + +.ion-ios-cog:before { + content: "\f412"; +} + +.ion-ios-cog-outline:before { + content: "\f411"; +} + +.ion-ios-color-fill:before { + content: "\f159"; +} + +.ion-ios-color-fill-outline:before { + content: "\f158"; +} + +.ion-ios-color-filter:before { + content: "\f414"; +} + +.ion-ios-color-filter-outline:before { + content: "\f413"; +} + +.ion-ios-color-palette:before { + content: "\f15b"; +} + +.ion-ios-color-palette-outline:before { + content: "\f15a"; +} + +.ion-ios-color-wand:before { + content: "\f416"; +} + +.ion-ios-color-wand-outline:before { + content: "\f415"; +} + +.ion-ios-compass:before { + content: "\f15d"; +} + +.ion-ios-compass-outline:before { + content: "\f15c"; +} + +.ion-ios-construct:before { + content: "\f15f"; +} + +.ion-ios-construct-outline:before { + content: "\f15e"; +} + +.ion-ios-contact:before { + content: "\f41a"; +} + +.ion-ios-contact-outline:before { + content: "\f419"; +} + +.ion-ios-contacts:before { + content: "\f161"; +} + +.ion-ios-contacts-outline:before { + content: "\f160"; +} + +.ion-ios-contract:before { + content: "\f162"; +} + +.ion-ios-contract-outline:before { + content: "\f162"; +} + +.ion-ios-contrast:before { + content: "\f163"; +} + +.ion-ios-contrast-outline:before { + content: "\f163"; +} + +.ion-ios-copy:before { + content: "\f41c"; +} + +.ion-ios-copy-outline:before { + content: "\f41b"; +} + +.ion-ios-create:before { + content: "\f165"; +} + +.ion-ios-create-outline:before { + content: "\f164"; +} + +.ion-ios-crop:before { + content: "\f41e"; +} + +.ion-ios-crop-outline:before { + content: "\f166"; +} + +.ion-ios-cube:before { + content: "\f168"; +} + +.ion-ios-cube-outline:before { + content: "\f167"; +} + +.ion-ios-cut:before { + content: "\f16a"; +} + +.ion-ios-cut-outline:before { + content: "\f169"; +} + +.ion-ios-desktop:before { + content: "\f16c"; +} + +.ion-ios-desktop-outline:before { + content: "\f16b"; +} + +.ion-ios-disc:before { + content: "\f16e"; +} + +.ion-ios-disc-outline:before { + content: "\f16d"; +} + +.ion-ios-document:before { + content: "\f170"; +} + +.ion-ios-document-outline:before { + content: "\f16f"; +} + +.ion-ios-done-all:before { + content: "\f171"; +} + +.ion-ios-done-all-outline:before { + content: "\f171"; +} + +.ion-ios-download:before { + content: "\f420"; +} + +.ion-ios-download-outline:before { + content: "\f41f"; +} + +.ion-ios-easel:before { + content: "\f173"; +} + +.ion-ios-easel-outline:before { + content: "\f172"; +} + +.ion-ios-egg:before { + content: "\f175"; +} + +.ion-ios-egg-outline:before { + content: "\f174"; +} + +.ion-ios-exit:before { + content: "\f177"; +} + +.ion-ios-exit-outline:before { + content: "\f176"; +} + +.ion-ios-expand:before { + content: "\f178"; +} + +.ion-ios-expand-outline:before { + content: "\f178"; +} + +.ion-ios-eye:before { + content: "\f425"; +} + +.ion-ios-eye-off:before { + content: "\f17a"; +} + +.ion-ios-eye-off-outline:before { + content: "\f179"; +} + +.ion-ios-eye-outline:before { + content: "\f424"; +} + +.ion-ios-fastforward:before { + content: "\f427"; +} + +.ion-ios-fastforward-outline:before { + content: "\f426"; +} + +.ion-ios-female:before { + content: "\f17b"; +} + +.ion-ios-female-outline:before { + content: "\f17b"; +} + +.ion-ios-filing:before { + content: "\f429"; +} + +.ion-ios-filing-outline:before { + content: "\f428"; +} + +.ion-ios-film:before { + content: "\f42b"; +} + +.ion-ios-film-outline:before { + content: "\f42a"; +} + +.ion-ios-finger-print:before { + content: "\f17c"; +} + +.ion-ios-finger-print-outline:before { + content: "\f17c"; +} + +.ion-ios-flag:before { + content: "\f42d"; +} + +.ion-ios-flag-outline:before { + content: "\f42c"; +} + +.ion-ios-flame:before { + content: "\f42f"; +} + +.ion-ios-flame-outline:before { + content: "\f42e"; +} + +.ion-ios-flash:before { + content: "\f17e"; +} + +.ion-ios-flash-outline:before { + content: "\f17d"; +} + +.ion-ios-flask:before { + content: "\f431"; +} + +.ion-ios-flask-outline:before { + content: "\f430"; +} + +.ion-ios-flower:before { + content: "\f433"; +} + +.ion-ios-flower-outline:before { + content: "\f432"; +} + +.ion-ios-folder:before { + content: "\f435"; +} + +.ion-ios-folder-open:before { + content: "\f180"; +} + +.ion-ios-folder-open-outline:before { + content: "\f17f"; +} + +.ion-ios-folder-outline:before { + content: "\f434"; +} + +.ion-ios-football:before { + content: "\f437"; +} + +.ion-ios-football-outline:before { + content: "\f436"; +} + +.ion-ios-funnel:before { + content: "\f182"; +} + +.ion-ios-funnel-outline:before { + content: "\f181"; +} + +.ion-ios-game-controller-a:before { + content: "\f439"; +} + +.ion-ios-game-controller-a-outline:before { + content: "\f438"; +} + +.ion-ios-game-controller-b:before { + content: "\f43b"; +} + +.ion-ios-game-controller-b-outline:before { + content: "\f43a"; +} + +.ion-ios-git-branch:before { + content: "\f183"; +} + +.ion-ios-git-branch-outline:before { + content: "\f183"; +} + +.ion-ios-git-commit:before { + content: "\f184"; +} + +.ion-ios-git-commit-outline:before { + content: "\f184"; +} + +.ion-ios-git-compare:before { + content: "\f185"; +} + +.ion-ios-git-compare-outline:before { + content: "\f185"; +} + +.ion-ios-git-merge:before { + content: "\f186"; +} + +.ion-ios-git-merge-outline:before { + content: "\f186"; +} + +.ion-ios-git-network:before { + content: "\f187"; +} + +.ion-ios-git-network-outline:before { + content: "\f187"; +} + +.ion-ios-git-pull-request:before { + content: "\f188"; +} + +.ion-ios-git-pull-request-outline:before { + content: "\f188"; +} + +.ion-ios-glasses:before { + content: "\f43f"; +} + +.ion-ios-glasses-outline:before { + content: "\f43e"; +} + +.ion-ios-globe:before { + content: "\f18a"; +} + +.ion-ios-globe-outline:before { + content: "\f189"; +} + +.ion-ios-grid:before { + content: "\f18c"; +} + +.ion-ios-grid-outline:before { + content: "\f18b"; +} + +.ion-ios-hammer:before { + content: "\f18e"; +} + +.ion-ios-hammer-outline:before { + content: "\f18d"; +} + +.ion-ios-hand:before { + content: "\f190"; +} + +.ion-ios-hand-outline:before { + content: "\f18f"; +} + +.ion-ios-happy:before { + content: "\f192"; +} + +.ion-ios-happy-outline:before { + content: "\f191"; +} + +.ion-ios-headset:before { + content: "\f194"; +} + +.ion-ios-headset-outline:before { + content: "\f193"; +} + +.ion-ios-heart:before { + content: "\f443"; +} + +.ion-ios-heart-outline:before { + content: "\f442"; +} + +.ion-ios-help:before { + content: "\f446"; +} + +.ion-ios-help-buoy:before { + content: "\f196"; +} + +.ion-ios-help-buoy-outline:before { + content: "\f195"; +} + +.ion-ios-help-circle:before { + content: "\f198"; +} + +.ion-ios-help-circle-outline:before { + content: "\f197"; +} + +.ion-ios-help-outline:before { + content: "\f446"; +} + +.ion-ios-home:before { + content: "\f448"; +} + +.ion-ios-home-outline:before { + content: "\f447"; +} + +.ion-ios-ice-cream:before { + content: "\f19a"; +} + +.ion-ios-ice-cream-outline:before { + content: "\f199"; +} + +.ion-ios-image:before { + content: "\f19c"; +} + +.ion-ios-image-outline:before { + content: "\f19b"; +} + +.ion-ios-images:before { + content: "\f19e"; +} + +.ion-ios-images-outline:before { + content: "\f19d"; +} + +.ion-ios-infinite:before { + content: "\f44a"; +} + +.ion-ios-infinite-outline:before { + content: "\f449"; +} + +.ion-ios-information:before { + content: "\f44d"; +} + +.ion-ios-information-circle:before { + content: "\f1a0"; +} + +.ion-ios-information-circle-outline:before { + content: "\f19f"; +} + +.ion-ios-information-outline:before { + content: "\f44d"; +} + +.ion-ios-ionic:before { + content: "\f1a1"; +} + +.ion-ios-ionic-outline:before { + content: "\f44e"; +} + +.ion-ios-ionitron:before { + content: "\f1a3"; +} + +.ion-ios-ionitron-outline:before { + content: "\f1a2"; +} + +.ion-ios-jet:before { + content: "\f1a5"; +} + +.ion-ios-jet-outline:before { + content: "\f1a4"; +} + +.ion-ios-key:before { + content: "\f1a7"; +} + +.ion-ios-key-outline:before { + content: "\f1a6"; +} + +.ion-ios-keypad:before { + content: "\f450"; +} + +.ion-ios-keypad-outline:before { + content: "\f44f"; +} + +.ion-ios-laptop:before { + content: "\f1a8"; +} + +.ion-ios-laptop-outline:before { + content: "\f1a8"; +} + +.ion-ios-leaf:before { + content: "\f1aa"; +} + +.ion-ios-leaf-outline:before { + content: "\f1a9"; +} + +.ion-ios-link:before { + content: "\f22a"; +} + +.ion-ios-link-outline:before { + content: "\f1ca"; +} + +.ion-ios-list:before { + content: "\f454"; +} + +.ion-ios-list-box:before { + content: "\f1ac"; +} + +.ion-ios-list-box-outline:before { + content: "\f1ab"; +} + +.ion-ios-list-outline:before { + content: "\f454"; +} + +.ion-ios-locate:before { + content: "\f1ae"; +} + +.ion-ios-locate-outline:before { + content: "\f1ad"; +} + +.ion-ios-lock:before { + content: "\f1b0"; +} + +.ion-ios-lock-outline:before { + content: "\f1af"; +} + +.ion-ios-log-in:before { + content: "\f1b1"; +} + +.ion-ios-log-in-outline:before { + content: "\f1b1"; +} + +.ion-ios-log-out:before { + content: "\f1b2"; +} + +.ion-ios-log-out-outline:before { + content: "\f1b2"; +} + +.ion-ios-magnet:before { + content: "\f1b4"; +} + +.ion-ios-magnet-outline:before { + content: "\f1b3"; +} + +.ion-ios-mail:before { + content: "\f1b8"; +} + +.ion-ios-mail-open:before { + content: "\f1b6"; +} + +.ion-ios-mail-open-outline:before { + content: "\f1b5"; +} + +.ion-ios-mail-outline:before { + content: "\f1b7"; +} + +.ion-ios-male:before { + content: "\f1b9"; +} + +.ion-ios-male-outline:before { + content: "\f1b9"; +} + +.ion-ios-man:before { + content: "\f1bb"; +} + +.ion-ios-man-outline:before { + content: "\f1ba"; +} + +.ion-ios-map:before { + content: "\f1bd"; +} + +.ion-ios-map-outline:before { + content: "\f1bc"; +} + +.ion-ios-medal:before { + content: "\f1bf"; +} + +.ion-ios-medal-outline:before { + content: "\f1be"; +} + +.ion-ios-medical:before { + content: "\f45c"; +} + +.ion-ios-medical-outline:before { + content: "\f45b"; +} + +.ion-ios-medkit:before { + content: "\f45e"; +} + +.ion-ios-medkit-outline:before { + content: "\f45d"; +} + +.ion-ios-megaphone:before { + content: "\f1c1"; +} + +.ion-ios-megaphone-outline:before { + content: "\f1c0"; +} + +.ion-ios-menu:before { + content: "\f1c3"; +} + +.ion-ios-menu-outline:before { + content: "\f1c2"; +} + +.ion-ios-mic:before { + content: "\f461"; +} + +.ion-ios-mic-off:before { + content: "\f45f"; +} + +.ion-ios-mic-off-outline:before { + content: "\f1c4"; +} + +.ion-ios-mic-outline:before { + content: "\f460"; +} + +.ion-ios-microphone:before { + content: "\f1c6"; +} + +.ion-ios-microphone-outline:before { + content: "\f1c5"; +} + +.ion-ios-moon:before { + content: "\f468"; +} + +.ion-ios-moon-outline:before { + content: "\f467"; +} + +.ion-ios-more:before { + content: "\f1c8"; +} + +.ion-ios-more-outline:before { + content: "\f1c7"; +} + +.ion-ios-move:before { + content: "\f1cb"; +} + +.ion-ios-move-outline:before { + content: "\f1cb"; +} + +.ion-ios-musical-note:before { + content: "\f46b"; +} + +.ion-ios-musical-note-outline:before { + content: "\f1cc"; +} + +.ion-ios-musical-notes:before { + content: "\f46c"; +} + +.ion-ios-musical-notes-outline:before { + content: "\f1cd"; +} + +.ion-ios-navigate:before { + content: "\f46e"; +} + +.ion-ios-navigate-outline:before { + content: "\f46d"; +} + +.ion-ios-no-smoking:before { + content: "\f1cf"; +} + +.ion-ios-no-smoking-outline:before { + content: "\f1ce"; +} + +.ion-ios-notifications:before { + content: "\f1d3"; +} + +.ion-ios-notifications-off:before { + content: "\f1d1"; +} + +.ion-ios-notifications-off-outline:before { + content: "\f1d0"; +} + +.ion-ios-notifications-outline:before { + content: "\f1d2"; +} + +.ion-ios-nuclear:before { + content: "\f1d5"; +} + +.ion-ios-nuclear-outline:before { + content: "\f1d4"; +} + +.ion-ios-nutrition:before { + content: "\f470"; +} + +.ion-ios-nutrition-outline:before { + content: "\f46f"; +} + +.ion-ios-open:before { + content: "\f1d7"; +} + +.ion-ios-open-outline:before { + content: "\f1d6"; +} + +.ion-ios-options:before { + content: "\f1d9"; +} + +.ion-ios-options-outline:before { + content: "\f1d8"; +} + +.ion-ios-outlet:before { + content: "\f1db"; +} + +.ion-ios-outlet-outline:before { + content: "\f1da"; +} + +.ion-ios-paper:before { + content: "\f472"; +} + +.ion-ios-paper-outline:before { + content: "\f471"; +} + +.ion-ios-paper-plane:before { + content: "\f1dd"; +} + +.ion-ios-paper-plane-outline:before { + content: "\f1dc"; +} + +.ion-ios-partly-sunny:before { + content: "\f1df"; +} + +.ion-ios-partly-sunny-outline:before { + content: "\f1de"; +} + +.ion-ios-pause:before { + content: "\f478"; +} + +.ion-ios-pause-outline:before { + content: "\f477"; +} + +.ion-ios-paw:before { + content: "\f47a"; +} + +.ion-ios-paw-outline:before { + content: "\f479"; +} + +.ion-ios-people:before { + content: "\f47c"; +} + +.ion-ios-people-outline:before { + content: "\f47b"; +} + +.ion-ios-person:before { + content: "\f47e"; +} + +.ion-ios-person-add:before { + content: "\f1e1"; +} + +.ion-ios-person-add-outline:before { + content: "\f1e0"; +} + +.ion-ios-person-outline:before { + content: "\f47d"; +} + +.ion-ios-phone-landscape:before { + content: "\f1e2"; +} + +.ion-ios-phone-landscape-outline:before { + content: "\f1e2"; +} + +.ion-ios-phone-portrait:before { + content: "\f1e3"; +} + +.ion-ios-phone-portrait-outline:before { + content: "\f1e3"; +} + +.ion-ios-photos:before { + content: "\f482"; +} + +.ion-ios-photos-outline:before { + content: "\f481"; +} + +.ion-ios-pie:before { + content: "\f484"; +} + +.ion-ios-pie-outline:before { + content: "\f483"; +} + +.ion-ios-pin:before { + content: "\f1e5"; +} + +.ion-ios-pin-outline:before { + content: "\f1e4"; +} + +.ion-ios-pint:before { + content: "\f486"; +} + +.ion-ios-pint-outline:before { + content: "\f485"; +} + +.ion-ios-pizza:before { + content: "\f1e7"; +} + +.ion-ios-pizza-outline:before { + content: "\f1e6"; +} + +.ion-ios-plane:before { + content: "\f1e9"; +} + +.ion-ios-plane-outline:before { + content: "\f1e8"; +} + +.ion-ios-planet:before { + content: "\f1eb"; +} + +.ion-ios-planet-outline:before { + content: "\f1ea"; +} + +.ion-ios-play:before { + content: "\f488"; +} + +.ion-ios-play-outline:before { + content: "\f487"; +} + +.ion-ios-podium:before { + content: "\f1ed"; +} + +.ion-ios-podium-outline:before { + content: "\f1ec"; +} + +.ion-ios-power:before { + content: "\f1ef"; +} + +.ion-ios-power-outline:before { + content: "\f1ee"; +} + +.ion-ios-pricetag:before { + content: "\f48d"; +} + +.ion-ios-pricetag-outline:before { + content: "\f48c"; +} + +.ion-ios-pricetags:before { + content: "\f48f"; +} + +.ion-ios-pricetags-outline:before { + content: "\f48e"; +} + +.ion-ios-print:before { + content: "\f1f1"; +} + +.ion-ios-print-outline:before { + content: "\f1f0"; +} + +.ion-ios-pulse:before { + content: "\f493"; +} + +.ion-ios-pulse-outline:before { + content: "\f1f2"; +} + +.ion-ios-qr-scanner:before { + content: "\f1f3"; +} + +.ion-ios-qr-scanner-outline:before { + content: "\f1f3"; +} + +.ion-ios-quote:before { + content: "\f1f5"; +} + +.ion-ios-quote-outline:before { + content: "\f1f4"; +} + +.ion-ios-radio:before { + content: "\f1f9"; +} + +.ion-ios-radio-button-off:before { + content: "\f1f6"; +} + +.ion-ios-radio-button-off-outline:before { + content: "\f1f6"; +} + +.ion-ios-radio-button-on:before { + content: "\f1f7"; +} + +.ion-ios-radio-button-on-outline:before { + content: "\f1f7"; +} + +.ion-ios-radio-outline:before { + content: "\f1f8"; +} + +.ion-ios-rainy:before { + content: "\f495"; +} + +.ion-ios-rainy-outline:before { + content: "\f494"; +} + +.ion-ios-recording:before { + content: "\f497"; +} + +.ion-ios-recording-outline:before { + content: "\f496"; +} + +.ion-ios-redo:before { + content: "\f499"; +} + +.ion-ios-redo-outline:before { + content: "\f498"; +} + +.ion-ios-refresh:before { + content: "\f49c"; +} + +.ion-ios-refresh-circle:before { + content: "\f226"; +} + +.ion-ios-refresh-circle-outline:before { + content: "\f224"; +} + +.ion-ios-refresh-outline:before { + content: "\f49c"; +} + +.ion-ios-remove:before { + content: "\f1fc"; +} + +.ion-ios-remove-circle:before { + content: "\f1fb"; +} + +.ion-ios-remove-circle-outline:before { + content: "\f1fa"; +} + +.ion-ios-remove-outline:before { + content: "\f1fc"; +} + +.ion-ios-reorder:before { + content: "\f1fd"; +} + +.ion-ios-reorder-outline:before { + content: "\f1fd"; +} + +.ion-ios-repeat:before { + content: "\f1fe"; +} + +.ion-ios-repeat-outline:before { + content: "\f1fe"; +} + +.ion-ios-resize:before { + content: "\f1ff"; +} + +.ion-ios-resize-outline:before { + content: "\f1ff"; +} + +.ion-ios-restaurant:before { + content: "\f201"; +} + +.ion-ios-restaurant-outline:before { + content: "\f200"; +} + +.ion-ios-return-left:before { + content: "\f202"; +} + +.ion-ios-return-left-outline:before { + content: "\f202"; +} + +.ion-ios-return-right:before { + content: "\f203"; +} + +.ion-ios-return-right-outline:before { + content: "\f203"; +} + +.ion-ios-reverse-camera:before { + content: "\f49f"; +} + +.ion-ios-reverse-camera-outline:before { + content: "\f49e"; +} + +.ion-ios-rewind:before { + content: "\f4a1"; +} + +.ion-ios-rewind-outline:before { + content: "\f4a0"; +} + +.ion-ios-ribbon:before { + content: "\f205"; +} + +.ion-ios-ribbon-outline:before { + content: "\f204"; +} + +.ion-ios-rose:before { + content: "\f4a3"; +} + +.ion-ios-rose-outline:before { + content: "\f4a2"; +} + +.ion-ios-sad:before { + content: "\f207"; +} + +.ion-ios-sad-outline:before { + content: "\f206"; +} + +.ion-ios-school:before { + content: "\f209"; +} + +.ion-ios-school-outline:before { + content: "\f208"; +} + +.ion-ios-search:before { + content: "\f4a5"; +} + +.ion-ios-search-outline:before { + content: "\f20a"; +} + +.ion-ios-send:before { + content: "\f20c"; +} + +.ion-ios-send-outline:before { + content: "\f20b"; +} + +.ion-ios-settings:before { + content: "\f4a7"; +} + +.ion-ios-settings-outline:before { + content: "\f20d"; +} + +.ion-ios-share:before { + content: "\f211"; +} + +.ion-ios-share-alt:before { + content: "\f20f"; +} + +.ion-ios-share-alt-outline:before { + content: "\f20e"; +} + +.ion-ios-share-outline:before { + content: "\f210"; +} + +.ion-ios-shirt:before { + content: "\f213"; +} + +.ion-ios-shirt-outline:before { + content: "\f212"; +} + +.ion-ios-shuffle:before { + content: "\f4a9"; +} + +.ion-ios-shuffle-outline:before { + content: "\f4a9"; +} + +.ion-ios-skip-backward:before { + content: "\f215"; +} + +.ion-ios-skip-backward-outline:before { + content: "\f214"; +} + +.ion-ios-skip-forward:before { + content: "\f217"; +} + +.ion-ios-skip-forward-outline:before { + content: "\f216"; +} + +.ion-ios-snow:before { + content: "\f218"; +} + +.ion-ios-snow-outline:before { + content: "\f22c"; +} + +.ion-ios-speedometer:before { + content: "\f4b0"; +} + +.ion-ios-speedometer-outline:before { + content: "\f4af"; +} + +.ion-ios-square:before { + content: "\f21a"; +} + +.ion-ios-square-outline:before { + content: "\f219"; +} + +.ion-ios-star:before { + content: "\f4b3"; +} + +.ion-ios-star-half:before { + content: "\f4b1"; +} + +.ion-ios-star-half-outline:before { + content: "\f4b1"; +} + +.ion-ios-star-outline:before { + content: "\f4b2"; +} + +.ion-ios-stats:before { + content: "\f21c"; +} + +.ion-ios-stats-outline:before { + content: "\f21b"; +} + +.ion-ios-stopwatch:before { + content: "\f4b5"; +} + +.ion-ios-stopwatch-outline:before { + content: "\f4b4"; +} + +.ion-ios-subway:before { + content: "\f21e"; +} + +.ion-ios-subway-outline:before { + content: "\f21d"; +} + +.ion-ios-sunny:before { + content: "\f4b7"; +} + +.ion-ios-sunny-outline:before { + content: "\f4b6"; +} + +.ion-ios-swap:before { + content: "\f21f"; +} + +.ion-ios-swap-outline:before { + content: "\f21f"; +} + +.ion-ios-switch:before { + content: "\f221"; +} + +.ion-ios-switch-outline:before { + content: "\f220"; +} + +.ion-ios-sync:before { + content: "\f222"; +} + +.ion-ios-sync-outline:before { + content: "\f222"; +} + +.ion-ios-tablet-landscape:before { + content: "\f223"; +} + +.ion-ios-tablet-landscape-outline:before { + content: "\f223"; +} + +.ion-ios-tablet-portrait:before { + content: "\f24e"; +} + +.ion-ios-tablet-portrait-outline:before { + content: "\f24e"; +} + +.ion-ios-tennisball:before { + content: "\f4bb"; +} + +.ion-ios-tennisball-outline:before { + content: "\f4ba"; +} + +.ion-ios-text:before { + content: "\f250"; +} + +.ion-ios-text-outline:before { + content: "\f24f"; +} + +.ion-ios-thermometer:before { + content: "\f252"; +} + +.ion-ios-thermometer-outline:before { + content: "\f251"; +} + +.ion-ios-thumbs-down:before { + content: "\f254"; +} + +.ion-ios-thumbs-down-outline:before { + content: "\f253"; +} + +.ion-ios-thumbs-up:before { + content: "\f256"; +} + +.ion-ios-thumbs-up-outline:before { + content: "\f255"; +} + +.ion-ios-thunderstorm:before { + content: "\f4bd"; +} + +.ion-ios-thunderstorm-outline:before { + content: "\f4bc"; +} + +.ion-ios-time:before { + content: "\f4bf"; +} + +.ion-ios-time-outline:before { + content: "\f4be"; +} + +.ion-ios-timer:before { + content: "\f4c1"; +} + +.ion-ios-timer-outline:before { + content: "\f4c0"; +} + +.ion-ios-train:before { + content: "\f258"; +} + +.ion-ios-train-outline:before { + content: "\f257"; +} + +.ion-ios-transgender:before { + content: "\f259"; +} + +.ion-ios-transgender-outline:before { + content: "\f259"; +} + +.ion-ios-trash:before { + content: "\f4c5"; +} + +.ion-ios-trash-outline:before { + content: "\f4c4"; +} + +.ion-ios-trending-down:before { + content: "\f25a"; +} + +.ion-ios-trending-down-outline:before { + content: "\f25a"; +} + +.ion-ios-trending-up:before { + content: "\f25b"; +} + +.ion-ios-trending-up-outline:before { + content: "\f25b"; +} + +.ion-ios-trophy:before { + content: "\f25d"; +} + +.ion-ios-trophy-outline:before { + content: "\f25c"; +} + +.ion-ios-umbrella:before { + content: "\f25f"; +} + +.ion-ios-umbrella-outline:before { + content: "\f25e"; +} + +.ion-ios-undo:before { + content: "\f4c7"; +} + +.ion-ios-undo-outline:before { + content: "\f4c6"; +} + +.ion-ios-unlock:before { + content: "\f261"; +} + +.ion-ios-unlock-outline:before { + content: "\f260"; +} + +.ion-ios-videocam:before { + content: "\f4cd"; +} + +.ion-ios-videocam-outline:before { + content: "\f4cc"; +} + +.ion-ios-volume-down:before { + content: "\f262"; +} + +.ion-ios-volume-down-outline:before { + content: "\f262"; +} + +.ion-ios-volume-mute:before { + content: "\f263"; +} + +.ion-ios-volume-mute-outline:before { + content: "\f263"; +} + +.ion-ios-volume-off:before { + content: "\f264"; +} + +.ion-ios-volume-off-outline:before { + content: "\f264"; +} + +.ion-ios-volume-up:before { + content: "\f265"; +} + +.ion-ios-volume-up-outline:before { + content: "\f265"; +} + +.ion-ios-walk:before { + content: "\f266"; +} + +.ion-ios-walk-outline:before { + content: "\f266"; +} + +.ion-ios-warning:before { + content: "\f268"; +} + +.ion-ios-warning-outline:before { + content: "\f267"; +} + +.ion-ios-watch:before { + content: "\f269"; +} + +.ion-ios-watch-outline:before { + content: "\f269"; +} + +.ion-ios-water:before { + content: "\f26b"; +} + +.ion-ios-water-outline:before { + content: "\f26a"; +} + +.ion-ios-wifi:before { + content: "\f26d"; +} + +.ion-ios-wifi-outline:before { + content: "\f26c"; +} + +.ion-ios-wine:before { + content: "\f26f"; +} + +.ion-ios-wine-outline:before { + content: "\f26e"; +} + +.ion-ios-woman:before { + content: "\f271"; +} + +.ion-ios-woman-outline:before { + content: "\f270"; +} + +.ion-logo-android:before { + content: "\f225"; +} + +.ion-logo-angular:before { + content: "\f227"; +} + +.ion-logo-apple:before { + content: "\f229"; +} + +.ion-logo-bitcoin:before { + content: "\f22b"; +} + +.ion-logo-buffer:before { + content: "\f22d"; +} + +.ion-logo-chrome:before { + content: "\f22f"; +} + +.ion-logo-codepen:before { + content: "\f230"; +} + +.ion-logo-css3:before { + content: "\f231"; +} + +.ion-logo-designernews:before { + content: "\f232"; +} + +.ion-logo-dribbble:before { + content: "\f233"; +} + +.ion-logo-dropbox:before { + content: "\f234"; +} + +.ion-logo-euro:before { + content: "\f235"; +} + +.ion-logo-facebook:before { + content: "\f236"; +} + +.ion-logo-foursquare:before { + content: "\f237"; +} + +.ion-logo-freebsd-devil:before { + content: "\f238"; +} + +.ion-logo-github:before { + content: "\f239"; +} + +.ion-logo-google:before { + content: "\f23a"; +} + +.ion-logo-googleplus:before { + content: "\f23b"; +} + +.ion-logo-hackernews:before { + content: "\f23c"; +} + +.ion-logo-html5:before { + content: "\f23d"; +} + +.ion-logo-instagram:before { + content: "\f23e"; +} + +.ion-logo-javascript:before { + content: "\f23f"; +} + +.ion-logo-linkedin:before { + content: "\f240"; +} + +.ion-logo-markdown:before { + content: "\f241"; +} + +.ion-logo-nodejs:before { + content: "\f242"; +} + +.ion-logo-octocat:before { + content: "\f243"; +} + +.ion-logo-pinterest:before { + content: "\f244"; +} + +.ion-logo-playstation:before { + content: "\f245"; +} + +.ion-logo-python:before { + content: "\f246"; +} + +.ion-logo-reddit:before { + content: "\f247"; +} + +.ion-logo-rss:before { + content: "\f248"; +} + +.ion-logo-sass:before { + content: "\f249"; +} + +.ion-logo-skype:before { + content: "\f24a"; +} + +.ion-logo-snapchat:before { + content: "\f24b"; +} + +.ion-logo-steam:before { + content: "\f24c"; +} + +.ion-logo-tumblr:before { + content: "\f24d"; +} + +.ion-logo-tux:before { + content: "\f2ae"; +} + +.ion-logo-twitch:before { + content: "\f2af"; +} + +.ion-logo-twitter:before { + content: "\f2b0"; +} + +.ion-logo-usd:before { + content: "\f2b1"; +} + +.ion-logo-vimeo:before { + content: "\f2c4"; +} + +.ion-logo-whatsapp:before { + content: "\f2c5"; +} + +.ion-logo-windows:before { + content: "\f32f"; +} + +.ion-logo-wordpress:before { + content: "\f330"; +} + +.ion-logo-xbox:before { + content: "\f34c"; +} + +.ion-logo-yahoo:before { + content: "\f34d"; +} + +.ion-logo-yen:before { + content: "\f34e"; +} + +.ion-logo-youtube:before { + content: "\f34f"; +} + +.ion-md-add:before { + content: "\f273"; +} + +.ion-md-add-circle:before { + content: "\f272"; +} + +.ion-md-alarm:before { + content: "\f274"; +} + +.ion-md-albums:before { + content: "\f275"; +} + +.ion-md-alert:before { + content: "\f276"; +} + +.ion-md-american-football:before { + content: "\f277"; +} + +.ion-md-analytics:before { + content: "\f278"; +} + +.ion-md-aperture:before { + content: "\f279"; +} + +.ion-md-apps:before { + content: "\f27a"; +} + +.ion-md-appstore:before { + content: "\f27b"; +} + +.ion-md-archive:before { + content: "\f27c"; +} + +.ion-md-arrow-back:before { + content: "\f27d"; +} + +.ion-md-arrow-down:before { + content: "\f27e"; +} + +.ion-md-arrow-dropdown:before { + content: "\f280"; +} + +.ion-md-arrow-dropdown-circle:before { + content: "\f27f"; +} + +.ion-md-arrow-dropleft:before { + content: "\f282"; +} + +.ion-md-arrow-dropleft-circle:before { + content: "\f281"; +} + +.ion-md-arrow-dropright:before { + content: "\f284"; +} + +.ion-md-arrow-dropright-circle:before { + content: "\f283"; +} + +.ion-md-arrow-dropup:before { + content: "\f286"; +} + +.ion-md-arrow-dropup-circle:before { + content: "\f285"; +} + +.ion-md-arrow-forward:before { + content: "\f287"; +} + +.ion-md-arrow-round-back:before { + content: "\f288"; +} + +.ion-md-arrow-round-down:before { + content: "\f289"; +} + +.ion-md-arrow-round-forward:before { + content: "\f28a"; +} + +.ion-md-arrow-round-up:before { + content: "\f28b"; +} + +.ion-md-arrow-up:before { + content: "\f28c"; +} + +.ion-md-at:before { + content: "\f28d"; +} + +.ion-md-attach:before { + content: "\f28e"; +} + +.ion-md-backspace:before { + content: "\f28f"; +} + +.ion-md-barcode:before { + content: "\f290"; +} + +.ion-md-baseball:before { + content: "\f291"; +} + +.ion-md-basket:before { + content: "\f292"; +} + +.ion-md-basketball:before { + content: "\f293"; +} + +.ion-md-battery-charging:before { + content: "\f294"; +} + +.ion-md-battery-dead:before { + content: "\f295"; +} + +.ion-md-battery-full:before { + content: "\f296"; +} + +.ion-md-beaker:before { + content: "\f297"; +} + +.ion-md-beer:before { + content: "\f298"; +} + +.ion-md-bicycle:before { + content: "\f299"; +} + +.ion-md-bluetooth:before { + content: "\f29a"; +} + +.ion-md-boat:before { + content: "\f29b"; +} + +.ion-md-body:before { + content: "\f29c"; +} + +.ion-md-bonfire:before { + content: "\f29d"; +} + +.ion-md-book:before { + content: "\f29e"; +} + +.ion-md-bookmark:before { + content: "\f29f"; +} + +.ion-md-bookmarks:before { + content: "\f2a0"; +} + +.ion-md-bowtie:before { + content: "\f2a1"; +} + +.ion-md-briefcase:before { + content: "\f2a2"; +} + +.ion-md-browsers:before { + content: "\f2a3"; +} + +.ion-md-brush:before { + content: "\f2a4"; +} + +.ion-md-bug:before { + content: "\f2a5"; +} + +.ion-md-build:before { + content: "\f2a6"; +} + +.ion-md-bulb:before { + content: "\f2a7"; +} + +.ion-md-bus:before { + content: "\f2a8"; +} + +.ion-md-cafe:before { + content: "\f2a9"; +} + +.ion-md-calculator:before { + content: "\f2aa"; +} + +.ion-md-calendar:before { + content: "\f2ab"; +} + +.ion-md-call:before { + content: "\f2ac"; +} + +.ion-md-camera:before { + content: "\f2ad"; +} + +.ion-md-car:before { + content: "\f2b2"; +} + +.ion-md-card:before { + content: "\f2b3"; +} + +.ion-md-cart:before { + content: "\f2b4"; +} + +.ion-md-cash:before { + content: "\f2b5"; +} + +.ion-md-chatboxes:before { + content: "\f2b6"; +} + +.ion-md-chatbubbles:before { + content: "\f2b7"; +} + +.ion-md-checkbox:before { + content: "\f2b9"; +} + +.ion-md-checkbox-outline:before { + content: "\f2b8"; +} + +.ion-md-checkmark:before { + content: "\f2bc"; +} + +.ion-md-checkmark-circle:before { + content: "\f2bb"; +} + +.ion-md-checkmark-circle-outline:before { + content: "\f2ba"; +} + +.ion-md-clipboard:before { + content: "\f2bd"; +} + +.ion-md-clock:before { + content: "\f2be"; +} + +.ion-md-close:before { + content: "\f2c0"; +} + +.ion-md-close-circle:before { + content: "\f2bf"; +} + +.ion-md-closed-captioning:before { + content: "\f2c1"; +} + +.ion-md-cloud:before { + content: "\f2c9"; +} + +.ion-md-cloud-circle:before { + content: "\f2c2"; +} + +.ion-md-cloud-done:before { + content: "\f2c3"; +} + +.ion-md-cloud-download:before { + content: "\f2c6"; +} + +.ion-md-cloud-outline:before { + content: "\f2c7"; +} + +.ion-md-cloud-upload:before { + content: "\f2c8"; +} + +.ion-md-cloudy:before { + content: "\f2cb"; +} + +.ion-md-cloudy-night:before { + content: "\f2ca"; +} + +.ion-md-code:before { + content: "\f2ce"; +} + +.ion-md-code-download:before { + content: "\f2cc"; +} + +.ion-md-code-working:before { + content: "\f2cd"; +} + +.ion-md-cog:before { + content: "\f2cf"; +} + +.ion-md-color-fill:before { + content: "\f2d0"; +} + +.ion-md-color-filter:before { + content: "\f2d1"; +} + +.ion-md-color-palette:before { + content: "\f2d2"; +} + +.ion-md-color-wand:before { + content: "\f2d3"; +} + +.ion-md-compass:before { + content: "\f2d4"; +} + +.ion-md-construct:before { + content: "\f2d5"; +} + +.ion-md-contact:before { + content: "\f2d6"; +} + +.ion-md-contacts:before { + content: "\f2d7"; +} + +.ion-md-contract:before { + content: "\f2d8"; +} + +.ion-md-contrast:before { + content: "\f2d9"; +} + +.ion-md-copy:before { + content: "\f2da"; +} + +.ion-md-create:before { + content: "\f2db"; +} + +.ion-md-crop:before { + content: "\f2dc"; +} + +.ion-md-cube:before { + content: "\f2dd"; +} + +.ion-md-cut:before { + content: "\f2de"; +} + +.ion-md-desktop:before { + content: "\f2df"; +} + +.ion-md-disc:before { + content: "\f2e0"; +} + +.ion-md-document:before { + content: "\f2e1"; +} + +.ion-md-done-all:before { + content: "\f2e2"; +} + +.ion-md-download:before { + content: "\f2e3"; +} + +.ion-md-easel:before { + content: "\f2e4"; +} + +.ion-md-egg:before { + content: "\f2e5"; +} + +.ion-md-exit:before { + content: "\f2e6"; +} + +.ion-md-expand:before { + content: "\f2e7"; +} + +.ion-md-eye:before { + content: "\f2e9"; +} + +.ion-md-eye-off:before { + content: "\f2e8"; +} + +.ion-md-fastforward:before { + content: "\f2ea"; +} + +.ion-md-female:before { + content: "\f2eb"; +} + +.ion-md-filing:before { + content: "\f2ec"; +} + +.ion-md-film:before { + content: "\f2ed"; +} + +.ion-md-finger-print:before { + content: "\f2ee"; +} + +.ion-md-flag:before { + content: "\f2ef"; +} + +.ion-md-flame:before { + content: "\f2f0"; +} + +.ion-md-flash:before { + content: "\f2f1"; +} + +.ion-md-flask:before { + content: "\f2f2"; +} + +.ion-md-flower:before { + content: "\f2f3"; +} + +.ion-md-folder:before { + content: "\f2f5"; +} + +.ion-md-folder-open:before { + content: "\f2f4"; +} + +.ion-md-football:before { + content: "\f2f6"; +} + +.ion-md-funnel:before { + content: "\f2f7"; +} + +.ion-md-game-controller-a:before { + content: "\f2f8"; +} + +.ion-md-game-controller-b:before { + content: "\f2f9"; +} + +.ion-md-git-branch:before { + content: "\f2fa"; +} + +.ion-md-git-commit:before { + content: "\f2fb"; +} + +.ion-md-git-compare:before { + content: "\f2fc"; +} + +.ion-md-git-merge:before { + content: "\f2fd"; +} + +.ion-md-git-network:before { + content: "\f2fe"; +} + +.ion-md-git-pull-request:before { + content: "\f2ff"; +} + +.ion-md-glasses:before { + content: "\f300"; +} + +.ion-md-globe:before { + content: "\f301"; +} + +.ion-md-grid:before { + content: "\f302"; +} + +.ion-md-hammer:before { + content: "\f303"; +} + +.ion-md-hand:before { + content: "\f304"; +} + +.ion-md-happy:before { + content: "\f305"; +} + +.ion-md-headset:before { + content: "\f306"; +} + +.ion-md-heart:before { + content: "\f308"; +} + +.ion-md-heart-outline:before { + content: "\f307"; +} + +.ion-md-help:before { + content: "\f30b"; +} + +.ion-md-help-buoy:before { + content: "\f309"; +} + +.ion-md-help-circle:before { + content: "\f30a"; +} + +.ion-md-home:before { + content: "\f30c"; +} + +.ion-md-ice-cream:before { + content: "\f30d"; +} + +.ion-md-image:before { + content: "\f30e"; +} + +.ion-md-images:before { + content: "\f30f"; +} + +.ion-md-infinite:before { + content: "\f310"; +} + +.ion-md-information:before { + content: "\f312"; +} + +.ion-md-information-circle:before { + content: "\f311"; +} + +.ion-md-ionic:before { + content: "\f313"; +} + +.ion-md-ionitron:before { + content: "\f314"; +} + +.ion-md-jet:before { + content: "\f315"; +} + +.ion-md-key:before { + content: "\f316"; +} + +.ion-md-keypad:before { + content: "\f317"; +} + +.ion-md-laptop:before { + content: "\f318"; +} + +.ion-md-leaf:before { + content: "\f319"; +} + +.ion-md-link:before { + content: "\f22e"; +} + +.ion-md-list:before { + content: "\f31b"; +} + +.ion-md-list-box:before { + content: "\f31a"; +} + +.ion-md-locate:before { + content: "\f31c"; +} + +.ion-md-lock:before { + content: "\f31d"; +} + +.ion-md-log-in:before { + content: "\f31e"; +} + +.ion-md-log-out:before { + content: "\f31f"; +} + +.ion-md-magnet:before { + content: "\f320"; +} + +.ion-md-mail:before { + content: "\f322"; +} + +.ion-md-mail-open:before { + content: "\f321"; +} + +.ion-md-male:before { + content: "\f323"; +} + +.ion-md-man:before { + content: "\f324"; +} + +.ion-md-map:before { + content: "\f325"; +} + +.ion-md-medal:before { + content: "\f326"; +} + +.ion-md-medical:before { + content: "\f327"; +} + +.ion-md-medkit:before { + content: "\f328"; +} + +.ion-md-megaphone:before { + content: "\f329"; +} + +.ion-md-menu:before { + content: "\f32a"; +} + +.ion-md-mic:before { + content: "\f32c"; +} + +.ion-md-mic-off:before { + content: "\f32b"; +} + +.ion-md-microphone:before { + content: "\f32d"; +} + +.ion-md-moon:before { + content: "\f32e"; +} + +.ion-md-more:before { + content: "\f1c9"; +} + +.ion-md-move:before { + content: "\f331"; +} + +.ion-md-musical-note:before { + content: "\f332"; +} + +.ion-md-musical-notes:before { + content: "\f333"; +} + +.ion-md-navigate:before { + content: "\f334"; +} + +.ion-md-no-smoking:before { + content: "\f335"; +} + +.ion-md-notifications:before { + content: "\f338"; +} + +.ion-md-notifications-off:before { + content: "\f336"; +} + +.ion-md-notifications-outline:before { + content: "\f337"; +} + +.ion-md-nuclear:before { + content: "\f339"; +} + +.ion-md-nutrition:before { + content: "\f33a"; +} + +.ion-md-open:before { + content: "\f33b"; +} + +.ion-md-options:before { + content: "\f33c"; +} + +.ion-md-outlet:before { + content: "\f33d"; +} + +.ion-md-paper:before { + content: "\f33f"; +} + +.ion-md-paper-plane:before { + content: "\f33e"; +} + +.ion-md-partly-sunny:before { + content: "\f340"; +} + +.ion-md-pause:before { + content: "\f341"; +} + +.ion-md-paw:before { + content: "\f342"; +} + +.ion-md-people:before { + content: "\f343"; +} + +.ion-md-person:before { + content: "\f345"; +} + +.ion-md-person-add:before { + content: "\f344"; +} + +.ion-md-phone-landscape:before { + content: "\f346"; +} + +.ion-md-phone-portrait:before { + content: "\f347"; +} + +.ion-md-photos:before { + content: "\f348"; +} + +.ion-md-pie:before { + content: "\f349"; +} + +.ion-md-pin:before { + content: "\f34a"; +} + +.ion-md-pint:before { + content: "\f34b"; +} + +.ion-md-pizza:before { + content: "\f354"; +} + +.ion-md-plane:before { + content: "\f355"; +} + +.ion-md-planet:before { + content: "\f356"; +} + +.ion-md-play:before { + content: "\f357"; +} + +.ion-md-podium:before { + content: "\f358"; +} + +.ion-md-power:before { + content: "\f359"; +} + +.ion-md-pricetag:before { + content: "\f35a"; +} + +.ion-md-pricetags:before { + content: "\f35b"; +} + +.ion-md-print:before { + content: "\f35c"; +} + +.ion-md-pulse:before { + content: "\f35d"; +} + +.ion-md-qr-scanner:before { + content: "\f35e"; +} + +.ion-md-quote:before { + content: "\f35f"; +} + +.ion-md-radio:before { + content: "\f362"; +} + +.ion-md-radio-button-off:before { + content: "\f360"; +} + +.ion-md-radio-button-on:before { + content: "\f361"; +} + +.ion-md-rainy:before { + content: "\f363"; +} + +.ion-md-recording:before { + content: "\f364"; +} + +.ion-md-redo:before { + content: "\f365"; +} + +.ion-md-refresh:before { + content: "\f366"; +} + +.ion-md-refresh-circle:before { + content: "\f228"; +} + +.ion-md-remove:before { + content: "\f368"; +} + +.ion-md-remove-circle:before { + content: "\f367"; +} + +.ion-md-reorder:before { + content: "\f369"; +} + +.ion-md-repeat:before { + content: "\f36a"; +} + +.ion-md-resize:before { + content: "\f36b"; +} + +.ion-md-restaurant:before { + content: "\f36c"; +} + +.ion-md-return-left:before { + content: "\f36d"; +} + +.ion-md-return-right:before { + content: "\f36e"; +} + +.ion-md-reverse-camera:before { + content: "\f36f"; +} + +.ion-md-rewind:before { + content: "\f370"; +} + +.ion-md-ribbon:before { + content: "\f371"; +} + +.ion-md-rose:before { + content: "\f372"; +} + +.ion-md-sad:before { + content: "\f373"; +} + +.ion-md-school:before { + content: "\f374"; +} + +.ion-md-search:before { + content: "\f375"; +} + +.ion-md-send:before { + content: "\f376"; +} + +.ion-md-settings:before { + content: "\f377"; +} + +.ion-md-share:before { + content: "\f379"; +} + +.ion-md-share-alt:before { + content: "\f378"; +} + +.ion-md-shirt:before { + content: "\f37a"; +} + +.ion-md-shuffle:before { + content: "\f37b"; +} + +.ion-md-skip-backward:before { + content: "\f37c"; +} + +.ion-md-skip-forward:before { + content: "\f37d"; +} + +.ion-md-snow:before { + content: "\f37e"; +} + +.ion-md-speedometer:before { + content: "\f37f"; +} + +.ion-md-square:before { + content: "\f381"; +} + +.ion-md-square-outline:before { + content: "\f380"; +} + +.ion-md-star:before { + content: "\f384"; +} + +.ion-md-star-half:before { + content: "\f382"; +} + +.ion-md-star-outline:before { + content: "\f383"; +} + +.ion-md-stats:before { + content: "\f385"; +} + +.ion-md-stopwatch:before { + content: "\f386"; +} + +.ion-md-subway:before { + content: "\f387"; +} + +.ion-md-sunny:before { + content: "\f388"; +} + +.ion-md-swap:before { + content: "\f389"; +} + +.ion-md-switch:before { + content: "\f38a"; +} + +.ion-md-sync:before { + content: "\f38b"; +} + +.ion-md-tablet-landscape:before { + content: "\f38c"; +} + +.ion-md-tablet-portrait:before { + content: "\f38d"; +} + +.ion-md-tennisball:before { + content: "\f38e"; +} + +.ion-md-text:before { + content: "\f38f"; +} + +.ion-md-thermometer:before { + content: "\f390"; +} + +.ion-md-thumbs-down:before { + content: "\f391"; +} + +.ion-md-thumbs-up:before { + content: "\f392"; +} + +.ion-md-thunderstorm:before { + content: "\f393"; +} + +.ion-md-time:before { + content: "\f394"; +} + +.ion-md-timer:before { + content: "\f395"; +} + +.ion-md-train:before { + content: "\f396"; +} + +.ion-md-transgender:before { + content: "\f397"; +} + +.ion-md-trash:before { + content: "\f398"; +} + +.ion-md-trending-down:before { + content: "\f399"; +} + +.ion-md-trending-up:before { + content: "\f39a"; +} + +.ion-md-trophy:before { + content: "\f39b"; +} + +.ion-md-umbrella:before { + content: "\f39c"; +} + +.ion-md-undo:before { + content: "\f39d"; +} + +.ion-md-unlock:before { + content: "\f39e"; +} + +.ion-md-videocam:before { + content: "\f39f"; +} + +.ion-md-volume-down:before { + content: "\f3a0"; +} + +.ion-md-volume-mute:before { + content: "\f3a1"; +} + +.ion-md-volume-off:before { + content: "\f3a2"; +} + +.ion-md-volume-up:before { + content: "\f3a3"; +} + +.ion-md-walk:before { + content: "\f3a4"; +} + +.ion-md-warning:before { + content: "\f3a5"; +} + +.ion-md-watch:before { + content: "\f3a6"; +} + +.ion-md-water:before { + content: "\f3a7"; +} + +.ion-md-wifi:before { + content: "\f3a8"; +} + +.ion-md-wine:before { + content: "\f3a9"; +} + +.ion-md-woman:before { + content: "\f3aa"; +} + +@font-face { + font-family: "Ionicons"; + src: url("../assets/fonts/ionicons.woff2?v=3.0.0-alpha.3") format("woff2"), url("../assets/fonts/ionicons.woff?v=3.0.0-alpha.3") format("woff"), url("../assets/fonts/ionicons.ttf?v=3.0.0-alpha.3") format("truetype"); + font-weight: normal; + font-style: normal; +} + +ion-icon { + display: inline-block; + font-family: "Ionicons"; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-variant: normal; + font-weight: normal; + line-height: 1; + text-rendering: auto; + text-transform: none; + speak: none; +} + +ion-icon::before { + display: inline-block; +} + +@font-face { + font-family: "Roboto"; + font-style: normal; + font-weight: 300; + src: local("Roboto Light"), local("Roboto-Light"), url("../assets/fonts/roboto-light.woff2") format("woff2"), url("../assets/fonts/roboto-light.woff") format("woff"), url("../assets/fonts/roboto-light.ttf") format("truetype"); +} + +@font-face { + font-family: "Roboto"; + font-style: normal; + font-weight: 400; + src: local("Roboto"), local("Roboto-Regular"), url("../assets/fonts/roboto-regular.woff2") format("woff2"), url("../assets/fonts/roboto-regular.woff") format("woff"), url("../assets/fonts/roboto-regular.ttf") format("truetype"); +} + +@font-face { + font-family: "Roboto"; + font-style: normal; + font-weight: 500; + src: local("Roboto Medium"), local("Roboto-Medium"), url("../assets/fonts/roboto-medium.woff2") format("woff2"), url("../assets/fonts/roboto-medium.woff") format("woff"), url("../assets/fonts/roboto-medium.ttf") format("truetype"); +} + +@font-face { + font-family: "Roboto"; + font-style: normal; + font-weight: 700; + src: local("Roboto Bold"), local("Roboto-Bold"), url("../assets/fonts/roboto-bold.woff2") format("woff2"), url("../assets/fonts/roboto-bold.woff") format("woff"), url("../assets/fonts/roboto-bold.ttf") format("truetype"); +} + +@font-face { + font-family: "Noto Sans"; + font-style: normal; + font-weight: 300; + src: local("Noto Sans"), local("Noto-Sans-Regular"), url("../assets/fonts/noto-sans-regular.woff") format("woff"), url("../assets/fonts/noto-sans-regular.ttf") format("truetype"); +} + +@font-face { + font-family: "Noto Sans"; + font-style: normal; + font-weight: 400; + src: local("Noto Sans"), local("Noto-Sans-Regular"), url("../assets/fonts/noto-sans-regular.woff") format("woff"), url("../assets/fonts/noto-sans-regular.ttf") format("truetype"); +} + +@font-face { + font-family: "Noto Sans"; + font-style: normal; + font-weight: 500; + src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("../assets/fonts/noto-sans-bold.woff") format("woff"), url("../assets/fonts/noto-sans-bold.ttf") format("truetype"); +} + +@font-face { + font-family: "Noto Sans"; + font-style: normal; + font-weight: 700; + src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("../assets/fonts/noto-sans-bold.woff") format("woff"), url("../assets/fonts/noto-sans-bold.ttf") format("truetype"); +} + +ion-action-sheet { + left: 0; + top: 0; + position: absolute; + z-index: 1000; + display: block; + width: 100%; + height: 100%; +} + +.action-sheet-wrapper { + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: auto; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + position: absolute; + z-index: 10; + display: block; + width: 100%; + max-width: 500px; + pointer-events: none; +} + +.action-sheet-button { + width: 100%; +} + +.action-sheet-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-flow: column; + -ms-flex-flow: column; + flex-flow: column; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + height: 100%; + max-height: 100%; +} + +.action-sheet-group { + overflow: scroll; + -webkit-flex-shrink: 2; + -ms-flex-negative: 2; + flex-shrink: 2; + pointer-events: all; +} + +.action-sheet-group-cancel { + overflow: hidden; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.action-sheet-ios { + text-align: center; +} + +.action-sheet-ios .action-sheet-wrapper { + margin: constant(safe-area-inset-top) auto constant(safe-area-inset-bottom); + margin: env(safe-area-inset-top) auto env(safe-area-inset-bottom); +} + +.action-sheet-ios .action-sheet-container { + padding: 0 10px; +} + +.action-sheet-ios .action-sheet-group { + border-radius: 13px; + margin-bottom: 8px; + background: #f9f9f9; +} + +.action-sheet-ios .action-sheet-group:first-child { + margin-top: 10px; +} + +.action-sheet-ios .action-sheet-group:last-child { + margin-bottom: 10px; +} + +.action-sheet-ios .action-sheet-title { + padding: 1.5rem; + text-align: center; + border-radius: 0; + border-bottom: 0.55px solid #d6d6da; + font-size: 1.3rem; + font-weight: 400; + color: #8f8f8f; +} + +.action-sheet-ios .action-sheet-button { + margin: 0; + padding: 18px; + min-height: 5.6rem; + border-bottom: 0.55px solid #d6d6da; + font-size: 2rem; + color: #007aff; + background: transparent; +} + +.action-sheet-ios .action-sheet-button:last-child { + border-bottom-color: transparent; +} + +.action-sheet-ios .action-sheet-button.activated { + margin-top: -0.55px; + border-top: 0.55px solid #ebebeb; + border-bottom-color: #ebebeb; + background: #ebebeb; +} + +.action-sheet-ios .action-sheet-selected { + font-weight: bold; + background: #fff; +} + +.action-sheet-ios .action-sheet-destructive { + color: #f53d3d; +} + +.action-sheet-ios .action-sheet-cancel { + font-weight: 600; + background: #fff; +} + +.action-sheet-md .action-sheet-title { + text-align: left; + text-align: start; + font-size: 1.6rem; + color: #757575; + padding: 11px 16px 17px; +} + +.action-sheet-md .action-sheet-button { + text-align: left; + text-align: start; + position: relative; + overflow: hidden; + min-height: 4.8rem; + font-size: 1.6rem; + color: #222; + background: transparent; + padding: 0 16px; +} + +.action-sheet-md .action-sheet-button.activated { + background: #f1f1f1; +} + +.action-sheet-md .action-sheet-icon { + padding: 0; + text-align: center; + width: 2.3rem; + font-size: 2.4rem; + vertical-align: middle; + margin: 0 32px 0 0; +} + +.action-sheet-md .action-sheet-group { + background: #fafafa; +} + +.action-sheet-md .action-sheet-group:first-child { + padding-top: 0.8rem; +} + +.action-sheet-md .action-sheet-group:last-child { + padding-bottom: 0.8rem; +} + +.action-sheet-md .action-sheet-group .button-inner { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.action-sheet-md .action-sheet-selected { + font-weight: bold; +} + +.action-sheet-wp .action-sheet-title { + text-align: left; + text-align: start; + font-size: 2rem; + color: #4d4d4d; + padding: 11px 16px 17px; +} + +.action-sheet-wp .action-sheet-button { + text-align: left; + text-align: start; + min-height: 4.8rem; + font-size: 1.5rem; + color: #4d4d4d; + background: transparent; + padding: 0 16px; +} + +.action-sheet-wp .action-sheet-button.activated { + background: #aaa; +} + +.action-sheet-wp .action-sheet-icon { + padding: 0; + text-align: center; + width: 2.3rem; + font-size: 2.4rem; + vertical-align: middle; + margin: 0 20px 0 0; +} + +.action-sheet-wp .action-sheet-group { + background: #fff; +} + +.action-sheet-wp .action-sheet-group:first-child { + padding-top: 0.8rem; + -webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); + box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); +} + +.action-sheet-wp .action-sheet-group:last-child { + padding-bottom: 0.8rem; +} + +.action-sheet-wp .action-sheet-group .button-inner { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.action-sheet-wp .action-sheet-selected { + font-weight: bold; +} + +.action-sheet-wp .action-sheet-cancel { + background: transparent; +} + +ion-alert { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + z-index: 1000; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + contain: strict; +} + +ion-alert.alert-top { + padding-top: 50px; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; +} + +ion-alert input { + width: 100%; +} + +.alert-wrapper { + z-index: 10; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-width: 250px; + max-height: 90%; + opacity: 0; + contain: content; +} + +.alert-title { + margin: 0; + padding: 0; +} + +.alert-sub-title { + margin: 5px 0 0; + padding: 0; + font-weight: normal; +} + +.alert-message { + overflow-y: scroll; + -webkit-overflow-scrolling: touch; +} + +.alert-input { + padding: 10px 0; + border: 0; + background: inherit; +} + +.alert-input::-moz-placeholder { + color: #999; +} + +.alert-input:-ms-input-placeholder { + color: #999; +} + +.alert-input::-webkit-input-placeholder { + text-indent: 0; + color: #999; +} + +.alert-button-group { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.alert-button-group-vertical { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.alert-button { + margin: 0; + z-index: 0; + display: block; + font-size: 14px; + line-height: 20px; +} + +.alert-tappable { + text-align: left; + text-align: start; + -moz-appearance: none; + -ms-appearance: none; + -webkit-appearance: none; + appearance: none; + margin: 0; + padding: 0; + width: 100%; + font-size: inherit; + line-height: initial; + background: transparent; +} + +.alert-ios .alert-wrapper { + border-radius: 13px; + overflow: hidden; + max-width: 270px; + background-color: #f8f8f8; + -webkit-box-shadow: none; + box-shadow: none; +} + +.alert-ios .alert-head { + text-align: center; + padding: 12px 16px 7px; +} + +.alert-ios .alert-title { + margin-top: 8px; + font-size: 17px; + font-weight: 600; +} + +.alert-ios .alert-sub-title { + font-size: 14px; + color: #666; +} + +.alert-ios .alert-message, +.alert-ios .alert-input-group { + text-align: center; + font-size: 13px; + color: inherit; + padding: 0 16px 21px; +} + +.alert-ios .alert-message { + max-height: 240px; +} + +.alert-ios .alert-message:empty { + padding: 0 0 12px; +} + +.alert-ios .alert-input { + -moz-appearance: none; + -ms-appearance: none; + -webkit-appearance: none; + appearance: none; + margin-top: 10px; + border-radius: 4px; + border: 0.55px solid #ccc; + background-color: #fff; + padding: 6px; +} + +.alert-ios .alert-radio-group, +.alert-ios .alert-checkbox-group { + overflow: scroll; + max-height: 240px; + border-top: 0.55px solid #dbdbdf; + -webkit-overflow-scrolling: touch; +} + +.alert-ios .alert-tappable { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + min-height: 44px; +} + +.alert-ios .alert-radio-label { + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-ordinal-group: 1; + -webkit-order: 0; + -ms-flex-order: 0; + order: 0; + text-overflow: ellipsis; + white-space: nowrap; + color: initial; + padding: 13px; +} + +.alert-ios [aria-checked=true] .alert-radio-label { + color: #673AB7; +} + +.alert-ios .alert-radio-icon { + position: relative; + -webkit-box-ordinal-group: 2; + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; + min-width: 30px; +} + +.alert-ios [aria-checked=true] .alert-radio-inner { + left: 7px; + top: -7px; + position: absolute; + width: 6px; + height: 12px; + border-width: 2px; + border-top-width: 0; + border-left-width: 0; + border-style: solid; + border-color: #673AB7; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.alert-ios .alert-checkbox-label { + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-overflow: ellipsis; + white-space: nowrap; + color: initial; + padding: 13px; +} + +.alert-ios [aria-checked=true] .alert-checkbox-label { + color: initial; +} + +.alert-ios .alert-checkbox-icon { + border-radius: 50%; + position: relative; + width: 21px; + height: 21px; + border-width: 0.55px; + border-style: solid; + border-color: #c8c7cc; + background-color: #fff; + margin: 10px 6px 10px 16px; +} + +.alert-ios [aria-checked=true] .alert-checkbox-icon { + border-color: #673AB7; + background-color: #673AB7; +} + +.alert-ios [aria-checked=true] .alert-checkbox-inner { + left: 7px; + top: 4px; + position: absolute; + width: 4px; + height: 9px; + border-width: 0.55px; + border-top-width: 0; + border-left-width: 0; + border-style: solid; + border-color: #fff; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.alert-ios .alert-button-group { + margin-right: -0.55px; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.alert-ios .alert-button { + margin: 0; + border-radius: 0; + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + min-width: 50%; + height: 44px; + border-top: 0.55px solid #dbdbdf; + border-right: 0.55px solid #dbdbdf; + font-size: 17px; + color: #673AB7; + background-color: transparent; +} + +.alert-ios .alert-button:last-child { + border-right: 0; + font-weight: bold; +} + +.alert-ios .alert-button.activated { + background-color: #e9e9e9; +} + +.alert-md .alert-wrapper { + border-radius: 2px; + max-width: 280px; + background-color: #fafafa; + -webkit-box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); + box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); +} + +.alert-md .alert-head { + text-align: left; + text-align: start; + padding: 24px 24px 20px; +} + +.alert-md .alert-title { + font-size: 22px; +} + +.alert-md .alert-sub-title { + font-size: 16px; +} + +.alert-md .alert-message, +.alert-md .alert-input-group { + color: rgba(0, 0, 0, 0.5); + padding: 0 24px 24px; +} + +.alert-md .alert-message { + max-height: 240px; + font-size: 15px; +} + +.alert-md .alert-message:empty { + padding: 0; +} + +.alert-md .alert-input { + margin: 5px 0; + border-bottom: 1px solid #dedede; + color: #000; +} + +.alert-md .alert-input:focus { + margin-bottom: 4px; + border-bottom: 2px solid #673AB7; +} + +.alert-md .alert-radio-group, +.alert-md .alert-checkbox-group { + position: relative; + overflow: auto; + max-height: 240px; + border-top: 1px solid #dedede; + border-bottom: 1px solid #dedede; +} + +.alert-md .alert-tappable { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + min-height: 4.4rem; +} + +.alert-md .alert-radio-label { + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-overflow: ellipsis; + white-space: nowrap; + color: initial; + padding: 13px 26px; +} + +.alert-md .alert-radio-icon { + left: 13px; + top: 0; + border-radius: 50%; + position: relative; + display: block; + width: 16px; + height: 16px; + border-width: 2px; + border-style: solid; + border-color: #787878; +} + +.alert-md .alert-radio-inner { + left: 2px; + top: 2px; + border-radius: 50%; + position: absolute; + width: 8px; + height: 8px; + background-color: #673AB7; + -webkit-transform: scale3d(0, 0, 0); + transform: scale3d(0, 0, 0); + -webkit-transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); + transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); + transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1); + transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); +} + +.alert-md [aria-checked=true] .alert-radio-label { + color: #673AB7; +} + +.alert-md [aria-checked=true] .alert-radio-icon { + border-color: #673AB7; +} + +.alert-md [aria-checked=true] .alert-radio-inner { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); +} + +.alert-md .alert-checkbox-label { + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-overflow: ellipsis; + white-space: nowrap; + color: initial; + padding: 13px 26px; +} + +.alert-md [aria-checked=true] .alert-checkbox-label { + color: initial; +} + +.alert-md .alert-checkbox-icon { + left: 13px; + top: 0; + border-radius: 2px; + position: relative; + width: 16px; + height: 16px; + border-width: 2px; + border-style: solid; + border-color: #787878; +} + +.alert-md [aria-checked=true] .alert-checkbox-icon { + border-color: #673AB7; + background-color: #673AB7; +} + +.alert-md [aria-checked=true] .alert-checkbox-inner { + left: 3px; + top: 0; + position: absolute; + width: 6px; + height: 10px; + border-width: 2px; + border-top-width: 0; + border-left-width: 0; + border-style: solid; + border-color: #fff; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.alert-md .alert-button-group { + -webkit-flex-wrap: wrap-reverse; + -ms-flex-wrap: wrap-reverse; + flex-wrap: wrap-reverse; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + padding: 8px 8px 8px 24px; +} + +.alert-md .alert-button { + text-align: right; + text-align: end; + border-radius: 2px; + position: relative; + overflow: hidden; + font-weight: 500; + text-transform: uppercase; + color: #673AB7; + background-color: transparent; + margin: 0 8px 0 0; + padding: 10px; +} + +.alert-md .alert-button.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.alert-md .alert-button .button-inner { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} + +.alert-wp ion-backdrop { + background: #fff; +} + +.alert-wp .alert-wrapper { + border-radius: 0; + width: 100%; + max-width: 520px; + border: 1px solid #673AB7; + background: #e6e6e6; +} + +.alert-wp .alert-head { + text-align: left; + text-align: start; + padding: 20px 22px 5px; +} + +.alert-wp .alert-title { + font-size: 20px; + font-weight: 400; +} + +.alert-wp .alert-sub-title { + font-size: 16px; +} + +.alert-wp .alert-message, +.alert-wp .alert-input-group { + color: #000; + padding: 0 22px 8px; +} + +.alert-wp .alert-message { + max-height: 240px; + font-size: 13px; +} + +.alert-wp .alert-message:empty { + padding: 0; +} + +.alert-wp .alert-input { + border: 2px solid rgba(0, 0, 0, 0.5); + line-height: 3rem; + color: #000; + margin: 5px 0; + padding: 0 8px; +} + +.alert-wp .alert-input:focus { + border-color: #673AB7; +} + +.alert-wp .alert-radio-group, +.alert-wp .alert-checkbox-group { + position: relative; + overflow: auto; + max-height: 240px; +} + +.alert-wp .alert-tappable { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + min-height: 4.4rem; +} + +.alert-wp .alert-radio-label { + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-overflow: ellipsis; + white-space: nowrap; + color: initial; + padding: 13px 26px; +} + +.alert-wp .alert-radio-icon { + left: 13px; + top: 0; + margin: 0; + border-radius: 50%; + position: relative; + display: block; + width: 16px; + height: 16px; + border-width: 2px; + border-style: solid; + border-color: rgba(0, 0, 0, 0.5); +} + +.alert-wp .alert-radio-inner { + left: 2px; + top: 2px; + border-radius: 50%; + position: absolute; + display: none; + width: 8px; + height: 8px; + background: #673AB7; +} + +.alert-wp [aria-checked=true] .alert-radio-label { + color: #000; +} + +.alert-wp [aria-checked=true] .alert-radio-icon { + border-color: rgba(0, 0, 0, 0.5); +} + +.alert-wp [aria-checked=true] .alert-radio-inner { + display: block; +} + +.alert-wp .alert-checkbox-label { + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + text-overflow: ellipsis; + white-space: nowrap; + color: initial; + padding: 13px 26px; +} + +.alert-wp [aria-checked=true] .alert-checkbox-label { + color: initial; +} + +.alert-wp .alert-checkbox-icon { + left: 13px; + top: 0; + border-radius: 0; + position: relative; + width: 16px; + height: 16px; + border-width: 2px; + border-style: solid; + border-color: rgba(0, 0, 0, 0.5); + background: transparent; +} + +.alert-wp [aria-checked=true] .alert-checkbox-icon { + border-color: #673AB7; + background: #673AB7; +} + +.alert-wp [aria-checked=true] .alert-checkbox-inner { + left: 3px; + top: -2px; + position: absolute; + width: 6px; + height: 12px; + border-width: 1px; + border-top-width: 0; + border-left-width: 0; + border-style: solid; + border-color: #fff; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.alert-wp .alert-button-group { + -webkit-flex-wrap: wrap-reverse; + -ms-flex-wrap: wrap-reverse; + flex-wrap: wrap-reverse; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + padding: 20px 22px; +} + +.alert-wp .alert-button-group-vertical .alert-button { + margin-top: 5px; + width: 100%; +} + +.alert-wp .alert-button-group-vertical .alert-button:first-child:not(:only-child) { + margin-right: 0; + margin-top: 0; +} + +.alert-wp .alert-button { + border-radius: 0; + width: 49.5%; + font-weight: 400; + color: #000; + background: #b8b8b8; + padding: 5px; +} + +.alert-wp .alert-button:first-child:not(:only-child) { + margin-right: 1%; +} + +.alert-wp .alert-button.activated { + background: darkgray; +} + +audio, +canvas, +progress, +video { + vertical-align: baseline; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +b, +strong { + font-weight: bold; +} + +img { + max-width: 100%; + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 1em 40px; +} + +hr { + height: 1px; + border-width: 0; + -webkit-box-sizing: content-box; + box-sizing: content-box; +} + +pre { + overflow: auto; +} + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +label, +input, +select, +textarea { + font-family: inherit; + line-height: normal; +} + +textarea { + overflow: auto; + height: auto; + font: inherit; + color: inherit; +} + +textarea::-webkit-input-placeholder { + padding-left: 2px; +} + +textarea:-ms-input-placeholder { + padding-left: 2px; +} + +textarea::-ms-input-placeholder { + padding-left: 2px; +} + +textarea::placeholder { + padding-left: 2px; +} + +form, +input, +optgroup, +select { + margin: 0; + font: inherit; + color: inherit; +} + +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +a, +a div, +a span, +a ion-icon, +a ion-label, +button, +button div, +button span, +button ion-icon, +button ion-label, +[tappable], +[tappable] div, +[tappable] span, +[tappable] ion-icon, +[tappable] ion-label, +input, +textarea { + -ms-touch-action: manipulation; + touch-action: manipulation; +} + +a ion-label, +button ion-label { + pointer-events: none; +} + +button { + border: 0; + font-family: inherit; + font-style: inherit; + font-variant: inherit; + line-height: 1; + text-transform: none; + cursor: pointer; + -webkit-appearance: button; +} + +[tappable] { + cursor: pointer; +} + +a[disabled], +button[disabled], +html input[disabled] { + cursor: default; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} + +.hide, +[hidden], +template { + display: none !important; +} + +.sticky { + position: -webkit-sticky; + position: sticky; + top: 0; +} + +:focus, +:active { + outline: none; +} + +.focus-outline :focus { + outline: thin dotted; + outline-offset: -1px; +} + +.focus-outline button:focus, +.focus-outline [ion-button]:focus { + border-color: #51a7e8; + outline: 2px solid #51a7e8; + -webkit-box-shadow: 0 0 8px 1px #51a7e8; + box-shadow: 0 0 8px 1px #51a7e8; +} + +ion-input :focus { + outline: none; +} + +.click-block { + display: none; +} + +.click-block-enabled { + left: 0; + right: 0; + top: 0; + bottom: 0; + -webkit-transform: translate3d(0, -100%, 0) translateY(1px); + transform: translate3d(0, -100%, 0) translateY(1px); + position: absolute; + z-index: 99999; + display: block; + opacity: 0; + contain: strict; +} + +.click-block-active { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +* { + -webkit-box-sizing: border-box; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent; + -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; +} + +html { + width: 100%; + height: 100%; + font-size: 62.5%; + -webkit-text-size-adjust: 100%; + -moz-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + text-size-adjust: 100%; +} + +body { + margin: 0; + padding: 0; + position: fixed; + overflow: hidden; + width: 100%; + max-width: 100%; + height: 100%; + max-height: 100%; + -webkit-font-smoothing: antialiased; + font-smoothing: antialiased; + text-rendering: optimizeLegibility; + -webkit-user-drag: none; + -ms-content-zooming: none; + -ms-touch-action: manipulation; + touch-action: manipulation; + word-wrap: break-word; + -webkit-text-size-adjust: none; + -moz-text-size-adjust: none; + -ms-text-size-adjust: none; + text-size-adjust: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +a { + background-color: transparent; +} + +.enable-hover a:hover { + opacity: .7; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin-top: 1.6rem; + margin-bottom: 1rem; + font-weight: 500; + line-height: 1.2; +} + +[padding] h1:first-child, +[padding] h2:first-child, +[padding] h3:first-child, +[padding] h4:first-child, +[padding] h5:first-child, +[padding] h6:first-child { + margin-top: -0.3rem; +} + +h1 + h2, +h1 + h3, +h2 + h3 { + margin-top: -0.3rem; +} + +h1 { + margin-top: 2rem; + font-size: 2.6rem; +} + +h2 { + margin-top: 1.8rem; + font-size: 2.4rem; +} + +h3 { + font-size: 2.2rem; +} + +h4 { + font-size: 2rem; +} + +h5 { + font-size: 1.8rem; +} + +h6 { + font-size: 1.6rem; +} + +small { + font-size: 75%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -.5em; +} + +sub { + bottom: -.25em; +} + +ion-app, +ion-nav, +ion-tab, +ion-tabs, +.app-root { + left: 0; + top: 0; + position: absolute; + z-index: 0; + display: block; + width: 100%; + height: 100%; +} + +ion-nav, +ion-tab, +ion-tabs { + overflow: hidden; +} + +ion-tab { + display: none; +} + +ion-tab.show-tab { + display: block; +} + +ion-app, +ion-nav, +ion-tab, +ion-tabs, +.app-root, +.ion-page { + contain: strict; +} + +.ion-page { + left: 0; + top: 0; + position: absolute; + display: block; + width: 100%; + height: 100%; + opacity: 0; +} + +.ion-page.show-page { + opacity: 1; +} + +ion-header { + left: 0; + top: 0; + position: absolute; + z-index: 10; + display: block; + width: 100%; +} + +ion-footer { + left: 0; + bottom: 0; + position: absolute; + z-index: 10; + display: block; + width: 100%; +} + +[app-viewport], +[overlay-portal], +[nav-viewport], +[tab-portal], +.nav-decor { + display: none; +} + +[text-center] { + text-align: center !important; +} + +[text-justify] { + text-align: justify !important; +} + +[text-start] { + text-align: left; + text-align: start !important; +} + +[text-end] { + text-align: right; + text-align: end !important; +} + +[text-left] { + text-align: left !important; +} + +[text-right] { + text-align: right !important; +} + +[text-nowrap] { + white-space: nowrap !important; +} + +[text-wrap] { + white-space: normal !important; +} + +@media (min-width: 576px) { + [text-sm-center] { + text-align: center !important; + } + [text-sm-justify] { + text-align: justify !important; + } + [text-sm-start] { + text-align: left; + text-align: start !important; + } + [text-sm-end] { + text-align: right; + text-align: end !important; + } + [text-sm-left] { + text-align: left !important; + } + [text-sm-right] { + text-align: right !important; + } + [text-sm-nowrap] { + white-space: nowrap !important; + } + [text-sm-wrap] { + white-space: normal !important; + } +} + +@media (min-width: 768px) { + [text-md-center] { + text-align: center !important; + } + [text-md-justify] { + text-align: justify !important; + } + [text-md-start] { + text-align: left; + text-align: start !important; + } + [text-md-end] { + text-align: right; + text-align: end !important; + } + [text-md-left] { + text-align: left !important; + } + [text-md-right] { + text-align: right !important; + } + [text-md-nowrap] { + white-space: nowrap !important; + } + [text-md-wrap] { + white-space: normal !important; + } +} + +@media (min-width: 992px) { + [text-lg-center] { + text-align: center !important; + } + [text-lg-justify] { + text-align: justify !important; + } + [text-lg-start] { + text-align: left; + text-align: start !important; + } + [text-lg-end] { + text-align: right; + text-align: end !important; + } + [text-lg-left] { + text-align: left !important; + } + [text-lg-right] { + text-align: right !important; + } + [text-lg-nowrap] { + white-space: nowrap !important; + } + [text-lg-wrap] { + white-space: normal !important; + } +} + +@media (min-width: 1200px) { + [text-xl-center] { + text-align: center !important; + } + [text-xl-justify] { + text-align: justify !important; + } + [text-xl-start] { + text-align: left; + text-align: start !important; + } + [text-xl-end] { + text-align: right; + text-align: end !important; + } + [text-xl-left] { + text-align: left !important; + } + [text-xl-right] { + text-align: right !important; + } + [text-xl-nowrap] { + white-space: nowrap !important; + } + [text-xl-wrap] { + white-space: normal !important; + } +} + +[text-uppercase] { + text-transform: uppercase !important; +} + +[text-lowercase] { + text-transform: lowercase !important; +} + +[text-capitalize] { + text-transform: capitalize !important; +} + +@media (min-width: 576px) { + [text-sm-uppercase] { + text-transform: uppercase !important; + } + [text-sm-lowercase] { + text-transform: lowercase !important; + } + [text-sm-capitalize] { + text-transform: capitalize !important; + } +} + +@media (min-width: 768px) { + [text-md-uppercase] { + text-transform: uppercase !important; + } + [text-md-lowercase] { + text-transform: lowercase !important; + } + [text-md-capitalize] { + text-transform: capitalize !important; + } +} + +@media (min-width: 992px) { + [text-lg-uppercase] { + text-transform: uppercase !important; + } + [text-lg-lowercase] { + text-transform: lowercase !important; + } + [text-lg-capitalize] { + text-transform: capitalize !important; + } +} + +@media (min-width: 1200px) { + [text-xl-uppercase] { + text-transform: uppercase !important; + } + [text-xl-lowercase] { + text-transform: lowercase !important; + } + [text-xl-capitalize] { + text-transform: capitalize !important; + } +} + +[float-left] { + float: left !important; +} + +[float-right] { + float: right !important; +} + +[float-start] { + float: left !important; +} + +[float-end] { + float: right !important; +} + +@media (min-width: 576px) { + [float-sm-left] { + float: left !important; + } + [float-sm-right] { + float: right !important; + } + [float-sm-start] { + float: left !important; + } + [float-sm-end] { + float: right !important; + } +} + +@media (min-width: 768px) { + [float-md-left] { + float: left !important; + } + [float-md-right] { + float: right !important; + } + [float-md-start] { + float: left !important; + } + [float-md-end] { + float: right !important; + } +} + +@media (min-width: 992px) { + [float-lg-left] { + float: left !important; + } + [float-lg-right] { + float: right !important; + } + [float-lg-start] { + float: left !important; + } + [float-lg-end] { + float: right !important; + } +} + +@media (min-width: 1200px) { + [float-xl-left] { + float: left !important; + } + [float-xl-right] { + float: right !important; + } + [float-xl-start] { + float: left !important; + } + [float-xl-end] { + float: right !important; + } +} + +ion-app.ios { + font-family: -apple-system, "Helvetica Neue", "Roboto", sans-serif; + font-size: 1.4rem; + background-color: #fff; +} + +ion-app.md { + font-family: "Roboto", "Helvetica Neue", sans-serif; + font-size: 1.4rem; + background-color: #fff; +} + +ion-app.wp { + font-family: "Segoe UI", "Noto Sans", sans-serif; + font-size: 1.4rem; + background-color: #fff; +} + +ion-backdrop { + left: 0; + top: 0; + position: absolute; + z-index: 2; + display: block; + width: 100%; + height: 100%; + background-color: #000; + opacity: .01; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +ion-backdrop.backdrop-no-tappable { + cursor: auto; +} + +ion-badge { + padding: 3px 8px; + text-align: center; + display: inline-block; + min-width: 10px; + font-size: 1.3rem; + font-weight: bold; + line-height: 1; + white-space: nowrap; + vertical-align: baseline; +} + +ion-badge:empty { + display: none; +} + +.badge-ios { + border-radius: 10px; + color: #fff; + background-color: #673AB7; +} + +.badge-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.badge-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.badge-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.badge-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.badge-ios-dark { + color: #fff; + background-color: #222; +} + +.badge-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.badge-md { + border-radius: 4px; + color: #fff; + background-color: #673AB7; +} + +.badge-md-primary { + color: #fff; + background-color: #673AB7; +} + +.badge-md-secondary { + color: #fff; + background-color: #32db64; +} + +.badge-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.badge-md-light { + color: #000; + background-color: #f4f4f4; +} + +.badge-md-dark { + color: #fff; + background-color: #222; +} + +.badge-md-optblue { + color: #fff; + background-color: #E00201; +} + +.badge-wp { + border-radius: 0; + color: #fff; + background-color: #673AB7; +} + +.badge-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.badge-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.badge-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.badge-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.badge-wp-dark { + color: #fff; + background-color: #222; +} + +.badge-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.button { + text-align: center; + -moz-appearance: none; + -ms-appearance: none; + -webkit-appearance: none; + appearance: none; + position: relative; + z-index: 0; + display: inline-block; + text-overflow: ellipsis; + text-transform: none; + white-space: nowrap; + cursor: pointer; + vertical-align: top; + vertical-align: -webkit-baseline-middle; + -webkit-transition: background-color, opacity 100ms linear; + transition: background-color, opacity 100ms linear; + -webkit-font-kerning: none; + font-kerning: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + contain: content; +} + +.button-inner { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-flow: row nowrap; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + height: 100%; +} + +[ion-button] { + text-decoration: none; +} + +a[disabled], +button[disabled], +[ion-button][disabled] { + cursor: default; + opacity: .4; + pointer-events: none; +} + +.button-block { + display: block; + clear: both; + width: 100%; + contain: strict; +} + +.button-block::after { + clear: both; +} + +.button-full { + display: block; + width: 100%; + contain: strict; +} + +.button-full.button-outline { + border-radius: 0; + border-right-width: 0; + border-left-width: 0; +} + +[icon-left] ion-icon, +[icon-start] ion-icon { + font-size: 1.4em; + line-height: .67; + pointer-events: none; + padding-right: 0.3em; +} + +[icon-right] ion-icon, +[icon-end] ion-icon { + font-size: 1.4em; + line-height: .67; + pointer-events: none; + padding-left: 0.4em; +} + +.button[icon-only] { + padding: 0; + min-width: .9em; +} + +[icon-only] ion-icon { + padding: 0 0.5em; + font-size: 1.8em; + line-height: .67; + pointer-events: none; +} + +.button-ios { + border-radius: 4px; + height: 2.8em; + font-size: 1.6rem; + color: #fff; + background-color: #673AB7; + margin: 0.4rem 0.2rem; + padding: 0 1em; +} + +.button-ios.activated { + background-color: #734abd; + opacity: 1; +} + +.button-ios:hover:not(.disable-hover) { + opacity: 0.8; +} + +.button-large-ios { + height: 2.8em; + font-size: 2rem; + padding: 0 1em; +} + +.button-small-ios { + height: 2.1em; + font-size: 1.3rem; + padding: 0 0.9em; +} + +.button-small-ios[icon-only] ion-icon { + font-size: 1.3em; +} + +.button-block-ios { + margin-left: 0; + margin-right: 0; +} + +.button-full-ios { + margin-left: 0; + margin-right: 0; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; +} + +.button-outline-ios { + border-radius: 4px; + border-width: 1px; + border-style: solid; + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.button-outline-ios.activated { + color: #fff; + background-color: #673AB7; + opacity: 1; +} + +.button-clear-ios { + border-color: transparent; + color: #673AB7; + background-color: transparent; +} + +.button-clear-ios.activated { + background-color: transparent; + opacity: 0.4; +} + +.button-clear-ios:hover:not(.disable-hover) { + color: #673AB7; + opacity: 0.6; +} + +.button-round-ios { + border-radius: 64px; + padding: 0 2.6rem; +} + +.button-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.button-ios-primary.activated { + background-color: #734abd; +} + +.button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.button-clear-ios-primary { + border-color: transparent; + color: #673AB7; + background-color: transparent; +} + +.button-clear-ios-primary.activated { + opacity: 0.4; +} + +.button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.button-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.button-ios-secondary.activated { + background-color: #2ec95c; +} + +.button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.button-clear-ios-secondary { + border-color: transparent; + color: #32db64; + background-color: transparent; +} + +.button-clear-ios-secondary.activated { + opacity: 0.4; +} + +.button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.button-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.button-ios-danger.activated { + background-color: #e13838; +} + +.button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.button-clear-ios-danger { + border-color: transparent; + color: #f53d3d; + background-color: transparent; +} + +.button-clear-ios-danger.activated { + opacity: 0.4; +} + +.button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.button-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.button-ios-light.activated { + background-color: #e0e0e0; +} + +.button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.button-clear-ios-light { + border-color: transparent; + color: #f4f4f4; + background-color: transparent; +} + +.button-clear-ios-light.activated { + opacity: 0.4; +} + +.button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.button-ios-dark { + color: #fff; + background-color: #222; +} + +.button-ios-dark.activated { + background-color: #343434; +} + +.button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.button-clear-ios-dark { + border-color: transparent; + color: #222; + background-color: transparent; +} + +.button-clear-ios-dark.activated { + opacity: 0.4; +} + +.button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.button-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.button-ios-optblue.activated { + background-color: #e21615; +} + +.button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.button-clear-ios-optblue { + border-color: transparent; + color: #E00201; + background-color: transparent; +} + +.button-clear-ios-optblue.activated { + opacity: 0.4; +} + +.button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.button-strong-ios { + font-weight: 600; +} + +.button-md { + border-radius: 2px; + overflow: hidden; + height: 3.6rem; + font-size: 1.4rem; + font-weight: 500; + text-transform: uppercase; + color: #fff; + background-color: #673AB7; + -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); + -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); + margin: 0.4rem 0.2rem; + padding: 0 1.1em; +} + +.button-md:hover:not(.disable-hover) { + background-color: #673AB7; +} + +.button-md.activated { + background-color: #734abd; + -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14), 0 3px 5px rgba(0, 0, 0, 0.21), 0 0 0 0 transparent; + box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14), 0 3px 5px rgba(0, 0, 0, 0.21), 0 0 0 0 transparent; +} + +.button-md .button-effect { + background-color: #fff; +} + +.button-large-md { + height: 2.8em; + font-size: 2rem; + padding: 0 1em; +} + +.button-small-md { + height: 2.1em; + font-size: 1.3rem; + padding: 0 0.9em; +} + +.button-small-md[icon-only] ion-icon { + font-size: 1.4em; +} + +.button-block-md { + margin-left: 0; + margin-right: 0; +} + +.button-full-md { + margin-left: 0; + margin-right: 0; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; +} + +.button-outline-md { + border-width: 1px; + border-style: solid; + border-color: #673AB7; + color: #673AB7; + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-outline-md:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-md.activated { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; + opacity: 1; +} + +.button-outline-md .button-effect { + background-color: #673AB7; +} + +.button-clear-md { + border-color: transparent; + color: #673AB7; + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; + opacity: 1; +} + +.button-clear-md.activated { + background-color: rgba(158, 158, 158, 0.2); + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-clear-md:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-clear-md .button-effect { + background-color: #999; +} + +.button-round-md { + border-radius: 64px; + padding: 0 2.6rem; +} + +.button-md [icon-only] { + padding: 0; +} + +.button-effect { + border-radius: 50%; + -webkit-transform-origin: center center; + transform-origin: center center; + position: absolute; + z-index: 0; + display: none; + background-color: #555; + opacity: .2; + -webkit-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + pointer-events: none; + top: 0; + left: 0; +} + +.md button .button-effect { + display: block; +} + +.button-md-primary { + color: #fff; + background-color: #673AB7; +} + +.button-md-primary:hover:not(.disable-hover) { + background-color: #673AB7; +} + +.button-md-primary.activated { + background-color: #734abd; + opacity: 1; +} + +.button-md-primary .button-effect { + background-color: #fff; +} + +.button-outline-md-primary { + border-color: #6f44bb; + color: #6f44bb; + background-color: transparent; +} + +.button-outline-md-primary:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-md-primary.activated { + background-color: transparent; +} + +.button-outline-md-primary .button-effect { + background-color: #6f44bb; +} + +.button-clear-md-primary { + border-color: transparent; + color: #673AB7; + background-color: transparent; +} + +.button-clear-md-primary.activated { + background-color: rgba(158, 158, 158, 0.2); + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-clear-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.button-md-secondary { + color: #fff; + background-color: #32db64; +} + +.button-md-secondary:hover:not(.disable-hover) { + background-color: #32db64; +} + +.button-md-secondary.activated { + background-color: #2ec95c; + opacity: 1; +} + +.button-md-secondary .button-effect { + background-color: #fff; +} + +.button-outline-md-secondary { + border-color: #30d05f; + color: #30d05f; + background-color: transparent; +} + +.button-outline-md-secondary:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-md-secondary.activated { + background-color: transparent; +} + +.button-outline-md-secondary .button-effect { + background-color: #30d05f; +} + +.button-clear-md-secondary { + border-color: transparent; + color: #32db64; + background-color: transparent; +} + +.button-clear-md-secondary.activated { + background-color: rgba(158, 158, 158, 0.2); + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-clear-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.button-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.button-md-danger:hover:not(.disable-hover) { + background-color: #f53d3d; +} + +.button-md-danger.activated { + background-color: #e13838; + opacity: 1; +} + +.button-md-danger .button-effect { + background-color: #fff; +} + +.button-outline-md-danger { + border-color: #e93a3a; + color: #e93a3a; + background-color: transparent; +} + +.button-outline-md-danger:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-md-danger.activated { + background-color: transparent; +} + +.button-outline-md-danger .button-effect { + background-color: #e93a3a; +} + +.button-clear-md-danger { + border-color: transparent; + color: #f53d3d; + background-color: transparent; +} + +.button-clear-md-danger.activated { + background-color: rgba(158, 158, 158, 0.2); + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-clear-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.button-md-light { + color: #000; + background-color: #f4f4f4; +} + +.button-md-light:hover:not(.disable-hover) { + background-color: #f4f4f4; +} + +.button-md-light.activated { + background-color: #e0e0e0; + opacity: 1; +} + +.button-md-light .button-effect { + background-color: #000; +} + +.button-outline-md-light { + border-color: #e8e8e8; + color: #e8e8e8; + background-color: transparent; +} + +.button-outline-md-light:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-md-light.activated { + background-color: transparent; +} + +.button-outline-md-light .button-effect { + background-color: #e8e8e8; +} + +.button-clear-md-light { + border-color: transparent; + color: #f4f4f4; + background-color: transparent; +} + +.button-clear-md-light.activated { + background-color: rgba(158, 158, 158, 0.2); + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-clear-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.button-md-dark { + color: #fff; + background-color: #222; +} + +.button-md-dark:hover:not(.disable-hover) { + background-color: #222; +} + +.button-md-dark.activated { + background-color: #343434; + opacity: 1; +} + +.button-md-dark .button-effect { + background-color: #fff; +} + +.button-outline-md-dark { + border-color: #2d2d2d; + color: #2d2d2d; + background-color: transparent; +} + +.button-outline-md-dark:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-md-dark.activated { + background-color: transparent; +} + +.button-outline-md-dark .button-effect { + background-color: #2d2d2d; +} + +.button-clear-md-dark { + border-color: transparent; + color: #222; + background-color: transparent; +} + +.button-clear-md-dark.activated { + background-color: rgba(158, 158, 158, 0.2); + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-clear-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.button-md-optblue { + color: #fff; + background-color: #E00201; +} + +.button-md-optblue:hover:not(.disable-hover) { + background-color: #E00201; +} + +.button-md-optblue.activated { + background-color: #e21615; + opacity: 1; +} + +.button-md-optblue .button-effect { + background-color: #fff; +} + +.button-outline-md-optblue { + border-color: #e20f0e; + color: #e20f0e; + background-color: transparent; +} + +.button-outline-md-optblue:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-md-optblue.activated { + background-color: transparent; +} + +.button-outline-md-optblue .button-effect { + background-color: #e20f0e; +} + +.button-clear-md-optblue { + border-color: transparent; + color: #E00201; + background-color: transparent; +} + +.button-clear-md-optblue.activated { + background-color: rgba(158, 158, 158, 0.2); + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-clear-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.button-strong-md { + font-weight: bold; +} + +.button-wp { + border-radius: 0; + height: 3.6rem; + border: 3px solid transparent; + font-size: 1.4rem; + color: #fff; + background-color: #673AB7; + margin: 0.4rem 0.2rem; + padding: 0 1.1em; +} + +.button-wp:hover:not(.disable-hover) { + border-color: #734abd; + background-color: #673AB7; +} + +.button-wp.activated { + background-color: #734abd; +} + +.button-large-wp { + height: 2.8em; + font-size: 2rem; + padding: 0 1em; +} + +.button-small-wp { + height: 2.1em; + font-size: 1.3rem; + padding: 0 0.9em; +} + +.button-small-wp[icon-only] ion-icon { + font-size: 1.4em; +} + +.button-block-wp { + margin-left: 0; + margin-right: 0; +} + +.button-full-wp { + margin-left: 0; + margin-right: 0; + border-radius: 0; + border-right-width: 0; + border-left-width: 0; +} + +.button-outline-wp { + border-width: 1px; + border-style: solid; + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.button-outline-wp:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-wp.activated { + background-color: rgba(103, 58, 183, 0.16); +} + +.button-clear-wp { + color: #673AB7; + background-color: transparent; +} + +.button-clear-wp.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.button-clear-wp:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-round-wp { + border-radius: 64px; + padding: 0 2.6rem; +} + +.button-wp [icon-only] { + padding: 0; +} + +.button-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.button-wp-primary:hover:not(.disable-hover) { + border-color: #734abd; + background-color: #673AB7; +} + +.button-wp-primary.activated { + background-color: #734abd; +} + +.button-outline-wp-primary { + border-color: #6f44bb; + color: #6f44bb; + background-color: transparent; +} + +.button-outline-wp-primary:hover:not(.disable-hover) { + border-color: #6f44bb; + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-wp-primary.activated { + background-color: rgba(111, 68, 187, 0.16); +} + +.button-clear-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.button-clear-wp-primary.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.button-clear-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.button-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.button-wp-secondary:hover:not(.disable-hover) { + border-color: #2ec95c; + background-color: #32db64; +} + +.button-wp-secondary.activated { + background-color: #2ec95c; +} + +.button-outline-wp-secondary { + border-color: #30d05f; + color: #30d05f; + background-color: transparent; +} + +.button-outline-wp-secondary:hover:not(.disable-hover) { + border-color: #30d05f; + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-wp-secondary.activated { + background-color: rgba(48, 208, 95, 0.16); +} + +.button-clear-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.button-clear-wp-secondary.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.button-clear-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.button-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.button-wp-danger:hover:not(.disable-hover) { + border-color: #e13838; + background-color: #f53d3d; +} + +.button-wp-danger.activated { + background-color: #e13838; +} + +.button-outline-wp-danger { + border-color: #e93a3a; + color: #e93a3a; + background-color: transparent; +} + +.button-outline-wp-danger:hover:not(.disable-hover) { + border-color: #e93a3a; + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-wp-danger.activated { + background-color: rgba(233, 58, 58, 0.16); +} + +.button-clear-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.button-clear-wp-danger.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.button-clear-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.button-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.button-wp-light:hover:not(.disable-hover) { + border-color: #e0e0e0; + background-color: #f4f4f4; +} + +.button-wp-light.activated { + background-color: #e0e0e0; +} + +.button-outline-wp-light { + border-color: #e8e8e8; + color: #e8e8e8; + background-color: transparent; +} + +.button-outline-wp-light:hover:not(.disable-hover) { + border-color: #e8e8e8; + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-wp-light.activated { + background-color: rgba(232, 232, 232, 0.16); +} + +.button-clear-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.button-clear-wp-light.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.button-clear-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.button-wp-dark { + color: #fff; + background-color: #222; +} + +.button-wp-dark:hover:not(.disable-hover) { + border-color: #343434; + background-color: #222; +} + +.button-wp-dark.activated { + background-color: #343434; +} + +.button-outline-wp-dark { + border-color: #2d2d2d; + color: #2d2d2d; + background-color: transparent; +} + +.button-outline-wp-dark:hover:not(.disable-hover) { + border-color: #2d2d2d; + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-wp-dark.activated { + background-color: rgba(45, 45, 45, 0.16); +} + +.button-clear-wp-dark { + color: #222; + background-color: transparent; +} + +.button-clear-wp-dark.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.button-clear-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.button-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.button-wp-optblue:hover:not(.disable-hover) { + border-color: #e21615; + background-color: #E00201; +} + +.button-wp-optblue.activated { + background-color: #e21615; +} + +.button-outline-wp-optblue { + border-color: #e20f0e; + color: #e20f0e; + background-color: transparent; +} + +.button-outline-wp-optblue:hover:not(.disable-hover) { + border-color: #e20f0e; + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-wp-optblue.activated { + background-color: rgba(226, 15, 14, 0.16); +} + +.button-clear-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.button-clear-wp-optblue.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.button-clear-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.button-strong-wp { + font-weight: bold; +} + +ion-card { + display: block; + overflow: hidden; +} + +ion-card img { + display: block; + width: 100%; +} + +ion-card-header { + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +ion-card-content { + display: block; +} + +.card-ios { + margin: 12px; + border-radius: 2px; + width: calc(100% - 24px); + font-size: 1.4rem; + background: #fff; + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); +} + +.card-ios ion-list { + margin-bottom: 0; +} + +.card-ios > .item:last-child, +.card-ios > .item:last-child .item-inner, +.card-ios > .item-wrapper:last-child .item { + border-bottom: 0; +} + +.card-ios .item-ios.item-block .item-inner { + border: 0; +} + +.card-content-ios { + padding: 13px 16px 14px; + font-size: 1.4rem; + line-height: 1.4; +} + +.card-header-ios { + font-size: 1.6rem; + font-weight: 500; + color: #333; + padding: 16px; +} + +.card-header-ios + .card-content-ios, +.card-ios .item + .card-content-ios { + padding-top: 0; +} + +.card .note-ios { + font-size: 1.3rem; +} + +.card-title-ios { + display: block; + font-size: 1.8rem; + line-height: 1.2; + color: #222; + margin: 2px 0; + padding: 8px 0; +} + +.card-ios h1 { + margin: 0 0 2px; + font-size: 2.4rem; + font-weight: normal; +} + +.card-ios h2 { + margin: 2px 0; + font-size: 1.6rem; + font-weight: normal; +} + +.card-ios h3, +.card-ios h4, +.card-ios h5, +.card-ios h6 { + margin: 2px 0; + font-size: 1.4rem; + font-weight: normal; +} + +.card-ios p { + margin: 0 0 2px; + font-size: 1.4rem; + color: #666; +} + +.card-ios + ion-card { + margin-top: 0; +} + +.card-ios .text-ios-primary { + color: #673AB7; +} + +.card-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.card-ios-primary .card-header-ios, +.card-ios-primary .card-title-ios, +.card-ios-primary .card-content-ios, +.card-ios-primary p { + color: #fff; +} + +.card-ios-primary .text-ios-primary, +.card-ios-primary .card-header-ios-primary, +.card-ios-primary .card-title-ios-primary, +.card-ios-primary .card-content-ios-primary { + color: #673AB7; +} + +.card-ios-primary .text-ios-secondary, +.card-ios-primary .card-header-ios-secondary, +.card-ios-primary .card-title-ios-secondary, +.card-ios-primary .card-content-ios-secondary { + color: #32db64; +} + +.card-ios-primary .text-ios-danger, +.card-ios-primary .card-header-ios-danger, +.card-ios-primary .card-title-ios-danger, +.card-ios-primary .card-content-ios-danger { + color: #f53d3d; +} + +.card-ios-primary .text-ios-light, +.card-ios-primary .card-header-ios-light, +.card-ios-primary .card-title-ios-light, +.card-ios-primary .card-content-ios-light { + color: #f4f4f4; +} + +.card-ios-primary .text-ios-dark, +.card-ios-primary .card-header-ios-dark, +.card-ios-primary .card-title-ios-dark, +.card-ios-primary .card-content-ios-dark { + color: #222; +} + +.card-ios-primary .text-ios-optblue, +.card-ios-primary .card-header-ios-optblue, +.card-ios-primary .card-title-ios-optblue, +.card-ios-primary .card-content-ios-optblue { + color: #E00201; +} + +.card-header-ios-primary, +.card-title-ios-primary, +.card-content-ios-primary { + color: #673AB7; +} + +.card-ios .text-ios-secondary { + color: #32db64; +} + +.card-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.card-ios-secondary .card-header-ios, +.card-ios-secondary .card-title-ios, +.card-ios-secondary .card-content-ios, +.card-ios-secondary p { + color: #fff; +} + +.card-ios-secondary .text-ios-primary, +.card-ios-secondary .card-header-ios-primary, +.card-ios-secondary .card-title-ios-primary, +.card-ios-secondary .card-content-ios-primary { + color: #673AB7; +} + +.card-ios-secondary .text-ios-secondary, +.card-ios-secondary .card-header-ios-secondary, +.card-ios-secondary .card-title-ios-secondary, +.card-ios-secondary .card-content-ios-secondary { + color: #32db64; +} + +.card-ios-secondary .text-ios-danger, +.card-ios-secondary .card-header-ios-danger, +.card-ios-secondary .card-title-ios-danger, +.card-ios-secondary .card-content-ios-danger { + color: #f53d3d; +} + +.card-ios-secondary .text-ios-light, +.card-ios-secondary .card-header-ios-light, +.card-ios-secondary .card-title-ios-light, +.card-ios-secondary .card-content-ios-light { + color: #f4f4f4; +} + +.card-ios-secondary .text-ios-dark, +.card-ios-secondary .card-header-ios-dark, +.card-ios-secondary .card-title-ios-dark, +.card-ios-secondary .card-content-ios-dark { + color: #222; +} + +.card-ios-secondary .text-ios-optblue, +.card-ios-secondary .card-header-ios-optblue, +.card-ios-secondary .card-title-ios-optblue, +.card-ios-secondary .card-content-ios-optblue { + color: #E00201; +} + +.card-header-ios-secondary, +.card-title-ios-secondary, +.card-content-ios-secondary { + color: #32db64; +} + +.card-ios .text-ios-danger { + color: #f53d3d; +} + +.card-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.card-ios-danger .card-header-ios, +.card-ios-danger .card-title-ios, +.card-ios-danger .card-content-ios, +.card-ios-danger p { + color: #fff; +} + +.card-ios-danger .text-ios-primary, +.card-ios-danger .card-header-ios-primary, +.card-ios-danger .card-title-ios-primary, +.card-ios-danger .card-content-ios-primary { + color: #673AB7; +} + +.card-ios-danger .text-ios-secondary, +.card-ios-danger .card-header-ios-secondary, +.card-ios-danger .card-title-ios-secondary, +.card-ios-danger .card-content-ios-secondary { + color: #32db64; +} + +.card-ios-danger .text-ios-danger, +.card-ios-danger .card-header-ios-danger, +.card-ios-danger .card-title-ios-danger, +.card-ios-danger .card-content-ios-danger { + color: #f53d3d; +} + +.card-ios-danger .text-ios-light, +.card-ios-danger .card-header-ios-light, +.card-ios-danger .card-title-ios-light, +.card-ios-danger .card-content-ios-light { + color: #f4f4f4; +} + +.card-ios-danger .text-ios-dark, +.card-ios-danger .card-header-ios-dark, +.card-ios-danger .card-title-ios-dark, +.card-ios-danger .card-content-ios-dark { + color: #222; +} + +.card-ios-danger .text-ios-optblue, +.card-ios-danger .card-header-ios-optblue, +.card-ios-danger .card-title-ios-optblue, +.card-ios-danger .card-content-ios-optblue { + color: #E00201; +} + +.card-header-ios-danger, +.card-title-ios-danger, +.card-content-ios-danger { + color: #f53d3d; +} + +.card-ios .text-ios-light { + color: #f4f4f4; +} + +.card-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.card-ios-light .card-header-ios, +.card-ios-light .card-title-ios, +.card-ios-light .card-content-ios, +.card-ios-light p { + color: #000; +} + +.card-ios-light .text-ios-primary, +.card-ios-light .card-header-ios-primary, +.card-ios-light .card-title-ios-primary, +.card-ios-light .card-content-ios-primary { + color: #673AB7; +} + +.card-ios-light .text-ios-secondary, +.card-ios-light .card-header-ios-secondary, +.card-ios-light .card-title-ios-secondary, +.card-ios-light .card-content-ios-secondary { + color: #32db64; +} + +.card-ios-light .text-ios-danger, +.card-ios-light .card-header-ios-danger, +.card-ios-light .card-title-ios-danger, +.card-ios-light .card-content-ios-danger { + color: #f53d3d; +} + +.card-ios-light .text-ios-light, +.card-ios-light .card-header-ios-light, +.card-ios-light .card-title-ios-light, +.card-ios-light .card-content-ios-light { + color: #f4f4f4; +} + +.card-ios-light .text-ios-dark, +.card-ios-light .card-header-ios-dark, +.card-ios-light .card-title-ios-dark, +.card-ios-light .card-content-ios-dark { + color: #222; +} + +.card-ios-light .text-ios-optblue, +.card-ios-light .card-header-ios-optblue, +.card-ios-light .card-title-ios-optblue, +.card-ios-light .card-content-ios-optblue { + color: #E00201; +} + +.card-header-ios-light, +.card-title-ios-light, +.card-content-ios-light { + color: #f4f4f4; +} + +.card-ios .text-ios-dark { + color: #222; +} + +.card-ios-dark { + color: #fff; + background-color: #222; +} + +.card-ios-dark .card-header-ios, +.card-ios-dark .card-title-ios, +.card-ios-dark .card-content-ios, +.card-ios-dark p { + color: #fff; +} + +.card-ios-dark .text-ios-primary, +.card-ios-dark .card-header-ios-primary, +.card-ios-dark .card-title-ios-primary, +.card-ios-dark .card-content-ios-primary { + color: #673AB7; +} + +.card-ios-dark .text-ios-secondary, +.card-ios-dark .card-header-ios-secondary, +.card-ios-dark .card-title-ios-secondary, +.card-ios-dark .card-content-ios-secondary { + color: #32db64; +} + +.card-ios-dark .text-ios-danger, +.card-ios-dark .card-header-ios-danger, +.card-ios-dark .card-title-ios-danger, +.card-ios-dark .card-content-ios-danger { + color: #f53d3d; +} + +.card-ios-dark .text-ios-light, +.card-ios-dark .card-header-ios-light, +.card-ios-dark .card-title-ios-light, +.card-ios-dark .card-content-ios-light { + color: #f4f4f4; +} + +.card-ios-dark .text-ios-dark, +.card-ios-dark .card-header-ios-dark, +.card-ios-dark .card-title-ios-dark, +.card-ios-dark .card-content-ios-dark { + color: #222; +} + +.card-ios-dark .text-ios-optblue, +.card-ios-dark .card-header-ios-optblue, +.card-ios-dark .card-title-ios-optblue, +.card-ios-dark .card-content-ios-optblue { + color: #E00201; +} + +.card-header-ios-dark, +.card-title-ios-dark, +.card-content-ios-dark { + color: #222; +} + +.card-ios .text-ios-optblue { + color: #E00201; +} + +.card-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.card-ios-optblue .card-header-ios, +.card-ios-optblue .card-title-ios, +.card-ios-optblue .card-content-ios, +.card-ios-optblue p { + color: #fff; +} + +.card-ios-optblue .text-ios-primary, +.card-ios-optblue .card-header-ios-primary, +.card-ios-optblue .card-title-ios-primary, +.card-ios-optblue .card-content-ios-primary { + color: #673AB7; +} + +.card-ios-optblue .text-ios-secondary, +.card-ios-optblue .card-header-ios-secondary, +.card-ios-optblue .card-title-ios-secondary, +.card-ios-optblue .card-content-ios-secondary { + color: #32db64; +} + +.card-ios-optblue .text-ios-danger, +.card-ios-optblue .card-header-ios-danger, +.card-ios-optblue .card-title-ios-danger, +.card-ios-optblue .card-content-ios-danger { + color: #f53d3d; +} + +.card-ios-optblue .text-ios-light, +.card-ios-optblue .card-header-ios-light, +.card-ios-optblue .card-title-ios-light, +.card-ios-optblue .card-content-ios-light { + color: #f4f4f4; +} + +.card-ios-optblue .text-ios-dark, +.card-ios-optblue .card-header-ios-dark, +.card-ios-optblue .card-title-ios-dark, +.card-ios-optblue .card-content-ios-dark { + color: #222; +} + +.card-ios-optblue .text-ios-optblue, +.card-ios-optblue .card-header-ios-optblue, +.card-ios-optblue .card-title-ios-optblue, +.card-ios-optblue .card-content-ios-optblue { + color: #E00201; +} + +.card-header-ios-optblue, +.card-title-ios-optblue, +.card-content-ios-optblue { + color: #E00201; +} + +.card-md { + margin: 10px; + border-radius: 2px; + width: calc(100% - 20px); + font-size: 1.4rem; + background: #fff; + -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); +} + +.card-md ion-list { + margin-bottom: 0; +} + +.card-md > .item:last-child, +.card-md > .item:last-child .item-inner, +.card-md > .item-wrapper:last-child .item { + border-bottom: 0; +} + +.card-md .item-md.item-block .item-inner { + border: 0; +} + +.card-content-md { + padding: 13px 16px; + font-size: 1.4rem; + line-height: 1.5; +} + +.card-header-md { + font-size: 1.6rem; + color: #222; + padding: 16px; +} + +.card-header-md + .card-content-md, +.card-md .item + .card-content-md { + padding-top: 0; +} + +.card .note-md { + font-size: 1.3rem; +} + +.card-title-md { + display: block; + font-size: 2.4rem; + line-height: 1.2; + color: #222; + margin: 2px 0; + padding: 8px 0; +} + +.card-md h1 { + margin: 0 0 2px; + font-size: 2.4rem; + font-weight: normal; + color: #222; +} + +.card-md h2 { + margin: 2px 0; + font-size: 1.6rem; + font-weight: normal; + color: #222; +} + +.card-md h3, +.card-md h4, +.card-md h5, +.card-md h6 { + margin: 2px 0; + font-size: 1.4rem; + font-weight: normal; + color: #222; +} + +.card-md p { + margin: 0 0 2px; + font-size: 1.4rem; + font-weight: normal; + line-height: 1.5; + color: #222; +} + +.card-md + ion-card { + margin-top: 0; +} + +.card-md .text-md-primary { + color: #673AB7; +} + +.card-md-primary { + color: #fff; + background-color: #673AB7; +} + +.card-md-primary .card-header-md, +.card-md-primary .card-title-md, +.card-md-primary .card-content-md, +.card-md-primary h1, +.card-md-primary h2, +.card-md-primary h3, +.card-md-primary h4, +.card-md-primary h5, +.card-md-primary h6, +.card-md-primary p { + color: #fff; +} + +.card-md-primary .text-md-primary, +.card-md-primary .card-header-md-primary, +.card-md-primary .card-title-md-primary, +.card-md-primary .card-content-md-primary { + color: #673AB7; +} + +.card-md-primary .text-md-secondary, +.card-md-primary .card-header-md-secondary, +.card-md-primary .card-title-md-secondary, +.card-md-primary .card-content-md-secondary { + color: #32db64; +} + +.card-md-primary .text-md-danger, +.card-md-primary .card-header-md-danger, +.card-md-primary .card-title-md-danger, +.card-md-primary .card-content-md-danger { + color: #f53d3d; +} + +.card-md-primary .text-md-light, +.card-md-primary .card-header-md-light, +.card-md-primary .card-title-md-light, +.card-md-primary .card-content-md-light { + color: #f4f4f4; +} + +.card-md-primary .text-md-dark, +.card-md-primary .card-header-md-dark, +.card-md-primary .card-title-md-dark, +.card-md-primary .card-content-md-dark { + color: #222; +} + +.card-md-primary .text-md-optblue, +.card-md-primary .card-header-md-optblue, +.card-md-primary .card-title-md-optblue, +.card-md-primary .card-content-md-optblue { + color: #E00201; +} + +.card-header-md-primary, +.card-title-md-primary, +.card-content-md-primary { + color: #673AB7; +} + +.card-md .text-md-secondary { + color: #32db64; +} + +.card-md-secondary { + color: #fff; + background-color: #32db64; +} + +.card-md-secondary .card-header-md, +.card-md-secondary .card-title-md, +.card-md-secondary .card-content-md, +.card-md-secondary h1, +.card-md-secondary h2, +.card-md-secondary h3, +.card-md-secondary h4, +.card-md-secondary h5, +.card-md-secondary h6, +.card-md-secondary p { + color: #fff; +} + +.card-md-secondary .text-md-primary, +.card-md-secondary .card-header-md-primary, +.card-md-secondary .card-title-md-primary, +.card-md-secondary .card-content-md-primary { + color: #673AB7; +} + +.card-md-secondary .text-md-secondary, +.card-md-secondary .card-header-md-secondary, +.card-md-secondary .card-title-md-secondary, +.card-md-secondary .card-content-md-secondary { + color: #32db64; +} + +.card-md-secondary .text-md-danger, +.card-md-secondary .card-header-md-danger, +.card-md-secondary .card-title-md-danger, +.card-md-secondary .card-content-md-danger { + color: #f53d3d; +} + +.card-md-secondary .text-md-light, +.card-md-secondary .card-header-md-light, +.card-md-secondary .card-title-md-light, +.card-md-secondary .card-content-md-light { + color: #f4f4f4; +} + +.card-md-secondary .text-md-dark, +.card-md-secondary .card-header-md-dark, +.card-md-secondary .card-title-md-dark, +.card-md-secondary .card-content-md-dark { + color: #222; +} + +.card-md-secondary .text-md-optblue, +.card-md-secondary .card-header-md-optblue, +.card-md-secondary .card-title-md-optblue, +.card-md-secondary .card-content-md-optblue { + color: #E00201; +} + +.card-header-md-secondary, +.card-title-md-secondary, +.card-content-md-secondary { + color: #32db64; +} + +.card-md .text-md-danger { + color: #f53d3d; +} + +.card-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.card-md-danger .card-header-md, +.card-md-danger .card-title-md, +.card-md-danger .card-content-md, +.card-md-danger h1, +.card-md-danger h2, +.card-md-danger h3, +.card-md-danger h4, +.card-md-danger h5, +.card-md-danger h6, +.card-md-danger p { + color: #fff; +} + +.card-md-danger .text-md-primary, +.card-md-danger .card-header-md-primary, +.card-md-danger .card-title-md-primary, +.card-md-danger .card-content-md-primary { + color: #673AB7; +} + +.card-md-danger .text-md-secondary, +.card-md-danger .card-header-md-secondary, +.card-md-danger .card-title-md-secondary, +.card-md-danger .card-content-md-secondary { + color: #32db64; +} + +.card-md-danger .text-md-danger, +.card-md-danger .card-header-md-danger, +.card-md-danger .card-title-md-danger, +.card-md-danger .card-content-md-danger { + color: #f53d3d; +} + +.card-md-danger .text-md-light, +.card-md-danger .card-header-md-light, +.card-md-danger .card-title-md-light, +.card-md-danger .card-content-md-light { + color: #f4f4f4; +} + +.card-md-danger .text-md-dark, +.card-md-danger .card-header-md-dark, +.card-md-danger .card-title-md-dark, +.card-md-danger .card-content-md-dark { + color: #222; +} + +.card-md-danger .text-md-optblue, +.card-md-danger .card-header-md-optblue, +.card-md-danger .card-title-md-optblue, +.card-md-danger .card-content-md-optblue { + color: #E00201; +} + +.card-header-md-danger, +.card-title-md-danger, +.card-content-md-danger { + color: #f53d3d; +} + +.card-md .text-md-light { + color: #f4f4f4; +} + +.card-md-light { + color: #000; + background-color: #f4f4f4; +} + +.card-md-light .card-header-md, +.card-md-light .card-title-md, +.card-md-light .card-content-md, +.card-md-light h1, +.card-md-light h2, +.card-md-light h3, +.card-md-light h4, +.card-md-light h5, +.card-md-light h6, +.card-md-light p { + color: #000; +} + +.card-md-light .text-md-primary, +.card-md-light .card-header-md-primary, +.card-md-light .card-title-md-primary, +.card-md-light .card-content-md-primary { + color: #673AB7; +} + +.card-md-light .text-md-secondary, +.card-md-light .card-header-md-secondary, +.card-md-light .card-title-md-secondary, +.card-md-light .card-content-md-secondary { + color: #32db64; +} + +.card-md-light .text-md-danger, +.card-md-light .card-header-md-danger, +.card-md-light .card-title-md-danger, +.card-md-light .card-content-md-danger { + color: #f53d3d; +} + +.card-md-light .text-md-light, +.card-md-light .card-header-md-light, +.card-md-light .card-title-md-light, +.card-md-light .card-content-md-light { + color: #f4f4f4; +} + +.card-md-light .text-md-dark, +.card-md-light .card-header-md-dark, +.card-md-light .card-title-md-dark, +.card-md-light .card-content-md-dark { + color: #222; +} + +.card-md-light .text-md-optblue, +.card-md-light .card-header-md-optblue, +.card-md-light .card-title-md-optblue, +.card-md-light .card-content-md-optblue { + color: #E00201; +} + +.card-header-md-light, +.card-title-md-light, +.card-content-md-light { + color: #f4f4f4; +} + +.card-md .text-md-dark { + color: #222; +} + +.card-md-dark { + color: #fff; + background-color: #222; +} + +.card-md-dark .card-header-md, +.card-md-dark .card-title-md, +.card-md-dark .card-content-md, +.card-md-dark h1, +.card-md-dark h2, +.card-md-dark h3, +.card-md-dark h4, +.card-md-dark h5, +.card-md-dark h6, +.card-md-dark p { + color: #fff; +} + +.card-md-dark .text-md-primary, +.card-md-dark .card-header-md-primary, +.card-md-dark .card-title-md-primary, +.card-md-dark .card-content-md-primary { + color: #673AB7; +} + +.card-md-dark .text-md-secondary, +.card-md-dark .card-header-md-secondary, +.card-md-dark .card-title-md-secondary, +.card-md-dark .card-content-md-secondary { + color: #32db64; +} + +.card-md-dark .text-md-danger, +.card-md-dark .card-header-md-danger, +.card-md-dark .card-title-md-danger, +.card-md-dark .card-content-md-danger { + color: #f53d3d; +} + +.card-md-dark .text-md-light, +.card-md-dark .card-header-md-light, +.card-md-dark .card-title-md-light, +.card-md-dark .card-content-md-light { + color: #f4f4f4; +} + +.card-md-dark .text-md-dark, +.card-md-dark .card-header-md-dark, +.card-md-dark .card-title-md-dark, +.card-md-dark .card-content-md-dark { + color: #222; +} + +.card-md-dark .text-md-optblue, +.card-md-dark .card-header-md-optblue, +.card-md-dark .card-title-md-optblue, +.card-md-dark .card-content-md-optblue { + color: #E00201; +} + +.card-header-md-dark, +.card-title-md-dark, +.card-content-md-dark { + color: #222; +} + +.card-md .text-md-optblue { + color: #E00201; +} + +.card-md-optblue { + color: #fff; + background-color: #E00201; +} + +.card-md-optblue .card-header-md, +.card-md-optblue .card-title-md, +.card-md-optblue .card-content-md, +.card-md-optblue h1, +.card-md-optblue h2, +.card-md-optblue h3, +.card-md-optblue h4, +.card-md-optblue h5, +.card-md-optblue h6, +.card-md-optblue p { + color: #fff; +} + +.card-md-optblue .text-md-primary, +.card-md-optblue .card-header-md-primary, +.card-md-optblue .card-title-md-primary, +.card-md-optblue .card-content-md-primary { + color: #673AB7; +} + +.card-md-optblue .text-md-secondary, +.card-md-optblue .card-header-md-secondary, +.card-md-optblue .card-title-md-secondary, +.card-md-optblue .card-content-md-secondary { + color: #32db64; +} + +.card-md-optblue .text-md-danger, +.card-md-optblue .card-header-md-danger, +.card-md-optblue .card-title-md-danger, +.card-md-optblue .card-content-md-danger { + color: #f53d3d; +} + +.card-md-optblue .text-md-light, +.card-md-optblue .card-header-md-light, +.card-md-optblue .card-title-md-light, +.card-md-optblue .card-content-md-light { + color: #f4f4f4; +} + +.card-md-optblue .text-md-dark, +.card-md-optblue .card-header-md-dark, +.card-md-optblue .card-title-md-dark, +.card-md-optblue .card-content-md-dark { + color: #222; +} + +.card-md-optblue .text-md-optblue, +.card-md-optblue .card-header-md-optblue, +.card-md-optblue .card-title-md-optblue, +.card-md-optblue .card-content-md-optblue { + color: #E00201; +} + +.card-header-md-optblue, +.card-title-md-optblue, +.card-content-md-optblue { + color: #E00201; +} + +.card-wp { + margin: 8px; + border-radius: 1px; + width: calc(100% - 16px); + font-size: 1.4rem; + background: #fff; + -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.2); + box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.2); +} + +.card-wp ion-list { + margin-bottom: 0; +} + +.card-wp > .item:last-child, +.card-wp > .item:last-child .item-inner, +.card-wp > .item-wrapper:last-child .item { + border-bottom: 0; +} + +.card-wp .item-wp.item-block .item-inner { + border: 0; +} + +.card-content-wp { + padding: 13px 16px; + font-size: 1.4rem; + line-height: 1.5; +} + +.card-header-wp { + font-size: 1.6rem; + color: #222; + padding: 16px; +} + +.card-header-wp + .card-content-wp, +.card-wp .item + .card-content-wp { + padding-top: 0; +} + +.card .note-wp { + font-size: 1.3rem; +} + +.card-title-wp { + display: block; + font-size: 2.4rem; + line-height: 1.2; + color: #222; + margin: 2px 0; + padding: 8px 0; +} + +.card-wp h1 { + margin: 0 0 2px; + font-size: 2.4rem; + font-weight: normal; + color: #222; +} + +.card-wp h2 { + margin: 2px 0; + font-size: 1.6rem; + font-weight: normal; + color: #222; +} + +.card-wp h3, +.card-wp h4, +.card-wp h5, +.card-wp h6 { + margin: 2px 0; + font-size: 1.4rem; + font-weight: normal; + color: #222; +} + +.card-wp p { + margin: 0 0 2px; + font-size: 1.4rem; + font-weight: normal; + line-height: 1.5; + color: #222; +} + +.card-wp + ion-card { + margin-top: 0; +} + +.card-wp .text-wp-primary { + color: #673AB7; +} + +.card-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.card-wp-primary .card-header-wp, +.card-wp-primary .card-title-wp, +.card-wp-primary .card-content-wp, +.card-wp-primary h1, +.card-wp-primary h2, +.card-wp-primary h3, +.card-wp-primary h4, +.card-wp-primary h5, +.card-wp-primary h6, +.card-wp-primary p { + color: #fff; +} + +.card-wp-primary .text-wp-primary, +.card-wp-primary .card-header-wp-primary, +.card-wp-primary .card-title-wp-primary, +.card-wp-primary .card-content-wp-primary { + color: #673AB7; +} + +.card-wp-primary .text-wp-secondary, +.card-wp-primary .card-header-wp-secondary, +.card-wp-primary .card-title-wp-secondary, +.card-wp-primary .card-content-wp-secondary { + color: #32db64; +} + +.card-wp-primary .text-wp-danger, +.card-wp-primary .card-header-wp-danger, +.card-wp-primary .card-title-wp-danger, +.card-wp-primary .card-content-wp-danger { + color: #f53d3d; +} + +.card-wp-primary .text-wp-light, +.card-wp-primary .card-header-wp-light, +.card-wp-primary .card-title-wp-light, +.card-wp-primary .card-content-wp-light { + color: #f4f4f4; +} + +.card-wp-primary .text-wp-dark, +.card-wp-primary .card-header-wp-dark, +.card-wp-primary .card-title-wp-dark, +.card-wp-primary .card-content-wp-dark { + color: #222; +} + +.card-wp-primary .text-wp-optblue, +.card-wp-primary .card-header-wp-optblue, +.card-wp-primary .card-title-wp-optblue, +.card-wp-primary .card-content-wp-optblue { + color: #E00201; +} + +.card-header-wp-primary, +.card-title-wp-primary, +.card-content-wp-primary { + color: #673AB7; +} + +.card-wp .text-wp-secondary { + color: #32db64; +} + +.card-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.card-wp-secondary .card-header-wp, +.card-wp-secondary .card-title-wp, +.card-wp-secondary .card-content-wp, +.card-wp-secondary h1, +.card-wp-secondary h2, +.card-wp-secondary h3, +.card-wp-secondary h4, +.card-wp-secondary h5, +.card-wp-secondary h6, +.card-wp-secondary p { + color: #fff; +} + +.card-wp-secondary .text-wp-primary, +.card-wp-secondary .card-header-wp-primary, +.card-wp-secondary .card-title-wp-primary, +.card-wp-secondary .card-content-wp-primary { + color: #673AB7; +} + +.card-wp-secondary .text-wp-secondary, +.card-wp-secondary .card-header-wp-secondary, +.card-wp-secondary .card-title-wp-secondary, +.card-wp-secondary .card-content-wp-secondary { + color: #32db64; +} + +.card-wp-secondary .text-wp-danger, +.card-wp-secondary .card-header-wp-danger, +.card-wp-secondary .card-title-wp-danger, +.card-wp-secondary .card-content-wp-danger { + color: #f53d3d; +} + +.card-wp-secondary .text-wp-light, +.card-wp-secondary .card-header-wp-light, +.card-wp-secondary .card-title-wp-light, +.card-wp-secondary .card-content-wp-light { + color: #f4f4f4; +} + +.card-wp-secondary .text-wp-dark, +.card-wp-secondary .card-header-wp-dark, +.card-wp-secondary .card-title-wp-dark, +.card-wp-secondary .card-content-wp-dark { + color: #222; +} + +.card-wp-secondary .text-wp-optblue, +.card-wp-secondary .card-header-wp-optblue, +.card-wp-secondary .card-title-wp-optblue, +.card-wp-secondary .card-content-wp-optblue { + color: #E00201; +} + +.card-header-wp-secondary, +.card-title-wp-secondary, +.card-content-wp-secondary { + color: #32db64; +} + +.card-wp .text-wp-danger { + color: #f53d3d; +} + +.card-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.card-wp-danger .card-header-wp, +.card-wp-danger .card-title-wp, +.card-wp-danger .card-content-wp, +.card-wp-danger h1, +.card-wp-danger h2, +.card-wp-danger h3, +.card-wp-danger h4, +.card-wp-danger h5, +.card-wp-danger h6, +.card-wp-danger p { + color: #fff; +} + +.card-wp-danger .text-wp-primary, +.card-wp-danger .card-header-wp-primary, +.card-wp-danger .card-title-wp-primary, +.card-wp-danger .card-content-wp-primary { + color: #673AB7; +} + +.card-wp-danger .text-wp-secondary, +.card-wp-danger .card-header-wp-secondary, +.card-wp-danger .card-title-wp-secondary, +.card-wp-danger .card-content-wp-secondary { + color: #32db64; +} + +.card-wp-danger .text-wp-danger, +.card-wp-danger .card-header-wp-danger, +.card-wp-danger .card-title-wp-danger, +.card-wp-danger .card-content-wp-danger { + color: #f53d3d; +} + +.card-wp-danger .text-wp-light, +.card-wp-danger .card-header-wp-light, +.card-wp-danger .card-title-wp-light, +.card-wp-danger .card-content-wp-light { + color: #f4f4f4; +} + +.card-wp-danger .text-wp-dark, +.card-wp-danger .card-header-wp-dark, +.card-wp-danger .card-title-wp-dark, +.card-wp-danger .card-content-wp-dark { + color: #222; +} + +.card-wp-danger .text-wp-optblue, +.card-wp-danger .card-header-wp-optblue, +.card-wp-danger .card-title-wp-optblue, +.card-wp-danger .card-content-wp-optblue { + color: #E00201; +} + +.card-header-wp-danger, +.card-title-wp-danger, +.card-content-wp-danger { + color: #f53d3d; +} + +.card-wp .text-wp-light { + color: #f4f4f4; +} + +.card-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.card-wp-light .card-header-wp, +.card-wp-light .card-title-wp, +.card-wp-light .card-content-wp, +.card-wp-light h1, +.card-wp-light h2, +.card-wp-light h3, +.card-wp-light h4, +.card-wp-light h5, +.card-wp-light h6, +.card-wp-light p { + color: #000; +} + +.card-wp-light .text-wp-primary, +.card-wp-light .card-header-wp-primary, +.card-wp-light .card-title-wp-primary, +.card-wp-light .card-content-wp-primary { + color: #673AB7; +} + +.card-wp-light .text-wp-secondary, +.card-wp-light .card-header-wp-secondary, +.card-wp-light .card-title-wp-secondary, +.card-wp-light .card-content-wp-secondary { + color: #32db64; +} + +.card-wp-light .text-wp-danger, +.card-wp-light .card-header-wp-danger, +.card-wp-light .card-title-wp-danger, +.card-wp-light .card-content-wp-danger { + color: #f53d3d; +} + +.card-wp-light .text-wp-light, +.card-wp-light .card-header-wp-light, +.card-wp-light .card-title-wp-light, +.card-wp-light .card-content-wp-light { + color: #f4f4f4; +} + +.card-wp-light .text-wp-dark, +.card-wp-light .card-header-wp-dark, +.card-wp-light .card-title-wp-dark, +.card-wp-light .card-content-wp-dark { + color: #222; +} + +.card-wp-light .text-wp-optblue, +.card-wp-light .card-header-wp-optblue, +.card-wp-light .card-title-wp-optblue, +.card-wp-light .card-content-wp-optblue { + color: #E00201; +} + +.card-header-wp-light, +.card-title-wp-light, +.card-content-wp-light { + color: #f4f4f4; +} + +.card-wp .text-wp-dark { + color: #222; +} + +.card-wp-dark { + color: #fff; + background-color: #222; +} + +.card-wp-dark .card-header-wp, +.card-wp-dark .card-title-wp, +.card-wp-dark .card-content-wp, +.card-wp-dark h1, +.card-wp-dark h2, +.card-wp-dark h3, +.card-wp-dark h4, +.card-wp-dark h5, +.card-wp-dark h6, +.card-wp-dark p { + color: #fff; +} + +.card-wp-dark .text-wp-primary, +.card-wp-dark .card-header-wp-primary, +.card-wp-dark .card-title-wp-primary, +.card-wp-dark .card-content-wp-primary { + color: #673AB7; +} + +.card-wp-dark .text-wp-secondary, +.card-wp-dark .card-header-wp-secondary, +.card-wp-dark .card-title-wp-secondary, +.card-wp-dark .card-content-wp-secondary { + color: #32db64; +} + +.card-wp-dark .text-wp-danger, +.card-wp-dark .card-header-wp-danger, +.card-wp-dark .card-title-wp-danger, +.card-wp-dark .card-content-wp-danger { + color: #f53d3d; +} + +.card-wp-dark .text-wp-light, +.card-wp-dark .card-header-wp-light, +.card-wp-dark .card-title-wp-light, +.card-wp-dark .card-content-wp-light { + color: #f4f4f4; +} + +.card-wp-dark .text-wp-dark, +.card-wp-dark .card-header-wp-dark, +.card-wp-dark .card-title-wp-dark, +.card-wp-dark .card-content-wp-dark { + color: #222; +} + +.card-wp-dark .text-wp-optblue, +.card-wp-dark .card-header-wp-optblue, +.card-wp-dark .card-title-wp-optblue, +.card-wp-dark .card-content-wp-optblue { + color: #E00201; +} + +.card-header-wp-dark, +.card-title-wp-dark, +.card-content-wp-dark { + color: #222; +} + +.card-wp .text-wp-optblue { + color: #E00201; +} + +.card-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.card-wp-optblue .card-header-wp, +.card-wp-optblue .card-title-wp, +.card-wp-optblue .card-content-wp, +.card-wp-optblue h1, +.card-wp-optblue h2, +.card-wp-optblue h3, +.card-wp-optblue h4, +.card-wp-optblue h5, +.card-wp-optblue h6, +.card-wp-optblue p { + color: #fff; +} + +.card-wp-optblue .text-wp-primary, +.card-wp-optblue .card-header-wp-primary, +.card-wp-optblue .card-title-wp-primary, +.card-wp-optblue .card-content-wp-primary { + color: #673AB7; +} + +.card-wp-optblue .text-wp-secondary, +.card-wp-optblue .card-header-wp-secondary, +.card-wp-optblue .card-title-wp-secondary, +.card-wp-optblue .card-content-wp-secondary { + color: #32db64; +} + +.card-wp-optblue .text-wp-danger, +.card-wp-optblue .card-header-wp-danger, +.card-wp-optblue .card-title-wp-danger, +.card-wp-optblue .card-content-wp-danger { + color: #f53d3d; +} + +.card-wp-optblue .text-wp-light, +.card-wp-optblue .card-header-wp-light, +.card-wp-optblue .card-title-wp-light, +.card-wp-optblue .card-content-wp-light { + color: #f4f4f4; +} + +.card-wp-optblue .text-wp-dark, +.card-wp-optblue .card-header-wp-dark, +.card-wp-optblue .card-title-wp-dark, +.card-wp-optblue .card-content-wp-dark { + color: #222; +} + +.card-wp-optblue .text-wp-optblue, +.card-wp-optblue .card-header-wp-optblue, +.card-wp-optblue .card-title-wp-optblue, +.card-wp-optblue .card-content-wp-optblue { + color: #E00201; +} + +.card-header-wp-optblue, +.card-title-wp-optblue, +.card-content-wp-optblue { + color: #E00201; +} + +.checkbox-ios { + position: relative; + display: inline-block; +} + +.checkbox-ios .checkbox-icon { + border-radius: 50%; + position: relative; + width: 21px; + height: 21px; + border-width: 1px; + border-style: solid; + border-color: #c8c7cc; + background-color: #fff; +} + +.checkbox-ios .checkbox-checked { + border-color: #673AB7; + background-color: #673AB7; +} + +.checkbox-ios .checkbox-checked .checkbox-inner { + left: 7px; + top: 4px; + position: absolute; + width: 4px; + height: 9px; + border-width: 1px; + border-top-width: 0; + border-left-width: 0; + border-style: solid; + border-color: #fff; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.checkbox-ios.checkbox-disabled, +.item-ios.item-checkbox-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.item.item-ios .checkbox-ios { + position: static; + display: block; + margin: 8px 16px 8px 2px; +} + +.item.item-ios .checkbox-ios[item-right], +.item.item-ios .checkbox-ios[item-end] { + margin: 10px 8px 9px 0; +} + +.checkbox-ios-primary .checkbox-checked { + border-color: #673AB7; + background-color: #673AB7; +} + +.checkbox-ios-primary .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-ios-secondary .checkbox-checked { + border-color: #32db64; + background-color: #32db64; +} + +.checkbox-ios-secondary .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-ios-danger .checkbox-checked { + border-color: #f53d3d; + background-color: #f53d3d; +} + +.checkbox-ios-danger .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-ios-light .checkbox-checked { + border-color: #f4f4f4; + background-color: #f4f4f4; +} + +.checkbox-ios-light .checkbox-checked .checkbox-inner { + border-color: #000; +} + +.checkbox-ios-dark .checkbox-checked { + border-color: #222; + background-color: #222; +} + +.checkbox-ios-dark .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-ios-optblue .checkbox-checked { + border-color: #E00201; + background-color: #E00201; +} + +.checkbox-ios-optblue .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-md { + position: relative; + display: inline-block; +} + +.checkbox-md .checkbox-icon { + border-radius: 2px; + position: relative; + width: 16px; + height: 16px; + border-width: 2px; + border-style: solid; + border-color: #787878; + background-color: #fff; + -webkit-transition-duration: 280ms; + transition-duration: 280ms; + -webkit-transition-property: background; + transition-property: background; + -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); +} + +.checkbox-md .checkbox-checked { + border-color: #673AB7; + background-color: #673AB7; +} + +.checkbox-md .checkbox-checked .checkbox-inner { + left: 4px; + top: 0; + position: absolute; + width: 5px; + height: 10px; + border-width: 2px; + border-top-width: 0; + border-left-width: 0; + border-style: solid; + border-color: #fff; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.checkbox-md.checkbox-disabled, +.item-md.item-checkbox-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.item.item-md .checkbox-md { + position: static; + display: block; + margin: 9px 36px 9px 4px; +} + +.item.item-md .checkbox-md[item-right], +.item.item-md .checkbox-md[item-end] { + margin: 11px 10px 10px 0; +} + +.checkbox-md + .item-inner ion-label { + margin-left: 0; +} + +.checkbox-md-primary .checkbox-checked { + border-color: #673AB7; + background-color: #673AB7; +} + +.checkbox-md-primary .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-md-secondary .checkbox-checked { + border-color: #32db64; + background-color: #32db64; +} + +.checkbox-md-secondary .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-md-danger .checkbox-checked { + border-color: #f53d3d; + background-color: #f53d3d; +} + +.checkbox-md-danger .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-md-light .checkbox-checked { + border-color: #f4f4f4; + background-color: #f4f4f4; +} + +.checkbox-md-light .checkbox-checked .checkbox-inner { + border-color: #000; +} + +.checkbox-md-dark .checkbox-checked { + border-color: #222; + background-color: #222; +} + +.checkbox-md-dark .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-md-optblue .checkbox-checked { + border-color: #E00201; + background-color: #E00201; +} + +.checkbox-md-optblue .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-wp { + position: relative; + display: inline-block; +} + +.checkbox-wp .checkbox-icon { + border-radius: 0; + position: relative; + width: 16px; + height: 16px; + border-width: 2px; + border-style: solid; + border-color: #333; + background-color: #fff; +} + +.checkbox-wp .checkbox-checked { + border-color: #673AB7; + background-color: #673AB7; +} + +.checkbox-wp .checkbox-checked .checkbox-inner { + left: 3px; + top: -2px; + position: absolute; + width: 6px; + height: 12px; + border-width: 1px; + border-top-width: 0; + border-left-width: 0; + border-style: solid; + border-color: #fff; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.checkbox-wp.checkbox-disabled, +.item-wp.item-checkbox-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.item.item-wp .checkbox-wp { + position: static; + display: block; + margin: 9px 16px 9px 4px; +} + +.item.item-wp .checkbox-wp[item-right], +.item.item-wp .checkbox-wp[item-end] { + margin: 11px 10px 10px 0; +} + +.checkbox-wp + .item-inner ion-label { + margin-left: 0; +} + +.checkbox-wp-primary .checkbox-checked { + border-color: #673AB7; + background-color: #673AB7; +} + +.checkbox-wp-primary .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-wp-secondary .checkbox-checked { + border-color: #32db64; + background-color: #32db64; +} + +.checkbox-wp-secondary .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-wp-danger .checkbox-checked { + border-color: #f53d3d; + background-color: #f53d3d; +} + +.checkbox-wp-danger .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-wp-light .checkbox-checked { + border-color: #f4f4f4; + background-color: #f4f4f4; +} + +.checkbox-wp-light .checkbox-checked .checkbox-inner { + border-color: #000; +} + +.checkbox-wp-dark .checkbox-checked { + border-color: #222; + background-color: #222; +} + +.checkbox-wp-dark .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +.checkbox-wp-optblue .checkbox-checked { + border-color: #E00201; + background-color: #E00201; +} + +.checkbox-wp-optblue .checkbox-checked .checkbox-inner { + border-color: #fff; +} + +ion-chip { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; + font-weight: normal; + vertical-align: middle; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +ion-chip .button { + border-radius: 50%; + width: 32px; + height: 32px; + margin: 0; +} + +ion-chip ion-icon { + text-align: center; + border-radius: 50%; + width: 32px; + height: 32px; + font-size: 18px; + line-height: 32px; +} + +ion-chip ion-avatar { + border-radius: 50%; + width: 32px; + min-width: 32px; + height: 32px; + min-height: 32px; +} + +ion-chip ion-avatar img { + border-radius: 50%; + display: block; + width: 100%; + max-width: 100%; + height: 100%; + max-height: 100%; +} + +.chip-ios { + border-radius: 16px; + height: 32px; + font-size: 13px; + line-height: 32px; + color: rgba(0, 0, 0, 0.87); + background: rgba(0, 0, 0, 0.12); + margin: 2px 0; +} + +.chip-ios > ion-label { + margin: 0 10px; +} + +.chip-ios > ion-icon { + color: #fff; + background-color: #673AB7; +} + +.chip-ios-primary, +.chip-ios .icon-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.chip-ios-secondary, +.chip-ios .icon-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.chip-ios-danger, +.chip-ios .icon-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.chip-ios-light, +.chip-ios .icon-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.chip-ios-dark, +.chip-ios .icon-ios-dark { + color: #fff; + background-color: #222; +} + +.chip-ios-optblue, +.chip-ios .icon-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.chip-md { + border-radius: 16px; + height: 32px; + font-size: 13px; + line-height: 32px; + color: rgba(0, 0, 0, 0.87); + background: rgba(0, 0, 0, 0.12); + margin: 2px 0; +} + +.chip-md > ion-label { + margin: 0 10px; +} + +.chip-md > ion-icon { + color: #fff; + background-color: #673AB7; +} + +.chip-md-primary, +.chip-md .icon-md-primary { + color: #fff; + background-color: #673AB7; +} + +.chip-md-secondary, +.chip-md .icon-md-secondary { + color: #fff; + background-color: #32db64; +} + +.chip-md-danger, +.chip-md .icon-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.chip-md-light, +.chip-md .icon-md-light { + color: #000; + background-color: #f4f4f4; +} + +.chip-md-dark, +.chip-md .icon-md-dark { + color: #fff; + background-color: #222; +} + +.chip-md-optblue, +.chip-md .icon-md-optblue { + color: #fff; + background-color: #E00201; +} + +.chip-wp { + border-radius: 16px; + height: 32px; + font-size: 13px; + line-height: 32px; + color: rgba(0, 0, 0, 0.87); + background: rgba(0, 0, 0, 0.12); + margin: 2px 0; +} + +.chip-wp > ion-label { + margin: 0 10px; +} + +.chip-wp > ion-icon { + color: #fff; + background-color: #673AB7; +} + +.chip-wp .button { + border: 0; +} + +.chip-wp-primary, +.chip-wp .icon-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.chip-wp-secondary, +.chip-wp .icon-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.chip-wp-danger, +.chip-wp .icon-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.chip-wp-light, +.chip-wp .icon-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.chip-wp-dark, +.chip-wp .icon-wp-dark { + color: #fff; + background-color: #222; +} + +.chip-wp-optblue, +.chip-wp .icon-wp-optblue { + color: #fff; + background-color: #E00201; +} + +ion-content { + left: 0; + top: 0; + position: relative; + display: block; + width: 100%; + height: 100%; + contain: layout size style; +} + +.ion-page > ion-content { + position: absolute; +} + +a { + color: #673AB7; +} + +.scroll-content { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + z-index: 1; + display: block; + overflow-x: hidden; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + will-change: scroll-position; + contain: size style layout; +} + +ion-content.js-scroll > .scroll-content { + position: relative; + min-height: 100%; + overflow-x: initial; + overflow-y: initial; + -webkit-overflow-scrolling: auto; + will-change: initial; +} + +.disable-scroll .ion-page { + pointer-events: none; + -ms-touch-action: none; + touch-action: none; +} + +ion-content.has-refresher > .scroll-content { + background-color: inherit; +} + +.fixed-content { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + display: block; +} + +[ion-fixed] { + position: absolute; + z-index: 999; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +ion-app [no-padding], +ion-app [no-padding] .scroll-content { + padding: 0; +} + +ion-app [no-margin], +ion-app [no-margin] .scroll-content { + margin: 0; +} + +.content-ios { + color: #000; + background-color: #fff; +} + +.content-ios.outer-content { + background: #efeff4; +} + +.content-ios hr { + height: 0.55px; + background-color: rgba(0, 0, 0, 0.12); +} + +.ios .ion-page.show-page ~ .nav-decor { + left: 0; + top: 0; + position: absolute; + z-index: 0; + display: block; + width: 100%; + height: 100%; + background: #000; + pointer-events: none; +} + +ion-app.ios [padding] { + padding: 16px; +} + +ion-app.ios [padding-top] { + padding-top: 16px; +} + +ion-app.ios [padding-left] { + padding-left: 16px; +} + +ion-app.ios [padding-right] { + padding-right: 16px; +} + +ion-app.ios [padding-bottom] { + padding-bottom: 16px; +} + +ion-app.ios [padding-vertical] { + padding-top: 16px; + padding-bottom: 16px; +} + +ion-app.ios [padding-horizontal] { + padding-left: 16px; + padding-right: 16px; +} + +ion-app.ios [padding] .scroll-content { + padding: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.ios [padding] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-top: 16px; + padding-bottom: 16px; + padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); + } +} + +ion-app.ios [padding-top] .scroll-content { + padding-top: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.ios [padding-top] .scroll-content { + padding-top: 16px; + padding-top: 16px; + } +} + +ion-app.ios [padding-left] .scroll-content { + padding-left: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.ios [padding-left] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + } +} + +ion-app.ios [padding-right] .scroll-content { + padding-right: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.ios [padding-right] .scroll-content { + padding-right: calc(constant(safe-area-inset-right) + 16px); + padding-right: calc(env(safe-area-inset-right) + 16px); + } +} + +ion-app.ios [padding-bottom] .scroll-content { + padding-bottom: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.ios [padding-bottom] .scroll-content { + padding-bottom: 16px; + padding-bottom: 16px; + } +} + +ion-app.ios [padding-vertical] .scroll-content { + padding-top: 16px; + padding-bottom: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.ios [padding-vertical] .scroll-content { + padding-top: 16px; + padding-bottom: 16px; + padding-top: 16px; + padding-bottom: 16px; + } +} + +ion-app.ios [padding-horizontal] .scroll-content { + padding-left: 16px; + padding-right: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.ios [padding-horizontal] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-right: calc(constant(safe-area-inset-right) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + padding-right: calc(env(safe-area-inset-right) + 16px); + } +} + +ion-app.ios [margin], +ion-app.ios [margin] .scroll-content { + margin: 16px; +} + +ion-app.ios [margin-top], +ion-app.ios [margin-top] .scroll-content { + margin-top: 16px; +} + +ion-app.ios [margin-left], +ion-app.ios [margin-left] .scroll-content { + margin-left: 16px; +} + +ion-app.ios [margin-start], +ion-app.ios [margin-start] .scroll-content { + margin-left: 16px; +} + +ion-app.ios [margin-right], +ion-app.ios [margin-right] .scroll-content { + margin-right: 16px; +} + +ion-app.ios [margin-end], +ion-app.ios [margin-end] .scroll-content { + margin-right: 16px; +} + +ion-app.ios [margin-bottom], +ion-app.ios [margin-bottom] .scroll-content { + margin-bottom: 16px; +} + +ion-app.ios [margin-vertical], +ion-app.ios [margin-vertical] .scroll-content { + margin-top: 16px; + margin-bottom: 16px; +} + +ion-app.ios [margin-horizontal], +ion-app.ios [margin-horizontal] .scroll-content { + margin-left: 16px; + margin-right: 16px; +} + +.content-ios:not([no-bounce]) > .scroll-content::before, +.content-ios:not([no-bounce]) > .scroll-content::after { + position: absolute; + width: 1px; + height: 1px; + content: ""; +} + +.content-ios:not([no-bounce]) > .scroll-content::before { + bottom: -1px; +} + +.content-ios:not([no-bounce]) > .scroll-content::after { + top: -1px; +} + +.platform-core .content-ios .scroll-content::after, +.platform-core .content-ios .scroll-content::before { + position: initial; + top: initial; + bottom: initial; + width: initial; + height: initial; +} + +.content-md { + color: #000; + background-color: #fff; +} + +.content-md hr { + background-color: rgba(0, 0, 0, 0.08); +} + +ion-app.md [padding] { + padding: 16px; +} + +ion-app.md [padding-top] { + padding-top: 16px; +} + +ion-app.md [padding-left] { + padding-left: 16px; +} + +ion-app.md [padding-right] { + padding-right: 16px; +} + +ion-app.md [padding-bottom] { + padding-bottom: 16px; +} + +ion-app.md [padding-vertical] { + padding-top: 16px; + padding-bottom: 16px; +} + +ion-app.md [padding-horizontal] { + padding-left: 16px; + padding-right: 16px; +} + +ion-app.md [padding] .scroll-content { + padding: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.md [padding] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-top: 16px; + padding-bottom: 16px; + padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); + } +} + +ion-app.md [padding-top] .scroll-content { + padding-top: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.md [padding-top] .scroll-content { + padding-top: 16px; + padding-top: 16px; + } +} + +ion-app.md [padding-left] .scroll-content { + padding-left: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.md [padding-left] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + } +} + +ion-app.md [padding-right] .scroll-content { + padding-right: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.md [padding-right] .scroll-content { + padding-right: calc(constant(safe-area-inset-right) + 16px); + padding-right: calc(env(safe-area-inset-right) + 16px); + } +} + +ion-app.md [padding-bottom] .scroll-content { + padding-bottom: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.md [padding-bottom] .scroll-content { + padding-bottom: 16px; + padding-bottom: 16px; + } +} + +ion-app.md [padding-vertical] .scroll-content { + padding-top: 16px; + padding-bottom: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.md [padding-vertical] .scroll-content { + padding-top: 16px; + padding-bottom: 16px; + padding-top: 16px; + padding-bottom: 16px; + } +} + +ion-app.md [padding-horizontal] .scroll-content { + padding-left: 16px; + padding-right: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.md [padding-horizontal] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-right: calc(constant(safe-area-inset-right) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + padding-right: calc(env(safe-area-inset-right) + 16px); + } +} + +ion-app.md [margin], +ion-app.md [margin] .scroll-content { + margin: 16px; +} + +ion-app.md [margin-top], +ion-app.md [margin-top] .scroll-content { + margin-top: 16px; +} + +ion-app.md [margin-left], +ion-app.md [margin-left] .scroll-content { + margin-left: 16px; +} + +ion-app.md [margin-start], +ion-app.md [margin-start] .scroll-content { + margin-left: 16px; +} + +ion-app.md [margin-right], +ion-app.md [margin-right] .scroll-content { + margin-right: 16px; +} + +ion-app.md [margin-end], +ion-app.md [margin-end] .scroll-content { + margin-right: 16px; +} + +ion-app.md [margin-bottom], +ion-app.md [margin-bottom] .scroll-content { + margin-bottom: 16px; +} + +ion-app.md [margin-vertical], +ion-app.md [margin-vertical] .scroll-content { + margin-top: 16px; + margin-bottom: 16px; +} + +ion-app.md [margin-horizontal], +ion-app.md [margin-horizontal] .scroll-content { + margin-left: 16px; + margin-right: 16px; +} + +.content-wp { + color: #000; + background-color: #fff; +} + +.content-wp hr { + background-color: rgba(0, 0, 0, 0.08); +} + +ion-app.wp [padding] { + padding: 16px; +} + +ion-app.wp [padding-top] { + padding-top: 16px; +} + +ion-app.wp [padding-left] { + padding-left: 16px; +} + +ion-app.wp [padding-right] { + padding-right: 16px; +} + +ion-app.wp [padding-bottom] { + padding-bottom: 16px; +} + +ion-app.wp [padding-vertical] { + padding-top: 16px; + padding-bottom: 16px; +} + +ion-app.wp [padding-horizontal] { + padding-left: 16px; + padding-right: 16px; +} + +ion-app.wp [padding] .scroll-content { + padding: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.wp [padding] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-top: 16px; + padding-bottom: 16px; + padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); + } +} + +ion-app.wp [padding-top] .scroll-content { + padding-top: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.wp [padding-top] .scroll-content { + padding-top: 16px; + padding-top: 16px; + } +} + +ion-app.wp [padding-left] .scroll-content { + padding-left: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.wp [padding-left] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + } +} + +ion-app.wp [padding-right] .scroll-content { + padding-right: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.wp [padding-right] .scroll-content { + padding-right: calc(constant(safe-area-inset-right) + 16px); + padding-right: calc(env(safe-area-inset-right) + 16px); + } +} + +ion-app.wp [padding-bottom] .scroll-content { + padding-bottom: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.wp [padding-bottom] .scroll-content { + padding-bottom: 16px; + padding-bottom: 16px; + } +} + +ion-app.wp [padding-vertical] .scroll-content { + padding-top: 16px; + padding-bottom: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.wp [padding-vertical] .scroll-content { + padding-top: 16px; + padding-bottom: 16px; + padding-top: 16px; + padding-bottom: 16px; + } +} + +ion-app.wp [padding-horizontal] .scroll-content { + padding-left: 16px; + padding-right: 16px; +} + +@media screen and (orientation: landscape) { + ion-app.wp [padding-horizontal] .scroll-content { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-right: calc(constant(safe-area-inset-right) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + padding-right: calc(env(safe-area-inset-right) + 16px); + } +} + +ion-app.wp [margin], +ion-app.wp [margin] .scroll-content { + margin: 16px; +} + +ion-app.wp [margin-top], +ion-app.wp [margin-top] .scroll-content { + margin-top: 16px; +} + +ion-app.wp [margin-left], +ion-app.wp [margin-left] .scroll-content { + margin-left: 16px; +} + +ion-app.wp [margin-start], +ion-app.wp [margin-start] .scroll-content { + margin-left: 16px; +} + +ion-app.wp [margin-right], +ion-app.wp [margin-right] .scroll-content { + margin-right: 16px; +} + +ion-app.wp [margin-end], +ion-app.wp [margin-end] .scroll-content { + margin-right: 16px; +} + +ion-app.wp [margin-bottom], +ion-app.wp [margin-bottom] .scroll-content { + margin-bottom: 16px; +} + +ion-app.wp [margin-vertical], +ion-app.wp [margin-vertical] .scroll-content { + margin-top: 16px; + margin-bottom: 16px; +} + +ion-app.wp [margin-horizontal], +ion-app.wp [margin-horizontal] .scroll-content { + margin-left: 16px; + margin-right: 16px; +} + +ion-datetime { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; +} + +.datetime-text { + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + min-width: 16px; + min-height: 1.2em; + font-size: inherit; + line-height: 1.2; + text-overflow: ellipsis; + white-space: nowrap; +} + +.datetime-disabled, +.item-datetime-disabled ion-label { + opacity: .4; + pointer-events: none; +} + +.item-label-stacked ion-datetime, +.item-label-floating ion-datetime { + padding-left: 0; + width: 100%; +} + +.datetime-ios { + padding: 11px 8px 11px 16px; +} + +.datetime-ios .datetime-placeholder { + color: #999; +} + +.datetime-md { + padding: 13px 8px 13px 16px; +} + +.datetime-md .datetime-placeholder { + color: #999; +} + +.datetime-wp { + padding: 13px 8px 13px 16px; + min-width: 45%; +} + +.datetime-wp .datetime-text { + padding: 0 8px; + min-height: 3.4rem; + border: 2px solid rgba(0, 0, 0, 0.5); + line-height: 3rem; +} + +.item-datetime .datetime-wp ion-label[floating] { + -webkit-transform: translate3d(8px, 41px, 0); + transform: translate3d(8px, 41px, 0); +} + +.datetime-wp .datetime-placeholder { + color: rgba(0, 0, 0, 0.5); +} + +.fab { + text-align: center; + -moz-appearance: none; + -ms-appearance: none; + -webkit-appearance: none; + appearance: none; + border-radius: 50%; + position: relative; + z-index: 0; + display: block; + overflow: hidden; + width: 56px; + height: 56px; + font-size: 14px; + line-height: 56px; + text-overflow: ellipsis; + text-transform: none; + white-space: nowrap; + cursor: pointer; + -webkit-transition: background-color, opacity 100ms linear; + transition: background-color, opacity 100ms linear; + background-clip: padding-box; + -webkit-font-kerning: none; + font-kerning: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + contain: strict; +} + +.fab ion-icon { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: 2.4rem; +} + +.fab[mini] { + margin: 8px; + width: 40px; + height: 40px; + line-height: 40px; +} + +.fab[mini] .fab-close-icon { + line-height: 40px; +} + +ion-fab { + position: absolute; + z-index: 999; +} + +ion-fab[center] { + left: 50%; + margin-left: -28px; +} + +ion-fab[middle] { + margin-top: -28px; + top: 50%; +} + +ion-fab[top] { + top: 10px; +} + +ion-fab[right] { + right: 10px; + right: calc(10px + constant(safe-area-inset-right)); + right: calc(10px + env(safe-area-inset-right)); +} + +ion-fab[end] { + right: 10px; + right: calc(constant(safe-area-inset-right) + 10px); + right: calc(env(safe-area-inset-right) + 10px); +} + +ion-fab[bottom] { + bottom: 10px; +} + +ion-fab[left] { + left: 10px; + left: calc(10px + constant(safe-area-inset-left)); + left: calc(10px + env(safe-area-inset-left)); +} + +ion-fab[start] { + left: 10px; + left: calc(constant(safe-area-inset-left) + 10px); + left: calc(env(safe-area-inset-left) + 10px); +} + +ion-fab[top][edge] { + top: -28px; +} + +ion-fab[bottom][edge] { + bottom: -28px; +} + +ion-fab-list { + margin: 66px 0; + position: absolute; + top: 0; + display: none; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + min-width: 56px; + min-height: 56px; +} + +.fab-in-list { + margin: 8px 0; + width: 40px; + height: 40px; + opacity: 0; + visibility: hidden; + -webkit-transform: scale(0); + transform: scale(0); +} + +.fab-in-list.show { + opacity: 1; + visibility: visible; + -webkit-transform: scale(1); + transform: scale(1); +} + +ion-fab-list[side=left] .fab-in-list, +ion-fab-list[side=right] .fab-in-list { + margin: 0 8px; +} + +ion-fab-list[side=top] { + top: auto; + bottom: 0; + -webkit-box-orient: vertical; + -webkit-box-direction: reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; +} + +ion-fab-list[side=left] { + margin: 0 66px; + right: 0; + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} + +ion-fab-list[side=right] { + margin: 0 66px; + left: 0; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.fab-list-active { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.fab-close-icon { + left: 0; + right: 0; + top: 0; + position: absolute; + line-height: 56px; + opacity: 0; + -webkit-transform: scale(0.4) rotateZ(-45deg); + transform: scale(0.4) rotateZ(-45deg); + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transition-property: opacity, -webkit-transform; + transition-property: opacity, -webkit-transform; + transition-property: transform, opacity; + transition-property: transform, opacity, -webkit-transform; +} + +.fab .button-inner { + -webkit-transition: all ease-in-out 300ms; + transition: all ease-in-out 300ms; + -webkit-transition-property: opacity, -webkit-transform; + transition-property: opacity, -webkit-transform; + transition-property: transform, opacity; + transition-property: transform, opacity, -webkit-transform; +} + +.fab-close-active .fab-close-icon { + opacity: 1; + -webkit-transform: scale(1) rotateZ(0deg); + transform: scale(1) rotateZ(0deg); +} + +.fab-close-active .button-inner { + opacity: 0; + -webkit-transform: scale(0.4) rotateZ(45deg); + transform: scale(0.4) rotateZ(45deg); +} + +.fab-ios { + color: #fff; + background-color: #673AB7; +} + +.fab-ios.activated { + background-color: #734abd; +} + +.fab-ios-in-list { + color: #000; + background-color: #f4f4f4; + -webkit-transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; + transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; + transition: transform 200ms ease 10ms, opacity 200ms ease 10ms; + transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; +} + +.fab-ios-in-list.activated { + background-color: #e0e0e0; +} + +.fab-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.fab-ios-primary.activated { + background-color: #734abd; +} + +.fab-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.fab-ios-secondary.activated { + background-color: #2ec95c; +} + +.fab-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.fab-ios-danger.activated { + background-color: #e13838; +} + +.fab-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.fab-ios-light.activated { + background-color: #e0e0e0; +} + +.fab-ios-dark { + color: #fff; + background-color: #222; +} + +.fab-ios-dark.activated { + background-color: #343434; +} + +.fab-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.fab-ios-optblue.activated { + background-color: #e21615; +} + +.fab-md { + color: #fff; + background-color: #673AB7; + -webkit-box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.14), 0 4px 5px rgba(0, 0, 0, 0.1); + box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.14), 0 4px 5px rgba(0, 0, 0, 0.1); + -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); +} + +.fab-md.activated { + background-color: #734abd; + -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.4), 0 4px 7px 0 rgba(0, 0, 0, 0.1); + box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.4), 0 4px 7px 0 rgba(0, 0, 0, 0.1); +} + +.fab-md-in-list { + color: #000; + background-color: #f4f4f4; + -webkit-transition: opacity 200ms ease 10ms, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: opacity 200ms ease 10ms, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); +} + +.fab-md-in-list.activated { + background-color: #e0e0e0; +} + +.fab-md .button-effect { + background-color: #fff; +} + +.fab-md-primary { + color: #fff; + background-color: #673AB7; +} + +.fab-md-primary.activated { + background-color: #734abd; +} + +.fab-md-primary .button-effect { + background-color: #fff; +} + +.fab-md-secondary { + color: #fff; + background-color: #32db64; +} + +.fab-md-secondary.activated { + background-color: #2ec95c; +} + +.fab-md-secondary .button-effect { + background-color: #fff; +} + +.fab-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.fab-md-danger.activated { + background-color: #e13838; +} + +.fab-md-danger .button-effect { + background-color: #fff; +} + +.fab-md-light { + color: #000; + background-color: #f4f4f4; +} + +.fab-md-light.activated { + background-color: #e0e0e0; +} + +.fab-md-light .button-effect { + background-color: #000; +} + +.fab-md-dark { + color: #fff; + background-color: #222; +} + +.fab-md-dark.activated { + background-color: #343434; +} + +.fab-md-dark .button-effect { + background-color: #fff; +} + +.fab-md-optblue { + color: #fff; + background-color: #E00201; +} + +.fab-md-optblue.activated { + background-color: #e21615; +} + +.fab-md-optblue .button-effect { + background-color: #fff; +} + +.fab-wp { + color: #fff; + background-color: #673AB7; +} + +.fab-wp.activated { + background-color: #734abd; +} + +.fab-wp-in-list { + color: #000; + background-color: #f4f4f4; + -webkit-transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; + transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; + transition: transform 200ms ease 10ms, opacity 200ms ease 10ms; + transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; +} + +.fab-wp-in-list.activated { + background-color: #e0e0e0; +} + +.fab-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.fab-wp-primary.activated { + background-color: #734abd; +} + +.fab-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.fab-wp-secondary.activated { + background-color: #2ec95c; +} + +.fab-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.fab-wp-danger.activated { + background-color: #e13838; +} + +.fab-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.fab-wp-light.activated { + background-color: #e0e0e0; +} + +.fab-wp-dark { + color: #fff; + background-color: #222; +} + +.fab-wp-dark.activated { + background-color: #343434; +} + +.fab-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.fab-wp-optblue.activated { + background-color: #e21615; +} + +.grid { + padding: 5px; + margin-left: auto; + margin-right: auto; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.grid[no-padding] { + padding: 0; +} + +.grid[no-padding] > .row > .col { + padding: 0; +} + +@media (min-width: 576px) { + .grid[fixed] { + width: 540px; + max-width: 100%; + } +} + +@media (min-width: 768px) { + .grid[fixed] { + width: 720px; + max-width: 100%; + } +} + +@media (min-width: 992px) { + .grid[fixed] { + width: 960px; + max-width: 100%; + } +} + +@media (min-width: 1200px) { + .grid[fixed] { + width: 1140px; + max-width: 100%; + } +} + +.row { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.row[nowrap] { + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.row[wrap-reverse] { + -webkit-flex-wrap: wrap-reverse; + -ms-flex-wrap: wrap-reverse; + flex-wrap: wrap-reverse; +} + +.row[align-items-start] { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; +} + +.row[align-items-center] { + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.row[align-items-end] { + -webkit-box-align: end; + -webkit-align-items: flex-end; + -ms-flex-align: end; + align-items: flex-end; +} + +.row[align-items-stretch] { + -webkit-box-align: stretch; + -webkit-align-items: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.row[align-items-baseline] { + -webkit-box-align: baseline; + -webkit-align-items: baseline; + -ms-flex-align: baseline; + align-items: baseline; +} + +.row[justify-content-start] { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.row[justify-content-center] { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.row[justify-content-end] { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} + +.row[justify-content-around] { + -webkit-justify-content: space-around; + -ms-flex-pack: distribute; + justify-content: space-around; +} + +.row[justify-content-between] { + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.col { + padding: 5px; + position: relative; + width: 100%; + margin: 0; + min-height: 1px; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col[align-self-start] { + -webkit-align-self: flex-start; + -ms-flex-item-align: start; + align-self: flex-start; +} + +.col[align-self-end] { + -webkit-align-self: flex-end; + -ms-flex-item-align: end; + align-self: flex-end; +} + +.col[align-self-center] { + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.col[align-self-stretch] { + -webkit-align-self: stretch; + -ms-flex-item-align: stretch; + align-self: stretch; +} + +.col[align-self-baseline] { + -webkit-align-self: baseline; + -ms-flex-item-align: baseline; + align-self: baseline; +} + +[col-1] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-1] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-1] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-1] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-1] { + padding: 5px; + } +} + +[col-2] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-2] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-2] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-2] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-2] { + padding: 5px; + } +} + +[col-3] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-3] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-3] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-3] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-3] { + padding: 5px; + } +} + +[col-4] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-4] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-4] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-4] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-4] { + padding: 5px; + } +} + +[col-5] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-5] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-5] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-5] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-5] { + padding: 5px; + } +} + +[col-6] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-6] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-6] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-6] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-6] { + padding: 5px; + } +} + +[col-7] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-7] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-7] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-7] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-7] { + padding: 5px; + } +} + +[col-8] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-8] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-8] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-8] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-8] { + padding: 5px; + } +} + +[col-9] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-9] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-9] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-9] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-9] { + padding: 5px; + } +} + +[col-10] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-10] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-10] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-10] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-10] { + padding: 5px; + } +} + +[col-11] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-11] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-11] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-11] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-11] { + padding: 5px; + } +} + +[col-12] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-12] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-12] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-12] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-12] { + padding: 5px; + } +} + +[col] { + padding: 5px; +} + +@media (min-width: 576px) { + [col] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col] { + padding: 5px; + } +} + +[col] { + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +[col-auto] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; +} + +[col-1] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 8.33333%; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + width: 8.33333%; + max-width: 8.33333%; +} + +[col-2] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 16.66667%; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + width: 16.66667%; + max-width: 16.66667%; +} + +[col-3] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + width: 25%; + max-width: 25%; +} + +[col-4] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33333%; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + width: 33.33333%; + max-width: 33.33333%; +} + +[col-5] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 41.66667%; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + width: 41.66667%; + max-width: 41.66667%; +} + +[col-6] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + width: 50%; + max-width: 50%; +} + +[col-7] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 58.33333%; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + width: 58.33333%; + max-width: 58.33333%; +} + +[col-8] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66667%; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + width: 66.66667%; + max-width: 66.66667%; +} + +[col-9] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + width: 75%; + max-width: 75%; +} + +[col-10] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 83.33333%; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + width: 83.33333%; + max-width: 83.33333%; +} + +[col-11] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 91.66667%; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + width: 91.66667%; + max-width: 91.66667%; +} + +[col-12] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + width: 100%; + max-width: 100%; +} + +[pull-0] { + right: auto; +} + +[pull-1] { + right: 8.33333%; +} + +[pull-2] { + right: 16.66667%; +} + +[pull-3] { + right: 25%; +} + +[pull-4] { + right: 33.33333%; +} + +[pull-5] { + right: 41.66667%; +} + +[pull-6] { + right: 50%; +} + +[pull-7] { + right: 58.33333%; +} + +[pull-8] { + right: 66.66667%; +} + +[pull-9] { + right: 75%; +} + +[pull-10] { + right: 83.33333%; +} + +[pull-11] { + right: 91.66667%; +} + +[pull-12] { + right: 100%; +} + +[push-0] { + left: auto; +} + +[push-1] { + left: 8.33333%; +} + +[push-2] { + left: 16.66667%; +} + +[push-3] { + left: 25%; +} + +[push-4] { + left: 33.33333%; +} + +[push-5] { + left: 41.66667%; +} + +[push-6] { + left: 50%; +} + +[push-7] { + left: 58.33333%; +} + +[push-8] { + left: 66.66667%; +} + +[push-9] { + left: 75%; +} + +[push-10] { + left: 83.33333%; +} + +[push-11] { + left: 91.66667%; +} + +[push-12] { + left: 100%; +} + +[offset-1] { + margin-left: 8.33333%; +} + +[offset-2] { + margin-left: 16.66667%; +} + +[offset-3] { + margin-left: 25%; +} + +[offset-4] { + margin-left: 33.33333%; +} + +[offset-5] { + margin-left: 41.66667%; +} + +[offset-6] { + margin-left: 50%; +} + +[offset-7] { + margin-left: 58.33333%; +} + +[offset-8] { + margin-left: 66.66667%; +} + +[offset-9] { + margin-left: 75%; +} + +[offset-10] { + margin-left: 83.33333%; +} + +[offset-11] { + margin-left: 91.66667%; +} + +[col-sm-1] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-1] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-1] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-1] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-1] { + padding: 5px; + } +} + +[col-sm-2] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-2] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-2] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-2] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-2] { + padding: 5px; + } +} + +[col-sm-3] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-3] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-3] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-3] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-3] { + padding: 5px; + } +} + +[col-sm-4] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-4] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-4] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-4] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-4] { + padding: 5px; + } +} + +[col-sm-5] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-5] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-5] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-5] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-5] { + padding: 5px; + } +} + +[col-sm-6] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-6] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-6] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-6] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-6] { + padding: 5px; + } +} + +[col-sm-7] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-7] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-7] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-7] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-7] { + padding: 5px; + } +} + +[col-sm-8] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-8] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-8] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-8] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-8] { + padding: 5px; + } +} + +[col-sm-9] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-9] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-9] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-9] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-9] { + padding: 5px; + } +} + +[col-sm-10] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-10] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-10] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-10] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-10] { + padding: 5px; + } +} + +[col-sm-11] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-11] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-11] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-11] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-11] { + padding: 5px; + } +} + +[col-sm-12] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm-12] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm-12] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm-12] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm-12] { + padding: 5px; + } +} + +[col-sm] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-sm] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-sm] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-sm] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-sm] { + padding: 5px; + } +} + +@media (min-width: 576px) { + [col-sm] { + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + [col-sm-auto] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + [col-sm-1] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 8.33333%; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + width: 8.33333%; + max-width: 8.33333%; + } + [col-sm-2] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 16.66667%; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + width: 16.66667%; + max-width: 16.66667%; + } + [col-sm-3] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + width: 25%; + max-width: 25%; + } + [col-sm-4] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33333%; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + width: 33.33333%; + max-width: 33.33333%; + } + [col-sm-5] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 41.66667%; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + width: 41.66667%; + max-width: 41.66667%; + } + [col-sm-6] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + width: 50%; + max-width: 50%; + } + [col-sm-7] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 58.33333%; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + width: 58.33333%; + max-width: 58.33333%; + } + [col-sm-8] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66667%; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + width: 66.66667%; + max-width: 66.66667%; + } + [col-sm-9] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + width: 75%; + max-width: 75%; + } + [col-sm-10] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 83.33333%; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + width: 83.33333%; + max-width: 83.33333%; + } + [col-sm-11] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 91.66667%; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + width: 91.66667%; + max-width: 91.66667%; + } + [col-sm-12] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + width: 100%; + max-width: 100%; + } + [pull-sm-0] { + right: auto; + } + [pull-sm-1] { + right: 8.33333%; + } + [pull-sm-2] { + right: 16.66667%; + } + [pull-sm-3] { + right: 25%; + } + [pull-sm-4] { + right: 33.33333%; + } + [pull-sm-5] { + right: 41.66667%; + } + [pull-sm-6] { + right: 50%; + } + [pull-sm-7] { + right: 58.33333%; + } + [pull-sm-8] { + right: 66.66667%; + } + [pull-sm-9] { + right: 75%; + } + [pull-sm-10] { + right: 83.33333%; + } + [pull-sm-11] { + right: 91.66667%; + } + [pull-sm-12] { + right: 100%; + } + [push-sm-0] { + left: auto; + } + [push-sm-1] { + left: 8.33333%; + } + [push-sm-2] { + left: 16.66667%; + } + [push-sm-3] { + left: 25%; + } + [push-sm-4] { + left: 33.33333%; + } + [push-sm-5] { + left: 41.66667%; + } + [push-sm-6] { + left: 50%; + } + [push-sm-7] { + left: 58.33333%; + } + [push-sm-8] { + left: 66.66667%; + } + [push-sm-9] { + left: 75%; + } + [push-sm-10] { + left: 83.33333%; + } + [push-sm-11] { + left: 91.66667%; + } + [push-sm-12] { + left: 100%; + } + [offset-sm-0] { + margin-left: 0%; + } + [offset-sm-1] { + margin-left: 8.33333%; + } + [offset-sm-2] { + margin-left: 16.66667%; + } + [offset-sm-3] { + margin-left: 25%; + } + [offset-sm-4] { + margin-left: 33.33333%; + } + [offset-sm-5] { + margin-left: 41.66667%; + } + [offset-sm-6] { + margin-left: 50%; + } + [offset-sm-7] { + margin-left: 58.33333%; + } + [offset-sm-8] { + margin-left: 66.66667%; + } + [offset-sm-9] { + margin-left: 75%; + } + [offset-sm-10] { + margin-left: 83.33333%; + } + [offset-sm-11] { + margin-left: 91.66667%; + } +} + +[col-md-1] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-1] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-1] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-1] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-1] { + padding: 5px; + } +} + +[col-md-2] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-2] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-2] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-2] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-2] { + padding: 5px; + } +} + +[col-md-3] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-3] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-3] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-3] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-3] { + padding: 5px; + } +} + +[col-md-4] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-4] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-4] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-4] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-4] { + padding: 5px; + } +} + +[col-md-5] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-5] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-5] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-5] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-5] { + padding: 5px; + } +} + +[col-md-6] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-6] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-6] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-6] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-6] { + padding: 5px; + } +} + +[col-md-7] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-7] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-7] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-7] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-7] { + padding: 5px; + } +} + +[col-md-8] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-8] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-8] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-8] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-8] { + padding: 5px; + } +} + +[col-md-9] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-9] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-9] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-9] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-9] { + padding: 5px; + } +} + +[col-md-10] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-10] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-10] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-10] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-10] { + padding: 5px; + } +} + +[col-md-11] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-11] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-11] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-11] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-11] { + padding: 5px; + } +} + +[col-md-12] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md-12] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md-12] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md-12] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md-12] { + padding: 5px; + } +} + +[col-md] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-md] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-md] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-md] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-md] { + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + [col-md-auto] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + [col-md-1] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 8.33333%; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + width: 8.33333%; + max-width: 8.33333%; + } + [col-md-2] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 16.66667%; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + width: 16.66667%; + max-width: 16.66667%; + } + [col-md-3] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + width: 25%; + max-width: 25%; + } + [col-md-4] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33333%; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + width: 33.33333%; + max-width: 33.33333%; + } + [col-md-5] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 41.66667%; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + width: 41.66667%; + max-width: 41.66667%; + } + [col-md-6] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + width: 50%; + max-width: 50%; + } + [col-md-7] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 58.33333%; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + width: 58.33333%; + max-width: 58.33333%; + } + [col-md-8] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66667%; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + width: 66.66667%; + max-width: 66.66667%; + } + [col-md-9] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + width: 75%; + max-width: 75%; + } + [col-md-10] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 83.33333%; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + width: 83.33333%; + max-width: 83.33333%; + } + [col-md-11] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 91.66667%; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + width: 91.66667%; + max-width: 91.66667%; + } + [col-md-12] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + width: 100%; + max-width: 100%; + } + [pull-md-0] { + right: auto; + } + [pull-md-1] { + right: 8.33333%; + } + [pull-md-2] { + right: 16.66667%; + } + [pull-md-3] { + right: 25%; + } + [pull-md-4] { + right: 33.33333%; + } + [pull-md-5] { + right: 41.66667%; + } + [pull-md-6] { + right: 50%; + } + [pull-md-7] { + right: 58.33333%; + } + [pull-md-8] { + right: 66.66667%; + } + [pull-md-9] { + right: 75%; + } + [pull-md-10] { + right: 83.33333%; + } + [pull-md-11] { + right: 91.66667%; + } + [pull-md-12] { + right: 100%; + } + [push-md-0] { + left: auto; + } + [push-md-1] { + left: 8.33333%; + } + [push-md-2] { + left: 16.66667%; + } + [push-md-3] { + left: 25%; + } + [push-md-4] { + left: 33.33333%; + } + [push-md-5] { + left: 41.66667%; + } + [push-md-6] { + left: 50%; + } + [push-md-7] { + left: 58.33333%; + } + [push-md-8] { + left: 66.66667%; + } + [push-md-9] { + left: 75%; + } + [push-md-10] { + left: 83.33333%; + } + [push-md-11] { + left: 91.66667%; + } + [push-md-12] { + left: 100%; + } + [offset-md-0] { + margin-left: 0%; + } + [offset-md-1] { + margin-left: 8.33333%; + } + [offset-md-2] { + margin-left: 16.66667%; + } + [offset-md-3] { + margin-left: 25%; + } + [offset-md-4] { + margin-left: 33.33333%; + } + [offset-md-5] { + margin-left: 41.66667%; + } + [offset-md-6] { + margin-left: 50%; + } + [offset-md-7] { + margin-left: 58.33333%; + } + [offset-md-8] { + margin-left: 66.66667%; + } + [offset-md-9] { + margin-left: 75%; + } + [offset-md-10] { + margin-left: 83.33333%; + } + [offset-md-11] { + margin-left: 91.66667%; + } +} + +[col-lg-1] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-1] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-1] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-1] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-1] { + padding: 5px; + } +} + +[col-lg-2] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-2] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-2] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-2] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-2] { + padding: 5px; + } +} + +[col-lg-3] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-3] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-3] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-3] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-3] { + padding: 5px; + } +} + +[col-lg-4] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-4] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-4] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-4] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-4] { + padding: 5px; + } +} + +[col-lg-5] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-5] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-5] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-5] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-5] { + padding: 5px; + } +} + +[col-lg-6] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-6] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-6] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-6] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-6] { + padding: 5px; + } +} + +[col-lg-7] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-7] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-7] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-7] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-7] { + padding: 5px; + } +} + +[col-lg-8] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-8] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-8] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-8] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-8] { + padding: 5px; + } +} + +[col-lg-9] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-9] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-9] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-9] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-9] { + padding: 5px; + } +} + +[col-lg-10] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-10] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-10] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-10] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-10] { + padding: 5px; + } +} + +[col-lg-11] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-11] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-11] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-11] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-11] { + padding: 5px; + } +} + +[col-lg-12] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg-12] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg-12] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg-12] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg-12] { + padding: 5px; + } +} + +[col-lg] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-lg] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-lg] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-lg] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-lg] { + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + [col-lg-auto] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + [col-lg-1] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 8.33333%; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + width: 8.33333%; + max-width: 8.33333%; + } + [col-lg-2] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 16.66667%; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + width: 16.66667%; + max-width: 16.66667%; + } + [col-lg-3] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + width: 25%; + max-width: 25%; + } + [col-lg-4] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33333%; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + width: 33.33333%; + max-width: 33.33333%; + } + [col-lg-5] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 41.66667%; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + width: 41.66667%; + max-width: 41.66667%; + } + [col-lg-6] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + width: 50%; + max-width: 50%; + } + [col-lg-7] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 58.33333%; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + width: 58.33333%; + max-width: 58.33333%; + } + [col-lg-8] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66667%; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + width: 66.66667%; + max-width: 66.66667%; + } + [col-lg-9] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + width: 75%; + max-width: 75%; + } + [col-lg-10] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 83.33333%; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + width: 83.33333%; + max-width: 83.33333%; + } + [col-lg-11] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 91.66667%; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + width: 91.66667%; + max-width: 91.66667%; + } + [col-lg-12] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + width: 100%; + max-width: 100%; + } + [pull-lg-0] { + right: auto; + } + [pull-lg-1] { + right: 8.33333%; + } + [pull-lg-2] { + right: 16.66667%; + } + [pull-lg-3] { + right: 25%; + } + [pull-lg-4] { + right: 33.33333%; + } + [pull-lg-5] { + right: 41.66667%; + } + [pull-lg-6] { + right: 50%; + } + [pull-lg-7] { + right: 58.33333%; + } + [pull-lg-8] { + right: 66.66667%; + } + [pull-lg-9] { + right: 75%; + } + [pull-lg-10] { + right: 83.33333%; + } + [pull-lg-11] { + right: 91.66667%; + } + [pull-lg-12] { + right: 100%; + } + [push-lg-0] { + left: auto; + } + [push-lg-1] { + left: 8.33333%; + } + [push-lg-2] { + left: 16.66667%; + } + [push-lg-3] { + left: 25%; + } + [push-lg-4] { + left: 33.33333%; + } + [push-lg-5] { + left: 41.66667%; + } + [push-lg-6] { + left: 50%; + } + [push-lg-7] { + left: 58.33333%; + } + [push-lg-8] { + left: 66.66667%; + } + [push-lg-9] { + left: 75%; + } + [push-lg-10] { + left: 83.33333%; + } + [push-lg-11] { + left: 91.66667%; + } + [push-lg-12] { + left: 100%; + } + [offset-lg-0] { + margin-left: 0%; + } + [offset-lg-1] { + margin-left: 8.33333%; + } + [offset-lg-2] { + margin-left: 16.66667%; + } + [offset-lg-3] { + margin-left: 25%; + } + [offset-lg-4] { + margin-left: 33.33333%; + } + [offset-lg-5] { + margin-left: 41.66667%; + } + [offset-lg-6] { + margin-left: 50%; + } + [offset-lg-7] { + margin-left: 58.33333%; + } + [offset-lg-8] { + margin-left: 66.66667%; + } + [offset-lg-9] { + margin-left: 75%; + } + [offset-lg-10] { + margin-left: 83.33333%; + } + [offset-lg-11] { + margin-left: 91.66667%; + } +} + +[col-xl-1] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-1] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-1] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-1] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-1] { + padding: 5px; + } +} + +[col-xl-2] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-2] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-2] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-2] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-2] { + padding: 5px; + } +} + +[col-xl-3] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-3] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-3] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-3] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-3] { + padding: 5px; + } +} + +[col-xl-4] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-4] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-4] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-4] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-4] { + padding: 5px; + } +} + +[col-xl-5] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-5] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-5] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-5] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-5] { + padding: 5px; + } +} + +[col-xl-6] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-6] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-6] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-6] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-6] { + padding: 5px; + } +} + +[col-xl-7] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-7] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-7] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-7] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-7] { + padding: 5px; + } +} + +[col-xl-8] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-8] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-8] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-8] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-8] { + padding: 5px; + } +} + +[col-xl-9] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-9] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-9] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-9] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-9] { + padding: 5px; + } +} + +[col-xl-10] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-10] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-10] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-10] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-10] { + padding: 5px; + } +} + +[col-xl-11] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-11] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-11] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-11] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-11] { + padding: 5px; + } +} + +[col-xl-12] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl-12] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl-12] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl-12] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl-12] { + padding: 5px; + } +} + +[col-xl] { + padding: 5px; +} + +@media (min-width: 576px) { + [col-xl] { + padding: 5px; + } +} + +@media (min-width: 768px) { + [col-xl] { + padding: 5px; + } +} + +@media (min-width: 992px) { + [col-xl] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl] { + padding: 5px; + } +} + +@media (min-width: 1200px) { + [col-xl] { + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + [col-xl-auto] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + } + [col-xl-1] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 8.33333%; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + width: 8.33333%; + max-width: 8.33333%; + } + [col-xl-2] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 16.66667%; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + width: 16.66667%; + max-width: 16.66667%; + } + [col-xl-3] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + width: 25%; + max-width: 25%; + } + [col-xl-4] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33333%; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + width: 33.33333%; + max-width: 33.33333%; + } + [col-xl-5] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 41.66667%; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + width: 41.66667%; + max-width: 41.66667%; + } + [col-xl-6] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + width: 50%; + max-width: 50%; + } + [col-xl-7] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 58.33333%; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + width: 58.33333%; + max-width: 58.33333%; + } + [col-xl-8] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66667%; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + width: 66.66667%; + max-width: 66.66667%; + } + [col-xl-9] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + width: 75%; + max-width: 75%; + } + [col-xl-10] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 83.33333%; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + width: 83.33333%; + max-width: 83.33333%; + } + [col-xl-11] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 91.66667%; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + width: 91.66667%; + max-width: 91.66667%; + } + [col-xl-12] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100%; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + width: 100%; + max-width: 100%; + } + [pull-xl-0] { + right: auto; + } + [pull-xl-1] { + right: 8.33333%; + } + [pull-xl-2] { + right: 16.66667%; + } + [pull-xl-3] { + right: 25%; + } + [pull-xl-4] { + right: 33.33333%; + } + [pull-xl-5] { + right: 41.66667%; + } + [pull-xl-6] { + right: 50%; + } + [pull-xl-7] { + right: 58.33333%; + } + [pull-xl-8] { + right: 66.66667%; + } + [pull-xl-9] { + right: 75%; + } + [pull-xl-10] { + right: 83.33333%; + } + [pull-xl-11] { + right: 91.66667%; + } + [pull-xl-12] { + right: 100%; + } + [push-xl-0] { + left: auto; + } + [push-xl-1] { + left: 8.33333%; + } + [push-xl-2] { + left: 16.66667%; + } + [push-xl-3] { + left: 25%; + } + [push-xl-4] { + left: 33.33333%; + } + [push-xl-5] { + left: 41.66667%; + } + [push-xl-6] { + left: 50%; + } + [push-xl-7] { + left: 58.33333%; + } + [push-xl-8] { + left: 66.66667%; + } + [push-xl-9] { + left: 75%; + } + [push-xl-10] { + left: 83.33333%; + } + [push-xl-11] { + left: 91.66667%; + } + [push-xl-12] { + left: 100%; + } + [offset-xl-0] { + margin-left: 0%; + } + [offset-xl-1] { + margin-left: 8.33333%; + } + [offset-xl-2] { + margin-left: 16.66667%; + } + [offset-xl-3] { + margin-left: 25%; + } + [offset-xl-4] { + margin-left: 33.33333%; + } + [offset-xl-5] { + margin-left: 41.66667%; + } + [offset-xl-6] { + margin-left: 50%; + } + [offset-xl-7] { + margin-left: 58.33333%; + } + [offset-xl-8] { + margin-left: 66.66667%; + } + [offset-xl-9] { + margin-left: 75%; + } + [offset-xl-10] { + margin-left: 83.33333%; + } + [offset-xl-11] { + margin-left: 91.66667%; + } +} + +ion-icon { + display: inline-block; + font-size: 1.2em; +} + +ion-icon[small] { + min-height: 1.1em; + font-size: 1.1em; +} + +.icon-ios-primary { + color: #673AB7; +} + +.icon-ios-secondary { + color: #32db64; +} + +.icon-ios-danger { + color: #f53d3d; +} + +.icon-ios-light { + color: #f4f4f4; +} + +.icon-ios-dark { + color: #222; +} + +.icon-ios-optblue { + color: #E00201; +} + +.icon-md-primary { + color: #673AB7; +} + +.icon-md-secondary { + color: #32db64; +} + +.icon-md-danger { + color: #f53d3d; +} + +.icon-md-light { + color: #f4f4f4; +} + +.icon-md-dark { + color: #222; +} + +.icon-md-optblue { + color: #E00201; +} + +.icon-wp-primary { + color: #673AB7; +} + +.icon-wp-secondary { + color: #32db64; +} + +.icon-wp-danger { + color: #f53d3d; +} + +.icon-wp-light { + color: #f4f4f4; +} + +.icon-wp-dark { + color: #222; +} + +.icon-wp-optblue { + color: #E00201; +} + +ion-img { + display: inline-block; + min-width: 20px; + min-height: 20px; + background: #eee; + contain: strict; +} + +ion-img img { + -o-object-fit: cover; + object-fit: cover; +} + +ion-img.img-unloaded img { + display: none; +} + +ion-img.img-loaded img { + display: block; +} + +ion-infinite-scroll { + display: block; + width: 100%; +} + +ion-infinite-scroll-content { + text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 100%; + min-height: 84px; +} + +.infinite-loading { + display: none; + width: 100%; + margin: 0 0 32px; +} + +.infinite-loading-text { + color: #666; + margin: 4px 32px 0; +} + +.infinite-loading-spinner .spinner-ios line, +.infinite-loading-spinner .spinner-ios-small line, +.infinite-loading-spinner .spinner-crescent circle { + stroke: #666; +} + +.infinite-loading-spinner .spinner-bubbles circle, +.infinite-loading-spinner .spinner-circles circle, +.infinite-loading-spinner .spinner-dots circle { + fill: #666; +} + +ion-infinite-scroll-content[state=loading] .infinite-loading { + display: block; +} + +ion-infinite-scroll-content[state=disabled] { + display: none; +} + +ion-input, +ion-textarea { + position: relative; + display: block; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; +} + +.item-input ion-input, +.item-input ion-textarea { + position: static; +} + +.item.item-textarea { + -webkit-box-align: stretch; + -webkit-align-items: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.text-input { + -moz-appearance: none; + -ms-appearance: none; + -webkit-appearance: none; + appearance: none; + border-radius: 0; + display: inline-block; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 92%; + width: calc(100% - 10px); + border: 0; + background: transparent; +} + +.text-input::-moz-placeholder { + color: #999; +} + +.text-input:-ms-input-placeholder { + color: #999; +} + +.text-input::-webkit-input-placeholder { + text-indent: 0; + color: #999; +} + +textarea.text-input { + display: block; +} + +.text-input[disabled] { + opacity: .4; +} + +input.text-input:-webkit-autofill { + background-color: transparent; +} + +.platform-mobile textarea.text-input { + resize: none; +} + +.input-cover { + left: 0; + top: 0; + position: absolute; + width: 100%; + height: 100%; + -ms-touch-action: manipulation; + touch-action: manipulation; +} + +.input[disabled] .input-cover { + pointer-events: none; +} + +.item-input-has-focus .input-cover, +.input-has-focus .input-cover { + display: none; +} + +.item-input-has-focus, +.input-has-focus { + pointer-events: none; +} + +.item-input-has-focus input, +.input-has-focus input, +.item-input-has-focus textarea, +.input-has-focus textarea, +.item-input-has-focus a, +.input-has-focus a, +.item-input-has-focus button, +.input-has-focus button { + pointer-events: auto; +} + +.text-input-clear-icon { + margin: 0; + padding: 0; + background-position: center; + position: absolute; + top: 0; + display: none; + height: 100%; + background-repeat: no-repeat; +} + +.item-input-has-focus.item-input-has-value .text-input-clear-icon, +.input-has-focus.input-has-value .text-input-clear-icon { + display: block; +} + +.text-input-ios { + margin: 11px 8px 11px 0; + padding: 0; + width: calc(100% - 8px); +} + +.input-ios .inset-input { + padding: 5.5px 8px; + margin: 5.5px 16px 5.5px 0; +} + +.item-ios.item-label-stacked .text-input, +.item-ios.item-label-floating .text-input { + margin-left: 0; + margin-top: 8px; + margin-bottom: 8px; + width: calc(100% - 8px); +} + +.item-ios.item-label-stacked .label-ios + .input + .cloned-input, +.item-ios.item-label-floating .label-ios + .input + .cloned-input { + margin-left: 0; +} + +.item-label-stacked .select-ios, +.item-label-floating .select-ios { + padding-left: 0; + padding-top: 8px; + padding-bottom: 8px; +} + +.input-ios[clearInput] { + position: relative; +} + +.input-ios[clearInput] .text-input { + padding-right: 30px; +} + +.input-ios .text-input-clear-icon { + right: 8px; + background-image: url("data:image/svg+xml;charset=utf-8,"); + width: 30px; + background-size: 18px; +} + +.text-input-md { + margin: 13px 8px; + padding: 0; + width: calc(100% - 8px - 8px); +} + +.input-md .inset-input { + padding: 6.5px 8px; + margin: 6.5px 16px; +} + +.item-md.item-input.item-input-has-focus .item-inner, +.item-md.item-input.input-has-focus .item-inner { + border-bottom-color: #673AB7; + -webkit-box-shadow: inset 0 -1px 0 0 #673AB7; + box-shadow: inset 0 -1px 0 0 #673AB7; +} + +.list-md .item-input.item-input-has-focus:last-child, +.list-md .item-input.input-has-focus:last-child { + border-bottom-color: #673AB7; + -webkit-box-shadow: inset 0 -1px 0 0 #673AB7; + box-shadow: inset 0 -1px 0 0 #673AB7; +} + +.list-md .item-input.item-input-has-focus:last-child .item-inner, +.list-md .item-input.input-has-focus:last-child .item-inner { + -webkit-box-shadow: none; + box-shadow: none; +} + +.item-md.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner, +.item-md.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner { + border-bottom-color: #32db64; + -webkit-box-shadow: inset 0 -1px 0 0 #32db64; + box-shadow: inset 0 -1px 0 0 #32db64; +} + +.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child, +.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child { + border-bottom-color: #32db64; + -webkit-box-shadow: inset 0 -1px 0 0 #32db64; + box-shadow: inset 0 -1px 0 0 #32db64; +} + +.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner, +.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner { + -webkit-box-shadow: none; + box-shadow: none; +} + +.item-md.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .item-inner { + border-bottom-color: #f53d3d; + -webkit-box-shadow: inset 0 -1px 0 0 #f53d3d; + box-shadow: inset 0 -1px 0 0 #f53d3d; +} + +.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child { + border-bottom-color: #f53d3d; + -webkit-box-shadow: inset 0 -1px 0 0 #f53d3d; + box-shadow: inset 0 -1px 0 0 #f53d3d; +} + +.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner { + -webkit-box-shadow: none; + box-shadow: none; +} + +.item-label-stacked .text-input-md, +.item-label-floating .text-input-md { + margin-left: 0; + margin-top: 8px; + margin-bottom: 8px; + width: calc(100% - 8px); +} + +.item-label-stacked .select-md, +.item-label-floating .select-md { + padding-left: 0; + padding-top: 8px; + padding-bottom: 8px; +} + +.input-md[clearInput] { + position: relative; +} + +.input-md[clearInput] .text-input { + padding-right: 30px; +} + +.input-md .text-input-clear-icon { + right: 8px; + background-image: url("data:image/svg+xml;charset=utf-8,"); + width: 30px; + background-size: 22px; +} + +.text-input-wp { + margin: 13px 8px; + padding: 0 8px; + width: calc(100% - 8px - 8px); + border: 2px solid rgba(0, 0, 0, 0.5); + line-height: 3rem; +} + +.item-wp .inset-input { + padding: 6.5px 8px; + margin: 6.5px 16px; +} + +.item-wp.item-input.item-input-has-focus .text-input, +.item-wp.item-input.input-has-focus .text-input { + border-color: #673AB7; +} + +.item-wp.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input, +.item-wp.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input { + border-color: #32db64; +} + +.item-wp.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .text-input { + border-color: #f53d3d; +} + +.item-label-stacked .text-input-wp, +.item-label-floating .text-input-wp, +.item-label-stacked .select-wp, +.item-label-floating .select-wp { + margin-left: 0; + margin-top: 8px; + margin-bottom: 8px; + width: calc(100% - 8px); +} + +.item-wp.item-label-stacked [item-right], +.item-wp.item-label-floating [item-right], +.item-wp.item-label-stacked [item-end], +.item-wp.item-label-floating [item-end] { + -webkit-align-self: flex-end; + -ms-flex-item-align: end; + align-self: flex-end; +} + +.input-wp[clearInput] { + position: relative; +} + +.input-wp[clearInput] .text-input { + padding-right: 30px; +} + +.input-wp .text-input-clear-icon { + right: 8px; + background-image: url("data:image/svg+xml;charset=utf-8,"); + width: 30px; + background-size: 22px; +} + +.item { + contain: content; +} + +.item-block { + margin: 0; + padding: 0; + text-align: initial; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + width: 100%; + min-height: 4.4rem; + border: 0; + font-weight: normal; + line-height: normal; + text-decoration: none; + color: inherit; +} + +.item-inner { + margin: 0; + padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-orient: inherit; + -webkit-box-direction: inherit; + -webkit-flex-direction: inherit; + -ms-flex-direction: inherit; + flex-direction: inherit; + -webkit-box-align: inherit; + -webkit-align-items: inherit; + -ms-flex-align: inherit; + align-items: inherit; + -webkit-align-self: stretch; + -ms-flex-item-align: stretch; + align-self: stretch; + min-height: inherit; + border: 0; +} + +.input-wrapper { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-orient: inherit; + -webkit-box-direction: inherit; + -webkit-flex-direction: inherit; + -ms-flex-direction: inherit; + flex-direction: inherit; + -webkit-box-align: inherit; + -webkit-align-items: inherit; + -ms-flex-align: inherit; + align-items: inherit; + -webkit-align-self: stretch; + -ms-flex-item-align: stretch; + align-self: stretch; + text-overflow: ellipsis; +} + +.item[no-lines], +.item.item[no-lines] .item-inner { + border: 0; +} + +ion-item-group { + display: block; +} + +ion-item-divider { + margin: 0; + padding: 0; + z-index: 100; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + width: 100%; + min-height: 30px; +} + +ion-item-divider[sticky] { + position: -webkit-sticky; + position: sticky; + top: 0; +} + +[vertical-align-top], +ion-input.item { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; +} + +.item > ion-icon[small]:first-child, +.item-inner > ion-icon[small]:first-child { + min-width: 18px; +} + +.item > ion-icon:first-child, +.item-inner > ion-icon:first-child { + text-align: center; + min-width: 24px; +} + +.item > ion-icon, +.item-inner > ion-icon { + min-height: 2.8rem; + font-size: 2.8rem; + line-height: 1; +} + +.item > ion-icon[large], +.item-inner > ion-icon[large] { + min-height: 3.2rem; + font-size: 3.2rem; +} + +.item > ion-icon[small], +.item-inner > ion-icon[small] { + min-height: 1.8rem; + font-size: 1.8rem; +} + +ion-avatar, +ion-thumbnail { + display: block; + line-height: 1; +} + +ion-avatar img, +ion-thumbnail img { + display: block; +} + +.item-cover { + left: 0; + top: 0; + position: absolute; + width: 100%; + height: 100%; + background: transparent; + cursor: pointer; +} + +ion-reorder { + -webkit-transform: translate3d(300%, 0, 0); + transform: translate3d(300%, 0, 0); + display: none; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + max-width: 40px; + height: 100%; + font-size: 1.7em; + opacity: .25; + -webkit-transition: -webkit-transform 140ms ease-in; + transition: -webkit-transform 140ms ease-in; + transition: transform 140ms ease-in; + transition: transform 140ms ease-in, -webkit-transform 140ms ease-in; + pointer-events: all; + -ms-touch-action: manipulation; + touch-action: manipulation; +} + +.reorder-side-start ion-reorder { + -webkit-transform: translate3d(-300%, 0, 0); + transform: translate3d(-300%, 0, 0); + -webkit-box-ordinal-group: 0; + -webkit-order: -1; + -ms-flex-order: -1; + order: -1; +} + +ion-reorder ion-icon { + pointer-events: none; +} + +.reorder-enabled ion-reorder { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.reorder-visible ion-reorder { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +.reorder-list-active .item, +.reorder-list-active .item-wrapper { + -webkit-transition: -webkit-transform 300ms; + transition: -webkit-transform 300ms; + transition: transform 300ms; + transition: transform 300ms, -webkit-transform 300ms; + will-change: transform; +} + +.reorder-list-active .item-inner { + pointer-events: none; +} + +.item-wrapper.reorder-active, +.item.reorder-active, +.reorder-active { + z-index: 4; + -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); + opacity: .8; + -webkit-transition: none; + transition: none; + pointer-events: none; +} + +ion-item-sliding { + position: relative; + display: block; + overflow: hidden; + width: 100%; +} + +ion-item-sliding .item { + position: static; +} + +ion-item-options { + position: absolute; + z-index: 1; + display: none; + height: 100%; + font-size: 14px; + visibility: hidden; + top: 0; + right: 0; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} + +ion-item-options[side=left] { + right: auto; + left: 0; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +ion-item-options .button { + margin: 0; + padding: 0 0.7em; + border-radius: 0; + height: 100%; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-box-sizing: content-box; + box-sizing: content-box; +} + +ion-item-options .button:last-child { + padding-right: 0.7em; +} + +@media screen and (orientation: landscape) { + ion-item-options .button:last-child { + padding-right: calc(constant(safe-area-inset-right) + 0.7em); + padding-right: calc(env(safe-area-inset-right) + 0.7em); + } +} + +ion-item-options:not([icon-left]) .button:not([icon-only]) .button-inner, +ion-item-options:not([icon-start]) .button:not([icon-only]) .button-inner { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +ion-item-options:not([icon-left]) .button:not([icon-only]) ion-icon, +ion-item-options:not([icon-start]) .button:not([icon-only]) ion-icon { + padding-left: 0; + padding-right: 0; + padding-bottom: 0.3em; +} + +ion-item-sliding.active-slide .item, +ion-item-sliding.active-slide .item.activated { + position: relative; + z-index: 2; + opacity: 1; + -webkit-transition: -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); + pointer-events: none; + will-change: transform; +} + +ion-item-sliding.active-slide ion-item-options { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +ion-item-sliding.active-slide.active-options-left ion-item-options[side=left], +ion-item-sliding.active-slide.active-options-right ion-item-options:not([side=left]) { + width: 100%; + visibility: visible; +} + +button[expandable] { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-transition-duration: 0; + transition-duration: 0; + -webkit-transition-property: none; + transition-property: none; + -webkit-transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1); + transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1); +} + +ion-item-sliding.active-swipe-right button[expandable] { + -webkit-transition-duration: .6s; + transition-duration: .6s; + -webkit-transition-property: padding-left; + transition-property: padding-left; + padding-left: 90%; + -webkit-box-ordinal-group: 2; + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; +} + +ion-item-sliding.active-swipe-left button[expandable] { + -webkit-transition-duration: .6s; + transition-duration: .6s; + -webkit-transition-property: padding-right; + transition-property: padding-right; + padding-right: 90%; + -webkit-box-ordinal-group: 0; + -webkit-order: -1; + -ms-flex-order: -1; + order: -1; +} + +.item-ios { + padding-left: 16px; + padding-left: 16px; + border-radius: 0; + position: relative; + font-size: 1.7rem; + color: #000; + background-color: #fff; + -webkit-transition: background-color 200ms linear; + transition: background-color 200ms linear; +} + +@media screen and (orientation: landscape) { + .item-ios { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + } +} + +.item-ios.activated { + background-color: #d9d9d9; + -webkit-transition-duration: 0ms; + transition-duration: 0ms; +} + +.item-ios h1 { + margin: 0 0 2px; + font-size: 2.4rem; + font-weight: normal; +} + +.item-ios h2 { + margin: 0 0 2px; + font-size: 1.7rem; + font-weight: normal; +} + +.item-ios h3, +.item-ios h4, +.item-ios h5, +.item-ios h6 { + margin: 0 0 3px; + font-size: 1.4rem; + font-weight: normal; + line-height: normal; +} + +.item-ios p { + overflow: inherit; + font-size: 1.4rem; + line-height: normal; + text-overflow: inherit; + color: #8e9093; + margin: 0 0 2px; +} + +.item-ios h2:last-child, +.item-ios h3:last-child, +.item-ios h4:last-child, +.item-ios h5:last-child, +.item-ios h6:last-child, +.item-ios p:last-child { + margin-bottom: 0; +} + +.item-ios.item-block .item-inner { + padding-right: 8px; + padding-right: 8px; + border-bottom: 0.55px solid #c8c7cc; +} + +@media screen and (orientation: landscape) { + .item-ios.item-block .item-inner { + padding-right: calc(constant(safe-area-inset-right) + 8px); + padding-right: calc(env(safe-area-inset-right) + 8px); + } +} + +.item-ios [item-left], +.item-ios [item-start] { + margin: 8px 16px 8px 0; +} + +.item-ios [item-right], +.item-ios [item-end] { + margin: 8px; +} + +.item-ios ion-icon[item-left], +.item-ios ion-icon[item-right], +.item-ios ion-icon[item-start], +.item-ios ion-icon[item-end] { + margin-left: 0; + margin-top: 9px; + margin-bottom: 8px; +} + +.item-ios .item-button { + padding: 0 0.5em; + height: 24px; + font-size: 1.3rem; +} + +.item-ios .item-button[icon-only] ion-icon, +.item-ios .item-button[icon-only] { + padding: 0 1px; +} + +.item-ios ion-avatar[item-left], +.item-ios ion-thumbnail[item-left], +.item-ios ion-avatar[item-start], +.item-ios ion-thumbnail[item-start] { + margin: 8px 16px 8px 0; +} + +.item-ios ion-avatar[item-right], +.item-ios ion-thumbnail[item-right], +.item-ios ion-avatar[item-end], +.item-ios ion-thumbnail[item-end] { + margin: 8px; +} + +.item-ios ion-avatar { + min-width: 36px; + min-height: 36px; +} + +.item-ios ion-avatar ion-img, +.item-ios ion-avatar img { + border-radius: 50%; + overflow: hidden; + width: 36px; + height: 36px; +} + +.item-ios ion-thumbnail { + min-width: 56px; + min-height: 56px; +} + +.item-ios ion-thumbnail ion-img, +.item-ios ion-thumbnail img { + width: 56px; + height: 56px; +} + +.item-ios[detail-push] .item-inner, +button.item-ios:not([detail-none]) .item-inner, +a.item-ios:not([detail-none]) .item-inner { + background-image: url("data:image/svg+xml;charset=utf-8,"); + padding-right: 32px; + background-position: right 14px center; + background-position: right calc(14px + constant(safe-area-inset-right)) center; + background-position: right calc(14px + env(safe-area-inset-right)) center; + background-repeat: no-repeat; + background-size: 14px 14px; +} + +ion-item-group .item-ios:first-child .item-inner { + border-top-width: 0; +} + +ion-item-group .item-ios:last-child .item-inner, +ion-item-group .item-wrapper:last-child .item-ios .item-inner { + border: 0; +} + +.item-divider-ios { + padding-left: 16px; + padding-left: 16px; + color: #222; + background-color: #f7f7f7; +} + +@media screen and (orientation: landscape) { + .item-divider-ios { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + } +} + +.item-ios .text-ios-primary { + color: #673AB7; +} + +.item-ios-primary, +.item-divider-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.item-ios-primary p, +.item-divider-ios-primary p { + color: #fff; +} + +.item-ios-primary.activated, +.item-divider-ios-primary.activated { + background-color: #734abd; +} + +.item-ios .text-ios-secondary { + color: #32db64; +} + +.item-ios-secondary, +.item-divider-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.item-ios-secondary p, +.item-divider-ios-secondary p { + color: #fff; +} + +.item-ios-secondary.activated, +.item-divider-ios-secondary.activated { + background-color: #2ec95c; +} + +.item-ios .text-ios-danger { + color: #f53d3d; +} + +.item-ios-danger, +.item-divider-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.item-ios-danger p, +.item-divider-ios-danger p { + color: #fff; +} + +.item-ios-danger.activated, +.item-divider-ios-danger.activated { + background-color: #e13838; +} + +.item-ios .text-ios-light { + color: #f4f4f4; +} + +.item-ios-light, +.item-divider-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.item-ios-light p, +.item-divider-ios-light p { + color: #000; +} + +.item-ios-light.activated, +.item-divider-ios-light.activated { + background-color: #e0e0e0; +} + +.item-ios .text-ios-dark { + color: #222; +} + +.item-ios-dark, +.item-divider-ios-dark { + color: #fff; + background-color: #222; +} + +.item-ios-dark p, +.item-divider-ios-dark p { + color: #fff; +} + +.item-ios-dark.activated, +.item-divider-ios-dark.activated { + background-color: #343434; +} + +.item-ios .text-ios-optblue { + color: #E00201; +} + +.item-ios-optblue, +.item-divider-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.item-ios-optblue p, +.item-divider-ios-optblue p { + color: #fff; +} + +.item-ios-optblue.activated, +.item-divider-ios-optblue.activated { + background-color: #e21615; +} + +.list-ios ion-item-sliding { + background-color: #fff; +} + +.item-md { + padding-left: 16px; + padding-right: 0; + position: relative; + font-size: 1.6rem; + font-weight: normal; + text-transform: none; + color: #000; + background-color: #fff; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1); + transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1); +} + +.item-md.activated { + background-color: #f1f1f1; +} + +.item-md[no-lines] { + border-width: 0; +} + +.item-md h1 { + margin: 0 0 2px; + font-size: 2.4rem; + font-weight: normal; +} + +.item-md h2 { + margin: 2px 0; + font-size: 1.6rem; + font-weight: normal; +} + +.item-md h3, +.item-md h4, +.item-md h5, +.item-md h6 { + margin: 2px 0; + font-size: 1.4rem; + font-weight: normal; + line-height: normal; +} + +.item-md p { + margin: 0 0 2px; + overflow: inherit; + font-size: 1.4rem; + line-height: normal; + text-overflow: inherit; + color: #666; +} + +.item-md.item-block .item-inner { + padding-right: 8px; + border-bottom: 1px solid #dedede; +} + +.item-md [item-left], +.item-md [item-right], +.item-md [item-start], +.item-md [item-end] { + margin: 9px 8px 9px 0; +} + +.item-md ion-icon[item-left], +.item-md ion-icon[item-right], +.item-md ion-icon[item-start], +.item-md ion-icon[item-end] { + margin-left: 0; + margin-top: 11px; + margin-bottom: 10px; +} + +.item-md .item-button { + padding: 0 0.6em; + height: 25px; + font-size: 1.2rem; +} + +.item-md .item-button[icon-only] ion-icon, +.item-md .item-button[icon-only] { + padding: 0 1px; +} + +.item-md ion-icon[item-left] + .item-inner, +.item-md ion-icon[item-left] + .item-input, +.item-md ion-icon[item-start] + .item-inner, +.item-md ion-icon[item-start] + .item-input { + margin-left: 24px; +} + +.item-md ion-avatar[item-left], +.item-md ion-thumbnail[item-left], +.item-md ion-avatar[item-start], +.item-md ion-thumbnail[item-start] { + margin: 8px 16px 8px 0; +} + +.item-md ion-avatar[item-right], +.item-md ion-thumbnail[item-right], +.item-md ion-avatar[item-end], +.item-md ion-thumbnail[item-end] { + margin: 8px; +} + +.item-md ion-avatar { + min-width: 40px; + min-height: 40px; +} + +.item-md ion-avatar ion-img, +.item-md ion-avatar img { + border-radius: 50%; + overflow: hidden; + width: 40px; + height: 40px; +} + +.item-md ion-thumbnail { + min-width: 80px; + min-height: 80px; +} + +.item-md ion-thumbnail ion-img, +.item-md ion-thumbnail img { + width: 80px; + height: 80px; +} + +ion-item-group .item-md:first-child .item-inner { + border-top-width: 0; +} + +ion-item-group .item-md:last-child .item-inner, +ion-item-group .item-md .item-wrapper:last-child .item-inner { + border: 0; +} + +.item-divider-md { + padding-left: 16px; + border-bottom: 1px solid #dedede; + font-size: 1.4rem; + color: #858585; + background-color: #fff; +} + +.item-md .text-md-primary { + color: #673AB7; +} + +.item-md-primary, +.item-divider-md-primary { + color: #fff; + background-color: #673AB7; +} + +.item-md-primary p, +.item-divider-md-primary p { + color: #fff; +} + +.item-md-primary.activated, +.item-divider-md-primary.activated { + background-color: #734abd; +} + +.item-md .text-md-secondary { + color: #32db64; +} + +.item-md-secondary, +.item-divider-md-secondary { + color: #fff; + background-color: #32db64; +} + +.item-md-secondary p, +.item-divider-md-secondary p { + color: #fff; +} + +.item-md-secondary.activated, +.item-divider-md-secondary.activated { + background-color: #2ec95c; +} + +.item-md .text-md-danger { + color: #f53d3d; +} + +.item-md-danger, +.item-divider-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.item-md-danger p, +.item-divider-md-danger p { + color: #fff; +} + +.item-md-danger.activated, +.item-divider-md-danger.activated { + background-color: #e13838; +} + +.item-md .text-md-light { + color: #f4f4f4; +} + +.item-md-light, +.item-divider-md-light { + color: #000; + background-color: #f4f4f4; +} + +.item-md-light p, +.item-divider-md-light p { + color: #000; +} + +.item-md-light.activated, +.item-divider-md-light.activated { + background-color: #e0e0e0; +} + +.item-md .text-md-dark { + color: #222; +} + +.item-md-dark, +.item-divider-md-dark { + color: #fff; + background-color: #222; +} + +.item-md-dark p, +.item-divider-md-dark p { + color: #fff; +} + +.item-md-dark.activated, +.item-divider-md-dark.activated { + background-color: #343434; +} + +.item-md .text-md-optblue { + color: #E00201; +} + +.item-md-optblue, +.item-divider-md-optblue { + color: #fff; + background-color: #E00201; +} + +.item-md-optblue p, +.item-divider-md-optblue p { + color: #fff; +} + +.item-md-optblue.activated, +.item-divider-md-optblue.activated { + background-color: #e21615; +} + +.list-md ion-item-sliding { + background-color: #fff; +} + +.item-md ion-reorder { + font-size: 1.5em; + opacity: .3; +} + +.item-wp { + padding-left: 16px; + padding-right: 0; + position: relative; + font-size: 1.6rem; + font-weight: normal; + text-transform: none; + color: #000; + background-color: #fff; + -webkit-box-shadow: none; + box-shadow: none; +} + +.item-wp.activated { + background-color: #aaa; +} + +.item-wp[no-lines] { + border-width: 0; +} + +.item-wp h1 { + margin: 0 0 2px; + font-size: 2.4rem; + font-weight: normal; +} + +.item-wp h2 { + margin: 2px 0; + font-size: 1.6rem; + font-weight: normal; +} + +.item-wp h3, +.item-wp h4, +.item-wp h5, +.item-wp h6 { + margin: 2px 0; + font-size: 1.4rem; + font-weight: normal; + line-height: normal; +} + +.item-wp p { + margin: 0 0 2px; + overflow: inherit; + font-size: 1.4rem; + line-height: normal; + text-overflow: inherit; + color: #666; +} + +.item-wp.item-block .item-inner { + padding-right: 8px; + border-bottom: 1px solid transparent; +} + +.item-wp [item-left], +.item-wp [item-right], +.item-wp [item-start], +.item-wp [item-end] { + margin: 9px 8px 9px 0; +} + +.item-wp ion-icon[item-left], +.item-wp ion-icon[item-right], +.item-wp ion-icon[item-start], +.item-wp ion-icon[item-end] { + margin-left: 0; + margin-top: 11px; + margin-bottom: 10px; +} + +.item-wp .item-button { + padding: 0 0.6em; + height: 25px; + font-size: 1.2rem; +} + +.item-wp .item-button[icon-only] ion-icon, +.item-wp .item-button[icon-only] { + padding: 0 1px; +} + +.item-wp[text-wrap] ion-label { + font-size: 1.4rem; + line-height: 1.5; +} + +.item-wp ion-icon[item-left] + .item-inner, +.item-wp ion-icon[item-left] + .item-input, +.item-wp ion-icon[item-start] + .item-inner, +.item-wp ion-icon[item-start] + .item-input { + margin-left: 8px; +} + +.item-wp ion-avatar[item-left], +.item-wp ion-thumbnail[item-left], +.item-wp ion-avatar[item-start], +.item-wp ion-thumbnail[item-start] { + margin: 8px 16px 8px 0; +} + +.item-wp ion-avatar[item-right], +.item-wp ion-thumbnail[item-right], +.item-wp ion-avatar[item-end], +.item-wp ion-thumbnail[item-end] { + margin: 8px; +} + +.item-wp ion-avatar { + min-width: 40px; + min-height: 40px; +} + +.item-wp ion-avatar ion-img, +.item-wp ion-avatar img { + border-radius: 50%; + overflow: hidden; + width: 40px; + height: 40px; +} + +.item-wp ion-thumbnail { + min-width: 80px; + min-height: 80px; +} + +.item-wp ion-thumbnail ion-img, +.item-wp ion-thumbnail img { + width: 80px; + height: 80px; +} + +.item-divider-wp { + padding-left: 16px; + border-bottom: 1px solid transparent; + font-size: 2rem; + color: #000; + background-color: #fff; +} + +.item-wp .text-wp-primary { + color: #673AB7; +} + +.item-wp-primary, +.item-divider-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.item-wp-primary p, +.item-divider-wp-primary p { + color: #fff; +} + +.item-wp-primary.activated, +.item-divider-wp-primary.activated { + background-color: #734abd; +} + +.item-wp .text-wp-secondary { + color: #32db64; +} + +.item-wp-secondary, +.item-divider-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.item-wp-secondary p, +.item-divider-wp-secondary p { + color: #fff; +} + +.item-wp-secondary.activated, +.item-divider-wp-secondary.activated { + background-color: #2ec95c; +} + +.item-wp .text-wp-danger { + color: #f53d3d; +} + +.item-wp-danger, +.item-divider-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.item-wp-danger p, +.item-divider-wp-danger p { + color: #fff; +} + +.item-wp-danger.activated, +.item-divider-wp-danger.activated { + background-color: #e13838; +} + +.item-wp .text-wp-light { + color: #f4f4f4; +} + +.item-wp-light, +.item-divider-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.item-wp-light p, +.item-divider-wp-light p { + color: #000; +} + +.item-wp-light.activated, +.item-divider-wp-light.activated { + background-color: #e0e0e0; +} + +.item-wp .text-wp-dark { + color: #222; +} + +.item-wp-dark, +.item-divider-wp-dark { + color: #fff; + background-color: #222; +} + +.item-wp-dark p, +.item-divider-wp-dark p { + color: #fff; +} + +.item-wp-dark.activated, +.item-divider-wp-dark.activated { + background-color: #343434; +} + +.item-wp .text-wp-optblue { + color: #E00201; +} + +.item-wp-optblue, +.item-divider-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.item-wp-optblue p, +.item-divider-wp-optblue p { + color: #fff; +} + +.item-wp-optblue.activated, +.item-divider-wp-optblue.activated { + background-color: #e21615; +} + +.list-wp ion-item-sliding { + background-color: #fff; +} + +ion-label { + margin: 0; + display: block; + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + font-size: inherit; + text-overflow: ellipsis; + white-space: nowrap; +} + +.item-input ion-label { + -webkit-box-flex: initial; + -webkit-flex: initial; + -ms-flex: initial; + flex: initial; + max-width: 200px; + pointer-events: none; +} + +[text-wrap] ion-label { + white-space: normal; +} + +ion-label[fixed] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 100px; + -ms-flex: 0 0 100px; + flex: 0 0 100px; + width: 100px; + min-width: 100px; + max-width: 200px; +} + +.item-label-stacked ion-label, +.item-label-floating ion-label { + -webkit-align-self: stretch; + -ms-flex-item-align: stretch; + align-self: stretch; + width: auto; + max-width: 100%; +} + +ion-label[stacked], +ion-label[floating] { + margin-bottom: 0; +} + +.item-label-stacked .input-wrapper, +.item-label-floating .input-wrapper { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.item-label-stacked ion-select, +.item-label-floating ion-select { + -webkit-align-self: stretch; + -ms-flex-item-align: stretch; + align-self: stretch; + max-width: 100%; +} + +.label-ios { + margin: 11px 8px 11px 0; +} + +.label-ios + ion-input .text-input, +.label-ios + ion-textarea .text-input, +.label-ios + .input + .cloned-input { + margin-left: 16px; + width: calc(100% - (16px / 2) - 16px); +} + +.label-ios[stacked] { + margin-bottom: 4px; + font-size: 1.2rem; +} + +.label-ios[floating] { + margin-bottom: 0; + -webkit-transform: translate3d(0, 27px, 0); + transform: translate3d(0, 27px, 0); + -webkit-transform-origin: left top; + transform-origin: left top; + -webkit-transition: -webkit-transform 150ms ease-in-out; + transition: -webkit-transform 150ms ease-in-out; + transition: transform 150ms ease-in-out; + transition: transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out; +} + +.item-input-has-focus .label-ios[floating], +.input-has-focus .label-ios[floating], +.item-input-has-value .label-ios[floating], +.input-has-value .label-ios[floating] { + -webkit-transform: translate3d(0, 0, 0) scale(0.8); + transform: translate3d(0, 0, 0) scale(0.8); +} + +.item-ios.item-label-stacked [item-right], +.item-ios.item-label-floating [item-right], +.item-ios.item-label-stacked [item-end], +.item-ios.item-label-floating [item-end] { + margin-top: 6px; + margin-bottom: 6px; +} + +.label-ios-primary, +.item-input .label-ios-primary, +.item-select .label-ios-primary, +.item-datetime .label-ios-primary { + color: #673AB7; +} + +.label-ios-secondary, +.item-input .label-ios-secondary, +.item-select .label-ios-secondary, +.item-datetime .label-ios-secondary { + color: #32db64; +} + +.label-ios-danger, +.item-input .label-ios-danger, +.item-select .label-ios-danger, +.item-datetime .label-ios-danger { + color: #f53d3d; +} + +.label-ios-light, +.item-input .label-ios-light, +.item-select .label-ios-light, +.item-datetime .label-ios-light { + color: #f4f4f4; +} + +.label-ios-dark, +.item-input .label-ios-dark, +.item-select .label-ios-dark, +.item-datetime .label-ios-dark { + color: #222; +} + +.label-ios-optblue, +.item-input .label-ios-optblue, +.item-select .label-ios-optblue, +.item-datetime .label-ios-optblue { + color: #E00201; +} + +.label-md { + margin: 13px 8px 13px 0; +} + +[text-wrap] .label-md { + font-size: 1.4rem; + line-height: 1.5; +} + +.item-input .label-md, +.item-select .label-md, +.item-datetime .label-md { + color: #999; +} + +.label-md[stacked] { + font-size: 1.2rem; +} + +.label-md[floating] { + -webkit-transform: translate3d(0, 27px, 0); + transform: translate3d(0, 27px, 0); + -webkit-transform-origin: left top; + transform-origin: left top; + -webkit-transition: -webkit-transform 150ms ease-in-out; + transition: -webkit-transform 150ms ease-in-out; + transition: transform 150ms ease-in-out; + transition: transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out; +} + +.label-md[stacked], +.label-md[floating] { + margin-left: 0; + margin-bottom: 0; +} + +.item-input-has-focus .label-md[stacked], +.input-has-focus .label-md[stacked], +.item-input-has-focus .label-md[floating], +.input-has-focus .label-md[floating] { + color: #673AB7; +} + +.item-input-has-focus .label-md[floating], +.input-has-focus .label-md[floating], +.item-input-has-value .label-md[floating], +.input-has-value .label-md[floating] { + -webkit-transform: translate3d(0, 0, 0) scale(0.8); + transform: translate3d(0, 0, 0) scale(0.8); +} + +.item-md.item-label-stacked [item-right], +.item-md.item-label-floating [item-right], +.item-md.item-label-stacked [item-end], +.item-md.item-label-floating [item-end] { + margin-top: 7px; + margin-bottom: 7px; +} + +.label-md-primary, +.item-input .label-md-primary, +.item-select .label-md-primary, +.item-datetime .label-md-primary { + color: #673AB7; +} + +.label-md-secondary, +.item-input .label-md-secondary, +.item-select .label-md-secondary, +.item-datetime .label-md-secondary { + color: #32db64; +} + +.label-md-danger, +.item-input .label-md-danger, +.item-select .label-md-danger, +.item-datetime .label-md-danger { + color: #f53d3d; +} + +.label-md-light, +.item-input .label-md-light, +.item-select .label-md-light, +.item-datetime .label-md-light { + color: #f4f4f4; +} + +.label-md-dark, +.item-input .label-md-dark, +.item-select .label-md-dark, +.item-datetime .label-md-dark { + color: #222; +} + +.label-md-optblue, +.item-input .label-md-optblue, +.item-select .label-md-optblue, +.item-datetime .label-md-optblue { + color: #E00201; +} + +.label-wp { + margin: 13px 8px 13px 0; +} + +.item-input .label-wp, +.item-select .label-wp, +.item-datetime .label-wp { + color: #999; +} + +.label-wp[stacked] { + font-size: 1.2rem; +} + +.label-wp[floating] { + -webkit-transform: translate3d(8px, 34px, 0); + transform: translate3d(8px, 34px, 0); + -webkit-transform-origin: left top; + transform-origin: left top; +} + +.label-wp[stacked], +.label-wp[floating] { + margin-left: 0; + margin-bottom: 0; +} + +.item-input-has-focus .label-wp[stacked], +.input-has-focus .label-wp[stacked], +.item-input-has-focus .label-wp[floating], +.input-has-focus .label-wp[floating] { + color: #673AB7; +} + +.item-input-has-focus .label-wp[floating], +.input-has-focus .label-wp[floating], +.item-input-has-value .label-wp[floating], +.input-has-value .label-wp[floating] { + -webkit-transform: translate3d(0, 0, 0) scale(0.8); + transform: translate3d(0, 0, 0) scale(0.8); +} + +.item-wp.item-label-stacked [item-right], +.item-wp.item-label-floating [item-right], +.item-wp.item-label-stacked [item-end], +.item-wp.item-label-floating [item-end] { + margin-top: 13px; + margin-bottom: 13px; +} + +.label-wp-primary, +.item-input .label-wp-primary, +.item-select .label-wp-primary, +.item-datetime .label-wp-primary { + color: #673AB7; +} + +.label-wp-secondary, +.item-input .label-wp-secondary, +.item-select .label-wp-secondary, +.item-datetime .label-wp-secondary { + color: #32db64; +} + +.label-wp-danger, +.item-input .label-wp-danger, +.item-select .label-wp-danger, +.item-datetime .label-wp-danger { + color: #f53d3d; +} + +.label-wp-light, +.item-input .label-wp-light, +.item-select .label-wp-light, +.item-datetime .label-wp-light { + color: #f4f4f4; +} + +.label-wp-dark, +.item-input .label-wp-dark, +.item-select .label-wp-dark, +.item-datetime .label-wp-dark { + color: #222; +} + +.label-wp-optblue, +.item-input .label-wp-optblue, +.item-select .label-wp-optblue, +.item-datetime .label-wp-optblue { + color: #E00201; +} + +ion-list-header { + margin: 0; + padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + width: 100%; + min-height: 4rem; +} + +ion-list { + margin: 0; + padding: 0; + display: block; + list-style-type: none; +} + +ion-list[inset] { + overflow: hidden; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.list-ios { + margin: -1px 0 32px; +} + +.list-ios > .item-block:first-child { + border-top: 0.55px solid #c8c7cc; +} + +.list-ios > .item-block:last-child, +.list-ios > .item-wrapper:last-child .item-block { + border-bottom: 0.55px solid #c8c7cc; +} + +.list-ios > .item-block:last-child .item-inner, +.list-ios > .item-wrapper:last-child .item-block .item-inner { + border-bottom: 0; +} + +.list-ios .item-block .item-inner { + border-bottom: 0.55px solid #c8c7cc; +} + +.list-ios .item[no-lines], +.list-ios .item[no-lines] .item-inner { + border-width: 0; +} + +.list-ios ion-item-options { + border-bottom: 0.55px solid #c8c7cc; +} + +.list-ios ion-item-options .button { + margin: 0; + border-radius: 0; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + min-height: 100%; + border: 0; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.list-ios ion-item-options .button::before { + margin: 0 auto; +} + +.list-ios:not([inset]) + .list-ios:not([inset]) ion-list-header { + margin-top: -10px; + padding-top: 0; +} + +.list-ios[inset] { + margin: 16px; + border-radius: 4px; +} + +.list-ios[inset] ion-list-header { + background-color: #fff; +} + +.list-ios[inset] .item { + border-bottom: 1px solid #c8c7cc; +} + +.list-ios[inset] .item-inner { + border-bottom: 0; +} + +.list-ios[inset] > .item:first-child, +.list-ios[inset] > .item-wrapper:first-child .item { + border-top: 0; +} + +.list-ios[inset] > .item:last-child, +.list-ios[inset] > .item-wrapper:last-child .item { + border-bottom: 0; +} + +.list-ios[inset] + ion-list[inset] { + margin-top: 0; +} + +.list-ios[no-lines] ion-list-header, +.list-ios[no-lines] ion-item-options, +.list-ios[no-lines] .item, +.list-ios[no-lines] .item .item-inner { + border-width: 0; +} + +.list-header-ios { + padding-left: 16px; + padding-left: 16px; + position: relative; + border-bottom: 0.55px solid #c8c7cc; + font-size: 1.2rem; + font-weight: 500; + letter-spacing: 0.1rem; + text-transform: uppercase; + color: #333; + background: transparent; +} + +@media screen and (orientation: landscape) { + .list-header-ios { + padding-left: calc(constant(safe-area-inset-left) + 16px); + padding-left: calc(env(safe-area-inset-left) + 16px); + } +} + +.list-header-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.list-header-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.list-header-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.list-header-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.list-header-ios-dark { + color: #fff; + background-color: #222; +} + +.list-header-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.list-md { + margin: -1px 0 16px; +} + +.list-md .item-block .item-inner { + border-bottom: 1px solid #dedede; +} + +.list-md > .item-block:last-child ion-label, +.list-md > .item-block:last-child .item-inner, +.list-md > .item-wrapper:last-child ion-label, +.list-md > .item-wrapper:last-child .item-inner { + border-bottom: 0; +} + +.list-md > ion-input:last-child::after { + left: 0; +} + +.list-md ion-item-options { + border-bottom: 1px solid #dedede; +} + +.list-md ion-item-options .button { + margin: 0; + border-radius: 0; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: 100%; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.list-md ion-item-options .button::before { + margin: 0 auto; +} + +.list-md .item[no-lines], +.list-md .item[no-lines] .item-inner { + border-width: 0; +} + +.list-md + ion-list ion-list-header { + margin-top: -16px; +} + +.list-md[inset] { + margin: 16px; + border-radius: 2px; +} + +.list-md[inset] .item:first-child { + border-top-left-radius: 2px; + border-top-right-radius: 2px; + border-top-width: 0; +} + +.list-md[inset] .item:last-child { + border-bottom-right-radius: 2px; + border-bottom-left-radius: 2px; + border-bottom-width: 0; +} + +.list-md[inset] .item-input { + padding-left: 0; + padding-right: 0; +} + +.list-md[inset] + ion-list[inset] { + margin-top: 0; +} + +.list-md[inset] ion-list-header { + background-color: #fff; +} + +.list-md[no-lines] .item-block, +.list-md[no-lines] ion-item-options, +.list-md[no-lines] .item .item-inner { + border-width: 0; +} + +.list-header-md { + padding-left: 16px; + margin-bottom: 13px; + min-height: 4.5rem; + border-top: 1px solid #dedede; + font-size: 1.4rem; + color: #757575; +} + +.list-header-md-primary { + color: #fff; + background-color: #673AB7; +} + +.list-header-md-secondary { + color: #fff; + background-color: #32db64; +} + +.list-header-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.list-header-md-light { + color: #000; + background-color: #f4f4f4; +} + +.list-header-md-dark { + color: #fff; + background-color: #222; +} + +.list-header-md-optblue { + color: #fff; + background-color: #E00201; +} + +.list-md .item-input:last-child { + border-bottom: 1px solid #dedede; +} + +.list-wp { + margin: 0 0 16px; +} + +.list-wp .item-block .item-inner { + border-bottom: 1px solid transparent; +} + +.list-wp > .item-block:first-child, +.list-wp > .item-wrapper:first-child .item-block { + border-top: 1px solid transparent; +} + +.list-wp > .item-block:last-child, +.list-wp > .item-wrapper:last-child .item-block { + border-bottom: 1px solid transparent; +} + +.list-wp > .item-block:last-child ion-label, +.list-wp > .item-block:last-child .item-inner, +.list-wp > .item-wrapper:last-child ion-label, +.list-wp > .item-wrapper:last-child .item-inner { + border-bottom: 0; +} + +.list-wp > ion-input:last-child::after { + left: 0; +} + +.list-wp ion-item-options .button { + margin: 1px 0; + border-radius: 0; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + height: calc(100% - 2px); + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.list-wp ion-item-options .button::before { + margin: 0 auto; +} + +.list-wp .item[no-lines], +.list-wp .item[no-lines] .item-inner { + border-width: 0; +} + +.list-wp + ion-list ion-list-header { + margin-top: -16px; + padding-top: 0; +} + +.list-wp[inset] { + margin: 16px; + border-radius: 2px; +} + +.list-wp[inset] .item:first-child { + border-top-left-radius: 2px; + border-top-right-radius: 2px; + border-top-width: 0; +} + +.list-wp[inset] .item:last-child { + border-bottom-right-radius: 2px; + border-bottom-left-radius: 2px; + border-bottom-width: 0; +} + +.list-wp[inset] .item-input { + padding-left: 0; + padding-right: 0; +} + +.list-wp[inset] + ion-list[inset] { + margin-top: 0; +} + +.list-wp[inset] ion-list-header { + background-color: #fff; +} + +.list-wp[no-lines] .item, +.list-wp[no-lines] .item .item-inner { + border-width: 0; +} + +.list-header-wp { + padding-left: 16px; + border-bottom: 1px solid transparent; + font-size: 2rem; + color: #000; +} + +.list-header-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.list-header-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.list-header-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.list-header-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.list-header-wp-dark { + color: #fff; + background-color: #222; +} + +.list-header-wp-optblue { + color: #fff; + background-color: #E00201; +} + +ion-loading { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + z-index: 1000; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + contain: strict; +} + +.loading-wrapper { + z-index: 10; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + opacity: 0; +} + +.loading-ios .loading-wrapper { + border-radius: 8px; + max-width: 270px; + max-height: 90%; + color: #000; + background: #f8f8f8; + padding: 24px 34px; +} + +.loading-ios .loading-content { + font-weight: bold; +} + +.loading-ios .loading-spinner + .loading-content { + margin-left: 16px; +} + +.loading-ios .spinner-ios line, +.loading-ios .spinner-ios-small line { + stroke: #69717d; +} + +.loading-ios .spinner-bubbles circle { + fill: #69717d; +} + +.loading-ios .spinner-circles circle { + fill: #69717d; +} + +.loading-ios .spinner-crescent circle { + stroke: #69717d; +} + +.loading-ios .spinner-dots circle { + fill: #69717d; +} + +.loading-md .loading-wrapper { + border-radius: 2px; + max-width: 280px; + max-height: 90%; + color: rgba(0, 0, 0, 0.5); + background: #fafafa; + -webkit-box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); + box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); + padding: 24px; +} + +.loading-md .loading-spinner + .loading-content { + margin-left: 16px; +} + +.loading-md .spinner-ios line, +.loading-md .spinner-ios-small line { + stroke: #673AB7; +} + +.loading-md .spinner-bubbles circle { + fill: #673AB7; +} + +.loading-md .spinner-circles circle { + fill: #673AB7; +} + +.loading-md .spinner-crescent circle { + stroke: #673AB7; +} + +.loading-md .spinner-dots circle { + fill: #673AB7; +} + +.loading-wp .loading-wrapper { + border-radius: 2px; + max-width: 280px; + max-height: 90%; + color: #fff; + background: #000; + padding: 20px; +} + +.loading-wp .loading-spinner + .loading-content { + margin-left: 16px; +} + +.loading-wp .spinner-ios line, +.loading-wp .spinner-ios-small line { + stroke: #fff; +} + +.loading-wp .spinner-bubbles circle { + fill: #fff; +} + +.loading-wp .spinner-circles circle { + fill: #fff; +} + +.loading-wp .spinner-crescent circle { + stroke: #fff; +} + +.loading-wp .spinner-dots circle { + fill: #fff; +} + +ion-menu { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + display: none; + contain: strict; +} + +ion-menu.show-menu { + display: block; +} + +.menu-inner { + left: 0; + right: auto; + top: 0; + bottom: 0; + -webkit-transform: translate3d(-9999px, 0, 0); + transform: translate3d(-9999px, 0, 0); + position: absolute; + display: block; + width: 304px; + height: 100%; + contain: strict; +} + +.menu-inner > ion-header, +.menu-inner > ion-content, +.menu-inner > ion-footer { + position: absolute; +} + +ion-menu[side=left] > .menu-inner { + right: auto; + left: 0; +} + +ion-menu[side=right] > .menu-inner { + right: 0; + left: auto; +} + +ion-menu[side=end] > .menu-inner { + left: auto; + right: 0; +} + +ion-menu ion-backdrop { + z-index: -1; + display: none; + opacity: .01; +} + +.menu-content { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +.menu-content-open { + cursor: pointer; + -ms-touch-action: manipulation; + touch-action: manipulation; +} + +.menu-content-open ion-pane, +.menu-content-open ion-content, +.menu-content-open .toolbar { + pointer-events: none; +} + +@media (max-width: 340px) { + .menu-inner { + width: 264px; + } +} + +ion-menu[type=reveal] { + z-index: 0; +} + +ion-menu[type=reveal].show-menu .menu-inner { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +ion-menu[type=overlay] { + z-index: 80; +} + +ion-menu[type=overlay] .show-backdrop { + display: block; +} + +.ios .menu-inner { + background: #fff; +} + +.ios .menu-content-reveal { + -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); +} + +.ios .menu-content-push { + -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); +} + +.ios ion-menu[type=overlay] .menu-inner { + -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); +} + +.md .menu-inner { + background: #fff; +} + +.md .menu-content-reveal { + -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); +} + +.md .menu-content-push { + -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); +} + +.md ion-menu[type=overlay] .menu-inner { + -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); +} + +.wp .menu-inner { + background: #f2f2f2; +} + +ion-modal { + left: 0; + top: 0; + position: absolute; + display: block; + width: 100%; + height: 100%; + contain: strict; +} + +@media not all and (min-width: 768px) and (min-height: 600px) { + ion-modal ion-backdrop { + visibility: hidden; + } +} + +.modal-wrapper { + z-index: 10; + height: 100%; + contain: strict; +} + +@media only screen and (min-width: 768px) and (min-height: 600px) { + .modal-wrapper { + left: calc(50% - (600px/2)); + top: calc(50% - (500px/2)); + position: absolute; + width: 600px; + height: 500px; + } +} + +@media only screen and (min-width: 768px) and (min-height: 768px) { + .modal-wrapper { + left: calc(50% - (600px/2)); + top: calc(50% - (600px/2)); + position: absolute; + width: 600px; + height: 600px; + } +} + +.ios .modal-wrapper { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); +} + +@media only screen and (min-width: 768px) and (min-height: 600px) { + .ios .modal-wrapper { + border-radius: 10px; + overflow: hidden; + } +} + +.md .modal-wrapper { + -webkit-transform: translate3d(0, 40px, 0); + transform: translate3d(0, 40px, 0); + opacity: .01; +} + +@media only screen and (min-width: 768px) and (min-height: 600px) { + .md .modal-wrapper { + border-radius: 2px; + overflow: hidden; + -webkit-box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4); + box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4); + } +} + +.wp .modal-wrapper { + -webkit-transform: translate3d(0, 40px, 0); + transform: translate3d(0, 40px, 0); + opacity: .01; +} + +.note-ios { + color: #aeacb4; +} + +.note-ios-primary { + color: #673AB7; +} + +.note-ios-secondary { + color: #32db64; +} + +.note-ios-danger { + color: #f53d3d; +} + +.note-ios-light { + color: #f4f4f4; +} + +.note-ios-dark { + color: #222; +} + +.note-ios-optblue { + color: #E00201; +} + +.note-md { + color: #c5c5c5; +} + +.note-md-primary { + color: #673AB7; +} + +.note-md-secondary { + color: #32db64; +} + +.note-md-danger { + color: #f53d3d; +} + +.note-md-light { + color: #f4f4f4; +} + +.note-md-dark { + color: #222; +} + +.note-md-optblue { + color: #E00201; +} + +.note-wp { + color: rgba(0, 0, 0, 0.5); +} + +.note-wp-primary { + color: #673AB7; +} + +.note-wp-secondary { + color: #32db64; +} + +.note-wp-danger { + color: #f53d3d; +} + +.note-wp-light { + color: #f4f4f4; +} + +.note-wp-dark { + color: #222; +} + +.note-wp-optblue { + color: #E00201; +} + +ion-picker-cmp { + left: 0; + top: 0; + position: absolute; + z-index: 1000; + display: block; + width: 100%; + height: 100%; + contain: strict; +} + +.picker-toolbar { + z-index: 1; + width: 100%; + contain: strict; +} + +.picker-wrapper { + left: 0; + right: 0; + bottom: 0; + margin: auto; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + position: absolute; + z-index: 10; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + max-width: 500px; + contain: strict; +} + +.picker-columns { + margin-bottom: constant(safe-area-inset-bottom); + margin-bottom: env(safe-area-inset-bottom); + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + contain: strict; +} + +.picker-col { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 100%; + -webkit-box-sizing: content-box; + box-sizing: content-box; + contain: content; +} + +.picker-opts { + position: relative; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + max-width: 100%; +} + +.picker-prefix { + text-align: right; + text-align: end; + position: relative; + -webkit-box-flex: 2; + -webkit-flex: 2; + -ms-flex: 2; + flex: 2; + min-width: 45%; + max-width: 50%; + white-space: nowrap; +} + +.picker-suffix { + text-align: left; + text-align: start; + position: relative; + -webkit-box-flex: 2; + -webkit-flex: 2; + -ms-flex: 2; + flex: 2; + min-width: 45%; + max-width: 50%; + white-space: nowrap; +} + +.picker-opt { + left: 0; + top: 0; + text-align: center; + position: absolute; + display: block; + overflow: hidden; + width: 100%; + text-overflow: ellipsis; + white-space: nowrap; + will-change: transform; + contain: strict; +} + +.picker-opt.picker-opt-disabled { + pointer-events: none; +} + +.picker-opt-disabled { + opacity: 0; +} + +.picker-opts-left { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.picker-opts-right { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; +} + +.picker-above-highlight, +.picker-below-highlight { + display: none; + pointer-events: none; +} + +.picker-ios .picker-wrapper { + height: 260px; + border-top: 1px solid #c8c7cc; + background: #fff; +} + +.picker-ios .picker-toolbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 44px; + border-bottom: 0.55px solid #c8c7cc; + background: #fff; +} + +.picker-ios .picker-toolbar-button { + text-align: right; + text-align: end; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.picker-ios .picker-toolbar-button:last-child .picker-button { + font-weight: 600; +} + +.picker-ios .picker-toolbar-cancel { + text-align: left; + text-align: start; + font-weight: normal; +} + +.picker-ios .picker-button, +.picker-ios .picker-button.activated { + margin: 0; + height: 44px; + color: #673AB7; + background: transparent; +} + +.picker-columns { + height: 215px; + -webkit-perspective: 1000px; + perspective: 1000px; +} + +.picker-ios .picker-col { + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + padding: 0 4px; +} + +.picker-ios .picker-prefix, +.picker-ios .picker-suffix, +.picker-ios .picker-opts { + top: 77px; + font-size: 20px; + line-height: 42px; + color: #000; + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + pointer-events: none; +} + +.picker-ios .picker-opt { + margin: 0; + -webkit-transform-origin: center center; + transform-origin: center center; + height: 4.6rem; + font-size: 20px; + line-height: 42px; + color: #000; + background: transparent; + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + -webkit-transition-timing-function: ease-out; + transition-timing-function: ease-out; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + pointer-events: auto; + padding: 0; +} + +.picker-ios .picker-above-highlight { + left: 0; + top: 0; + -webkit-transform: translate3d(0, 0, 90px); + transform: translate3d(0, 0, 90px); + position: absolute; + z-index: 10; + display: block; + width: 100%; + height: 81px; + border-bottom: 1px solid #c8c7cc; + background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); + background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); +} + +.picker-ios .picker-below-highlight { + left: 0; + top: 115px; + -webkit-transform: translate3d(0, 0, 90px); + transform: translate3d(0, 0, 90px); + position: absolute; + z-index: 11; + display: block; + width: 100%; + height: 119px; + border-top: 1px solid #c8c7cc; + background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); + background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); +} + +.picker-md .picker-wrapper { + height: 260px; + border-top: 0.55px solid #dedede; + background: #fff; +} + +.picker-md .picker-toolbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + height: 44px; + background: #fff; +} + +.picker-md .picker-button, +.picker-md .picker-button.activated { + margin: 0; + height: 44px; + color: #673AB7; + background: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.picker-md .picker-columns { + height: 216px; + -webkit-perspective: 1800px; + perspective: 1800px; +} + +.picker-md .picker-col { + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + padding: 0 8px; +} + +.picker-md .picker-prefix, +.picker-md .picker-suffix, +.picker-md .picker-opts { + top: 77px; + font-size: 22px; + line-height: 42px; + color: #000; + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + pointer-events: none; +} + +.picker-md .picker-opt { + margin: 0; + height: 4.3rem; + font-size: 22px; + line-height: 42px; + color: #000; + background: transparent; + -webkit-transition-timing-function: ease-out; + transition-timing-function: ease-out; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + pointer-events: auto; + padding: 0; +} + +.picker-md .picker-prefix, +.picker-md .picker-suffix, +.picker-md .picker-opt.picker-opt-selected { + color: #673AB7; +} + +.picker-md .picker-above-highlight { + left: 0; + top: 0; + -webkit-transform: translate3d(0, 0, 90px); + transform: translate3d(0, 0, 90px); + position: absolute; + z-index: 10; + width: 100%; + height: 81px; + border-bottom: 1px solid #dedede; + background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); + background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); +} + +.picker-md .picker-below-highlight { + left: 0; + top: 115px; + -webkit-transform: translate3d(0, 0, 90px); + transform: translate3d(0, 0, 90px); + position: absolute; + z-index: 11; + width: 100%; + height: 119px; + border-top: 1px solid #dedede; + background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); + background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); +} + +.picker-wp .picker-wrapper { + height: 260px; + border-top: 0.55px solid transparent; + background: #fff; +} + +.picker-wp .picker-toolbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + height: 44px; + border-width: 0.55px; + background: #fff; +} + +.picker-wp .picker-toolbar-button { + text-align: right; + text-align: end; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.picker-wp .picker-toolbar-cancel { + text-align: left; + text-align: start; + font-weight: normal; +} + +.picker-wp .picker-button, +.picker-wp .picker-button.activated { + margin: 0; + height: 44px; + color: #673AB7; + background: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.picker-wp .picker-columns { + height: 216px; + -webkit-perspective: 1800px; + perspective: 1800px; +} + +.picker-wp .picker-col { + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + padding: 0 4px; +} + +.picker-wp .picker-prefix, +.picker-wp .picker-suffix, +.picker-wp .picker-opts { + top: 77px; + font-size: 22px; + line-height: 42px; + color: #000; + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + pointer-events: none; +} + +.picker-wp .picker-opt { + margin: 0; + height: 4.2rem; + font-size: 22px; + line-height: 42px; + color: #000; + background: transparent; + -webkit-transition-timing-function: ease-out; + transition-timing-function: ease-out; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + pointer-events: auto; + padding: 0; +} + +.picker-wp .picker-prefix, +.picker-wp .picker-suffix, +.picker-wp .picker-opt-selected { + color: #673AB7; +} + +.picker-wp .picker-above-highlight { + left: 0; + top: 0; + -webkit-transform: translate3d(0, 0, 90px); + transform: translate3d(0, 0, 90px); + position: absolute; + z-index: 10; + width: 100%; + height: 81px; + border-bottom: 1px solid transparent; + background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); + background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); +} + +.picker-wp .picker-below-highlight { + left: 0; + top: 115px; + -webkit-transform: translate3d(0, 0, 90px); + transform: translate3d(0, 0, 90px); + position: absolute; + z-index: 11; + width: 100%; + height: 119px; + border-top: 1px solid transparent; + background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); + background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); +} + +ion-popover { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + z-index: 1000; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.popover-wrapper { + z-index: 10; + opacity: 0; +} + +.popover-content { + position: absolute; + z-index: 10; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: auto; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.popover-content ion-content, +.popover-content .scroll-content { + contain: none; +} + +.popover-content .scroll-content { + position: relative; +} + +.popover-ios .popover-content { + border-radius: 10px; + width: 200px; + min-width: 0; + min-height: 0; + max-height: 90%; + color: #000; + background: #fff; +} + +.popover-ios .popover-arrow { + position: absolute; + display: block; + overflow: hidden; + width: 20px; + height: 10px; +} + +.popover-ios .popover-arrow::after { + left: 3px; + top: 3px; + border-radius: 3px; + position: absolute; + z-index: 10; + width: 14px; + height: 14px; + background-color: #fff; + content: ""; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.popover-ios.popover-bottom .popover-arrow { + top: auto; + bottom: -10px; +} + +.popover-ios.popover-bottom .popover-arrow::after { + top: -6px; +} + +.popover-ios .item-ios { + padding-left: 16px; +} + +.popover-ios .item-ios[detail-push] .item-inner, +.popover-ios button.item-ios:not([detail-none]) .item-inner, +.popover-ios a.item-ios:not([detail-none]) .item-inner { + background-position: right 14px center; +} + +.popover-md .popover-content { + border-radius: 2px; + -webkit-transform-origin: left top; + transform-origin: left top; + width: 250px; + min-width: 0; + min-height: 0; + max-height: 90%; + color: #000; + background: #fff; + -webkit-box-shadow: 0 3px 12px 2px rgba(0, 0, 0, 0.3); + box-shadow: 0 3px 12px 2px rgba(0, 0, 0, 0.3); +} + +.popover-md .popover-viewport { + opacity: 0; + -webkit-transition-delay: 100ms; + transition-delay: 100ms; +} + +.popover-wp .popover-content { + border-radius: 0; + -webkit-transform-origin: left top; + transform-origin: left top; + width: 200px; + min-width: 0; + min-height: 0; + max-height: 90%; + border: 2px solid #ccc; + color: #000; + background: #fff; +} + +.popover-wp .popover-viewport { + opacity: 0; + -webkit-transition-delay: 100ms; + transition-delay: 100ms; +} + +.radio-ios { + position: relative; + display: inline-block; +} + +.radio-ios .radio-icon { + position: relative; + display: block; + width: 16px; + height: 21px; +} + +.radio-ios .radio-checked .radio-inner { + left: 7px; + top: 4px; + position: absolute; + width: 5px; + height: 12px; + border-width: 2px; + border-top-width: 0; + border-left-width: 0; + border-style: solid; + border-color: #673AB7; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.radio-ios.radio-disabled, +.item-ios.item-radio-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.item-ios .radio-ios { + position: static; + display: block; + margin: 8px 11px 8px 8px; +} + +.item-ios .radio-ios[item-left], .item-ios .radio-ios[item-start] { + margin: 8px 21px 8px 3px; +} + +.item-radio.item-ios ion-label { + margin-left: 0; +} + +.item-radio-checked.item-ios ion-label { + color: #673AB7; +} + +.item-radio-ios-primary.item-radio-checked ion-label { + color: #673AB7; +} + +.radio-ios-primary .radio-checked { + color: #673AB7; +} + +.radio-ios-primary .radio-checked .radio-inner { + border-color: #673AB7; +} + +.item-radio-ios-secondary.item-radio-checked ion-label { + color: #32db64; +} + +.radio-ios-secondary .radio-checked { + color: #32db64; +} + +.radio-ios-secondary .radio-checked .radio-inner { + border-color: #32db64; +} + +.item-radio-ios-danger.item-radio-checked ion-label { + color: #f53d3d; +} + +.radio-ios-danger .radio-checked { + color: #f53d3d; +} + +.radio-ios-danger .radio-checked .radio-inner { + border-color: #f53d3d; +} + +.item-radio-ios-light.item-radio-checked ion-label { + color: #f4f4f4; +} + +.radio-ios-light .radio-checked { + color: #f4f4f4; +} + +.radio-ios-light .radio-checked .radio-inner { + border-color: #f4f4f4; +} + +.item-radio-ios-dark.item-radio-checked ion-label { + color: #222; +} + +.radio-ios-dark .radio-checked { + color: #222; +} + +.radio-ios-dark .radio-checked .radio-inner { + border-color: #222; +} + +.item-radio-ios-optblue.item-radio-checked ion-label { + color: #E00201; +} + +.radio-ios-optblue .radio-checked { + color: #E00201; +} + +.radio-ios-optblue .radio-checked .radio-inner { + border-color: #E00201; +} + +.radio-md { + position: relative; + display: inline-block; +} + +.radio-md .radio-icon { + left: 0; + top: 0; + margin: 0; + border-radius: 50%; + position: relative; + display: block; + width: 16px; + height: 16px; + border-width: 2px; + border-style: solid; + border-color: #787878; +} + +.radio-md .radio-inner { + left: 2px; + top: 2px; + border-radius: 50%; + position: absolute; + width: 8px; + height: 8px; + background-color: #673AB7; + -webkit-transform: scale3d(0, 0, 0); + transform: scale3d(0, 0, 0); + -webkit-transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); + transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); + transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1); + transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); +} + +.radio-md .radio-checked { + border-color: #673AB7; +} + +.radio-md .radio-checked .radio-inner { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); +} + +.radio-md.radio-disabled, +.item-md.item-radio-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.item-md .radio-md { + position: static; + display: block; + margin: 9px 10px 9px 0; +} + +.item-md .radio-md[item-left], .item-md .radio-md[item-start] { + margin: 11px 36px 10px 4px; +} + +.item-radio.item-md ion-label { + margin-left: 0; +} + +.item-radio-checked.item-md ion-label { + color: #673AB7; +} + +.item-radio-md-primary.item-radio-checked ion-label { + color: #673AB7; +} + +.radio-md-primary .radio-checked { + border-color: #673AB7; +} + +.radio-md-primary .radio-inner { + background-color: #673AB7; +} + +.item-radio-md-secondary.item-radio-checked ion-label { + color: #32db64; +} + +.radio-md-secondary .radio-checked { + border-color: #32db64; +} + +.radio-md-secondary .radio-inner { + background-color: #32db64; +} + +.item-radio-md-danger.item-radio-checked ion-label { + color: #f53d3d; +} + +.radio-md-danger .radio-checked { + border-color: #f53d3d; +} + +.radio-md-danger .radio-inner { + background-color: #f53d3d; +} + +.item-radio-md-light.item-radio-checked ion-label { + color: #f4f4f4; +} + +.radio-md-light .radio-checked { + border-color: #f4f4f4; +} + +.radio-md-light .radio-inner { + background-color: #f4f4f4; +} + +.item-radio-md-dark.item-radio-checked ion-label { + color: #222; +} + +.radio-md-dark .radio-checked { + border-color: #222; +} + +.radio-md-dark .radio-inner { + background-color: #222; +} + +.item-radio-md-optblue.item-radio-checked ion-label { + color: #E00201; +} + +.radio-md-optblue .radio-checked { + border-color: #E00201; +} + +.radio-md-optblue .radio-inner { + background-color: #E00201; +} + +.radio-wp { + position: relative; + display: inline-block; +} + +.radio-wp .radio-icon { + left: 0; + top: 0; + margin: 0; + border-radius: 50%; + position: relative; + display: block; + width: 16px; + height: 16px; + border-width: 2px; + border-style: solid; + border-color: #333; +} + +.radio-wp .radio-inner { + left: 2px; + top: 2px; + border-radius: 50%; + position: absolute; + display: none; + width: 8px; + height: 8px; + background-color: #333; +} + +.radio-wp .radio-checked { + border-color: #673AB7; +} + +.radio-wp .radio-checked .radio-inner { + display: block; +} + +.radio-wp.radio-disabled, +.item-wp.item-radio-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.item-wp .radio-wp { + position: static; + display: block; + -webkit-box-ordinal-group: 0; + -webkit-order: -1; + -ms-flex-order: -1; + order: -1; + margin: 9px 20px 9px 4px; +} + +.item-wp .radio-wp[item-right], .item-wp .radio-wp[item-end] { + -webkit-box-ordinal-group: 1; + -webkit-order: 0; + -ms-flex-order: 0; + order: 0; + margin: 11px 10px 10px 0; +} + +.item-radio.item-wp ion-label { + margin-left: 0; +} + +.radio-wp-primary .radio-checked { + border-color: #673AB7; +} + +.radio-wp-secondary .radio-checked { + border-color: #32db64; +} + +.radio-wp-danger .radio-checked { + border-color: #f53d3d; +} + +.radio-wp-light .radio-checked { + border-color: #f4f4f4; +} + +.radio-wp-dark .radio-checked { + border-color: #222; +} + +.radio-wp-optblue .radio-checked { + border-color: #E00201; +} + +.item-range .item-inner { + overflow: visible; + width: 100%; +} + +.item-range .input-wrapper { + overflow: visible; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; +} + +.item-range ion-range { + width: 100%; +} + +.item-range ion-range ion-label { + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +ion-range { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +ion-range ion-label { + -webkit-box-flex: initial; + -webkit-flex: initial; + -ms-flex: initial; + flex: initial; +} + +ion-range ion-icon { + min-height: 2.4rem; + font-size: 2.4rem; + line-height: 1; +} + +.range-slider { + position: relative; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + cursor: pointer; +} + +.range-ios { + padding: 8px 16px; +} + +.range-ios [range-left] { + margin: 0 20px 0 0; +} + +.range-ios [range-right] { + margin: 0 0 0 20px; +} + +.range-ios.range-has-pin { + padding-top: 20px; +} + +.range-ios .range-slider { + height: 42px; +} + +.range-ios .range-bar { + left: 0; + top: 21px; + border-radius: 1px; + position: absolute; + width: 100%; + height: 1px; + background: #bdbdbd; + pointer-events: none; +} + +.range-ios.range-pressed .range-bar-active { + will-change: left, right; +} + +.range-ios.range-pressed .range-knob-handle { + will-change: left; +} + +.range-ios .range-bar-active { + bottom: 0; + width: auto; + background: #673AB7; +} + +.range-ios .range-knob-handle { + left: 0; + top: 21px; + margin-left: -21px; + margin-top: -21px; + text-align: center; + position: absolute; + width: 42px; + height: 42px; +} + +.range-ios .range-knob { + left: 7px; + top: 7px; + border-radius: 50%; + position: absolute; + width: 28px; + height: 28px; + background: #fff; + -webkit-box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.02); + box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.02); + pointer-events: none; +} + +.range-ios .range-tick { + margin-left: -0.5px; + border-radius: 0; + position: absolute; + top: 17.5px; + width: 1px; + height: 8px; + background: #bdbdbd; + pointer-events: none; +} + +.range-ios .range-tick-active { + background: #673AB7; +} + +.range-ios .range-pin { + text-align: center; + border-radius: 50px; + -webkit-transform: translate3d(0, 28px, 0) scale(0.01); + transform: translate3d(0, 28px, 0) scale(0.01); + position: relative; + top: -20px; + display: inline-block; + min-width: 28px; + font-size: 12px; + color: #000; + background: transparent; + -webkit-transition: -webkit-transform 120ms ease; + transition: -webkit-transform 120ms ease; + transition: transform 120ms ease; + transition: transform 120ms ease, -webkit-transform 120ms ease; + padding: 8px; +} + +.range-ios .range-knob-pressed .range-pin { + -webkit-transform: translate3d(0, 0, 0) scale(1); + transform: translate3d(0, 0, 0) scale(1); +} + +.range-ios.range-disabled { + opacity: .5; +} + +.range-ios-primary .range-bar-active, +.range-ios-primary .range-tick-active { + background: #673AB7; +} + +.range-ios-secondary .range-bar-active, +.range-ios-secondary .range-tick-active { + background: #32db64; +} + +.range-ios-danger .range-bar-active, +.range-ios-danger .range-tick-active { + background: #f53d3d; +} + +.range-ios-light .range-bar-active, +.range-ios-light .range-tick-active { + background: #f4f4f4; +} + +.range-ios-dark .range-bar-active, +.range-ios-dark .range-tick-active { + background: #222; +} + +.range-ios-optblue .range-bar-active, +.range-ios-optblue .range-tick-active { + background: #E00201; +} + +.range-md { + padding: 8px; +} + +.range-md [range-left] { + margin: 0 12px 0 0; +} + +.range-md [range-right] { + margin: 0 0 0 12px; +} + +.range-md.range-has-pin { + padding-top: 28px; +} + +.range-md .range-slider { + height: 42px; +} + +.range-md .range-bar { + left: 0; + top: 21px; + position: absolute; + width: 100%; + height: 2px; + background: #bdbdbd; + pointer-events: none; +} + +.range-md.range-pressed .range-bar-active { + will-change: left, right; +} + +.range-md.range-pressed .range-knob-handle { + will-change: left; +} + +.range-md .range-bar-active { + bottom: 0; + width: auto; + background: #673AB7; +} + +.range-md .range-knob-handle { + left: 0; + top: 21px; + margin-left: -21px; + margin-top: -21px; + text-align: center; + position: absolute; + width: 42px; + height: 42px; +} + +.range-md .range-knob { + left: 12px; + top: 13px; + border-radius: 50%; + position: absolute; + z-index: 2; + width: 18px; + height: 18px; + background: #673AB7; + -webkit-transform: scale(0.67); + transform: scale(0.67); + -webkit-transition-duration: 120ms; + transition-duration: 120ms; + -webkit-transition-property: background-color, border, -webkit-transform; + transition-property: background-color, border, -webkit-transform; + transition-property: transform, background-color, border; + transition-property: transform, background-color, border, -webkit-transform; + -webkit-transition-timing-function: ease; + transition-timing-function: ease; + pointer-events: none; +} + +.range-md .range-tick { + margin-left: -1px; + border-radius: 50%; + position: absolute; + top: 21px; + z-index: 1; + width: 2px; + height: 2px; + background: #000; + pointer-events: none; +} + +.range-md .range-tick-active { + background: #000; +} + +.range-md .range-pin { + padding: 8px 0; + text-align: center; + border-radius: 50%; + -webkit-transform: translate3d(0, 28px, 0) scale(0.01); + transform: translate3d(0, 28px, 0) scale(0.01); + position: relative; + top: -20px; + display: inline-block; + min-width: 28px; + height: 28px; + font-size: 12px; + color: #fff; + background: #673AB7; + -webkit-transition: background-color 120ms ease, -webkit-transform 120ms ease; + transition: background-color 120ms ease, -webkit-transform 120ms ease; + transition: transform 120ms ease, background-color 120ms ease; + transition: transform 120ms ease, background-color 120ms ease, -webkit-transform 120ms ease; +} + +.range-md .range-pin::before { + left: 50%; + top: 3px; + border-top-left-radius: 50%; + border-top-right-radius: 50%; + border-bottom-right-radius: 50%; + border-bottom-left-radius: 0; + margin-left: -13px; + position: absolute; + z-index: -1; + width: 26px; + height: 26px; + background: #673AB7; + content: ""; + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); + -webkit-transition: background-color 120ms ease; + transition: background-color 120ms ease; +} + +.range-md .range-knob-pressed .range-pin { + -webkit-transform: translate3d(0, 0, 0) scale(1); + transform: translate3d(0, 0, 0) scale(1); +} + +.range-md:not(.range-has-pin) .range-knob-pressed .range-knob { + -webkit-transform: scale(1); + transform: scale(1); +} + +.range-md .range-knob-min.range-knob-min .range-knob { + border: 2px solid #bdbdbd; + background: #fff; +} + +.range-md .range-knob-min.range-knob-min .range-pin, +.range-md .range-knob-min.range-knob-min .range-pin::before { + color: #fff; + background: #bdbdbd; +} + +.range-md.range-disabled .range-bar-active { + background-color: #bdbdbd; +} + +.range-md.range-disabled .range-knob { + outline: 5px solid #fff; + background-color: #bdbdbd; + -webkit-transform: scale(0.55); + transform: scale(0.55); +} + +.range-md-primary .range-md .range-knob-min.range-knob-min .range-knob { + border: 2px solid #bdbdbd; + background: #fff; +} + +.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin, +.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin::before { + color: #fff; + background: #bdbdbd; +} + +.range-md-primary .range-bar-active, +.range-md-primary .range-knob, +.range-md-primary .range-pin, +.range-md-primary .range-pin::before { + background: #673AB7; +} + +.range-md-secondary .range-md .range-knob-min.range-knob-min .range-knob { + border: 2px solid #bdbdbd; + background: #fff; +} + +.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin, +.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin::before { + color: #fff; + background: #bdbdbd; +} + +.range-md-secondary .range-bar-active, +.range-md-secondary .range-knob, +.range-md-secondary .range-pin, +.range-md-secondary .range-pin::before { + background: #32db64; +} + +.range-md-danger .range-md .range-knob-min.range-knob-min .range-knob { + border: 2px solid #bdbdbd; + background: #fff; +} + +.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin, +.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin::before { + color: #fff; + background: #bdbdbd; +} + +.range-md-danger .range-bar-active, +.range-md-danger .range-knob, +.range-md-danger .range-pin, +.range-md-danger .range-pin::before { + background: #f53d3d; +} + +.range-md-light .range-md .range-knob-min.range-knob-min .range-knob { + border: 2px solid #bdbdbd; + background: #fff; +} + +.range-md-light .range-md .range-knob-min.range-knob-min .range-pin, +.range-md-light .range-md .range-knob-min.range-knob-min .range-pin::before { + color: #fff; + background: #bdbdbd; +} + +.range-md-light .range-bar-active, +.range-md-light .range-knob, +.range-md-light .range-pin, +.range-md-light .range-pin::before { + background: #f4f4f4; +} + +.range-md-dark .range-md .range-knob-min.range-knob-min .range-knob { + border: 2px solid #bdbdbd; + background: #fff; +} + +.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin, +.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin::before { + color: #fff; + background: #bdbdbd; +} + +.range-md-dark .range-bar-active, +.range-md-dark .range-knob, +.range-md-dark .range-pin, +.range-md-dark .range-pin::before { + background: #222; +} + +.range-md-optblue .range-md .range-knob-min.range-knob-min .range-knob { + border: 2px solid #bdbdbd; + background: #fff; +} + +.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin, +.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin::before { + color: #fff; + background: #bdbdbd; +} + +.range-md-optblue .range-bar-active, +.range-md-optblue .range-knob, +.range-md-optblue .range-pin, +.range-md-optblue .range-pin::before { + background: #E00201; +} + +.range-wp { + padding: 8px; +} + +.range-wp [range-left] { + margin: 0 12px 0 0; +} + +.range-wp [range-right] { + margin: 0 0 0 12px; +} + +.range-wp.range-has-pin { + padding-top: 28px; +} + +.range-wp .range-slider { + height: 42px; +} + +.range-wp .range-bar { + left: 0; + top: 21px; + position: absolute; + width: 100%; + height: 2px; + background: #bdbdbd; + pointer-events: none; +} + +.range-wp.range-pressed .range-bar-active { + will-change: left, right; +} + +.range-wp.range-pressed .range-knob-handle { + will-change: left; +} + +.range-wp .range-bar-active { + bottom: 0; + width: auto; + background: #673AB7; +} + +.range-wp .range-knob-handle { + left: 0; + top: 21px; + margin-left: -21px; + margin-top: -21px; + text-align: center; + position: absolute; + width: 42px; + height: 42px; +} + +.range-wp .range-knob { + left: 17px; + top: 10px; + border-radius: 4px; + position: absolute; + width: 8px; + height: 24px; + background: #673AB7; + pointer-events: none; +} + +.range-wp .range-tick { + margin-left: -1px; + border-radius: 4px; + position: absolute; + top: 19px; + width: 2px; + height: 6px; + background: #bdbdbd; + pointer-events: none; +} + +.range-wp .range-tick-active { + background: #673AB7; +} + +.range-wp .range-pin { + text-align: center; + border-radius: 50px; + -webkit-transform: translate3d(0, 28px, 0) scale(0.01); + transform: translate3d(0, 28px, 0) scale(0.01); + position: relative; + top: -24px; + display: inline-block; + min-width: 28px; + font-size: 12px; + color: #fff; + background: #673AB7; + -webkit-transition: -webkit-transform 120ms ease; + transition: -webkit-transform 120ms ease; + transition: transform 120ms ease; + transition: transform 120ms ease, -webkit-transform 120ms ease; + padding: 8px; +} + +.range-wp .range-knob-pressed .range-pin { + -webkit-transform: translate3d(0, 0, 0) scale(1); + transform: translate3d(0, 0, 0) scale(1); +} + +.range-wp.range-disabled { + opacity: .5; +} + +.range-wp-primary .range-bar-active, +.range-wp-primary .range-tick-active, +.range-wp-primary .range-knob, +.range-wp-primary .range-pin { + background: #673AB7; +} + +.range-wp-secondary .range-bar-active, +.range-wp-secondary .range-tick-active, +.range-wp-secondary .range-knob, +.range-wp-secondary .range-pin { + background: #32db64; +} + +.range-wp-danger .range-bar-active, +.range-wp-danger .range-tick-active, +.range-wp-danger .range-knob, +.range-wp-danger .range-pin { + background: #f53d3d; +} + +.range-wp-light .range-bar-active, +.range-wp-light .range-tick-active, +.range-wp-light .range-knob, +.range-wp-light .range-pin { + background: #f4f4f4; +} + +.range-wp-dark .range-bar-active, +.range-wp-dark .range-tick-active, +.range-wp-dark .range-knob, +.range-wp-dark .range-pin { + background: #222; +} + +.range-wp-optblue .range-bar-active, +.range-wp-optblue .range-tick-active, +.range-wp-optblue .range-knob, +.range-wp-optblue .range-pin { + background: #E00201; +} + +ion-refresher { + left: 0; + top: 0; + position: absolute; + z-index: 0; + display: none; + width: 100%; + height: 60px; +} + +ion-refresher.refresher-active { + display: block; +} + +.has-refresher > .scroll-content { + margin-top: -1px; + border-top: 1px solid #ddd; + -webkit-transition: -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); + transition: transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); +} + +ion-refresher-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + height: 100%; +} + +.refresher-pulling, +.refresher-refreshing { + display: none; + width: 100%; +} + +.refresher-pulling-icon, +.refresher-refreshing-icon { + text-align: center; + -webkit-transform-origin: center; + transform-origin: center; + font-size: 30px; + color: #000; + -webkit-transition: 200ms; + transition: 200ms; +} + +.refresher-pulling-text, +.refresher-refreshing-text { + text-align: center; + font-size: 16px; + color: #000; +} + +.refresher-refreshing .spinner-ios line, +.refresher-refreshing .spinner-ios-small line, +.refresher-refreshing .spinner-crescent circle { + stroke: #000; +} + +.refresher-refreshing .spinner-bubbles circle, +.refresher-refreshing .spinner-circles circle, +.refresher-refreshing .spinner-dots circle { + fill: #000; +} + +ion-refresher-content[state=pulling] .refresher-pulling { + display: block; +} + +ion-refresher-content[state=ready] .refresher-pulling { + display: block; +} + +ion-refresher-content[state=ready] .refresher-pulling-icon { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +ion-refresher-content[state=refreshing] .refresher-refreshing { + display: block; +} + +ion-refresher-content[state=cancelling] .refresher-pulling { + display: block; +} + +ion-refresher-content[state=cancelling] .refresher-pulling-icon { + -webkit-transform: scale(0); + transform: scale(0); +} + +ion-refresher-content[state=completing] .refresher-refreshing { + display: block; +} + +ion-refresher-content[state=completing] .refresher-refreshing-icon { + -webkit-transform: scale(0); + transform: scale(0); +} + +ion-scroll { + position: relative; + display: block; +} + +ion-scroll.scroll-x .scroll-content { + overflow-x: auto; +} + +ion-scroll.scroll-y .scroll-content { + overflow-y: auto; +} + +ion-scroll[center] .scroll-content { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +ion-scroll .scroll-content { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + overflow-y: hidden; + overflow-x: hidden; + -webkit-overflow-scrolling: touch; + will-change: scroll-position; +} + +ion-searchbar { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + width: 100%; +} + +.searchbar-icon { + pointer-events: none; +} + +.searchbar-input-container { + position: relative; + display: block; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + width: 100%; +} + +.searchbar-input { + -moz-appearance: none; + -ms-appearance: none; + -webkit-appearance: none; + appearance: none; + display: block; + width: 100%; + border: 0; + font-family: inherit; +} + +.searchbar-clear-icon { + margin: 0; + padding: 0; + display: none; + min-height: 0; +} + +.searchbar-has-value.searchbar-has-focus .searchbar-clear-icon { + display: block; +} + +.searchbar-ios { + padding: 0 8px; + min-height: 44px; + border-top: 0.55px solid transparent; + border-bottom: 0.55px solid rgba(0, 0, 0, 0.05); + background: rgba(0, 0, 0, 0.2); +} + +.searchbar-ios .searchbar-search-icon { + left: 9px; + top: 9px; + background-image: url("data:image/svg+xml;charset=utf-8,"); + margin-left: calc(50% - 60px); + position: absolute; + width: 14px; + height: 14px; + background-repeat: no-repeat; + background-size: 13px; +} + +.searchbar-ios .searchbar-input { + padding: 0 28px; + border-radius: 5px; + height: 3rem; + font-size: 1.4rem; + font-weight: 400; + color: #000; + background-color: #fff; +} + +.searchbar-ios .searchbar-input::-moz-placeholder { + color: rgba(0, 0, 0, 0.5); +} + +.searchbar-ios .searchbar-input:-ms-input-placeholder { + color: rgba(0, 0, 0, 0.5); +} + +.searchbar-ios .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: rgba(0, 0, 0, 0.5); +} + +.searchbar-ios .searchbar-clear-icon { + right: 0; + top: 0; + background-image: url("data:image/svg+xml;charset=utf-8,"); + background-position: center; + position: absolute; + width: 30px; + height: 100%; + background-repeat: no-repeat; + background-size: 18px; +} + +.searchbar-ios .searchbar-ios-cancel { + padding: 0 0 0 8px; + margin-left: 0; + display: none; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + height: 30px; + cursor: pointer; +} + +.searchbar-ios.searchbar-left-aligned .searchbar-search-icon { + margin-left: 0; +} + +.searchbar-ios.searchbar-left-aligned .searchbar-input { + padding-left: 30px; +} + +.searchbar-ios.searchbar-show-cancel.searchbar-has-focus .searchbar-ios-cancel { + display: block; +} + +.toolbar .searchbar-ios { + border-bottom-width: 0; + background: transparent; +} + +.toolbar .searchbar-ios .searchbar-input { + background: rgba(0, 0, 0, 0.08); +} + +.toolbar .searchbar-ios .searchbar-ios-cancel { + padding: 0; +} + +.toolbar .searchbar-ios.searchbar-has-focus .searchbar-ios-cancel { + padding-left: 8px; +} + +.searchbar-ios .searchbar-md-cancel { + display: none; +} + +.searchbar-ios-primary .searchbar-ios-cancel { + color: #673AB7; +} + +.searchbar-ios-primary .searchbar-ios-cancel:hover:not(.disable-hover) { + color: #734abd; +} + +.toolbar-ios-primary .searchbar-ios .searchbar-search-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-primary .searchbar-ios .searchbar-input { + color: #fff; + background: rgba(255, 255, 255, 0.08); +} + +.toolbar-ios-primary .searchbar-ios .searchbar-input::-moz-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-primary .searchbar-ios .searchbar-input:-ms-input-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-primary .searchbar-ios .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-primary .searchbar-ios .searchbar-clear-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-primary .searchbar-ios .searchbar-ios-cancel { + color: #fff; +} + +.searchbar-ios-secondary .searchbar-ios-cancel { + color: #32db64; +} + +.searchbar-ios-secondary .searchbar-ios-cancel:hover:not(.disable-hover) { + color: #2ec95c; +} + +.toolbar-ios-secondary .searchbar-ios .searchbar-search-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-secondary .searchbar-ios .searchbar-input { + color: #fff; + background: rgba(255, 255, 255, 0.08); +} + +.toolbar-ios-secondary .searchbar-ios .searchbar-input::-moz-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-secondary .searchbar-ios .searchbar-input:-ms-input-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-secondary .searchbar-ios .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-secondary .searchbar-ios .searchbar-clear-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-secondary .searchbar-ios .searchbar-ios-cancel { + color: #fff; +} + +.searchbar-ios-danger .searchbar-ios-cancel { + color: #f53d3d; +} + +.searchbar-ios-danger .searchbar-ios-cancel:hover:not(.disable-hover) { + color: #e13838; +} + +.toolbar-ios-danger .searchbar-ios .searchbar-search-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-danger .searchbar-ios .searchbar-input { + color: #fff; + background: rgba(255, 255, 255, 0.08); +} + +.toolbar-ios-danger .searchbar-ios .searchbar-input::-moz-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-danger .searchbar-ios .searchbar-input:-ms-input-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-danger .searchbar-ios .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-danger .searchbar-ios .searchbar-clear-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-danger .searchbar-ios .searchbar-ios-cancel { + color: #fff; +} + +.searchbar-ios-light .searchbar-ios-cancel { + color: #f4f4f4; +} + +.searchbar-ios-light .searchbar-ios-cancel:hover:not(.disable-hover) { + color: #e0e0e0; +} + +.toolbar-ios-light .searchbar-ios .searchbar-search-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-light .searchbar-ios .searchbar-input { + color: #000; + background: rgba(0, 0, 0, 0.08); +} + +.toolbar-ios-light .searchbar-ios .searchbar-input::-moz-placeholder { + color: rgba(0, 0, 0, 0.5); +} + +.toolbar-ios-light .searchbar-ios .searchbar-input:-ms-input-placeholder { + color: rgba(0, 0, 0, 0.5); +} + +.toolbar-ios-light .searchbar-ios .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: rgba(0, 0, 0, 0.5); +} + +.toolbar-ios-light .searchbar-ios .searchbar-clear-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-light .searchbar-ios .searchbar-ios-cancel { + color: #673AB7; +} + +.searchbar-ios-dark .searchbar-ios-cancel { + color: #222; +} + +.searchbar-ios-dark .searchbar-ios-cancel:hover:not(.disable-hover) { + color: #343434; +} + +.toolbar-ios-dark .searchbar-ios .searchbar-search-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-dark .searchbar-ios .searchbar-input { + color: #fff; + background: rgba(255, 255, 255, 0.08); +} + +.toolbar-ios-dark .searchbar-ios .searchbar-input::-moz-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-dark .searchbar-ios .searchbar-input:-ms-input-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-dark .searchbar-ios .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-dark .searchbar-ios .searchbar-clear-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-dark .searchbar-ios .searchbar-ios-cancel { + color: #fff; +} + +.searchbar-ios-optblue .searchbar-ios-cancel { + color: #E00201; +} + +.searchbar-ios-optblue .searchbar-ios-cancel:hover:not(.disable-hover) { + color: #e21615; +} + +.toolbar-ios-optblue .searchbar-ios .searchbar-search-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-optblue .searchbar-ios .searchbar-input { + color: #fff; + background: rgba(255, 255, 255, 0.08); +} + +.toolbar-ios-optblue .searchbar-ios .searchbar-input::-moz-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-optblue .searchbar-ios .searchbar-input:-ms-input-placeholder { + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-optblue .searchbar-ios .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: rgba(255, 255, 255, 0.5); +} + +.toolbar-ios-optblue .searchbar-ios .searchbar-clear-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-optblue .searchbar-ios .searchbar-ios-cancel { + color: #fff; +} + +.searchbar-ios.searchbar-animated.searchbar-show-cancel .searchbar-ios-cancel { + display: block; +} + +.searchbar-ios.searchbar-animated .searchbar-search-icon, +.searchbar-ios.searchbar-animated .searchbar-input { + -webkit-transition: all 300ms ease; + transition: all 300ms ease; +} + +.searchbar-animated.searchbar-has-focus .searchbar-ios-cancel { + opacity: 1; + pointer-events: auto; +} + +.searchbar-animated .searchbar-ios-cancel { + margin-right: -100%; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 0; + -webkit-transition: all 300ms ease; + transition: all 300ms ease; + pointer-events: none; +} + +.searchbar-md { + background: inherit; + padding: 8px; +} + +.searchbar-md .searchbar-search-icon { + left: 16px; + top: 11px; + background-image: url("data:image/svg+xml;charset=utf-8,"); + width: 21px; + height: 21px; +} + +.searchbar-md .searchbar-md-cancel { + left: 10px; + top: 0; + margin: 0; + display: none; + width: 21px; + height: 100%; +} + +.searchbar-md .searchbar-search-icon, +.searchbar-md .searchbar-md-cancel { + position: absolute; + background-repeat: no-repeat; + background-size: 20px; +} + +.searchbar-md .searchbar-search-icon.activated, +.searchbar-md .searchbar-md-cancel.activated { + background-color: transparent; +} + +.searchbar-md .searchbar-input { + padding: 6px 55px; + border-radius: 2px; + background-position: left 8px center; + height: auto; + font-size: 1.6rem; + font-weight: 400; + line-height: 3rem; + color: #141414; + background-color: #fff; + -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); +} + +.searchbar-md .searchbar-input::-moz-placeholder { + color: #aeaeae; +} + +.searchbar-md .searchbar-input:-ms-input-placeholder { + color: #aeaeae; +} + +.searchbar-md .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: #aeaeae; +} + +.searchbar-md .searchbar-clear-icon { + right: 13px; + top: 0; + background-image: url("data:image/svg+xml;charset=utf-8,"); + padding: 0; + background-position: center; + position: absolute; + width: 22px; + height: 100%; + background-repeat: no-repeat; + background-size: 22px; +} + +.searchbar-md .searchbar-clear-icon.activated { + background-color: transparent; +} + +.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-search-icon { + display: none; +} + +.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-md-cancel { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.toolbar .searchbar-md { + padding: 3px; +} + +.toolbar .searchbar-md .searchbar-md-cancel { + left: 14px; +} + +.searchbar-md .searchbar-ios-cancel { + display: none; +} + +.searchbar-wp { + background: transparent; + padding: 8px; +} + +.searchbar-wp .searchbar-input-container { + border: 2px solid rgba(0, 0, 0, 0.5); +} + +.searchbar-wp .searchbar-search-icon { + right: 8px; + top: 5px; + background-image: url("data:image/svg+xml;charset=utf-8,"); + position: absolute; + width: 21px; + height: 21px; + background-repeat: no-repeat; + background-size: 20px; +} + +.searchbar-wp .searchbar-search-icon.activated { + background-color: transparent; +} + +.searchbar-wp .searchbar-input { + padding: 0 8px; + border-radius: 0; + background-position: left 8px center; + height: auto; + font-size: 1.4rem; + font-weight: 400; + line-height: 3rem; + color: #141414; + background-color: #fff; +} + +.searchbar-wp .searchbar-input::-moz-placeholder { + color: #858585; +} + +.searchbar-wp .searchbar-input:-ms-input-placeholder { + color: #858585; +} + +.searchbar-wp .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: #858585; +} + +.searchbar-wp .searchbar-clear-icon { + right: 8px; + top: 0; + background-image: url("data:image/svg+xml;charset=utf-8,"); + padding: 0; + background-position: center; + position: absolute; + width: 22px; + height: 100%; + background-repeat: no-repeat; + background-size: 22px; +} + +.searchbar-wp .searchbar-clear-icon.activated { + background-color: transparent; +} + +.searchbar-wp.searchbar-has-focus .searchbar-input-container { + border-color: #673AB7; +} + +.searchbar-wp.searchbar-has-value .searchbar-search-icon { + display: none; +} + +.searchbar-wp .searchbar-ios-cancel { + display: none; +} + +.searchbar-wp .searchbar-md-cancel { + display: none; +} + +.toolbar .searchbar-wp { + padding: 2px; +} + +.searchbar-wp-primary.searchbar-has-focus .searchbar-input-container { + border-color: #673AB7; +} + +.searchbar-wp-secondary.searchbar-has-focus .searchbar-input-container { + border-color: #32db64; +} + +.searchbar-wp-danger.searchbar-has-focus .searchbar-input-container { + border-color: #f53d3d; +} + +.searchbar-wp-light.searchbar-has-focus .searchbar-input-container { + border-color: #f4f4f4; +} + +.searchbar-wp-dark.searchbar-has-focus .searchbar-input-container { + border-color: #222; +} + +.searchbar-wp-optblue.searchbar-has-focus .searchbar-input-container { + border-color: #E00201; +} + +ion-segment { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; +} + +.segment-button { + margin-left: 0; + margin-right: 0; + text-align: center; + position: relative; + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + cursor: pointer; +} + +.segment-ios .segment-button { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 0; + height: 3.2rem; + border-width: 1px; + border-style: solid; + border-color: #673AB7; + font-size: 1.3rem; + line-height: 3rem; + color: #673AB7; + background-color: transparent; +} + +.segment-ios .segment-button ion-icon { + font-size: 2.6rem; + line-height: 2.8rem; +} + +.segment-ios .segment-button.segment-activated { + color: #fff; + background-color: #673AB7; + opacity: 1; + -webkit-transition: 100ms all linear; + transition: 100ms all linear; +} + +.segment-ios .segment-button:hover:not(.segment-activated) { + background-color: rgba(103, 58, 183, 0.1); + -webkit-transition: 100ms all linear; + transition: 100ms all linear; +} + +.segment-ios .segment-button:active:not(.segment-activated) { + background-color: rgba(103, 58, 183, 0.16); + -webkit-transition: 100ms all linear; + transition: 100ms all linear; +} + +.segment-ios .segment-button:first-of-type { + border-top-left-radius: 4px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 4px; + margin-right: 0; +} + +.segment-ios .segment-button:not(:first-of-type) { + border-left-width: 0; +} + +.segment-ios .segment-button:last-of-type { + border-top-left-radius: 0; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 0; + margin-left: 0; + border-left-width: 0; +} + +[dir="rtl"] .segment-ios .segment-button:first-of-type { + border-left-width: 0; +} + +[dir="rtl"] .segment-ios .segment-button:last-of-type { + border-left-width: 1px; +} + +.segment-ios.segment-disabled { + opacity: .4; + pointer-events: none; +} + +.segment-ios .segment-button-disabled { + color: rgba(103, 58, 183, 0.3); + pointer-events: none; +} + +.toolbar-ios .segment-ios { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; +} + +.toolbar-ios .segment-button { + max-width: 100px; + height: 2.6rem; + font-size: 1.2rem; + line-height: 2.5rem; +} + +.toolbar-ios .segment-button ion-icon { + font-size: 2.2rem; + line-height: 2.4rem; +} + +.segment-ios-primary .segment-button { + border-color: #673AB7; + color: #673AB7; +} + +.segment-ios-primary .segment-button:hover:not(.segment-activated) { + background-color: rgba(103, 58, 183, 0.1); +} + +.segment-ios-primary .segment-button:active:not(.segment-activated) { + background-color: rgba(103, 58, 183, 0.16); +} + +.segment-ios-primary .segment-button.segment-activated { + color: #fff; + background-color: #673AB7; +} + +.segment-ios-primary .segment-button-disabled { + color: rgba(103, 58, 183, 0.3); +} + +.toolbar-ios-primary .segment-ios .segment-button.segment-activated { + color: #673AB7; +} + +.segment-ios-secondary .segment-button { + border-color: #32db64; + color: #32db64; +} + +.segment-ios-secondary .segment-button:hover:not(.segment-activated) { + background-color: rgba(50, 219, 100, 0.1); +} + +.segment-ios-secondary .segment-button:active:not(.segment-activated) { + background-color: rgba(50, 219, 100, 0.16); +} + +.segment-ios-secondary .segment-button.segment-activated { + color: #fff; + background-color: #32db64; +} + +.segment-ios-secondary .segment-button-disabled { + color: rgba(50, 219, 100, 0.3); +} + +.toolbar-ios-secondary .segment-ios .segment-button.segment-activated { + color: #32db64; +} + +.segment-ios-danger .segment-button { + border-color: #f53d3d; + color: #f53d3d; +} + +.segment-ios-danger .segment-button:hover:not(.segment-activated) { + background-color: rgba(245, 61, 61, 0.1); +} + +.segment-ios-danger .segment-button:active:not(.segment-activated) { + background-color: rgba(245, 61, 61, 0.16); +} + +.segment-ios-danger .segment-button.segment-activated { + color: #fff; + background-color: #f53d3d; +} + +.segment-ios-danger .segment-button-disabled { + color: rgba(245, 61, 61, 0.3); +} + +.toolbar-ios-danger .segment-ios .segment-button.segment-activated { + color: #f53d3d; +} + +.segment-ios-light .segment-button { + border-color: #f4f4f4; + color: #f4f4f4; +} + +.segment-ios-light .segment-button:hover:not(.segment-activated) { + background-color: rgba(244, 244, 244, 0.1); +} + +.segment-ios-light .segment-button:active:not(.segment-activated) { + background-color: rgba(244, 244, 244, 0.16); +} + +.segment-ios-light .segment-button.segment-activated { + color: #000; + background-color: #f4f4f4; +} + +.segment-ios-light .segment-button-disabled { + color: rgba(244, 244, 244, 0.3); +} + +.toolbar-ios-light .segment-ios .segment-button.segment-activated { + color: #f4f4f4; +} + +.segment-ios-dark .segment-button { + border-color: #222; + color: #222; +} + +.segment-ios-dark .segment-button:hover:not(.segment-activated) { + background-color: rgba(34, 34, 34, 0.1); +} + +.segment-ios-dark .segment-button:active:not(.segment-activated) { + background-color: rgba(34, 34, 34, 0.16); +} + +.segment-ios-dark .segment-button.segment-activated { + color: #fff; + background-color: #222; +} + +.segment-ios-dark .segment-button-disabled { + color: rgba(34, 34, 34, 0.3); +} + +.toolbar-ios-dark .segment-ios .segment-button.segment-activated { + color: #222; +} + +.segment-ios-optblue .segment-button { + border-color: #E00201; + color: #E00201; +} + +.segment-ios-optblue .segment-button:hover:not(.segment-activated) { + background-color: rgba(224, 2, 1, 0.1); +} + +.segment-ios-optblue .segment-button:active:not(.segment-activated) { + background-color: rgba(224, 2, 1, 0.16); +} + +.segment-ios-optblue .segment-button.segment-activated { + color: #fff; + background-color: #E00201; +} + +.segment-ios-optblue .segment-button-disabled { + color: rgba(224, 2, 1, 0.3); +} + +.toolbar-ios-optblue .segment-ios .segment-button.segment-activated { + color: #E00201; +} + +.segment-md .segment-button { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + width: 0; + height: 4.2rem; + border-bottom-width: 2px; + border-bottom-style: solid; + border-bottom-color: rgba(0, 0, 0, 0.1); + font-size: 1.2rem; + font-weight: 500; + line-height: 4rem; + text-transform: uppercase; + color: #673AB7; + background-color: transparent; + opacity: 0.7; + -webkit-transition: 100ms all linear; + transition: 100ms all linear; + padding: 0 6px; +} + +.segment-md .segment-button ion-icon { + font-size: 2.6rem; + line-height: 4rem; +} + +.segment-md .segment-button.activated, .segment-md .segment-button.segment-activated { + border-color: #673AB7; + opacity: 1; +} + +.segment-md.segment-disabled, +.segment-md .segment-button-disabled { + opacity: 0.3; + pointer-events: none; +} + +.toolbar .segment-md { + margin: 0 auto; +} + +.toolbar .segment-md .segment-button.activated, +.toolbar .segment-md .segment-button.segment-activated { + opacity: 1; +} + +.segment-md-primary .segment-button { + color: #673AB7; +} + +.segment-md-primary .segment-button.activated, .segment-md-primary .segment-button.segment-activated { + border-color: #673AB7; + color: #673AB7; + opacity: 1; +} + +.segment-md-secondary .segment-button { + color: #32db64; +} + +.segment-md-secondary .segment-button.activated, .segment-md-secondary .segment-button.segment-activated { + border-color: #32db64; + color: #32db64; + opacity: 1; +} + +.segment-md-danger .segment-button { + color: #f53d3d; +} + +.segment-md-danger .segment-button.activated, .segment-md-danger .segment-button.segment-activated { + border-color: #f53d3d; + color: #f53d3d; + opacity: 1; +} + +.segment-md-light .segment-button { + color: #f4f4f4; +} + +.segment-md-light .segment-button.activated, .segment-md-light .segment-button.segment-activated { + border-color: #f4f4f4; + color: #f4f4f4; + opacity: 1; +} + +.segment-md-dark .segment-button { + color: #222; +} + +.segment-md-dark .segment-button.activated, .segment-md-dark .segment-button.segment-activated { + border-color: #222; + color: #222; + opacity: 1; +} + +.segment-md-optblue .segment-button { + color: #E00201; +} + +.segment-md-optblue .segment-button.activated, .segment-md-optblue .segment-button.segment-activated { + border-color: #E00201; + color: #E00201; + opacity: 1; +} + +.segment-wp { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.segment-wp .segment-button { + height: 4rem; + font-size: 1.3rem; + font-weight: bold; + line-height: 4rem; + text-transform: uppercase; + color: #000; + background-color: transparent; + opacity: 0.5; + padding: 0 6px; +} + +.segment-wp .segment-button.segment-activated { + opacity: 1; +} + +.segment-wp .segment-button ion-icon { + font-size: 2.6rem; + line-height: 4rem; +} + +.segment-wp.segment-disabled, +.segment-wp .segment-button-disabled { + opacity: 0.3; + pointer-events: none; +} + +.toolbar .segment-wp { + margin: 0 auto; +} + +.segment-wp-primary .segment-button { + color: #673AB7; +} + +.segment-wp-primary .segment-button.activated, .segment-wp-primary .segment-button.segment-activated { + border-color: #673AB7; + color: #673AB7; + opacity: 1; +} + +.segment-wp-secondary .segment-button { + color: #32db64; +} + +.segment-wp-secondary .segment-button.activated, .segment-wp-secondary .segment-button.segment-activated { + border-color: #32db64; + color: #32db64; + opacity: 1; +} + +.segment-wp-danger .segment-button { + color: #f53d3d; +} + +.segment-wp-danger .segment-button.activated, .segment-wp-danger .segment-button.segment-activated { + border-color: #f53d3d; + color: #f53d3d; + opacity: 1; +} + +.segment-wp-light .segment-button { + color: #f4f4f4; +} + +.segment-wp-light .segment-button.activated, .segment-wp-light .segment-button.segment-activated { + border-color: #f4f4f4; + color: #f4f4f4; + opacity: 1; +} + +.segment-wp-dark .segment-button { + color: #222; +} + +.segment-wp-dark .segment-button.activated, .segment-wp-dark .segment-button.segment-activated { + border-color: #222; + color: #222; + opacity: 1; +} + +.segment-wp-optblue .segment-button { + color: #E00201; +} + +.segment-wp-optblue .segment-button.activated, .segment-wp-optblue .segment-button.segment-activated { + border-color: #E00201; + color: #E00201; + opacity: 1; +} + +ion-select { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + max-width: 45%; +} + +.select-text { + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + min-width: 16px; + font-size: inherit; + text-overflow: ellipsis; + white-space: nowrap; +} + +.item-multiple-inputs ion-select { + position: relative; +} + +.select-disabled, +.item-select-disabled ion-label { + opacity: .4; + pointer-events: none; +} + +.select-popover ion-list { + margin: -1px 0; +} + +.select-ios { + padding: 11px 8px 11px 16px; +} + +.select-ios .select-placeholder { + color: #999; +} + +.select-ios .select-icon { + position: relative; + width: 12px; + height: 18px; +} + +.select-ios .select-icon .select-icon-inner { + left: 5px; + top: 50%; + margin-top: -2px; + position: absolute; + width: 0; + height: 0; + border-top: 5px solid; + border-right: 5px solid transparent; + border-left: 5px solid transparent; + color: #999; + pointer-events: none; +} + +.select-md { + padding: 13px 8px 13px 16px; +} + +.select-md .select-placeholder { + color: #999; +} + +.select-md .item-select ion-label { + margin-left: 0; +} + +.select-md .select-icon { + position: relative; + width: 12px; + height: 19px; +} + +.select-md .select-icon .select-icon-inner { + left: 5px; + top: 50%; + margin-top: -3px; + position: absolute; + width: 0; + height: 0; + border-top: 5px solid; + border-right: 5px solid transparent; + border-left: 5px solid transparent; + color: #999; + pointer-events: none; +} + +.select-wp { + margin: 13px 8px; + padding: 0 8px; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + max-width: 100%; + border: 2px solid rgba(0, 0, 0, 0.5); + line-height: 3rem; +} + +.select-wp .select-placeholder { + color: rgba(0, 0, 0, 0.5); +} + +.item-wp.item-select ion-label { + margin-left: 0; +} + +.select-wp .select-icon { + position: relative; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; + width: 18px; + height: 18px; +} + +.select-wp .select-icon .select-icon-inner { + left: 5px; + top: 3px; + position: absolute; + display: block; + width: 9px; + height: 9px; + border-top: 2px solid rgba(0, 0, 0, 0.5); + border-right: 2px solid rgba(0, 0, 0, 0.5); + -webkit-transform: rotate(135deg); + transform: rotate(135deg); + pointer-events: none; +} + +.select-wp .select-text { + min-height: 3rem; +} + +.hidden-show-when { + display: none !important; +} + +.hidden-hide-when { + display: none !important; +} + +.swiper-container { + margin-left: auto; + margin-right: auto; + padding: 0; + position: relative; + z-index: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + width: 100%; + height: 100%; +} + +.swiper-container-no-flexbox .swiper-slide { + float: left; +} + +.swiper-container-vertical > .swiper-wrapper { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.swiper-wrapper { + padding: 0; + position: relative; + z-index: 1; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + height: 100%; + -webkit-transition-property: -webkit-transform; + transition-property: -webkit-transform; + transition-property: transform; + transition-property: transform, -webkit-transform; + -webkit-box-sizing: content-box; + box-sizing: content-box; +} + +.swiper-container-android .swiper-slide, +.swiper-wrapper { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +.swiper-container-multirow > .swiper-wrapper { + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} + +.swiper-container-free-mode > .swiper-wrapper { + margin: 0 auto; + -webkit-transition-timing-function: ease-out; + transition-timing-function: ease-out; +} + +.swiper-slide { + text-align: center; + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + height: 100%; + font-size: 18px; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.swiper-container-autoheight, +.swiper-container-autoheight .swiper-slide { + height: auto; +} + +.swiper-container-autoheight .swiper-wrapper { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-transition-property: height, -webkit-transform; + transition-property: height, -webkit-transform; + transition-property: transform, height; + transition-property: transform, height, -webkit-transform; +} + +.swiper-container .swiper-notification { + left: 0; + top: 0; + position: absolute; + z-index: -1000; + opacity: 0; + pointer-events: none; +} + +.swiper-wp8-horizontal { + -ms-touch-action: pan-y; + touch-action: pan-y; +} + +.swiper-wp8-vertical { + -ms-touch-action: pan-x; + touch-action: pan-x; +} + +.swiper-button-prev, +.swiper-button-next { + top: 50%; + margin-top: -22px; + background-position: center; + position: absolute; + z-index: 10; + width: 27px; + height: 44px; + background-repeat: no-repeat; + background-size: 27px 44px; + cursor: pointer; +} + +.swiper-button-prev.swiper-button-disabled, +.swiper-button-next.swiper-button-disabled { + cursor: auto; + opacity: .35; + pointer-events: none; +} + +.swiper-button-prev, +.swiper-container-rtl .swiper-button-next { + left: 10px; + right: auto; + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E"); +} + +.swiper-button-prev.swiper-button-black, +.swiper-container-rtl .swiper-button-next.swiper-button-black { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E"); +} + +.swiper-button-prev.swiper-button-white, +.swiper-container-rtl .swiper-button-next.swiper-button-white { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); +} + +.swiper-button-next, +.swiper-container-rtl .swiper-button-prev { + left: auto; + right: 10px; + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E"); +} + +.swiper-button-next.swiper-button-black, +.swiper-container-rtl .swiper-button-prev.swiper-button-black { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E"); +} + +.swiper-button-next.swiper-button-white, +.swiper-container-rtl .swiper-button-prev.swiper-button-white { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); +} + +.swiper-pagination { + text-align: center; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + position: absolute; + z-index: 10; + -webkit-transition: 300ms; + transition: 300ms; + pointer-events: none; +} + +.swiper-pagination.swiper-pagination-hidden { + opacity: 0; +} + +.swiper-pagination-fraction, +.swiper-pagination-custom, +.swiper-container-horizontal > .swiper-pagination-bullets { + left: 0; + bottom: 10px; + width: 100%; +} + +.swiper-pagination-bullet { + border-radius: 100%; + display: inline-block; + width: 8px; + height: 8px; + background: #000; + opacity: .2; + pointer-events: auto; +} + +button.swiper-pagination-bullet { + margin: 0; + padding: 0; + -moz-appearance: none; + -ms-appearance: none; + -webkit-appearance: none; + appearance: none; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; +} + +.swiper-pagination-clickable .swiper-pagination-bullet { + cursor: pointer; +} + +.swiper-pagination-white .swiper-pagination-bullet { + background: #fff; +} + +.swiper-pagination-bullet-active { + background: #007aff; + opacity: 1; +} + +.swiper-pagination-white .swiper-pagination-bullet-active { + background: #fff; +} + +.swiper-pagination-black .swiper-pagination-bullet-active { + background: #000; +} + +.swiper-container-vertical > .swiper-pagination-bullets { + right: 10px; + top: 50%; + -webkit-transform: translate3d(0, -50%, 0); + transform: translate3d(0, -50%, 0); +} + +.swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet { + margin: 5px 0; + display: block; +} + +.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet { + margin: 0 5px; +} + +.swiper-pagination-progress { + position: absolute; + background: rgba(0, 0, 0, 0.25); +} + +.swiper-pagination-progress .swiper-pagination-progressbar { + left: 0; + top: 0; + -webkit-transform-origin: left top; + transform-origin: left top; + position: absolute; + width: 100%; + height: 100%; + background: #007aff; + -webkit-transform: scale(0); + transform: scale(0); +} + +.swiper-container-rtl .swiper-pagination-progress .swiper-pagination-progressbar { + -webkit-transform-origin: right top; + transform-origin: right top; +} + +.swiper-container-horizontal > .swiper-pagination-progress { + left: 0; + top: 0; + width: 100%; + height: 4px; +} + +.swiper-container-vertical > .swiper-pagination-progress { + left: 0; + top: 0; + width: 4px; + height: 100%; +} + +.swiper-pagination-progress.swiper-pagination-white { + background: rgba(255, 255, 255, 0.5); +} + +.swiper-pagination-progress.swiper-pagination-white .swiper-pagination-progressbar { + background: #fff; +} + +.swiper-pagination-progress.swiper-pagination-black .swiper-pagination-progressbar { + background: #000; +} + +.swiper-container-3d { + -webkit-perspective: 1200px; + perspective: 1200px; +} + +.swiper-container-3d .swiper-wrapper, +.swiper-container-3d .swiper-slide, +.swiper-container-3d .swiper-slide-shadow-left, +.swiper-container-3d .swiper-slide-shadow-right, +.swiper-container-3d .swiper-slide-shadow-top, +.swiper-container-3d .swiper-slide-shadow-bottom, +.swiper-container-3d .swiper-cube-shadow { + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; +} + +.swiper-container-3d .swiper-slide-shadow-left, +.swiper-container-3d .swiper-slide-shadow-right, +.swiper-container-3d .swiper-slide-shadow-top, +.swiper-container-3d .swiper-slide-shadow-bottom { + left: 0; + top: 0; + position: absolute; + z-index: 10; + width: 100%; + height: 100%; + pointer-events: none; +} + +.swiper-container-3d .swiper-slide-shadow-left { + background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(transparent)); + background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent); +} + +.swiper-container-3d .swiper-slide-shadow-right { + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(transparent)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent); +} + +.swiper-container-3d .swiper-slide-shadow-top { + background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(transparent)); + background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent); +} + +.swiper-container-3d .swiper-slide-shadow-bottom { + background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(transparent)); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent); +} + +.swiper-container-coverflow .swiper-wrapper, +.swiper-container-flip .swiper-wrapper { + -webkit-perspective: 1200px; + perspective: 1200px; +} + +.swiper-container-cube, +.swiper-container-flip { + overflow: visible; +} + +.swiper-container-cube .swiper-slide, +.swiper-container-flip .swiper-slide { + z-index: 1; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + pointer-events: none; +} + +.swiper-container-cube .swiper-slide .swiper-slide, +.swiper-container-flip .swiper-slide .swiper-slide { + pointer-events: none; +} + +.swiper-container-cube .swiper-slide-active, +.swiper-container-flip .swiper-slide-active, +.swiper-container-cube .swiper-slide-active .swiper-slide-active, +.swiper-container-flip .swiper-slide-active .swiper-slide-active { + pointer-events: auto; +} + +.swiper-container-cube .swiper-slide-shadow-top, +.swiper-container-flip .swiper-slide-shadow-top, +.swiper-container-cube .swiper-slide-shadow-bottom, +.swiper-container-flip .swiper-slide-shadow-bottom, +.swiper-container-cube .swiper-slide-shadow-left, +.swiper-container-flip .swiper-slide-shadow-left, +.swiper-container-cube .swiper-slide-shadow-right, +.swiper-container-flip .swiper-slide-shadow-right { + z-index: 0; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; +} + +.swiper-container-cube .swiper-slide { + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + width: 100%; + height: 100%; + visibility: hidden; +} + +.swiper-container-cube.swiper-container-rtl .swiper-slide { + -webkit-transform-origin: 100% 0; + transform-origin: 100% 0; +} + +.swiper-container-cube .swiper-slide-active, +.swiper-container-cube .swiper-slide-next, +.swiper-container-cube .swiper-slide-prev, +.swiper-container-cube .swiper-slide-next + .swiper-slide { + visibility: visible; + pointer-events: auto; +} + +.swiper-container-cube .swiper-cube-shadow { + left: 0; + bottom: 0; + position: absolute; + z-index: 0; + width: 100%; + height: 100%; + background: #000; + opacity: .6; + -webkit-filter: blur(50px); + filter: blur(50px); +} + +.swiper-container-fade.swiper-container-free-mode .swiper-slide { + -webkit-transition-timing-function: ease-out; + transition-timing-function: ease-out; +} + +.swiper-container-fade .swiper-slide { + -webkit-transition-property: opacity; + transition-property: opacity; + pointer-events: none; +} + +.swiper-container-fade .swiper-slide .swiper-slide { + pointer-events: none; +} + +.swiper-container-fade .swiper-slide-active, +.swiper-container-fade .swiper-slide-active .swiper-slide-active { + pointer-events: auto; +} + +.swiper-zoom-container { + text-align: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.swiper-zoom-container > img, +.swiper-zoom-container > svg, +.swiper-zoom-container > canvas { + max-width: 100%; + max-height: 100%; + -o-object-fit: contain; + object-fit: contain; +} + +.swiper-scrollbar { + border-radius: 10px; + position: relative; + background: rgba(0, 0, 0, 0.1); + -ms-touch-action: none; + touch-action: none; +} + +.swiper-container-horizontal > .swiper-scrollbar { + left: 1%; + bottom: 3px; + position: absolute; + z-index: 50; + width: 98%; + height: 5px; +} + +.swiper-container-vertical > .swiper-scrollbar { + right: 3px; + top: 1%; + position: absolute; + z-index: 50; + width: 5px; + height: 98%; +} + +.swiper-scrollbar-drag { + left: 0; + top: 0; + border-radius: 10px; + position: relative; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); +} + +.swiper-scrollbar-cursor-drag { + cursor: move; +} + +.swiper-lazy-preloader { + left: 50%; + top: 50%; + margin-left: -21px; + margin-top: -21px; + -webkit-transform-origin: 50%; + transform-origin: 50%; + position: absolute; + z-index: 10; + width: 42px; + height: 42px; + -webkit-animation: swiper-preloader-spin 1s steps(12, end) infinite; + animation: swiper-preloader-spin 1s steps(12, end) infinite; +} + +.swiper-lazy-preloader::after { + background-position: 50%; + display: block; + width: 100%; + height: 100%; + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); + background-repeat: no-repeat; + background-size: 100%; + content: ""; +} + +.swiper-lazy-preloader-white::after { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); +} + +@-webkit-keyframes swiper-preloader-spin { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes swiper-preloader-spin { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +ion-slides { + display: block; + width: 100%; + height: 100%; +} + +.slide-zoom { + text-align: center; + display: block; + width: 100%; +} + +.swiper-slide img { + width: auto; + max-width: 100%; + height: auto; + max-height: 100%; +} + +ion-spinner { + position: relative; + display: inline-block; + width: 28px; + height: 28px; +} + +ion-spinner svg { + left: 0; + top: 0; + position: absolute; + width: 100%; + height: 100%; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +ion-spinner.spinner-paused svg { + -webkit-animation-play-state: paused; + animation-play-state: paused; +} + +.spinner-ios line, +.spinner-ios-small line { + stroke-width: 4px; + stroke-linecap: round; +} + +.spinner-ios svg, +.spinner-ios-small svg { + -webkit-animation: spinner-fade-out 1s linear infinite; + animation: spinner-fade-out 1s linear infinite; +} + +.spinner-bubbles svg { + -webkit-animation: spinner-scale-out 1s linear infinite; + animation: spinner-scale-out 1s linear infinite; +} + +.spinner-circles svg { + -webkit-animation: spinner-fade-out 1s linear infinite; + animation: spinner-fade-out 1s linear infinite; +} + +.spinner-crescent circle { + fill: transparent; + stroke-width: 4px; + stroke-dasharray: 128px; + stroke-dashoffset: 82px; +} + +.spinner-crescent svg { + -webkit-animation: spinner-rotate 1s linear infinite; + animation: spinner-rotate 1s linear infinite; +} + +.spinner-dots circle { + stroke-width: 0; +} + +.spinner-dots svg { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-animation: spinner-dots 1s linear infinite; + animation: spinner-dots 1s linear infinite; +} + +@-webkit-keyframes spinner-fade-out { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +@keyframes spinner-fade-out { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +@-webkit-keyframes spinner-scale-out { + 0% { + -webkit-transform: scale(1, 1); + transform: scale(1, 1); + } + 100% { + -webkit-transform: scale(0, 0); + transform: scale(0, 0); + } +} + +@keyframes spinner-scale-out { + 0% { + -webkit-transform: scale(1, 1); + transform: scale(1, 1); + } + 100% { + -webkit-transform: scale(0, 0); + transform: scale(0, 0); + } +} + +@-webkit-keyframes spinner-rotate { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes spinner-rotate { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@-webkit-keyframes spinner-dots { + 0% { + opacity: .9; + -webkit-transform: scale(1, 1); + transform: scale(1, 1); + } + 50% { + opacity: .3; + -webkit-transform: scale(0.4, 0.4); + transform: scale(0.4, 0.4); + } + 100% { + opacity: .9; + -webkit-transform: scale(1, 1); + transform: scale(1, 1); + } +} + +@keyframes spinner-dots { + 0% { + opacity: .9; + -webkit-transform: scale(1, 1); + transform: scale(1, 1); + } + 50% { + opacity: .3; + -webkit-transform: scale(0.4, 0.4); + transform: scale(0.4, 0.4); + } + 100% { + opacity: .9; + -webkit-transform: scale(1, 1); + transform: scale(1, 1); + } +} + +.spinner-ios-ios line, +.spinner-ios-ios-small line { + stroke: #69717d; +} + +.spinner-ios-bubbles circle { + fill: #000; +} + +.spinner-ios-circles circle { + fill: #69717d; +} + +.spinner-ios-crescent circle { + stroke: #000; +} + +.spinner-ios-dots circle { + fill: #444; +} + +.spinner-ios-primary.spinner-ios line, +.spinner-ios-primary.spinner-ios-small line, +.spinner-ios-primary.spinner-crescent circle { + stroke: #673AB7; +} + +.spinner-ios-primary.spinner-bubbles circle, +.spinner-ios-primary.spinner-circles circle, +.spinner-ios-primary.spinner-dots circle { + fill: #673AB7; +} + +.spinner-ios-secondary.spinner-ios line, +.spinner-ios-secondary.spinner-ios-small line, +.spinner-ios-secondary.spinner-crescent circle { + stroke: #32db64; +} + +.spinner-ios-secondary.spinner-bubbles circle, +.spinner-ios-secondary.spinner-circles circle, +.spinner-ios-secondary.spinner-dots circle { + fill: #32db64; +} + +.spinner-ios-danger.spinner-ios line, +.spinner-ios-danger.spinner-ios-small line, +.spinner-ios-danger.spinner-crescent circle { + stroke: #f53d3d; +} + +.spinner-ios-danger.spinner-bubbles circle, +.spinner-ios-danger.spinner-circles circle, +.spinner-ios-danger.spinner-dots circle { + fill: #f53d3d; +} + +.spinner-ios-light.spinner-ios line, +.spinner-ios-light.spinner-ios-small line, +.spinner-ios-light.spinner-crescent circle { + stroke: #f4f4f4; +} + +.spinner-ios-light.spinner-bubbles circle, +.spinner-ios-light.spinner-circles circle, +.spinner-ios-light.spinner-dots circle { + fill: #f4f4f4; +} + +.spinner-ios-dark.spinner-ios line, +.spinner-ios-dark.spinner-ios-small line, +.spinner-ios-dark.spinner-crescent circle { + stroke: #222; +} + +.spinner-ios-dark.spinner-bubbles circle, +.spinner-ios-dark.spinner-circles circle, +.spinner-ios-dark.spinner-dots circle { + fill: #222; +} + +.spinner-ios-optblue.spinner-ios line, +.spinner-ios-optblue.spinner-ios-small line, +.spinner-ios-optblue.spinner-crescent circle { + stroke: #E00201; +} + +.spinner-ios-optblue.spinner-bubbles circle, +.spinner-ios-optblue.spinner-circles circle, +.spinner-ios-optblue.spinner-dots circle { + fill: #E00201; +} + +.spinner-md-ios line, +.spinner-md-ios-small line { + stroke: #69717d; +} + +.spinner-md-bubbles circle { + fill: #000; +} + +.spinner-md-circles circle { + fill: #69717d; +} + +.spinner-md-crescent circle { + stroke: #000; +} + +.spinner-md-dots circle { + fill: #444; +} + +.spinner-md-primary.spinner-ios line, +.spinner-md-primary.spinner-ios-small line, +.spinner-md-primary.spinner-crescent circle { + stroke: #673AB7; +} + +.spinner-md-primary.spinner-bubbles circle, +.spinner-md-primary.spinner-circles circle, +.spinner-md-primary.spinner-dots circle { + fill: #673AB7; +} + +.spinner-md-secondary.spinner-ios line, +.spinner-md-secondary.spinner-ios-small line, +.spinner-md-secondary.spinner-crescent circle { + stroke: #32db64; +} + +.spinner-md-secondary.spinner-bubbles circle, +.spinner-md-secondary.spinner-circles circle, +.spinner-md-secondary.spinner-dots circle { + fill: #32db64; +} + +.spinner-md-danger.spinner-ios line, +.spinner-md-danger.spinner-ios-small line, +.spinner-md-danger.spinner-crescent circle { + stroke: #f53d3d; +} + +.spinner-md-danger.spinner-bubbles circle, +.spinner-md-danger.spinner-circles circle, +.spinner-md-danger.spinner-dots circle { + fill: #f53d3d; +} + +.spinner-md-light.spinner-ios line, +.spinner-md-light.spinner-ios-small line, +.spinner-md-light.spinner-crescent circle { + stroke: #f4f4f4; +} + +.spinner-md-light.spinner-bubbles circle, +.spinner-md-light.spinner-circles circle, +.spinner-md-light.spinner-dots circle { + fill: #f4f4f4; +} + +.spinner-md-dark.spinner-ios line, +.spinner-md-dark.spinner-ios-small line, +.spinner-md-dark.spinner-crescent circle { + stroke: #222; +} + +.spinner-md-dark.spinner-bubbles circle, +.spinner-md-dark.spinner-circles circle, +.spinner-md-dark.spinner-dots circle { + fill: #222; +} + +.spinner-md-optblue.spinner-ios line, +.spinner-md-optblue.spinner-ios-small line, +.spinner-md-optblue.spinner-crescent circle { + stroke: #E00201; +} + +.spinner-md-optblue.spinner-bubbles circle, +.spinner-md-optblue.spinner-circles circle, +.spinner-md-optblue.spinner-dots circle { + fill: #E00201; +} + +.spinner-wp-ios line, +.spinner-wp-ios-small line { + stroke: #69717d; +} + +.spinner-wp-bubbles circle { + fill: #000; +} + +.spinner-wp-circles circle { + fill: #69717d; +} + +.spinner-wp-crescent circle { + stroke: #000; +} + +.spinner-wp-dots circle { + fill: #444; +} + +.spinner-wp-primary.spinner-ios line, +.spinner-wp-primary.spinner-ios-small line, +.spinner-wp-primary.spinner-crescent circle { + stroke: #673AB7; +} + +.spinner-wp-primary.spinner-bubbles circle, +.spinner-wp-primary.spinner-circles circle, +.spinner-wp-primary.spinner-dots circle { + fill: #673AB7; +} + +.spinner-wp-secondary.spinner-ios line, +.spinner-wp-secondary.spinner-ios-small line, +.spinner-wp-secondary.spinner-crescent circle { + stroke: #32db64; +} + +.spinner-wp-secondary.spinner-bubbles circle, +.spinner-wp-secondary.spinner-circles circle, +.spinner-wp-secondary.spinner-dots circle { + fill: #32db64; +} + +.spinner-wp-danger.spinner-ios line, +.spinner-wp-danger.spinner-ios-small line, +.spinner-wp-danger.spinner-crescent circle { + stroke: #f53d3d; +} + +.spinner-wp-danger.spinner-bubbles circle, +.spinner-wp-danger.spinner-circles circle, +.spinner-wp-danger.spinner-dots circle { + fill: #f53d3d; +} + +.spinner-wp-light.spinner-ios line, +.spinner-wp-light.spinner-ios-small line, +.spinner-wp-light.spinner-crescent circle { + stroke: #f4f4f4; +} + +.spinner-wp-light.spinner-bubbles circle, +.spinner-wp-light.spinner-circles circle, +.spinner-wp-light.spinner-dots circle { + fill: #f4f4f4; +} + +.spinner-wp-dark.spinner-ios line, +.spinner-wp-dark.spinner-ios-small line, +.spinner-wp-dark.spinner-crescent circle { + stroke: #222; +} + +.spinner-wp-dark.spinner-bubbles circle, +.spinner-wp-dark.spinner-circles circle, +.spinner-wp-dark.spinner-dots circle { + fill: #222; +} + +.spinner-wp-optblue.spinner-ios line, +.spinner-wp-optblue.spinner-ios-small line, +.spinner-wp-optblue.spinner-crescent circle { + stroke: #E00201; +} + +.spinner-wp-optblue.spinner-bubbles circle, +.spinner-wp-optblue.spinner-circles circle, +.spinner-wp-optblue.spinner-dots circle { + fill: #E00201; +} + +.split-pane { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + contain: strict; +} + +.split-pane-side:not(ion-menu) { + display: none; +} + +.split-pane-visible > .split-pane-side, +.split-pane-visible > .split-pane-main { + left: 0; + right: 0; + top: 0; + bottom: 0; + position: relative; + z-index: 0; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-shadow: none !important; + box-shadow: none !important; +} + +.split-pane-visible > .split-pane-side { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-ordinal-group: 0; + -webkit-order: -1; + -ms-flex-order: -1; + order: -1; +} + +.split-pane-visible > .split-pane-main, +.split-pane-visible > ion-nav.split-pane-side, +.split-pane-visible > ion-tabs.split-pane-side, +.split-pane-visible > ion-menu.menu-enabled { + display: block; +} + +.split-pane-visible > ion-split-pane.split-pane-side, +.split-pane-visible > ion-split-pane.split-pane-main { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.split-pane-visible > ion-menu.menu-enabled > .menu-inner { + left: 0; + right: 0; + width: auto; + -webkit-box-shadow: none !important; + box-shadow: none !important; + -webkit-transform: none !important; + transform: none !important; +} + +.split-pane-visible > ion-menu.menu-enabled > .ion-backdrop { + display: hidden !important; +} + +.split-pane-visible > .split-pane-side[side=start] { + -webkit-box-ordinal-group: 0; + -webkit-order: -1; + -ms-flex-order: -1; + order: -1; +} + +.split-pane-visible > .split-pane-side[side=end] { + -webkit-box-ordinal-group: 2; + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; +} + +.split-pane-visible > .split-pane-side[side=left] { + -webkit-box-ordinal-group: 0; + -webkit-order: -1; + -ms-flex-order: -1; + order: -1; +} + +.split-pane-visible > .split-pane-side[side=right] { + -webkit-box-ordinal-group: 2; + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; +} + +.split-pane-ios.split-pane-visible > .split-pane-side { + min-width: 270px; + max-width: 28%; + border-right: 0.55px solid #c8c7cc; + border-left: 0; +} + +.split-pane-ios.split-pane-visible > .split-pane-side[side=right] { + border-right: 0; + border-left: 0.55px solid #c8c7cc; +} + +.split-pane-md.split-pane-visible > .split-pane-side { + min-width: 270px; + max-width: 28%; + border-right: 1px solid #dedede; + border-left: 0; +} + +.split-pane-md.split-pane-visible > .split-pane-side[side=right] { + border-right: 0; + border-left: 1px solid #dedede; +} + +.split-pane-wp.split-pane-visible > .split-pane-side { + min-width: 270px; + max-width: 28%; + border-right: 1px solid transparent; + border-left: 0; +} + +.split-pane-wp.split-pane-visible > .split-pane-side[side=right] { + border-right: 0; + border-left: 1px solid transparent; +} + +.tabbar { + left: 0; + bottom: 0; + position: absolute; + z-index: 10; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + opacity: 0; +} + +.tabbar-hidden .tabbar { + display: none; +} + +.tabbar.show-tabbar { + opacity: 1; +} + +[tabsPlacement=top] > .tabbar { + top: 0; + bottom: auto; +} + +.tab-button { + margin: 0; + text-align: center; + border-radius: 0; + position: relative; + z-index: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + border: 0; + text-decoration: none; + background: none; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.tab-disabled { + pointer-events: none; +} + +.tab-disabled ion-badge, +.tab-disabled ion-icon, +.tab-disabled span { + opacity: .4; +} + +.tab-button-text { + margin-top: 3px; + margin-bottom: 2px; +} + +.tab-button-text, +.tab-button-icon { + display: none; + overflow: hidden; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; + min-width: 26px; + max-width: 100%; + text-overflow: ellipsis; + white-space: nowrap; +} + +.has-icon .tab-button-icon, +.has-title .tab-button-text { + display: block; +} + +.has-title-only .tab-button-text { + white-space: normal; +} + +[tabsLayout=icon-bottom] .tab-button .tab-button-icon { + -webkit-box-ordinal-group: 11; + -webkit-order: 10; + -ms-flex-order: 10; + order: 10; +} + +[tabsLayout=icon-left] .tab-button, +[tabsLayout=icon-right] .tab-button, +[tabsLayout=icon-start] .tab-button, +[tabsLayout=icon-end] .tab-button { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +[tabsLayout=icon-left] .tab-button .tab-button-icon, +[tabsLayout=icon-start] .tab-button .tab-button-icon { + padding-right: 8px; + text-align: right; + text-align: end; +} + +[tabsLayout=icon-right] .tab-button .tab-button-icon, +[tabsLayout=icon-end] .tab-button .tab-button-icon { + padding-left: 8px; + text-align: left; + text-align: start; + -webkit-box-ordinal-group: 11; + -webkit-order: 10; + -ms-flex-order: 10; + order: 10; +} + +.tab-hidden, +.tab-highlight, +[tabsLayout=icon-hide] .tab-button-icon, +[tabsLayout=title-hide] .tab-button-text { + display: none; +} + +.tab-badge { + right: 4%; + top: 6%; + right: calc(50% - 50px); + padding: 1px 6px; + position: absolute; + height: auto; + font-size: 12px; + line-height: 16px; +} + +.has-icon .tab-badge { + right: calc(50% - 30px); +} + +[tabsLayout=icon-bottom] .tab-badge, +[tabsLayout=icon-left] .tab-badge, +[tabsLayout=icon-right] .tab-badge, +[tabsLayout=icon-start] .tab-badge, +[tabsLayout=icon-end] .tab-badge { + right: calc(50% - 50px); +} + +.tabs-ios .tabbar { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + border-top: 0.55px solid rgba(0, 0, 0, 0.3); + background: #f8f8f8; +} + +.tabs-ios[tabsPlacement=top] .tabbar { + border-top: 0; + border-bottom: 0.55px solid rgba(0, 0, 0, 0.3); +} + +.tabs-ios .tab-button { + max-width: 240px; + min-height: 49px; + font-size: 10px; + font-weight: 500; + color: #8c8c8c; + padding: 0 2px; +} + +.tabs-ios .tab-button:hover:not(.disable-hover), +.tabs-ios .tab-button[aria-selected=true] { + color: #673AB7; +} + +.tabs-ios .tab-button[aria-selected=true] .tab-button-icon { + color: #673AB7; +} + +.tabs-ios .tab-button-text { + margin-top: 0; + margin-bottom: 1px; + min-height: 11px; +} + +.tabs-ios .has-title-only .tab-button-text { + font-size: 12px; +} + +.tabs-ios .tab-button-icon { + margin-top: 4px; + margin-bottom: 1px; + min-width: 35px; + height: 30px; + font-size: 30px; + color: #8c8c8c; +} + +.tabs-ios .tab-button-icon::before { + vertical-align: top; +} + +.tabs-ios[tabsLayout=icon-right] .tab-button .tab-button-text, +.tabs-ios[tabsLayout=icon-left] .tab-button .tab-button-text, +.tabs-ios[tabsLayout=icon-end] .tab-button .tab-button-text, +.tabs-ios[tabsLayout=icon-start] .tab-button .tab-button-text { + font-size: 1.4rem; + line-height: 1.1; +} + +.tabs-ios[tabsLayout=icon-right] .tab-button ion-icon, +.tabs-ios[tabsLayout=icon-left] .tab-button ion-icon, +.tabs-ios[tabsLayout=icon-end] .tab-button ion-icon, +.tabs-ios[tabsLayout=icon-start] .tab-button ion-icon { + min-width: 24px; + height: 26px; + font-size: 24px; +} + +.tabs-ios[tabsLayout=icon-hide] .tab-button, +.tabs-ios .tab-button.has-title-only { + min-height: 41px; +} + +.tabs-ios[tabsLayout=icon-hide] .tab-button .tab-button-text, +.tabs-ios .tab-button.has-title-only .tab-button-text { + margin: 2px 0; + font-size: 1.4rem; + line-height: 1.1; +} + +.tabs-ios[tabsLayout=title-hide] .tab-button, +.tabs-ios .tab-button.icon-only { + min-height: 41px; +} + +.tabs-ios-primary .tabbar { + border-color: #512e90; + background-color: #673AB7; +} + +.tabs-ios-primary .tab-button, +.tabs-ios-primary .tab-button-icon, +.tabs-ios-primary .tab-button:hover:not(.disable-hover), +.tabs-ios-primary .tab-button:hover:not(.disable-hover) .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-ios-primary .tab-button[aria-selected=true], +.tabs-ios-primary .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-ios-secondary .tabbar { + border-color: #21b94e; + background-color: #32db64; +} + +.tabs-ios-secondary .tab-button, +.tabs-ios-secondary .tab-button-icon, +.tabs-ios-secondary .tab-button:hover:not(.disable-hover), +.tabs-ios-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-ios-secondary .tab-button[aria-selected=true], +.tabs-ios-secondary .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-ios-danger .tabbar { + border-color: #f30d0d; + background-color: #f53d3d; +} + +.tabs-ios-danger .tab-button, +.tabs-ios-danger .tab-button-icon, +.tabs-ios-danger .tab-button:hover:not(.disable-hover), +.tabs-ios-danger .tab-button:hover:not(.disable-hover) .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-ios-danger .tab-button[aria-selected=true], +.tabs-ios-danger .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-ios-light .tabbar { + border-color: #dbdbdb; + background-color: #f4f4f4; +} + +.tabs-ios-light .tab-button, +.tabs-ios-light .tab-button-icon, +.tabs-ios-light .tab-button:hover:not(.disable-hover), +.tabs-ios-light .tab-button:hover:not(.disable-hover) .tab-button-icon { + color: rgba(0, 0, 0, 0.7); +} + +.tabs-ios-light .tab-button[aria-selected=true], +.tabs-ios-light .tab-button[aria-selected=true] .tab-button-icon { + color: #000; +} + +.tabs-ios-dark .tabbar { + border-color: #090909; + background-color: #222; +} + +.tabs-ios-dark .tab-button, +.tabs-ios-dark .tab-button-icon, +.tabs-ios-dark .tab-button:hover:not(.disable-hover), +.tabs-ios-dark .tab-button:hover:not(.disable-hover) .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-ios-dark .tab-button[aria-selected=true], +.tabs-ios-dark .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-ios-optblue .tabbar { + border-color: #ad0201; + background-color: #E00201; +} + +.tabs-ios-optblue .tab-button, +.tabs-ios-optblue .tab-button-icon, +.tabs-ios-optblue .tab-button:hover:not(.disable-hover), +.tabs-ios-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-ios-optblue .tab-button[aria-selected=true], +.tabs-ios-optblue .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-md .tabbar { + background: #f8f8f8; +} + +.tabs-md .tab-button { + min-height: 5.6rem; + font-weight: normal; + color: rgba(60, 60, 60, 0.7); + padding: 0; +} + +.tabs-md .tab-button[aria-selected=true] { + color: #673AB7; + padding: 0; +} + +.tabs-md .tab-button-text { + font-size: 1.2rem; + text-transform: none; + -webkit-transition: -webkit-transform 0.3s ease-in-out; + transition: -webkit-transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; + margin: 0; + -webkit-transform-origin: 50% 80%; + transform-origin: 50% 80%; +} + +.tabs-md .tab-button[aria-selected=true] .tab-button-text { + -webkit-transform: scale3d(1.16667, 1.16667, 1); + transform: scale3d(1.16667, 1.16667, 1); + -webkit-transition: -webkit-transform 0.3s ease-in-out; + transition: -webkit-transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; +} + +.tabs-md[tabsLayout=icon-top] .has-icon .tab-button-text { + margin-top: 4px; + margin-bottom: 0; +} + +.tabs-md[tabsLayout=icon-bottom] .tab-button .tab-button-text { + margin-top: 0; +} + +.tabs-md .tab-button-icon { + margin-top: 1px; + min-width: 2.4rem; + font-size: 2.4rem; + color: rgba(60, 60, 60, 0.7); + -webkit-transition: -webkit-transform 0.3s ease-in-out; + transition: -webkit-transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; + -webkit-transform-origin: 50% 150%; + transform-origin: 50% 150%; +} + +.tabs-md .tab-button[aria-selected=true] .tab-button-icon { + color: #673AB7; + -webkit-transform: translate3d(0, -2px, 0); + transform: translate3d(0, -2px, 0); +} + +.tabs-md[tabsLayout=icon-right] .tab-button[aria-selected=true] .tab-button-icon, +.tabs-md[tabsLayout=icon-end] .tab-button[aria-selected=true] .tab-button-icon { + -webkit-transform: translate3d(2px, 0, 0); + transform: translate3d(2px, 0, 0); +} + +.tabs-md[tabsLayout=icon-bottom] .tab-button[aria-selected=true] .tab-button-icon { + -webkit-transform: translate3d(0, 2px, 0); + transform: translate3d(0, 2px, 0); +} + +.tabs-md[tabsLayout=icon-left] .tab-button[aria-selected=true] .tab-button-icon, +.tabs-md[tabsLayout=icon-start] .tab-button[aria-selected=true] .tab-button-icon { + -webkit-transform: translate3d(-2px, 0, 0); + transform: translate3d(-2px, 0, 0); +} + +.tabs-md[tabsLayout=icon-hide] .tab-button, +.tabs-md[tabsLayout=title-hide] .tab-button, +.tabs-md .tab-button.icon-only, +.tabs-md .tab-button.has-title-only { + padding: 0 10px; +} + +.tabs-md[tabsHighlight=true] .tab-highlight { + left: 0; + bottom: 0; + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + position: absolute; + display: block; + width: 1px; + height: 2px; + background: #673AB7; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.tabs-md[tabsHighlight=true] .tab-highlight.animate { + -webkit-transition-duration: 300ms; + transition-duration: 300ms; +} + +.tabs-md[tabsHighlight=true][tabsPlacement=bottom] > .tabbar > .tab-highlight { + top: 0; +} + +.tabs-md-primary .tabbar { + background-color: #673AB7; +} + +.tabs-md-primary .tab-button, +.tabs-md-primary .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-md-primary .tab-button:hover:not(.disable-hover), +.tabs-md-primary .tab-button[aria-selected=true], +.tabs-md-primary .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-md-primary[tabsHighlight=true] .tab-highlight { + background: #fff; +} + +.tabs-md-secondary .tabbar { + background-color: #32db64; +} + +.tabs-md-secondary .tab-button, +.tabs-md-secondary .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-md-secondary .tab-button:hover:not(.disable-hover), +.tabs-md-secondary .tab-button[aria-selected=true], +.tabs-md-secondary .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-md-secondary[tabsHighlight=true] .tab-highlight { + background: #fff; +} + +.tabs-md-danger .tabbar { + background-color: #f53d3d; +} + +.tabs-md-danger .tab-button, +.tabs-md-danger .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-md-danger .tab-button:hover:not(.disable-hover), +.tabs-md-danger .tab-button[aria-selected=true], +.tabs-md-danger .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-md-danger[tabsHighlight=true] .tab-highlight { + background: #fff; +} + +.tabs-md-light .tabbar { + background-color: #f4f4f4; +} + +.tabs-md-light .tab-button, +.tabs-md-light .tab-button-icon { + color: rgba(0, 0, 0, 0.7); +} + +.tabs-md-light .tab-button:hover:not(.disable-hover), +.tabs-md-light .tab-button[aria-selected=true], +.tabs-md-light .tab-button[aria-selected=true] .tab-button-icon { + color: #000; +} + +.tabs-md-light[tabsHighlight=true] .tab-highlight { + background: #000; +} + +.tabs-md-dark .tabbar { + background-color: #222; +} + +.tabs-md-dark .tab-button, +.tabs-md-dark .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-md-dark .tab-button:hover:not(.disable-hover), +.tabs-md-dark .tab-button[aria-selected=true], +.tabs-md-dark .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-md-dark[tabsHighlight=true] .tab-highlight { + background: #fff; +} + +.tabs-md-optblue .tabbar { + background-color: #E00201; +} + +.tabs-md-optblue .tab-button, +.tabs-md-optblue .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-md-optblue .tab-button:hover:not(.disable-hover), +.tabs-md-optblue .tab-button[aria-selected=true], +.tabs-md-optblue .tab-button[aria-selected=true] .tab-button-icon { + color: #fff; +} + +.tabs-md-optblue[tabsHighlight=true] .tab-highlight { + background: #fff; +} + +.tabs-wp .tabbar { + background: #f8f8f8; +} + +.tabs-wp .tab-button { + border-radius: 0; + min-height: 4.8rem; + border-bottom: 2px solid transparent; + font-size: 1.2rem; + font-weight: normal; + color: rgba(140, 140, 140, 0.7); + -webkit-box-shadow: none; + box-shadow: none; + padding: 12px 10px 5px; +} + +.tabs-wp .tab-button[aria-selected=true] { + border-bottom-color: #673AB7; + color: #673AB7; +} + +.tabs-wp .tab-button.activated { + background: rgba(0, 0, 0, 0.1); +} + +.tabs-wp[tabsPlacement=bottom] .tab-button { + border-top: 2px solid transparent; + border-bottom-width: 0; +} + +.tabs-wp[tabsPlacement=bottom] .tab-button[aria-selected=true] { + border-top-color: #673AB7; +} + +.tabs-wp .tab-button-text { + margin-top: 5px; + margin-bottom: 5px; +} + +.tabs-wp .tab-button-icon { + min-width: 2.4rem; + font-size: 2.4rem; + color: rgba(140, 140, 140, 0.7); +} + +.tabs-wp .tab-button[aria-selected=true] .tab-button-icon { + color: #673AB7; +} + +.tabs-wp[tabsLayout=icon-bottom] .tab-button { + padding-top: 8px; + padding-bottom: 8px; +} + +.tabs-wp[tabsLayout=icon-right] .tab-button, +.tabs-wp[tabsLayout=icon-left] .tab-button, +.tabs-wp[tabsLayout=icon-end] .tab-button, +.tabs-wp[tabsLayout=icon-start] .tab-button { + padding-bottom: 10px; +} + +.tabs-wp[tabsLayout=icon-right] .tab-button ion-icon, +.tabs-wp[tabsLayout=icon-left] .tab-button ion-icon, +.tabs-wp[tabsLayout=icon-end] .tab-button ion-icon, +.tabs-wp[tabsLayout=icon-start] .tab-button ion-icon { + min-width: 24px; +} + +.tabs-wp[tabsLayout=icon-hide] .tab-button, +.tabs-wp[tabsLayout=title-hide] .tab-button, +.tabs-wp .tab-button.icon-only, +.tabs-wp .tab-button.has-title-only { + padding: 6px 10px; +} + +.tabs-wp-primary .tabbar { + background-color: #673AB7; +} + +.tabs-wp-primary .tab-button, +.tabs-wp-primary .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-wp-primary .tab-button:hover:not(.disable-hover), +.tabs-wp-primary .tab-button:hover:not(.disable-hover) .tab-button-icon, +.tabs-wp-primary .tab-button[aria-selected=true], +.tabs-wp-primary .tab-button[aria-selected=true] .tab-button-icon { + border-color: #fff; + color: #fff; +} + +.tabs-wp-secondary .tabbar { + background-color: #32db64; +} + +.tabs-wp-secondary .tab-button, +.tabs-wp-secondary .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-wp-secondary .tab-button:hover:not(.disable-hover), +.tabs-wp-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon, +.tabs-wp-secondary .tab-button[aria-selected=true], +.tabs-wp-secondary .tab-button[aria-selected=true] .tab-button-icon { + border-color: #fff; + color: #fff; +} + +.tabs-wp-danger .tabbar { + background-color: #f53d3d; +} + +.tabs-wp-danger .tab-button, +.tabs-wp-danger .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-wp-danger .tab-button:hover:not(.disable-hover), +.tabs-wp-danger .tab-button:hover:not(.disable-hover) .tab-button-icon, +.tabs-wp-danger .tab-button[aria-selected=true], +.tabs-wp-danger .tab-button[aria-selected=true] .tab-button-icon { + border-color: #fff; + color: #fff; +} + +.tabs-wp-light .tabbar { + background-color: #f4f4f4; +} + +.tabs-wp-light .tab-button, +.tabs-wp-light .tab-button-icon { + color: rgba(0, 0, 0, 0.7); +} + +.tabs-wp-light .tab-button:hover:not(.disable-hover), +.tabs-wp-light .tab-button:hover:not(.disable-hover) .tab-button-icon, +.tabs-wp-light .tab-button[aria-selected=true], +.tabs-wp-light .tab-button[aria-selected=true] .tab-button-icon { + border-color: #000; + color: #000; +} + +.tabs-wp-dark .tabbar { + background-color: #222; +} + +.tabs-wp-dark .tab-button, +.tabs-wp-dark .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-wp-dark .tab-button:hover:not(.disable-hover), +.tabs-wp-dark .tab-button:hover:not(.disable-hover) .tab-button-icon, +.tabs-wp-dark .tab-button[aria-selected=true], +.tabs-wp-dark .tab-button[aria-selected=true] .tab-button-icon { + border-color: #fff; + color: #fff; +} + +.tabs-wp-optblue .tabbar { + background-color: #E00201; +} + +.tabs-wp-optblue .tab-button, +.tabs-wp-optblue .tab-button-icon { + color: rgba(255, 255, 255, 0.7); +} + +.tabs-wp-optblue .tab-button:hover:not(.disable-hover), +.tabs-wp-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon, +.tabs-wp-optblue .tab-button[aria-selected=true], +.tabs-wp-optblue .tab-button[aria-selected=true] .tab-button-icon { + border-color: #fff; + color: #fff; +} + +ion-toast { + left: 0; + top: 0; + position: absolute; + z-index: 1000; + display: block; + width: 100%; + height: 100%; + pointer-events: none; + contain: strict; +} + +.toast-container { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + pointer-events: auto; + contain: content; +} + +.toast-button { + padding: 19px 16px 17px; + font-size: 1.5rem; +} + +.toast-message { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.toast-ios .toast-wrapper { + left: 10px; + right: 10px; + margin: auto; + border-radius: 0.65rem; + position: absolute; + z-index: 10; + display: block; + max-width: 700px; + background: rgba(0, 0, 0, 0.9); +} + +.toast-ios .toast-wrapper.toast-top { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + margin: constant(safe-area-inset-top) auto auto; + margin: env(safe-area-inset-top) auto auto; + top: 0; +} + +.toast-ios .toast-wrapper.toast-bottom { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + margin: auto auto constant(safe-area-inset-bottom); + margin: auto auto env(safe-area-inset-bottom); + bottom: 0; +} + +.toast-ios .toast-wrapper.toast-middle { + opacity: .01; +} + +.toast-ios .toast-message { + font-size: 1.4rem; + color: #fff; + padding: 1.5rem; +} + +.toast-md .toast-wrapper { + left: 0; + right: 0; + margin: auto; + position: absolute; + z-index: 10; + display: block; + width: 100%; + max-width: 700px; + background: #333; +} + +.toast-md .toast-wrapper.toast-top { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + top: 0; +} + +.toast-md .toast-wrapper.toast-bottom { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + bottom: 0; +} + +.toast-md .toast-wrapper.toast-middle { + opacity: .01; +} + +.toast-md .toast-message { + font-size: 1.5rem; + color: #fff; + padding: 19px 16px 17px; +} + +.toast-wp .toast-wrapper { + left: 0; + right: 0; + margin: auto; + border-radius: 0; + position: absolute; + z-index: 10; + display: block; + max-width: 700px; + background: black; +} + +.toast-wp .toast-wrapper.toast-top { + top: 0; + opacity: .01; +} + +.toast-wp .toast-wrapper.toast-bottom { + bottom: 0; + opacity: .01; +} + +.toast-wp .toast-wrapper.toast-middle { + opacity: .01; +} + +.toast-message { + font-size: 1.4rem; + color: #fff; + padding: 1.5rem; +} + +.toast-button { + color: #fff; +} + +.toggle-ios { + position: relative; + width: 51px; + height: 32px; + -webkit-box-sizing: content-box; + box-sizing: content-box; + contain: strict; +} + +.toggle-ios .toggle-icon { + border-radius: 16px; + position: relative; + display: block; + width: 100%; + height: 100%; + background-color: #e6e6e6; + -webkit-transition: background-color 300ms; + transition: background-color 300ms; + pointer-events: none; +} + +.toggle-ios .toggle-icon::before { + left: 2px; + right: 2px; + top: 2px; + bottom: 2px; + border-radius: 16px; + position: absolute; + background-color: #fff; + content: ""; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + -webkit-transition: -webkit-transform 300ms; + transition: -webkit-transform 300ms; + transition: transform 300ms; + transition: transform 300ms, -webkit-transform 300ms; +} + +.toggle-ios .toggle-inner { + left: 2px; + top: 2px; + border-radius: 14px; + position: absolute; + width: 28px; + height: 28px; + background-color: #fff; + -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1); + box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1); + -webkit-transition: width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; + transition: width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; + transition: transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms; + transition: transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; + will-change: transform; + contain: strict; +} + +.toggle-ios.toggle-checked .toggle-icon { + background-color: #673AB7; +} + +.toggle-ios.toggle-activated .toggle-icon::before, +.toggle-ios.toggle-checked .toggle-icon::before { + -webkit-transform: scale3d(0, 0, 0); + transform: scale3d(0, 0, 0); +} + +.toggle-ios.toggle-checked .toggle-inner { + -webkit-transform: translate3d(19px, 0, 0); + transform: translate3d(19px, 0, 0); +} + +.toggle-ios.toggle-activated.toggle-checked .toggle-inner::before { + -webkit-transform: scale3d(0, 0, 0); + transform: scale3d(0, 0, 0); +} + +.toggle-ios.toggle-activated .toggle-inner { + width: 34px; +} + +.toggle-ios.toggle-activated.toggle-checked .toggle-inner { + left: -4px; +} + +.toggle-ios.toggle-disabled, +.item-ios.item-toggle-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.item-ios .toggle-ios { + margin: 0; + padding: 6px 8px 5px 16px; +} + +.item-ios .toggle-ios[item-left], +.item-ios .toggle-ios[item-start] { + padding: 6px 16px 5px 0; +} + +.toggle-ios-primary.toggle-checked .toggle-icon { + background-color: #673AB7; +} + +.toggle-ios-secondary.toggle-checked .toggle-icon { + background-color: #32db64; +} + +.toggle-ios-danger.toggle-checked .toggle-icon { + background-color: #f53d3d; +} + +.toggle-ios-light.toggle-checked .toggle-icon { + background-color: #f4f4f4; +} + +.toggle-ios-dark.toggle-checked .toggle-icon { + background-color: #222; +} + +.toggle-ios-optblue.toggle-checked .toggle-icon { + background-color: #E00201; +} + +.toggle-md { + position: relative; + width: 36px; + height: 14px; + -webkit-box-sizing: content-box; + box-sizing: content-box; + contain: strict; + padding: 12px; +} + +.toggle-md .toggle-icon { + border-radius: 14px; + position: relative; + display: block; + width: 100%; + height: 100%; + background-color: #dedede; + -webkit-transition: background-color 300ms; + transition: background-color 300ms; + pointer-events: none; +} + +.toggle-md .toggle-inner { + left: 0; + top: -3px; + border-radius: 50%; + position: absolute; + width: 20px; + height: 20px; + background-color: #fff; + -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); + -webkit-transition-duration: 300ms; + transition-duration: 300ms; + -webkit-transition-property: background-color, -webkit-transform; + transition-property: background-color, -webkit-transform; + transition-property: transform, background-color; + transition-property: transform, background-color, -webkit-transform; + will-change: transform, background-color; + contain: strict; +} + +.toggle-md.toggle-checked .toggle-icon { + background-color: #ae94dd; +} + +.toggle-md.toggle-checked .toggle-inner { + -webkit-transform: translate3d(16px, 0, 0); + transform: translate3d(16px, 0, 0); + background-color: #673AB7; +} + +.toggle-md.toggle-disabled, +.item-md.item-toggle-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.toggle-md.toggle-disabled ion-radio { + opacity: 0.3; +} + +.item-md .toggle-md { + cursor: pointer; + margin: 0; + padding: 12px 8px 12px 16px; +} + +.item-md .toggle-md[item-left], +.item-md .toggle-md[item-start] { + padding: 12px 18px 12px 2px; +} + +.item-md.item-toggle ion-label { + margin-left: 0; +} + +.toggle-md-primary.toggle-checked .toggle-icon { + background-color: #ae94dd; +} + +.toggle-md-primary.toggle-checked .toggle-inner { + background-color: #673AB7; +} + +.toggle-md-secondary.toggle-checked .toggle-icon { + background-color: #9eeeb6; +} + +.toggle-md-secondary.toggle-checked .toggle-inner { + background-color: #32db64; +} + +.toggle-md-danger.toggle-checked .toggle-icon { + background-color: #fbb6b6; +} + +.toggle-md-danger.toggle-checked .toggle-inner { + background-color: #f53d3d; +} + +.toggle-md-light.toggle-checked .toggle-icon { + background-color: white; +} + +.toggle-md-light.toggle-checked .toggle-inner { + background-color: #f4f4f4; +} + +.toggle-md-dark.toggle-checked .toggle-icon { + background-color: #626262; +} + +.toggle-md-dark.toggle-checked .toggle-inner { + background-color: #222; +} + +.toggle-md-optblue.toggle-checked .toggle-icon { + background-color: #fe6362; +} + +.toggle-md-optblue.toggle-checked .toggle-inner { + background-color: #E00201; +} + +.toggle-wp { + position: relative; + width: 40px; + height: 18px; + -webkit-box-sizing: content-box; + box-sizing: content-box; + contain: strict; +} + +.toggle-wp .toggle-icon { + border-radius: 18px; + position: relative; + display: block; + width: 100%; + height: 100%; + border: 2px solid #323232; + background-color: transparent; + pointer-events: none; + contain: strict; +} + +.toggle-wp .toggle-inner { + left: 2px; + top: 2px; + border-radius: 50%; + position: absolute; + width: 10px; + height: 10px; + background-color: #323232; + -webkit-transition-duration: 300ms; + transition-duration: 300ms; + -webkit-transition-property: background-color, -webkit-transform; + transition-property: background-color, -webkit-transform; + transition-property: transform, background-color; + transition-property: transform, background-color, -webkit-transform; + will-change: transform, background-color; +} + +.toggle-wp.toggle-checked .toggle-icon { + border-color: #673AB7; + background-color: #673AB7; +} + +.toggle-wp.toggle-checked .toggle-inner { + -webkit-transform: translate3d(22px, 0, 0); + transform: translate3d(22px, 0, 0); + background-color: #fff; +} + +.toggle-wp.toggle-disabled, +.item-wp.item-toggle-disabled ion-label { + opacity: 0.3; + pointer-events: none; +} + +.toggle-wp.toggle-disabled ion-radio { + opacity: 0.3; +} + +.item-wp .toggle-wp { + margin: 0; + cursor: pointer; + padding: 12px 8px 12px 16px; +} + +.item-wp .toggle-wp[item-left], +.item-wp .toggle-wp[item-start] { + padding: 12px 18px 12px 2px; +} + +.item-wp.item-toggle ion-label { + margin-left: 0; +} + +.toggle-wp-primary.toggle-checked .toggle-icon { + border-color: #673AB7; + background-color: #673AB7; +} + +.toggle-wp-primary.toggle-checked .toggle-inner { + background-color: #fff; +} + +.toggle-wp-secondary.toggle-checked .toggle-icon { + border-color: #32db64; + background-color: #32db64; +} + +.toggle-wp-secondary.toggle-checked .toggle-inner { + background-color: #fff; +} + +.toggle-wp-danger.toggle-checked .toggle-icon { + border-color: #f53d3d; + background-color: #f53d3d; +} + +.toggle-wp-danger.toggle-checked .toggle-inner { + background-color: #fff; +} + +.toggle-wp-light.toggle-checked .toggle-icon { + border-color: #f4f4f4; + background-color: #f4f4f4; +} + +.toggle-wp-light.toggle-checked .toggle-inner { + background-color: #000; +} + +.toggle-wp-dark.toggle-checked .toggle-icon { + border-color: #222; + background-color: #222; +} + +.toggle-wp-dark.toggle-checked .toggle-inner { + background-color: #fff; +} + +.toggle-wp-optblue.toggle-checked .toggle-icon { + border-color: #E00201; + background-color: #E00201; +} + +.toggle-wp-optblue.toggle-checked .toggle-inner { + background-color: #fff; +} + +ion-toolbar { + position: relative; + z-index: 10; +} + +.toolbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + width: 100%; + contain: content; +} + +.toolbar-background { + left: 0; + top: 0; + position: absolute; + z-index: -1; + width: 100%; + height: 100%; + border: 0; + -webkit-transform: translateZ(0); + transform: translateZ(0); + pointer-events: none; + contain: strict; +} + +ion-title { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.toolbar-title { + display: block; + overflow: hidden; + width: 100%; + text-overflow: ellipsis; + white-space: nowrap; +} + +ion-buttons { + margin: 0 0.2rem; + display: block; + -webkit-transform: translateZ(0); + transform: translateZ(0); + pointer-events: none; +} + +ion-buttons button, +ion-buttons a, +ion-buttons input, +ion-buttons textarea, +ion-buttons div { + pointer-events: auto; +} + +.toolbar[transparent] .toolbar-background { + border-color: transparent; + background: transparent; +} + +ion-buttons, +.bar-button-menutoggle { + z-index: 99; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +ion-navbar.toolbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.bar-button { + margin: 0; + padding: 0; + text-align: center; + -moz-appearance: none; + -ms-appearance: none; + -webkit-appearance: none; + appearance: none; + position: relative; + display: inline-block; + line-height: 1; + text-overflow: ellipsis; + text-transform: none; + white-space: nowrap; + cursor: pointer; + vertical-align: top; + vertical-align: -webkit-baseline-middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.bar-button::after { + left: -2px; + right: -2px; + top: -7px; + bottom: -6px; + position: absolute; + content: ""; +} + +.bar-button-menutoggle { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.back-button { + display: none; +} + +.back-button.show-back-button { + display: inline-block; +} + +.back-button-text { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.toolbar-ios { + padding: 4px; + padding-left: 4px; + padding-right: 4px; + min-height: 44px; +} + +@media screen and (orientation: landscape) { + .toolbar-ios { + padding-left: calc(constant(safe-area-inset-left) + 4px); + padding-right: calc(constant(safe-area-inset-right) + 4px); + padding-left: calc(env(safe-area-inset-left) + 4px); + padding-right: calc(env(safe-area-inset-right) + 4px); + } +} + +.toolbar-background-ios { + background: #f8f8f8; +} + +.header-ios .toolbar-background-ios, +.footer-ios .toolbar-background-ios { + border-style: solid; + border-color: rgba(0, 0, 0, 0.3); +} + +.header-ios .toolbar-ios:last-child .toolbar-background-ios { + border-width: 0 0 0.55px; +} + +.footer-ios .toolbar-ios:first-child .toolbar-background-ios { + border-width: 0.55px 0 0; +} + +.header-ios[no-border] .toolbar-ios:last-child .toolbar-background-ios { + border-bottom-width: 0; +} + +.footer-ios[no-border] .toolbar-ios:first-child .toolbar-background-ios { + border-top-width: 0; +} + +.toolbar-content-ios { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-ordinal-group: 5; + -webkit-order: 4; + -ms-flex-order: 4; + order: 4; + min-width: 0; +} + +.toolbar-title-ios { + text-align: center; + font-size: 1.7rem; + font-weight: 600; + color: #000; + pointer-events: auto; +} + +.toolbar-ios ion-title { + left: 0; + top: 0; + padding: 0 90px 1px; + position: absolute; + width: 100%; + height: 100%; + -webkit-transform: translateZ(0); + transform: translateZ(0); + pointer-events: none; +} + +.bar-buttons-ios { + -webkit-box-ordinal-group: 4; + -webkit-order: 3; + -ms-flex-order: 3; + order: 3; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.bar-buttons-ios[left] { + -webkit-box-ordinal-group: 3; + -webkit-order: 2; + -ms-flex-order: 2; + order: 2; +} + +.bar-buttons-ios[end] { + text-align: right; + text-align: end; + -webkit-box-ordinal-group: 6; + -webkit-order: 5; + -ms-flex-order: 5; + order: 5; +} + +.bar-buttons-ios[right] { + text-align: right; + -webkit-box-ordinal-group: 7; + -webkit-order: 6; + -ms-flex-order: 6; + order: 6; +} + +.bar-button-ios { + padding: 0 4px; + border-radius: 4px; + height: 32px; + border: 0; + font-size: 1.7rem; +} + +.bar-button-outline-ios { + border-width: 1px; + border-style: solid; + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.bar-button-outline-ios:hover:not(.disable-hover) { + opacity: .4; +} + +.bar-button-outline-ios.activated { + color: #fff; + background-color: #673AB7; +} + +.bar-button-solid-ios { + color: #fff; + background-color: #673AB7; +} + +.bar-button-solid-ios:hover:not(.disable-hover) { + color: #fff; + opacity: .4; +} + +.bar-button-solid-ios.activated { + color: #fff; + background-color: #734abd; + opacity: .4; +} + +.bar-button-ios.bar-button-icon-start ion-icon { + padding-right: 0.3em; + font-size: 1.4em; + line-height: .67; + pointer-events: none; +} + +.bar-button-ios.bar-button-icon-end ion-icon { + padding-left: 0.4em; + font-size: 1.4em; + line-height: .67; + pointer-events: none; +} + +.bar-button-ios[icon-only] { + padding: 0; + min-width: .9em; +} + +.bar-button-ios[icon-only] ion-icon { + padding: 0 0.1em; + font-size: 1.8em; + line-height: .67; + pointer-events: none; +} + +.back-button-ios { + margin: 0; + z-index: 99; + overflow: visible; + -webkit-box-ordinal-group: 1; + -webkit-order: 0; + -ms-flex-order: 0; + order: 0; + min-height: 3.2rem; + line-height: 1; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.back-button-icon-ios { + margin: -1px 0 0; + display: inherit; + min-width: 18px; + font-size: 3.4rem; +} + +.back-button-text-ios { + letter-spacing: -.01em; +} + +.bar-button-menutoggle-ios { + margin: 0 6px; + padding: 0; + -webkit-box-ordinal-group: 2; + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; + min-width: 36px; +} + +.bar-button-menutoggle-ios ion-icon { + padding: 0 6px; + font-size: 2.8rem; +} + +.bar-button-menutoggle-ios[end], +.bar-button-menutoggle-ios[right] { + -webkit-box-ordinal-group: 8; + -webkit-order: 7; + -ms-flex-order: 7; + order: 7; +} + +.bar-button-default-ios, +.bar-button-default.bar-button-ios-default, +.bar-button-clear-ios-default { + color: #673AB7; + background-color: transparent; +} + +.bar-button-default-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-default:hover:not(.disable-hover), +.bar-button-clear-ios-default:hover:not(.disable-hover) { + color: #673AB7; +} + +.bar-button-default-ios.activated, +.bar-button-default.bar-button-ios-default.activated, +.bar-button-clear-ios-default.activated { + opacity: .4; +} + +.bar-button-clear-ios, +.bar-button-default.bar-button-ios-clear, +.bar-button-clear-ios-clear { + color: #673AB7; + background-color: transparent; +} + +.bar-button-clear-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-clear:hover:not(.disable-hover), +.bar-button-clear-ios-clear:hover:not(.disable-hover) { + color: #673AB7; +} + +.bar-button-clear-ios.activated, +.bar-button-default.bar-button-ios-clear.activated, +.bar-button-clear-ios-clear.activated { + opacity: .4; +} + +.toolbar-ios-primary .toolbar-background-ios { + background: #673AB7; +} + +.toolbar-ios-primary .toolbar-title-ios, +.toolbar-ios-primary .bar-button-clear-ios, +.toolbar-ios-primary .bar-button-default-ios { + color: #fff; +} + +.toolbar-ios-primary .bar-button-primary-ios, +.toolbar-ios-primary .bar-button-default.bar-button-ios-primary, +.toolbar-ios-primary .bar-button-clear-ios-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-primary-ios:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-ios-primary .bar-button-primary-ios.activated, +.toolbar-ios-primary .bar-button-default.bar-button-ios-primary.activated, +.toolbar-ios-primary .bar-button-clear-ios-primary.activated { + opacity: .4; +} + +.toolbar-ios-primary .bar-button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-primary .bar-button-solid-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-primary .bar-button-solid-ios-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-ios-primary .bar-button-secondary-ios, +.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary, +.toolbar-ios-primary .bar-button-clear-ios-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-secondary-ios:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-ios-primary .bar-button-secondary-ios.activated, +.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary.activated, +.toolbar-ios-primary .bar-button-clear-ios-secondary.activated { + opacity: .4; +} + +.toolbar-ios-primary .bar-button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-primary .bar-button-solid-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-primary .bar-button-solid-ios-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-ios-primary .bar-button-danger-ios, +.toolbar-ios-primary .bar-button-default.bar-button-ios-danger, +.toolbar-ios-primary .bar-button-clear-ios-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-danger-ios:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-ios-primary .bar-button-danger-ios.activated, +.toolbar-ios-primary .bar-button-default.bar-button-ios-danger.activated, +.toolbar-ios-primary .bar-button-clear-ios-danger.activated { + opacity: .4; +} + +.toolbar-ios-primary .bar-button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-primary .bar-button-solid-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-primary .bar-button-solid-ios-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-ios-primary .bar-button-light-ios, +.toolbar-ios-primary .bar-button-default.bar-button-ios-light, +.toolbar-ios-primary .bar-button-clear-ios-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-light-ios:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-ios-primary .bar-button-light-ios.activated, +.toolbar-ios-primary .bar-button-default.bar-button-ios-light.activated, +.toolbar-ios-primary .bar-button-clear-ios-light.activated { + opacity: .4; +} + +.toolbar-ios-primary .bar-button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-primary .bar-button-solid-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-primary .bar-button-solid-ios-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-ios-primary .bar-button-dark-ios, +.toolbar-ios-primary .bar-button-default.bar-button-ios-dark, +.toolbar-ios-primary .bar-button-clear-ios-dark { + color: #222; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-dark-ios:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-ios-primary .bar-button-dark-ios.activated, +.toolbar-ios-primary .bar-button-default.bar-button-ios-dark.activated, +.toolbar-ios-primary .bar-button-clear-ios-dark.activated { + opacity: .4; +} + +.toolbar-ios-primary .bar-button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.toolbar-ios-primary .bar-button-solid-ios-dark { + color: #fff; + background-color: #222; +} + +.toolbar-ios-primary .bar-button-solid-ios-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-ios-primary .bar-button-optblue-ios, +.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue, +.toolbar-ios-primary .bar-button-clear-ios-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-optblue-ios:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-ios-primary .bar-button-optblue-ios.activated, +.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue.activated, +.toolbar-ios-primary .bar-button-clear-ios-optblue.activated { + opacity: .4; +} + +.toolbar-ios-primary .bar-button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-primary .bar-button-solid-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-primary .bar-button-solid-ios-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-primary-ios, +.bar-button-default.bar-button-ios-primary, +.bar-button-clear-ios-primary { + color: #673AB7; + background-color: transparent; +} + +.bar-button-primary-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), +.bar-button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.bar-button-primary-ios.activated, +.bar-button-default.bar-button-ios-primary.activated, +.bar-button-clear-ios-primary.activated { + opacity: .4; +} + +.bar-button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.bar-button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.bar-button-solid-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.bar-button-solid-ios-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-ios-secondary .toolbar-background-ios { + background: #32db64; +} + +.toolbar-ios-secondary .toolbar-title-ios, +.toolbar-ios-secondary .bar-button-clear-ios, +.toolbar-ios-secondary .bar-button-default-ios { + color: #fff; +} + +.toolbar-ios-secondary .bar-button-primary-ios, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary, +.toolbar-ios-secondary .bar-button-clear-ios-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-primary-ios:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-ios-secondary .bar-button-primary-ios.activated, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary.activated, +.toolbar-ios-secondary .bar-button-clear-ios-primary.activated { + opacity: .4; +} + +.toolbar-ios-secondary .bar-button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-secondary .bar-button-solid-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-secondary .bar-button-solid-ios-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-ios-secondary .bar-button-secondary-ios, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary, +.toolbar-ios-secondary .bar-button-clear-ios-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-secondary-ios:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-ios-secondary .bar-button-secondary-ios.activated, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary.activated, +.toolbar-ios-secondary .bar-button-clear-ios-secondary.activated { + opacity: .4; +} + +.toolbar-ios-secondary .bar-button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-secondary .bar-button-solid-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-secondary .bar-button-solid-ios-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-ios-secondary .bar-button-danger-ios, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger, +.toolbar-ios-secondary .bar-button-clear-ios-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-danger-ios:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-ios-secondary .bar-button-danger-ios.activated, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger.activated, +.toolbar-ios-secondary .bar-button-clear-ios-danger.activated { + opacity: .4; +} + +.toolbar-ios-secondary .bar-button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-secondary .bar-button-solid-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-secondary .bar-button-solid-ios-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-ios-secondary .bar-button-light-ios, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-light, +.toolbar-ios-secondary .bar-button-clear-ios-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-light-ios:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-ios-secondary .bar-button-light-ios.activated, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-light.activated, +.toolbar-ios-secondary .bar-button-clear-ios-light.activated { + opacity: .4; +} + +.toolbar-ios-secondary .bar-button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-secondary .bar-button-solid-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-secondary .bar-button-solid-ios-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-ios-secondary .bar-button-dark-ios, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark, +.toolbar-ios-secondary .bar-button-clear-ios-dark { + color: #222; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-dark-ios:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-ios-secondary .bar-button-dark-ios.activated, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark.activated, +.toolbar-ios-secondary .bar-button-clear-ios-dark.activated { + opacity: .4; +} + +.toolbar-ios-secondary .bar-button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.toolbar-ios-secondary .bar-button-solid-ios-dark { + color: #fff; + background-color: #222; +} + +.toolbar-ios-secondary .bar-button-solid-ios-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-ios-secondary .bar-button-optblue-ios, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue, +.toolbar-ios-secondary .bar-button-clear-ios-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-optblue-ios:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-ios-secondary .bar-button-optblue-ios.activated, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue.activated, +.toolbar-ios-secondary .bar-button-clear-ios-optblue.activated { + opacity: .4; +} + +.toolbar-ios-secondary .bar-button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-secondary .bar-button-solid-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-secondary .bar-button-solid-ios-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-secondary-ios, +.bar-button-default.bar-button-ios-secondary, +.bar-button-clear-ios-secondary { + color: #32db64; + background-color: transparent; +} + +.bar-button-secondary-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), +.bar-button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.bar-button-secondary-ios.activated, +.bar-button-default.bar-button-ios-secondary.activated, +.bar-button-clear-ios-secondary.activated { + opacity: .4; +} + +.bar-button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.bar-button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.bar-button-solid-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.bar-button-solid-ios-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-ios-danger .toolbar-background-ios { + background: #f53d3d; +} + +.toolbar-ios-danger .toolbar-title-ios, +.toolbar-ios-danger .bar-button-clear-ios, +.toolbar-ios-danger .bar-button-default-ios { + color: #fff; +} + +.toolbar-ios-danger .bar-button-primary-ios, +.toolbar-ios-danger .bar-button-default.bar-button-ios-primary, +.toolbar-ios-danger .bar-button-clear-ios-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-primary-ios:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-ios-danger .bar-button-primary-ios.activated, +.toolbar-ios-danger .bar-button-default.bar-button-ios-primary.activated, +.toolbar-ios-danger .bar-button-clear-ios-primary.activated { + opacity: .4; +} + +.toolbar-ios-danger .bar-button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-danger .bar-button-solid-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-danger .bar-button-solid-ios-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-ios-danger .bar-button-secondary-ios, +.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary, +.toolbar-ios-danger .bar-button-clear-ios-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-secondary-ios:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-ios-danger .bar-button-secondary-ios.activated, +.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary.activated, +.toolbar-ios-danger .bar-button-clear-ios-secondary.activated { + opacity: .4; +} + +.toolbar-ios-danger .bar-button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-danger .bar-button-solid-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-danger .bar-button-solid-ios-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-ios-danger .bar-button-danger-ios, +.toolbar-ios-danger .bar-button-default.bar-button-ios-danger, +.toolbar-ios-danger .bar-button-clear-ios-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-danger-ios:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-ios-danger .bar-button-danger-ios.activated, +.toolbar-ios-danger .bar-button-default.bar-button-ios-danger.activated, +.toolbar-ios-danger .bar-button-clear-ios-danger.activated { + opacity: .4; +} + +.toolbar-ios-danger .bar-button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-danger .bar-button-solid-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-danger .bar-button-solid-ios-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-ios-danger .bar-button-light-ios, +.toolbar-ios-danger .bar-button-default.bar-button-ios-light, +.toolbar-ios-danger .bar-button-clear-ios-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-light-ios:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-ios-danger .bar-button-light-ios.activated, +.toolbar-ios-danger .bar-button-default.bar-button-ios-light.activated, +.toolbar-ios-danger .bar-button-clear-ios-light.activated { + opacity: .4; +} + +.toolbar-ios-danger .bar-button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-danger .bar-button-solid-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-danger .bar-button-solid-ios-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-ios-danger .bar-button-dark-ios, +.toolbar-ios-danger .bar-button-default.bar-button-ios-dark, +.toolbar-ios-danger .bar-button-clear-ios-dark { + color: #222; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-dark-ios:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-ios-danger .bar-button-dark-ios.activated, +.toolbar-ios-danger .bar-button-default.bar-button-ios-dark.activated, +.toolbar-ios-danger .bar-button-clear-ios-dark.activated { + opacity: .4; +} + +.toolbar-ios-danger .bar-button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.toolbar-ios-danger .bar-button-solid-ios-dark { + color: #fff; + background-color: #222; +} + +.toolbar-ios-danger .bar-button-solid-ios-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-ios-danger .bar-button-optblue-ios, +.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue, +.toolbar-ios-danger .bar-button-clear-ios-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-optblue-ios:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-ios-danger .bar-button-optblue-ios.activated, +.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue.activated, +.toolbar-ios-danger .bar-button-clear-ios-optblue.activated { + opacity: .4; +} + +.toolbar-ios-danger .bar-button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-danger .bar-button-solid-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-danger .bar-button-solid-ios-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-danger-ios, +.bar-button-default.bar-button-ios-danger, +.bar-button-clear-ios-danger { + color: #f53d3d; + background-color: transparent; +} + +.bar-button-danger-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), +.bar-button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.bar-button-danger-ios.activated, +.bar-button-default.bar-button-ios-danger.activated, +.bar-button-clear-ios-danger.activated { + opacity: .4; +} + +.bar-button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.bar-button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.bar-button-solid-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.bar-button-solid-ios-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-ios-light .toolbar-background-ios { + background: #f4f4f4; +} + +.toolbar-ios-light .toolbar-title-ios, +.toolbar-ios-light .bar-button-clear-ios, +.toolbar-ios-light .bar-button-default-ios { + color: #000; +} + +.toolbar-ios-light .bar-button-primary-ios, +.toolbar-ios-light .bar-button-default.bar-button-ios-primary, +.toolbar-ios-light .bar-button-clear-ios-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-primary-ios:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-ios-light .bar-button-primary-ios.activated, +.toolbar-ios-light .bar-button-default.bar-button-ios-primary.activated, +.toolbar-ios-light .bar-button-clear-ios-primary.activated { + opacity: .4; +} + +.toolbar-ios-light .bar-button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-light .bar-button-solid-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-light .bar-button-solid-ios-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-ios-light .bar-button-secondary-ios, +.toolbar-ios-light .bar-button-default.bar-button-ios-secondary, +.toolbar-ios-light .bar-button-clear-ios-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-secondary-ios:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-ios-light .bar-button-secondary-ios.activated, +.toolbar-ios-light .bar-button-default.bar-button-ios-secondary.activated, +.toolbar-ios-light .bar-button-clear-ios-secondary.activated { + opacity: .4; +} + +.toolbar-ios-light .bar-button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-light .bar-button-solid-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-light .bar-button-solid-ios-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-ios-light .bar-button-danger-ios, +.toolbar-ios-light .bar-button-default.bar-button-ios-danger, +.toolbar-ios-light .bar-button-clear-ios-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-danger-ios:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-ios-light .bar-button-danger-ios.activated, +.toolbar-ios-light .bar-button-default.bar-button-ios-danger.activated, +.toolbar-ios-light .bar-button-clear-ios-danger.activated { + opacity: .4; +} + +.toolbar-ios-light .bar-button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-light .bar-button-solid-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-light .bar-button-solid-ios-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-ios-light .bar-button-light-ios, +.toolbar-ios-light .bar-button-default.bar-button-ios-light, +.toolbar-ios-light .bar-button-clear-ios-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-light-ios:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-ios-light .bar-button-light-ios.activated, +.toolbar-ios-light .bar-button-default.bar-button-ios-light.activated, +.toolbar-ios-light .bar-button-clear-ios-light.activated { + opacity: .4; +} + +.toolbar-ios-light .bar-button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-light .bar-button-solid-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-light .bar-button-solid-ios-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-ios-light .bar-button-dark-ios, +.toolbar-ios-light .bar-button-default.bar-button-ios-dark, +.toolbar-ios-light .bar-button-clear-ios-dark { + color: #222; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-dark-ios:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-ios-light .bar-button-dark-ios.activated, +.toolbar-ios-light .bar-button-default.bar-button-ios-dark.activated, +.toolbar-ios-light .bar-button-clear-ios-dark.activated { + opacity: .4; +} + +.toolbar-ios-light .bar-button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.toolbar-ios-light .bar-button-solid-ios-dark { + color: #fff; + background-color: #222; +} + +.toolbar-ios-light .bar-button-solid-ios-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-ios-light .bar-button-optblue-ios, +.toolbar-ios-light .bar-button-default.bar-button-ios-optblue, +.toolbar-ios-light .bar-button-clear-ios-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-optblue-ios:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-ios-light .bar-button-optblue-ios.activated, +.toolbar-ios-light .bar-button-default.bar-button-ios-optblue.activated, +.toolbar-ios-light .bar-button-clear-ios-optblue.activated { + opacity: .4; +} + +.toolbar-ios-light .bar-button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-light .bar-button-solid-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-light .bar-button-solid-ios-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-light-ios, +.bar-button-default.bar-button-ios-light, +.bar-button-clear-ios-light { + color: #f4f4f4; + background-color: transparent; +} + +.bar-button-light-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-light:hover:not(.disable-hover), +.bar-button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.bar-button-light-ios.activated, +.bar-button-default.bar-button-ios-light.activated, +.bar-button-clear-ios-light.activated { + opacity: .4; +} + +.bar-button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.bar-button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.bar-button-solid-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.bar-button-solid-ios-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-ios-dark .toolbar-background-ios { + background: #222; +} + +.toolbar-ios-dark .toolbar-title-ios, +.toolbar-ios-dark .bar-button-clear-ios, +.toolbar-ios-dark .bar-button-default-ios { + color: #fff; +} + +.toolbar-ios-dark .bar-button-primary-ios, +.toolbar-ios-dark .bar-button-default.bar-button-ios-primary, +.toolbar-ios-dark .bar-button-clear-ios-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-primary-ios:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-ios-dark .bar-button-primary-ios.activated, +.toolbar-ios-dark .bar-button-default.bar-button-ios-primary.activated, +.toolbar-ios-dark .bar-button-clear-ios-primary.activated { + opacity: .4; +} + +.toolbar-ios-dark .bar-button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-dark .bar-button-solid-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-dark .bar-button-solid-ios-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-ios-dark .bar-button-secondary-ios, +.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary, +.toolbar-ios-dark .bar-button-clear-ios-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-secondary-ios:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-ios-dark .bar-button-secondary-ios.activated, +.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary.activated, +.toolbar-ios-dark .bar-button-clear-ios-secondary.activated { + opacity: .4; +} + +.toolbar-ios-dark .bar-button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-dark .bar-button-solid-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-dark .bar-button-solid-ios-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-ios-dark .bar-button-danger-ios, +.toolbar-ios-dark .bar-button-default.bar-button-ios-danger, +.toolbar-ios-dark .bar-button-clear-ios-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-danger-ios:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-ios-dark .bar-button-danger-ios.activated, +.toolbar-ios-dark .bar-button-default.bar-button-ios-danger.activated, +.toolbar-ios-dark .bar-button-clear-ios-danger.activated { + opacity: .4; +} + +.toolbar-ios-dark .bar-button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-dark .bar-button-solid-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-dark .bar-button-solid-ios-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-ios-dark .bar-button-light-ios, +.toolbar-ios-dark .bar-button-default.bar-button-ios-light, +.toolbar-ios-dark .bar-button-clear-ios-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-light-ios:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-ios-dark .bar-button-light-ios.activated, +.toolbar-ios-dark .bar-button-default.bar-button-ios-light.activated, +.toolbar-ios-dark .bar-button-clear-ios-light.activated { + opacity: .4; +} + +.toolbar-ios-dark .bar-button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-dark .bar-button-solid-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-dark .bar-button-solid-ios-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-ios-dark .bar-button-dark-ios, +.toolbar-ios-dark .bar-button-default.bar-button-ios-dark, +.toolbar-ios-dark .bar-button-clear-ios-dark { + color: #222; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-dark-ios:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-ios-dark .bar-button-dark-ios.activated, +.toolbar-ios-dark .bar-button-default.bar-button-ios-dark.activated, +.toolbar-ios-dark .bar-button-clear-ios-dark.activated { + opacity: .4; +} + +.toolbar-ios-dark .bar-button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.toolbar-ios-dark .bar-button-solid-ios-dark { + color: #fff; + background-color: #222; +} + +.toolbar-ios-dark .bar-button-solid-ios-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-ios-dark .bar-button-optblue-ios, +.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue, +.toolbar-ios-dark .bar-button-clear-ios-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-optblue-ios:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-ios-dark .bar-button-optblue-ios.activated, +.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue.activated, +.toolbar-ios-dark .bar-button-clear-ios-optblue.activated { + opacity: .4; +} + +.toolbar-ios-dark .bar-button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-dark .bar-button-solid-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-dark .bar-button-solid-ios-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-dark-ios, +.bar-button-default.bar-button-ios-dark, +.bar-button-clear-ios-dark { + color: #222; + background-color: transparent; +} + +.bar-button-dark-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), +.bar-button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.bar-button-dark-ios.activated, +.bar-button-default.bar-button-ios-dark.activated, +.bar-button-clear-ios-dark.activated { + opacity: .4; +} + +.bar-button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.bar-button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.bar-button-solid-ios-dark { + color: #fff; + background-color: #222; +} + +.bar-button-solid-ios-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-ios-optblue .toolbar-background-ios { + background: #E00201; +} + +.toolbar-ios-optblue .toolbar-title-ios, +.toolbar-ios-optblue .bar-button-clear-ios, +.toolbar-ios-optblue .bar-button-default-ios { + color: #fff; +} + +.toolbar-ios-optblue .bar-button-primary-ios, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary, +.toolbar-ios-optblue .bar-button-clear-ios-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-primary-ios:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-ios-optblue .bar-button-primary-ios.activated, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary.activated, +.toolbar-ios-optblue .bar-button-clear-ios-primary.activated { + opacity: .4; +} + +.toolbar-ios-optblue .bar-button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-optblue .bar-button-solid-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-optblue .bar-button-solid-ios-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-ios-optblue .bar-button-secondary-ios, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary, +.toolbar-ios-optblue .bar-button-clear-ios-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-secondary-ios:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-ios-optblue .bar-button-secondary-ios.activated, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary.activated, +.toolbar-ios-optblue .bar-button-clear-ios-secondary.activated { + opacity: .4; +} + +.toolbar-ios-optblue .bar-button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-optblue .bar-button-solid-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-optblue .bar-button-solid-ios-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-ios-optblue .bar-button-danger-ios, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger, +.toolbar-ios-optblue .bar-button-clear-ios-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-danger-ios:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-ios-optblue .bar-button-danger-ios.activated, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger.activated, +.toolbar-ios-optblue .bar-button-clear-ios-danger.activated { + opacity: .4; +} + +.toolbar-ios-optblue .bar-button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-optblue .bar-button-solid-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-optblue .bar-button-solid-ios-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-ios-optblue .bar-button-light-ios, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-light, +.toolbar-ios-optblue .bar-button-clear-ios-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-light-ios:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-ios-optblue .bar-button-light-ios.activated, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-light.activated, +.toolbar-ios-optblue .bar-button-clear-ios-light.activated { + opacity: .4; +} + +.toolbar-ios-optblue .bar-button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-optblue .bar-button-solid-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-optblue .bar-button-solid-ios-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-ios-optblue .bar-button-dark-ios, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark, +.toolbar-ios-optblue .bar-button-clear-ios-dark { + color: #222; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-dark-ios:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-ios-optblue .bar-button-dark-ios.activated, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark.activated, +.toolbar-ios-optblue .bar-button-clear-ios-dark.activated { + opacity: .4; +} + +.toolbar-ios-optblue .bar-button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.toolbar-ios-optblue .bar-button-solid-ios-dark { + color: #fff; + background-color: #222; +} + +.toolbar-ios-optblue .bar-button-solid-ios-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-ios-optblue .bar-button-optblue-ios, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue, +.toolbar-ios-optblue .bar-button-clear-ios-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-optblue-ios:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-ios-optblue .bar-button-optblue-ios.activated, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue.activated, +.toolbar-ios-optblue .bar-button-clear-ios-optblue.activated { + opacity: .4; +} + +.toolbar-ios-optblue .bar-button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-optblue .bar-button-solid-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-optblue .bar-button-solid-ios-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-optblue-ios, +.bar-button-default.bar-button-ios-optblue, +.bar-button-clear-ios-optblue { + color: #E00201; + background-color: transparent; +} + +.bar-button-optblue-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), +.bar-button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.bar-button-optblue-ios.activated, +.bar-button-default.bar-button-ios-optblue.activated, +.bar-button-clear-ios-optblue.activated { + opacity: .4; +} + +.bar-button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.bar-button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.bar-button-solid-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.bar-button-solid-ios-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-strong-ios { + font-weight: 600; +} + +.toolbar-md { + padding: 4px; + min-height: 56px; +} + +.toolbar-background-md { + border-color: #b2b2b2; + background: #f8f8f8; +} + +.header-md::after, +.tabs-md[tabsPlacement="top"] > .tabbar::after, +.footer-md::before, +.tabs-md[tabsPlacement="bottom"] > .tabbar::before { + left: 0; + bottom: -5px; + background-position: left 0 top -2px; + position: absolute; + width: 100%; + height: 5px; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==); + background-repeat: repeat-x; + content: ""; +} + +.footer-md::before, +.tabs-md[tabsPlacement="bottom"] > .tabbar::before { + top: -2px; + bottom: auto; + background-position: left 0 top 0; + height: 2px; +} + +.header-md[no-border]::after, +.footer-md[no-border]::before, +.tabs-md[tabsPlacement="top"][no-border] > .tabbar::after, +.tabs-md[tabsPlacement="bottom"][no-border] > .tabbar::before { + display: none; +} + +.toolbar-content-md { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-ordinal-group: 4; + -webkit-order: 3; + -ms-flex-order: 3; + order: 3; + min-width: 0; + max-width: 100%; +} + +.toolbar-title-md { + padding: 0 12px; + font-size: 2rem; + font-weight: 500; + color: #424242; +} + +.bar-buttons-md { + -webkit-box-ordinal-group: 5; + -webkit-order: 4; + -ms-flex-order: 4; + order: 4; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.bar-buttons-md[left] { + -webkit-box-ordinal-group: 3; + -webkit-order: 2; + -ms-flex-order: 2; + order: 2; +} + +.bar-button-md:first-child { + margin-left: 0; +} + +.bar-buttons-md[end] { + text-align: right; + text-align: end; + -webkit-box-ordinal-group: 6; + -webkit-order: 5; + -ms-flex-order: 5; + order: 5; +} + +.bar-buttons-md[right] { + text-align: right; + -webkit-box-ordinal-group: 7; + -webkit-order: 6; + -ms-flex-order: 6; + order: 6; +} + +.bar-button-md { + margin: 0 0.2rem; + padding: 0 5px; + border-radius: 2px; + height: 32px; + border: 0; + font-size: 1.4rem; + font-weight: 500; + text-transform: uppercase; +} + +.bar-button-solid-md, +.bar-button-outline-md { + overflow: hidden; +} + +.bar-button-outline-md { + border-width: 1px; + border-style: solid; + border-color: #424242; + color: #424242; + background-color: transparent; +} + +.bar-button-outline-md:hover:not(.disable-hover) { + opacity: .4; +} + +.bar-button-outline-md.activated { + background-color: transparent; +} + +.bar-button-outline-md .button-effect { + background-color: #424242; +} + +.bar-button-solid-md { + color: #fff; + background-color: #424242; +} + +.bar-button-solid-md:hover:not(.disable-hover) { + color: #fff; +} + +.bar-button-solid-md.activated { + color: #fff; + background-color: #515151; +} + +.bar-button-md.bar-button-icon-start ion-icon { + padding-right: 0.3em; + font-size: 1.4em; + line-height: .67; + pointer-events: none; +} + +.bar-button-md.bar-button-icon-end ion-icon { + padding-left: 0.4em; + font-size: 1.4em; + line-height: .67; + pointer-events: none; +} + +.bar-button-md[icon-only] { + padding: 0; +} + +.bar-button-md[icon-only] ion-icon { + padding: 0 0.1em; + min-width: 28px; + font-size: 1.8em; + line-height: .67; + pointer-events: none; +} + +.back-button-md { + margin: 0 6px; + min-width: 44px; + -webkit-box-shadow: none; + box-shadow: none; +} + +.back-button-icon-md { + margin: 0; + padding: 0 6px; + text-align: left; + text-align: start; + font-size: 2.4rem; + font-weight: normal; +} + +.bar-button-menutoggle-md { + margin: 0 6px; + padding: 0 2px; + -webkit-box-ordinal-group: 2; + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; + min-width: 44px; +} + +.bar-button-menutoggle-md ion-icon { + padding: 0 6px; + font-size: 2.4rem; +} + +.bar-button-menutoggle-md[end], +.bar-button-menutoggle-md[right] { + margin: 0 2px; + -webkit-box-ordinal-group: 8; + -webkit-order: 7; + -ms-flex-order: 7; + order: 7; + min-width: 28px; +} + +.bar-button-default-md, +.bar-button-clear-md-default, +.bar-button-md-default { + color: #424242; + background-color: transparent; +} + +.bar-button-default-md:hover:not(.disable-hover), +.bar-button-clear-md-default:hover:not(.disable-hover), +.bar-button-md-default:hover:not(.disable-hover) { + color: #424242; +} + +.bar-button-clear-md, +.bar-button-clear-md-clear, +.bar-button-md-clear { + color: #424242; + background-color: transparent; +} + +.bar-button-clear-md:hover:not(.disable-hover), +.bar-button-clear-md-clear:hover:not(.disable-hover), +.bar-button-md-clear:hover:not(.disable-hover) { + color: #424242; +} + +.toolbar-md-primary .toolbar-background-md { + background: #673AB7; +} + +.toolbar-md-primary .bar-button-clear-md, +.toolbar-md-primary .bar-button-default-md, +.toolbar-md-primary .bar-button-outline-md, +.toolbar-md-primary .toolbar-title-md { + color: #fff; +} + +.toolbar-md-primary .bar-button-clear-md .button-effect, +.toolbar-md-primary .bar-button-default-md .button-effect, +.toolbar-md-primary .bar-button-outline-md .button-effect { + background-color: #fff; +} + +.toolbar-md-primary .bar-button-outline-md { + border-color: #fff; +} + +.toolbar-md-primary .bar-button-primary-md, +.toolbar-md-primary .bar-button-clear-md-primary, +.toolbar-md-primary .bar-button-md-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-primary-md:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-clear-md-primary:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-md-primary .bar-button-outline-md-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-primary.activated { + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-primary .button-effect { + background-color: #734abd; +} + +.toolbar-md-primary .bar-button-solid-md-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-md-primary .bar-button-solid-md-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-md-primary .bar-button-secondary-md, +.toolbar-md-primary .bar-button-clear-md-secondary, +.toolbar-md-primary .bar-button-md-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-secondary-md:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-clear-md-secondary:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-md-primary .bar-button-outline-md-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-secondary.activated { + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-secondary .button-effect { + background-color: #2ec95c; +} + +.toolbar-md-primary .bar-button-solid-md-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-md-primary .bar-button-solid-md-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-md-primary .bar-button-danger-md, +.toolbar-md-primary .bar-button-clear-md-danger, +.toolbar-md-primary .bar-button-md-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-danger-md:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-clear-md-danger:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-md-primary .bar-button-outline-md-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-danger.activated { + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-danger .button-effect { + background-color: #e13838; +} + +.toolbar-md-primary .bar-button-solid-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-md-primary .bar-button-solid-md-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-md-primary .bar-button-light-md, +.toolbar-md-primary .bar-button-clear-md-light, +.toolbar-md-primary .bar-button-md-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-light-md:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-clear-md-light:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-md-primary .bar-button-outline-md-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-light.activated { + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-light .button-effect { + background-color: #e0e0e0; +} + +.toolbar-md-primary .bar-button-solid-md-light { + color: #424242; + background-color: #f4f4f4; +} + +.toolbar-md-primary .bar-button-solid-md-light.activated { + color: #424242; + background-color: #e0e0e0; +} + +.toolbar-md-primary .bar-button-dark-md, +.toolbar-md-primary .bar-button-clear-md-dark, +.toolbar-md-primary .bar-button-md-dark { + color: #222; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-dark-md:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-clear-md-dark:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-md-primary .bar-button-outline-md-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-dark.activated { + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-dark .button-effect { + background-color: #343434; +} + +.toolbar-md-primary .bar-button-solid-md-dark { + color: #fff; + background-color: #222; +} + +.toolbar-md-primary .bar-button-solid-md-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-md-primary .bar-button-optblue-md, +.toolbar-md-primary .bar-button-clear-md-optblue, +.toolbar-md-primary .bar-button-md-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-optblue-md:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-clear-md-optblue:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-md-primary .bar-button-outline-md-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-optblue.activated { + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-optblue .button-effect { + background-color: #e21615; +} + +.toolbar-md-primary .bar-button-solid-md-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-md-primary .bar-button-solid-md-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-primary-md, +.bar-button-clear-md-primary, +.bar-button-md-primary { + color: #673AB7; + background-color: transparent; +} + +.bar-button-primary-md:hover:not(.disable-hover), +.bar-button-clear-md-primary:hover:not(.disable-hover), +.bar-button-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.bar-button-outline-md-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.bar-button-outline-md-primary.activated { + background-color: transparent; +} + +.bar-button-outline-md-primary .button-effect { + background-color: #734abd; +} + +.bar-button-solid-md-primary { + color: #fff; + background-color: #673AB7; +} + +.bar-button-solid-md-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-md-secondary .toolbar-background-md { + background: #32db64; +} + +.toolbar-md-secondary .bar-button-clear-md, +.toolbar-md-secondary .bar-button-default-md, +.toolbar-md-secondary .bar-button-outline-md, +.toolbar-md-secondary .toolbar-title-md { + color: #fff; +} + +.toolbar-md-secondary .bar-button-clear-md .button-effect, +.toolbar-md-secondary .bar-button-default-md .button-effect, +.toolbar-md-secondary .bar-button-outline-md .button-effect { + background-color: #fff; +} + +.toolbar-md-secondary .bar-button-outline-md { + border-color: #fff; +} + +.toolbar-md-secondary .bar-button-primary-md, +.toolbar-md-secondary .bar-button-clear-md-primary, +.toolbar-md-secondary .bar-button-md-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-primary-md:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-clear-md-primary:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-md-secondary .bar-button-outline-md-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-primary.activated { + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-primary .button-effect { + background-color: #734abd; +} + +.toolbar-md-secondary .bar-button-solid-md-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-md-secondary .bar-button-solid-md-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-md-secondary .bar-button-secondary-md, +.toolbar-md-secondary .bar-button-clear-md-secondary, +.toolbar-md-secondary .bar-button-md-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-secondary-md:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-clear-md-secondary:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-md-secondary .bar-button-outline-md-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-secondary.activated { + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-secondary .button-effect { + background-color: #2ec95c; +} + +.toolbar-md-secondary .bar-button-solid-md-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-md-secondary .bar-button-solid-md-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-md-secondary .bar-button-danger-md, +.toolbar-md-secondary .bar-button-clear-md-danger, +.toolbar-md-secondary .bar-button-md-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-danger-md:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-clear-md-danger:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-md-secondary .bar-button-outline-md-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-danger.activated { + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-danger .button-effect { + background-color: #e13838; +} + +.toolbar-md-secondary .bar-button-solid-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-md-secondary .bar-button-solid-md-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-md-secondary .bar-button-light-md, +.toolbar-md-secondary .bar-button-clear-md-light, +.toolbar-md-secondary .bar-button-md-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-light-md:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-clear-md-light:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-md-secondary .bar-button-outline-md-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-light.activated { + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-light .button-effect { + background-color: #e0e0e0; +} + +.toolbar-md-secondary .bar-button-solid-md-light { + color: #424242; + background-color: #f4f4f4; +} + +.toolbar-md-secondary .bar-button-solid-md-light.activated { + color: #424242; + background-color: #e0e0e0; +} + +.toolbar-md-secondary .bar-button-dark-md, +.toolbar-md-secondary .bar-button-clear-md-dark, +.toolbar-md-secondary .bar-button-md-dark { + color: #222; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-dark-md:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-clear-md-dark:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-md-secondary .bar-button-outline-md-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-dark.activated { + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-dark .button-effect { + background-color: #343434; +} + +.toolbar-md-secondary .bar-button-solid-md-dark { + color: #fff; + background-color: #222; +} + +.toolbar-md-secondary .bar-button-solid-md-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-md-secondary .bar-button-optblue-md, +.toolbar-md-secondary .bar-button-clear-md-optblue, +.toolbar-md-secondary .bar-button-md-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-optblue-md:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-clear-md-optblue:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-md-secondary .bar-button-outline-md-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-optblue.activated { + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-optblue .button-effect { + background-color: #e21615; +} + +.toolbar-md-secondary .bar-button-solid-md-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-md-secondary .bar-button-solid-md-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-secondary-md, +.bar-button-clear-md-secondary, +.bar-button-md-secondary { + color: #32db64; + background-color: transparent; +} + +.bar-button-secondary-md:hover:not(.disable-hover), +.bar-button-clear-md-secondary:hover:not(.disable-hover), +.bar-button-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.bar-button-outline-md-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.bar-button-outline-md-secondary.activated { + background-color: transparent; +} + +.bar-button-outline-md-secondary .button-effect { + background-color: #2ec95c; +} + +.bar-button-solid-md-secondary { + color: #fff; + background-color: #32db64; +} + +.bar-button-solid-md-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-md-danger .toolbar-background-md { + background: #f53d3d; +} + +.toolbar-md-danger .bar-button-clear-md, +.toolbar-md-danger .bar-button-default-md, +.toolbar-md-danger .bar-button-outline-md, +.toolbar-md-danger .toolbar-title-md { + color: #fff; +} + +.toolbar-md-danger .bar-button-clear-md .button-effect, +.toolbar-md-danger .bar-button-default-md .button-effect, +.toolbar-md-danger .bar-button-outline-md .button-effect { + background-color: #fff; +} + +.toolbar-md-danger .bar-button-outline-md { + border-color: #fff; +} + +.toolbar-md-danger .bar-button-primary-md, +.toolbar-md-danger .bar-button-clear-md-primary, +.toolbar-md-danger .bar-button-md-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-primary-md:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-clear-md-primary:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-md-danger .bar-button-outline-md-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-primary.activated { + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-primary .button-effect { + background-color: #734abd; +} + +.toolbar-md-danger .bar-button-solid-md-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-md-danger .bar-button-solid-md-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-md-danger .bar-button-secondary-md, +.toolbar-md-danger .bar-button-clear-md-secondary, +.toolbar-md-danger .bar-button-md-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-secondary-md:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-clear-md-secondary:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-md-danger .bar-button-outline-md-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-secondary.activated { + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-secondary .button-effect { + background-color: #2ec95c; +} + +.toolbar-md-danger .bar-button-solid-md-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-md-danger .bar-button-solid-md-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-md-danger .bar-button-danger-md, +.toolbar-md-danger .bar-button-clear-md-danger, +.toolbar-md-danger .bar-button-md-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-danger-md:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-clear-md-danger:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-md-danger .bar-button-outline-md-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-danger.activated { + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-danger .button-effect { + background-color: #e13838; +} + +.toolbar-md-danger .bar-button-solid-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-md-danger .bar-button-solid-md-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-md-danger .bar-button-light-md, +.toolbar-md-danger .bar-button-clear-md-light, +.toolbar-md-danger .bar-button-md-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-light-md:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-clear-md-light:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-md-danger .bar-button-outline-md-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-light.activated { + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-light .button-effect { + background-color: #e0e0e0; +} + +.toolbar-md-danger .bar-button-solid-md-light { + color: #424242; + background-color: #f4f4f4; +} + +.toolbar-md-danger .bar-button-solid-md-light.activated { + color: #424242; + background-color: #e0e0e0; +} + +.toolbar-md-danger .bar-button-dark-md, +.toolbar-md-danger .bar-button-clear-md-dark, +.toolbar-md-danger .bar-button-md-dark { + color: #222; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-dark-md:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-clear-md-dark:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-md-danger .bar-button-outline-md-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-dark.activated { + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-dark .button-effect { + background-color: #343434; +} + +.toolbar-md-danger .bar-button-solid-md-dark { + color: #fff; + background-color: #222; +} + +.toolbar-md-danger .bar-button-solid-md-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-md-danger .bar-button-optblue-md, +.toolbar-md-danger .bar-button-clear-md-optblue, +.toolbar-md-danger .bar-button-md-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-optblue-md:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-clear-md-optblue:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-md-danger .bar-button-outline-md-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-optblue.activated { + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-optblue .button-effect { + background-color: #e21615; +} + +.toolbar-md-danger .bar-button-solid-md-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-md-danger .bar-button-solid-md-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-danger-md, +.bar-button-clear-md-danger, +.bar-button-md-danger { + color: #f53d3d; + background-color: transparent; +} + +.bar-button-danger-md:hover:not(.disable-hover), +.bar-button-clear-md-danger:hover:not(.disable-hover), +.bar-button-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.bar-button-outline-md-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.bar-button-outline-md-danger.activated { + background-color: transparent; +} + +.bar-button-outline-md-danger .button-effect { + background-color: #e13838; +} + +.bar-button-solid-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.bar-button-solid-md-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-md-light .toolbar-background-md { + background: #f4f4f4; +} + +.toolbar-md-light .bar-button-clear-md, +.toolbar-md-light .bar-button-default-md, +.toolbar-md-light .bar-button-outline-md, +.toolbar-md-light .toolbar-title-md { + color: #424242; +} + +.toolbar-md-light .bar-button-clear-md .button-effect, +.toolbar-md-light .bar-button-default-md .button-effect, +.toolbar-md-light .bar-button-outline-md .button-effect { + background-color: #424242; +} + +.toolbar-md-light .bar-button-outline-md { + border-color: #424242; +} + +.toolbar-md-light .bar-button-primary-md, +.toolbar-md-light .bar-button-clear-md-primary, +.toolbar-md-light .bar-button-md-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-md-light .bar-button-primary-md:hover:not(.disable-hover), +.toolbar-md-light .bar-button-clear-md-primary:hover:not(.disable-hover), +.toolbar-md-light .bar-button-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-md-light .bar-button-outline-md-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-primary.activated { + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-primary .button-effect { + background-color: #734abd; +} + +.toolbar-md-light .bar-button-solid-md-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-md-light .bar-button-solid-md-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-md-light .bar-button-secondary-md, +.toolbar-md-light .bar-button-clear-md-secondary, +.toolbar-md-light .bar-button-md-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-md-light .bar-button-secondary-md:hover:not(.disable-hover), +.toolbar-md-light .bar-button-clear-md-secondary:hover:not(.disable-hover), +.toolbar-md-light .bar-button-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-md-light .bar-button-outline-md-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-secondary.activated { + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-secondary .button-effect { + background-color: #2ec95c; +} + +.toolbar-md-light .bar-button-solid-md-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-md-light .bar-button-solid-md-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-md-light .bar-button-danger-md, +.toolbar-md-light .bar-button-clear-md-danger, +.toolbar-md-light .bar-button-md-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-md-light .bar-button-danger-md:hover:not(.disable-hover), +.toolbar-md-light .bar-button-clear-md-danger:hover:not(.disable-hover), +.toolbar-md-light .bar-button-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-md-light .bar-button-outline-md-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-danger.activated { + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-danger .button-effect { + background-color: #e13838; +} + +.toolbar-md-light .bar-button-solid-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-md-light .bar-button-solid-md-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-md-light .bar-button-light-md, +.toolbar-md-light .bar-button-clear-md-light, +.toolbar-md-light .bar-button-md-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-md-light .bar-button-light-md:hover:not(.disable-hover), +.toolbar-md-light .bar-button-clear-md-light:hover:not(.disable-hover), +.toolbar-md-light .bar-button-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-md-light .bar-button-outline-md-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-light.activated { + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-light .button-effect { + background-color: #e0e0e0; +} + +.toolbar-md-light .bar-button-solid-md-light { + color: #424242; + background-color: #f4f4f4; +} + +.toolbar-md-light .bar-button-solid-md-light.activated { + color: #424242; + background-color: #e0e0e0; +} + +.toolbar-md-light .bar-button-dark-md, +.toolbar-md-light .bar-button-clear-md-dark, +.toolbar-md-light .bar-button-md-dark { + color: #222; + background-color: transparent; +} + +.toolbar-md-light .bar-button-dark-md:hover:not(.disable-hover), +.toolbar-md-light .bar-button-clear-md-dark:hover:not(.disable-hover), +.toolbar-md-light .bar-button-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-md-light .bar-button-outline-md-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-dark.activated { + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-dark .button-effect { + background-color: #343434; +} + +.toolbar-md-light .bar-button-solid-md-dark { + color: #fff; + background-color: #222; +} + +.toolbar-md-light .bar-button-solid-md-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-md-light .bar-button-optblue-md, +.toolbar-md-light .bar-button-clear-md-optblue, +.toolbar-md-light .bar-button-md-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-md-light .bar-button-optblue-md:hover:not(.disable-hover), +.toolbar-md-light .bar-button-clear-md-optblue:hover:not(.disable-hover), +.toolbar-md-light .bar-button-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-md-light .bar-button-outline-md-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-optblue.activated { + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-optblue .button-effect { + background-color: #e21615; +} + +.toolbar-md-light .bar-button-solid-md-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-md-light .bar-button-solid-md-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-light-md, +.bar-button-clear-md-light, +.bar-button-md-light { + color: #f4f4f4; + background-color: transparent; +} + +.bar-button-light-md:hover:not(.disable-hover), +.bar-button-clear-md-light:hover:not(.disable-hover), +.bar-button-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.bar-button-outline-md-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.bar-button-outline-md-light.activated { + background-color: transparent; +} + +.bar-button-outline-md-light .button-effect { + background-color: #e0e0e0; +} + +.bar-button-solid-md-light { + color: #424242; + background-color: #f4f4f4; +} + +.bar-button-solid-md-light.activated { + color: #424242; + background-color: #e0e0e0; +} + +.toolbar-md-dark .toolbar-background-md { + background: #222; +} + +.toolbar-md-dark .bar-button-clear-md, +.toolbar-md-dark .bar-button-default-md, +.toolbar-md-dark .bar-button-outline-md, +.toolbar-md-dark .toolbar-title-md { + color: #fff; +} + +.toolbar-md-dark .bar-button-clear-md .button-effect, +.toolbar-md-dark .bar-button-default-md .button-effect, +.toolbar-md-dark .bar-button-outline-md .button-effect { + background-color: #fff; +} + +.toolbar-md-dark .bar-button-outline-md { + border-color: #fff; +} + +.toolbar-md-dark .bar-button-primary-md, +.toolbar-md-dark .bar-button-clear-md-primary, +.toolbar-md-dark .bar-button-md-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-primary-md:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-clear-md-primary:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-md-dark .bar-button-outline-md-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-primary.activated { + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-primary .button-effect { + background-color: #734abd; +} + +.toolbar-md-dark .bar-button-solid-md-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-md-dark .bar-button-solid-md-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-md-dark .bar-button-secondary-md, +.toolbar-md-dark .bar-button-clear-md-secondary, +.toolbar-md-dark .bar-button-md-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-secondary-md:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-clear-md-secondary:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-md-dark .bar-button-outline-md-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-secondary.activated { + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-secondary .button-effect { + background-color: #2ec95c; +} + +.toolbar-md-dark .bar-button-solid-md-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-md-dark .bar-button-solid-md-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-md-dark .bar-button-danger-md, +.toolbar-md-dark .bar-button-clear-md-danger, +.toolbar-md-dark .bar-button-md-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-danger-md:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-clear-md-danger:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-md-dark .bar-button-outline-md-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-danger.activated { + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-danger .button-effect { + background-color: #e13838; +} + +.toolbar-md-dark .bar-button-solid-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-md-dark .bar-button-solid-md-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-md-dark .bar-button-light-md, +.toolbar-md-dark .bar-button-clear-md-light, +.toolbar-md-dark .bar-button-md-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-light-md:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-clear-md-light:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-md-dark .bar-button-outline-md-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-light.activated { + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-light .button-effect { + background-color: #e0e0e0; +} + +.toolbar-md-dark .bar-button-solid-md-light { + color: #424242; + background-color: #f4f4f4; +} + +.toolbar-md-dark .bar-button-solid-md-light.activated { + color: #424242; + background-color: #e0e0e0; +} + +.toolbar-md-dark .bar-button-dark-md, +.toolbar-md-dark .bar-button-clear-md-dark, +.toolbar-md-dark .bar-button-md-dark { + color: #222; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-dark-md:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-clear-md-dark:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-md-dark .bar-button-outline-md-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-dark.activated { + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-dark .button-effect { + background-color: #343434; +} + +.toolbar-md-dark .bar-button-solid-md-dark { + color: #fff; + background-color: #222; +} + +.toolbar-md-dark .bar-button-solid-md-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-md-dark .bar-button-optblue-md, +.toolbar-md-dark .bar-button-clear-md-optblue, +.toolbar-md-dark .bar-button-md-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-optblue-md:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-clear-md-optblue:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-md-dark .bar-button-outline-md-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-optblue.activated { + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-optblue .button-effect { + background-color: #e21615; +} + +.toolbar-md-dark .bar-button-solid-md-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-md-dark .bar-button-solid-md-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-dark-md, +.bar-button-clear-md-dark, +.bar-button-md-dark { + color: #222; + background-color: transparent; +} + +.bar-button-dark-md:hover:not(.disable-hover), +.bar-button-clear-md-dark:hover:not(.disable-hover), +.bar-button-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.bar-button-outline-md-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.bar-button-outline-md-dark.activated { + background-color: transparent; +} + +.bar-button-outline-md-dark .button-effect { + background-color: #343434; +} + +.bar-button-solid-md-dark { + color: #fff; + background-color: #222; +} + +.bar-button-solid-md-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-md-optblue .toolbar-background-md { + background: #E00201; +} + +.toolbar-md-optblue .bar-button-clear-md, +.toolbar-md-optblue .bar-button-default-md, +.toolbar-md-optblue .bar-button-outline-md, +.toolbar-md-optblue .toolbar-title-md { + color: #fff; +} + +.toolbar-md-optblue .bar-button-clear-md .button-effect, +.toolbar-md-optblue .bar-button-default-md .button-effect, +.toolbar-md-optblue .bar-button-outline-md .button-effect { + background-color: #fff; +} + +.toolbar-md-optblue .bar-button-outline-md { + border-color: #fff; +} + +.toolbar-md-optblue .bar-button-primary-md, +.toolbar-md-optblue .bar-button-clear-md-primary, +.toolbar-md-optblue .bar-button-md-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-primary-md:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-clear-md-primary:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-md-optblue .bar-button-outline-md-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-primary.activated { + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-primary .button-effect { + background-color: #734abd; +} + +.toolbar-md-optblue .bar-button-solid-md-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-md-optblue .bar-button-solid-md-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-md-optblue .bar-button-secondary-md, +.toolbar-md-optblue .bar-button-clear-md-secondary, +.toolbar-md-optblue .bar-button-md-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-secondary-md:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-clear-md-secondary:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-md-optblue .bar-button-outline-md-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-secondary.activated { + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-secondary .button-effect { + background-color: #2ec95c; +} + +.toolbar-md-optblue .bar-button-solid-md-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-md-optblue .bar-button-solid-md-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-md-optblue .bar-button-danger-md, +.toolbar-md-optblue .bar-button-clear-md-danger, +.toolbar-md-optblue .bar-button-md-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-danger-md:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-clear-md-danger:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-md-optblue .bar-button-outline-md-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-danger.activated { + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-danger .button-effect { + background-color: #e13838; +} + +.toolbar-md-optblue .bar-button-solid-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-md-optblue .bar-button-solid-md-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-md-optblue .bar-button-light-md, +.toolbar-md-optblue .bar-button-clear-md-light, +.toolbar-md-optblue .bar-button-md-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-light-md:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-clear-md-light:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-md-optblue .bar-button-outline-md-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-light.activated { + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-light .button-effect { + background-color: #e0e0e0; +} + +.toolbar-md-optblue .bar-button-solid-md-light { + color: #424242; + background-color: #f4f4f4; +} + +.toolbar-md-optblue .bar-button-solid-md-light.activated { + color: #424242; + background-color: #e0e0e0; +} + +.toolbar-md-optblue .bar-button-dark-md, +.toolbar-md-optblue .bar-button-clear-md-dark, +.toolbar-md-optblue .bar-button-md-dark { + color: #222; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-dark-md:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-clear-md-dark:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-md-optblue .bar-button-outline-md-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-dark.activated { + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-dark .button-effect { + background-color: #343434; +} + +.toolbar-md-optblue .bar-button-solid-md-dark { + color: #fff; + background-color: #222; +} + +.toolbar-md-optblue .bar-button-solid-md-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-md-optblue .bar-button-optblue-md, +.toolbar-md-optblue .bar-button-clear-md-optblue, +.toolbar-md-optblue .bar-button-md-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-optblue-md:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-clear-md-optblue:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-md-optblue .bar-button-outline-md-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-optblue.activated { + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-optblue .button-effect { + background-color: #e21615; +} + +.toolbar-md-optblue .bar-button-solid-md-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-md-optblue .bar-button-solid-md-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-optblue-md, +.bar-button-clear-md-optblue, +.bar-button-md-optblue { + color: #E00201; + background-color: transparent; +} + +.bar-button-optblue-md:hover:not(.disable-hover), +.bar-button-clear-md-optblue:hover:not(.disable-hover), +.bar-button-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.bar-button-outline-md-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.bar-button-outline-md-optblue.activated { + background-color: transparent; +} + +.bar-button-outline-md-optblue .button-effect { + background-color: #e21615; +} + +.bar-button-solid-md-optblue { + color: #fff; + background-color: #E00201; +} + +.bar-button-solid-md-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-strong-md { + font-weight: bold; +} + +.toolbar-wp { + padding: 4px; + min-height: 46px; +} + +.toolbar-background-wp { + border-color: #b2b2b2; + background: #f8f8f8; +} + +.toolbar-content-wp { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-box-ordinal-group: 4; + -webkit-order: 3; + -ms-flex-order: 3; + order: 3; + min-width: 0; + max-width: 100%; +} + +.toolbar-title-wp { + font-size: 1.5rem; + font-weight: bold; + text-transform: uppercase; + color: #000; + padding: 0 6px; +} + +.bar-buttons-wp { + -webkit-box-ordinal-group: 5; + -webkit-order: 4; + -ms-flex-order: 4; + order: 4; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +.bar-buttons-wp[left] { + -webkit-box-ordinal-group: 3; + -webkit-order: 2; + -ms-flex-order: 2; + order: 2; +} + +.bar-buttons-wp[left] .bar-button:first-child { + margin-left: 0; +} + +.bar-buttons-wp[end] { + text-align: right; + text-align: end; + -webkit-box-ordinal-group: 6; + -webkit-order: 5; + -ms-flex-order: 5; + order: 5; +} + +.bar-buttons-wp[right] { + text-align: right; + -webkit-box-ordinal-group: 7; + -webkit-order: 6; + -ms-flex-order: 6; + order: 6; +} + +.bar-button-wp { + margin: 0 0.2rem; + padding: 0 5px; + border-radius: 2px; + height: 32px; + border: 0; + font-size: 1.4rem; + font-weight: 500; + text-transform: uppercase; +} + +.bar-button-solid-wp, +.bar-button-outline-wp { + overflow: hidden; +} + +.bar-button-outline-wp { + border-width: 1px; + border-style: solid; + border-color: #000; + color: #000; + background-color: transparent; +} + +.bar-button-outline-wp:hover:not(.disable-hover) { + opacity: .4; +} + +.bar-button-outline-wp.activated { + color: #fff; + background-color: #000; +} + +.bar-button-solid-wp { + color: #fff; + background-color: #000; +} + +.bar-button-solid-wp:hover:not(.disable-hover) { + color: #fff; +} + +.bar-button-solid-wp.activated { + color: #fff; + background-color: #141414; +} + +.bar-button-wp.bar-button-icon-start ion-icon { + padding-right: 0.3em; + font-size: 1.4em; + line-height: .67; + pointer-events: none; +} + +.bar-button-wp.bar-button-icon-end ion-icon { + padding-left: 0.4em; + font-size: 1.4em; + line-height: .67; + pointer-events: none; +} + +.bar-button-wp[icon-only] { + padding: 0; +} + +.bar-button-wp[icon-only] ion-icon { + padding: 0 0.1em; + min-width: 28px; + font-size: 1.8em; + line-height: .67; + pointer-events: none; +} + +.back-button-wp { + margin: 0 6px; + min-width: 44px; + -webkit-box-shadow: none; + box-shadow: none; +} + +.back-button-icon-wp { + text-align: left; + text-align: start; + margin: 0; + padding: 0 6px; + font-size: 2.4rem; + font-weight: normal; +} + +.bar-button-menutoggle-wp { + margin: 0 6px; + padding: 0 2px; + -webkit-box-ordinal-group: 2; + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; + min-width: 44px; +} + +.bar-button-menutoggle-wp ion-icon { + padding: 0 6px; + font-size: 2.4rem; +} + +.bar-button-menutoggle-wp[end], +.bar-button-menutoggle-wp[right] { + margin: 0 2px; + -webkit-box-ordinal-group: 8; + -webkit-order: 7; + -ms-flex-order: 7; + order: 7; + min-width: 28px; +} + +.bar-button-default-wp, +.bar-button-clear-wp-default, +.bar-button-wp-default { + color: #000; + background-color: transparent; +} + +.bar-button-default-wp:hover:not(.disable-hover), +.bar-button-clear-wp-default:hover:not(.disable-hover), +.bar-button-wp-default:hover:not(.disable-hover) { + color: #000; +} + +.bar-button-clear-wp, +.bar-button-clear-wp-clear, +.bar-button-wp-clear { + color: #000; + background-color: transparent; +} + +.bar-button-clear-wp:hover:not(.disable-hover), +.bar-button-clear-wp-clear:hover:not(.disable-hover), +.bar-button-wp-clear:hover:not(.disable-hover) { + color: #000; +} + +.toolbar-wp-primary .toolbar-background-wp { + background: #673AB7; +} + +.toolbar-wp-primary .bar-button-clear-wp, +.toolbar-wp-primary .bar-button-default-wp, +.toolbar-wp-primary .bar-button-outline-wp, +.toolbar-wp-primary .toolbar-title-wp { + color: #fff; +} + +.toolbar-wp-primary .bar-button-outline-wp { + border-color: #fff; +} + +.toolbar-wp-primary .bar-button-primary-wp, +.toolbar-wp-primary .bar-button-clear-wp-primary, +.toolbar-wp-primary .bar-button-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-primary-wp:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-clear-wp-primary:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-wp-primary .bar-button-outline-wp-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-outline-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-primary .bar-button-solid-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-wp-primary .bar-button-solid-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-primary .bar-button-secondary-wp, +.toolbar-wp-primary .bar-button-clear-wp-secondary, +.toolbar-wp-primary .bar-button-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-secondary-wp:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-clear-wp-secondary:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-wp-primary .bar-button-outline-wp-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-outline-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-primary .bar-button-solid-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-wp-primary .bar-button-solid-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-primary .bar-button-danger-wp, +.toolbar-wp-primary .bar-button-clear-wp-danger, +.toolbar-wp-primary .bar-button-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-danger-wp:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-clear-wp-danger:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-wp-primary .bar-button-outline-wp-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-outline-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-primary .bar-button-solid-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-wp-primary .bar-button-solid-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-primary .bar-button-light-wp, +.toolbar-wp-primary .bar-button-clear-wp-light, +.toolbar-wp-primary .bar-button-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-light-wp:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-clear-wp-light:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-wp-primary .bar-button-outline-wp-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-outline-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-primary .bar-button-solid-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-wp-primary .bar-button-solid-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-primary .bar-button-dark-wp, +.toolbar-wp-primary .bar-button-clear-wp-dark, +.toolbar-wp-primary .bar-button-wp-dark { + color: #222; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-dark-wp:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-clear-wp-dark:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-wp-primary .bar-button-outline-wp-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-outline-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-primary .bar-button-solid-wp-dark { + color: #fff; + background-color: #222; +} + +.toolbar-wp-primary .bar-button-solid-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-primary .bar-button-optblue-wp, +.toolbar-wp-primary .bar-button-clear-wp-optblue, +.toolbar-wp-primary .bar-button-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-optblue-wp:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-clear-wp-optblue:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-wp-primary .bar-button-outline-wp-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-outline-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-wp-primary .bar-button-solid-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-wp-primary .bar-button-solid-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-primary-wp, +.bar-button-clear-wp-primary, +.bar-button-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.bar-button-primary-wp:hover:not(.disable-hover), +.bar-button-clear-wp-primary:hover:not(.disable-hover), +.bar-button-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.bar-button-outline-wp-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.bar-button-outline-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.bar-button-solid-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.bar-button-solid-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-secondary .toolbar-background-wp { + background: #32db64; +} + +.toolbar-wp-secondary .bar-button-clear-wp, +.toolbar-wp-secondary .bar-button-default-wp, +.toolbar-wp-secondary .bar-button-outline-wp, +.toolbar-wp-secondary .toolbar-title-wp { + color: #fff; +} + +.toolbar-wp-secondary .bar-button-outline-wp { + border-color: #fff; +} + +.toolbar-wp-secondary .bar-button-primary-wp, +.toolbar-wp-secondary .bar-button-clear-wp-primary, +.toolbar-wp-secondary .bar-button-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-primary-wp:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-clear-wp-primary:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-wp-secondary .bar-button-outline-wp-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-outline-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-secondary .bar-button-solid-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-wp-secondary .bar-button-solid-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-secondary .bar-button-secondary-wp, +.toolbar-wp-secondary .bar-button-clear-wp-secondary, +.toolbar-wp-secondary .bar-button-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-secondary-wp:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-clear-wp-secondary:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-wp-secondary .bar-button-outline-wp-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-outline-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-secondary .bar-button-solid-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-wp-secondary .bar-button-solid-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-secondary .bar-button-danger-wp, +.toolbar-wp-secondary .bar-button-clear-wp-danger, +.toolbar-wp-secondary .bar-button-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-danger-wp:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-clear-wp-danger:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-wp-secondary .bar-button-outline-wp-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-outline-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-secondary .bar-button-solid-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-wp-secondary .bar-button-solid-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-secondary .bar-button-light-wp, +.toolbar-wp-secondary .bar-button-clear-wp-light, +.toolbar-wp-secondary .bar-button-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-light-wp:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-clear-wp-light:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-wp-secondary .bar-button-outline-wp-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-outline-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-secondary .bar-button-solid-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-wp-secondary .bar-button-solid-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-secondary .bar-button-dark-wp, +.toolbar-wp-secondary .bar-button-clear-wp-dark, +.toolbar-wp-secondary .bar-button-wp-dark { + color: #222; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-dark-wp:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-clear-wp-dark:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-wp-secondary .bar-button-outline-wp-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-outline-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-secondary .bar-button-solid-wp-dark { + color: #fff; + background-color: #222; +} + +.toolbar-wp-secondary .bar-button-solid-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-secondary .bar-button-optblue-wp, +.toolbar-wp-secondary .bar-button-clear-wp-optblue, +.toolbar-wp-secondary .bar-button-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-optblue-wp:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-clear-wp-optblue:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-wp-secondary .bar-button-outline-wp-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-outline-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-wp-secondary .bar-button-solid-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-wp-secondary .bar-button-solid-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-secondary-wp, +.bar-button-clear-wp-secondary, +.bar-button-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.bar-button-secondary-wp:hover:not(.disable-hover), +.bar-button-clear-wp-secondary:hover:not(.disable-hover), +.bar-button-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.bar-button-outline-wp-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.bar-button-outline-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.bar-button-solid-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.bar-button-solid-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-danger .toolbar-background-wp { + background: #f53d3d; +} + +.toolbar-wp-danger .bar-button-clear-wp, +.toolbar-wp-danger .bar-button-default-wp, +.toolbar-wp-danger .bar-button-outline-wp, +.toolbar-wp-danger .toolbar-title-wp { + color: #fff; +} + +.toolbar-wp-danger .bar-button-outline-wp { + border-color: #fff; +} + +.toolbar-wp-danger .bar-button-primary-wp, +.toolbar-wp-danger .bar-button-clear-wp-primary, +.toolbar-wp-danger .bar-button-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-primary-wp:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-clear-wp-primary:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-wp-danger .bar-button-outline-wp-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-outline-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-danger .bar-button-solid-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-wp-danger .bar-button-solid-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-danger .bar-button-secondary-wp, +.toolbar-wp-danger .bar-button-clear-wp-secondary, +.toolbar-wp-danger .bar-button-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-secondary-wp:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-clear-wp-secondary:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-wp-danger .bar-button-outline-wp-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-outline-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-danger .bar-button-solid-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-wp-danger .bar-button-solid-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-danger .bar-button-danger-wp, +.toolbar-wp-danger .bar-button-clear-wp-danger, +.toolbar-wp-danger .bar-button-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-danger-wp:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-clear-wp-danger:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-wp-danger .bar-button-outline-wp-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-outline-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-danger .bar-button-solid-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-wp-danger .bar-button-solid-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-danger .bar-button-light-wp, +.toolbar-wp-danger .bar-button-clear-wp-light, +.toolbar-wp-danger .bar-button-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-light-wp:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-clear-wp-light:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-wp-danger .bar-button-outline-wp-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-outline-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-danger .bar-button-solid-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-wp-danger .bar-button-solid-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-danger .bar-button-dark-wp, +.toolbar-wp-danger .bar-button-clear-wp-dark, +.toolbar-wp-danger .bar-button-wp-dark { + color: #222; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-dark-wp:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-clear-wp-dark:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-wp-danger .bar-button-outline-wp-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-outline-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-danger .bar-button-solid-wp-dark { + color: #fff; + background-color: #222; +} + +.toolbar-wp-danger .bar-button-solid-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-danger .bar-button-optblue-wp, +.toolbar-wp-danger .bar-button-clear-wp-optblue, +.toolbar-wp-danger .bar-button-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-optblue-wp:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-clear-wp-optblue:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-wp-danger .bar-button-outline-wp-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-outline-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-wp-danger .bar-button-solid-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-wp-danger .bar-button-solid-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-danger-wp, +.bar-button-clear-wp-danger, +.bar-button-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.bar-button-danger-wp:hover:not(.disable-hover), +.bar-button-clear-wp-danger:hover:not(.disable-hover), +.bar-button-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.bar-button-outline-wp-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.bar-button-outline-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.bar-button-solid-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.bar-button-solid-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-light .toolbar-background-wp { + background: #f4f4f4; +} + +.toolbar-wp-light .bar-button-clear-wp, +.toolbar-wp-light .bar-button-default-wp, +.toolbar-wp-light .bar-button-outline-wp, +.toolbar-wp-light .toolbar-title-wp { + color: #000; +} + +.toolbar-wp-light .bar-button-outline-wp { + border-color: #000; +} + +.toolbar-wp-light .bar-button-primary-wp, +.toolbar-wp-light .bar-button-clear-wp-primary, +.toolbar-wp-light .bar-button-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-primary-wp:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-clear-wp-primary:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-wp-light .bar-button-outline-wp-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-outline-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-light .bar-button-solid-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-wp-light .bar-button-solid-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-light .bar-button-secondary-wp, +.toolbar-wp-light .bar-button-clear-wp-secondary, +.toolbar-wp-light .bar-button-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-secondary-wp:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-clear-wp-secondary:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-wp-light .bar-button-outline-wp-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-outline-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-light .bar-button-solid-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-wp-light .bar-button-solid-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-light .bar-button-danger-wp, +.toolbar-wp-light .bar-button-clear-wp-danger, +.toolbar-wp-light .bar-button-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-danger-wp:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-clear-wp-danger:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-wp-light .bar-button-outline-wp-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-outline-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-light .bar-button-solid-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-wp-light .bar-button-solid-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-light .bar-button-light-wp, +.toolbar-wp-light .bar-button-clear-wp-light, +.toolbar-wp-light .bar-button-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-light-wp:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-clear-wp-light:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-wp-light .bar-button-outline-wp-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-outline-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-light .bar-button-solid-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-wp-light .bar-button-solid-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-light .bar-button-dark-wp, +.toolbar-wp-light .bar-button-clear-wp-dark, +.toolbar-wp-light .bar-button-wp-dark { + color: #222; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-dark-wp:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-clear-wp-dark:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-wp-light .bar-button-outline-wp-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-outline-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-light .bar-button-solid-wp-dark { + color: #fff; + background-color: #222; +} + +.toolbar-wp-light .bar-button-solid-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-light .bar-button-optblue-wp, +.toolbar-wp-light .bar-button-clear-wp-optblue, +.toolbar-wp-light .bar-button-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-optblue-wp:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-clear-wp-optblue:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-wp-light .bar-button-outline-wp-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-outline-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-wp-light .bar-button-solid-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-wp-light .bar-button-solid-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-light-wp, +.bar-button-clear-wp-light, +.bar-button-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.bar-button-light-wp:hover:not(.disable-hover), +.bar-button-clear-wp-light:hover:not(.disable-hover), +.bar-button-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.bar-button-outline-wp-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.bar-button-outline-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.bar-button-solid-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.bar-button-solid-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-dark .toolbar-background-wp { + background: #222; +} + +.toolbar-wp-dark .bar-button-clear-wp, +.toolbar-wp-dark .bar-button-default-wp, +.toolbar-wp-dark .bar-button-outline-wp, +.toolbar-wp-dark .toolbar-title-wp { + color: #fff; +} + +.toolbar-wp-dark .bar-button-outline-wp { + border-color: #fff; +} + +.toolbar-wp-dark .bar-button-primary-wp, +.toolbar-wp-dark .bar-button-clear-wp-primary, +.toolbar-wp-dark .bar-button-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-primary-wp:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-clear-wp-primary:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-wp-dark .bar-button-outline-wp-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-outline-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-dark .bar-button-solid-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-wp-dark .bar-button-solid-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-dark .bar-button-secondary-wp, +.toolbar-wp-dark .bar-button-clear-wp-secondary, +.toolbar-wp-dark .bar-button-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-secondary-wp:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-clear-wp-secondary:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-wp-dark .bar-button-outline-wp-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-outline-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-dark .bar-button-solid-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-wp-dark .bar-button-solid-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-dark .bar-button-danger-wp, +.toolbar-wp-dark .bar-button-clear-wp-danger, +.toolbar-wp-dark .bar-button-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-danger-wp:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-clear-wp-danger:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-wp-dark .bar-button-outline-wp-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-outline-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-dark .bar-button-solid-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-wp-dark .bar-button-solid-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-dark .bar-button-light-wp, +.toolbar-wp-dark .bar-button-clear-wp-light, +.toolbar-wp-dark .bar-button-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-light-wp:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-clear-wp-light:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-wp-dark .bar-button-outline-wp-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-outline-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-dark .bar-button-solid-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-wp-dark .bar-button-solid-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-dark .bar-button-dark-wp, +.toolbar-wp-dark .bar-button-clear-wp-dark, +.toolbar-wp-dark .bar-button-wp-dark { + color: #222; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-dark-wp:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-clear-wp-dark:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-wp-dark .bar-button-outline-wp-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-outline-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-dark .bar-button-solid-wp-dark { + color: #fff; + background-color: #222; +} + +.toolbar-wp-dark .bar-button-solid-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-dark .bar-button-optblue-wp, +.toolbar-wp-dark .bar-button-clear-wp-optblue, +.toolbar-wp-dark .bar-button-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-optblue-wp:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-clear-wp-optblue:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-wp-dark .bar-button-outline-wp-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-outline-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-wp-dark .bar-button-solid-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-wp-dark .bar-button-solid-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-dark-wp, +.bar-button-clear-wp-dark, +.bar-button-wp-dark { + color: #222; + background-color: transparent; +} + +.bar-button-dark-wp:hover:not(.disable-hover), +.bar-button-clear-wp-dark:hover:not(.disable-hover), +.bar-button-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.bar-button-outline-wp-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.bar-button-outline-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.bar-button-solid-wp-dark { + color: #fff; + background-color: #222; +} + +.bar-button-solid-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-optblue .toolbar-background-wp { + background: #E00201; +} + +.toolbar-wp-optblue .bar-button-clear-wp, +.toolbar-wp-optblue .bar-button-default-wp, +.toolbar-wp-optblue .bar-button-outline-wp, +.toolbar-wp-optblue .toolbar-title-wp { + color: #fff; +} + +.toolbar-wp-optblue .bar-button-outline-wp { + border-color: #fff; +} + +.toolbar-wp-optblue .bar-button-primary-wp, +.toolbar-wp-optblue .bar-button-clear-wp-primary, +.toolbar-wp-optblue .bar-button-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-primary-wp:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-clear-wp-primary:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-wp-optblue .bar-button-outline-wp-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-outline-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-optblue .bar-button-solid-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-wp-optblue .bar-button-solid-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-optblue .bar-button-secondary-wp, +.toolbar-wp-optblue .bar-button-clear-wp-secondary, +.toolbar-wp-optblue .bar-button-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-secondary-wp:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-clear-wp-secondary:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-wp-optblue .bar-button-outline-wp-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-outline-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-optblue .bar-button-solid-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-wp-optblue .bar-button-solid-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-optblue .bar-button-danger-wp, +.toolbar-wp-optblue .bar-button-clear-wp-danger, +.toolbar-wp-optblue .bar-button-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-danger-wp:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-clear-wp-danger:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-wp-optblue .bar-button-outline-wp-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-outline-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-optblue .bar-button-solid-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-wp-optblue .bar-button-solid-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-optblue .bar-button-light-wp, +.toolbar-wp-optblue .bar-button-clear-wp-light, +.toolbar-wp-optblue .bar-button-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-light-wp:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-clear-wp-light:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-wp-optblue .bar-button-outline-wp-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-outline-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-optblue .bar-button-solid-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-wp-optblue .bar-button-solid-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-optblue .bar-button-dark-wp, +.toolbar-wp-optblue .bar-button-clear-wp-dark, +.toolbar-wp-optblue .bar-button-wp-dark { + color: #222; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-dark-wp:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-clear-wp-dark:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-wp-optblue .bar-button-outline-wp-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-outline-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-optblue .bar-button-solid-wp-dark { + color: #fff; + background-color: #222; +} + +.toolbar-wp-optblue .bar-button-solid-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-optblue .bar-button-optblue-wp, +.toolbar-wp-optblue .bar-button-clear-wp-optblue, +.toolbar-wp-optblue .bar-button-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-optblue-wp:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-clear-wp-optblue:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-wp-optblue .bar-button-outline-wp-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-outline-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-wp-optblue .bar-button-solid-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-wp-optblue .bar-button-solid-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-optblue-wp, +.bar-button-clear-wp-optblue, +.bar-button-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.bar-button-optblue-wp:hover:not(.disable-hover), +.bar-button-clear-wp-optblue:hover:not(.disable-hover), +.bar-button-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.bar-button-outline-wp-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.bar-button-outline-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-solid-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.bar-button-solid-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.bar-button-strong-wp { + font-weight: bold; +} + +.text-ios-primary { + color: #673AB7; +} + +.text-ios-secondary { + color: #32db64; +} + +.text-ios-danger { + color: #f53d3d; +} + +.text-ios-light { + color: #f4f4f4; +} + +.text-ios-dark { + color: #222; +} + +.text-ios-optblue { + color: #E00201; +} + +.text-md-primary { + color: #673AB7; +} + +.text-md-secondary { + color: #32db64; +} + +.text-md-danger { + color: #f53d3d; +} + +.text-md-light { + color: #f4f4f4; +} + +.text-md-dark { + color: #222; +} + +.text-md-optblue { + color: #E00201; +} + +.text-wp-primary { + color: #673AB7; +} + +.text-wp-secondary { + color: #32db64; +} + +.text-wp-danger { + color: #f53d3d; +} + +.text-wp-light { + color: #f4f4f4; +} + +.text-wp-dark { + color: #222; +} + +.text-wp-optblue { + color: #E00201; +} + +.virtual-loading { + opacity: 0; +} + +.virtual-scroll { + position: relative; + contain: content; +} + +.virtual-scroll .virtual-position, +.virtual-scroll .virtual-position.item { + left: 0; + top: 0; + position: absolute; + -webkit-transition-duration: 0ms; + transition-duration: 0ms; + contain: content; +} + +.virtual-scroll .virtual-last { + display: none; +} + +.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, +.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, +.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, +.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, +.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, +.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, +.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { + padding-top: calc(20px + 4px); + padding-top: calc(constant(safe-area-inset-top) + 4px); + padding-top: calc(env(safe-area-inset-top) + 4px); + min-height: calc(44px + 20px); + min-height: calc(44px + constant(safe-area-inset-top)); + min-height: calc(44px + env(safe-area-inset-top)); +} + +.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, +.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, +.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, +.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { + padding-top: 20px; + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); +} + +.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { + padding-top: calc(16px + 20px); + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); +} + +.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child ion-segment, +.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child ion-title, +.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, +.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title, +.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child ion-segment, +.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child ion-title, +.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, +.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title, +.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child ion-segment, +.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child ion-title, +.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child ion-segment, +.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child ion-title, +.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child ion-segment, +.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child ion-title { + padding-top: 20px; + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); + height: calc(44px + 20px); + height: calc(44px + constant(safe-area-inset-top)); + height: calc(44px + env(safe-area-inset-top)); + min-height: calc(44px + 20px); + min-height: calc(44px + constant(safe-area-inset-top)); + min-height: calc(44px + env(safe-area-inset-top)); +} + +@media only screen and (max-width: 767px) { + .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { + padding-top: calc(20px + 4px); + padding-top: calc(constant(safe-area-inset-top) + 4px); + padding-top: calc(env(safe-area-inset-top) + 4px); + min-height: calc(44px + 20px); + min-height: calc(44px + constant(safe-area-inset-top)); + min-height: calc(44px + env(safe-area-inset-top)); + } + .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { + padding-top: 20px; + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); + } + .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, + .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { + padding-top: calc(16px + 20px); + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); + } + .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, + .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title { + padding-top: 20px; + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); + height: calc(44px + 20px); + height: calc(44px + constant(safe-area-inset-top)); + height: calc(44px + env(safe-area-inset-top)); + min-height: calc(44px + 20px); + min-height: calc(44px + constant(safe-area-inset-top)); + min-height: calc(44px + env(safe-area-inset-top)); + } +} + +.ios .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); +} + +.ios ion-footer .toolbar:last-child { + padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); + padding-bottom: calc(env(safe-area-inset-bottom) + 4px); + min-height: calc(44px + constant(safe-area-inset-bottom)); + min-height: calc(44px + env(safe-area-inset-bottom)); +} + +.md ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, +.md ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, +.md ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, +.md ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, +.md ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, +.md ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, +.md ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { + padding-top: calc(20px + 4px); + padding-top: calc(constant(safe-area-inset-top) + 4px); + padding-top: calc(env(safe-area-inset-top) + 4px); + min-height: calc(56px + 20px); + min-height: calc(56px + constant(safe-area-inset-top)); + min-height: calc(56px + env(safe-area-inset-top)); +} + +.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, +.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, +.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, +.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { + padding-top: 20px; + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); +} + +.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { + padding-top: calc(16px + 20px); + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); +} + +@media only screen and (max-width: 767px) { + .md .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { + padding-top: calc(20px + 4px); + padding-top: calc(constant(safe-area-inset-top) + 4px); + padding-top: calc(env(safe-area-inset-top) + 4px); + min-height: calc(56px + 20px); + min-height: calc(56px + constant(safe-area-inset-top)); + min-height: calc(56px + env(safe-area-inset-top)); + } + .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { + padding-top: 20px; + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); + } + .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, + .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { + padding-top: calc(16px + 20px); + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); + } +} + +.md .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); +} + +.md ion-footer .toolbar:last-child { + padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); + padding-bottom: calc(env(safe-area-inset-bottom) + 4px); + min-height: calc(56px + constant(safe-area-inset-bottom)); + min-height: calc(56px + env(safe-area-inset-bottom)); +} + +.wp ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, +.wp ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, +.wp ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, +.wp ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, +.wp ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, +.wp ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, +.wp ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { + padding-top: calc(20px + 4px); + padding-top: calc(constant(safe-area-inset-top) + 4px); + padding-top: calc(env(safe-area-inset-top) + 4px); + min-height: calc(46px + 20px); + min-height: calc(46px + constant(safe-area-inset-top)); + min-height: calc(46px + env(safe-area-inset-top)); +} + +.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, +.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, +.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, +.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, +.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { + padding-top: 20px; + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); +} + +.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, +.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, +.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { + padding-top: calc(16px + 20px); + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); +} + +@media only screen and (max-width: 767px) { + .wp .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { + padding-top: calc(20px + 4px); + padding-top: calc(constant(safe-area-inset-top) + 4px); + padding-top: calc(env(safe-area-inset-top) + 4px); + min-height: calc(46px + 20px); + min-height: calc(46px + constant(safe-area-inset-top)); + min-height: calc(46px + env(safe-area-inset-top)); + } + .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { + padding-top: 20px; + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); + } + .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, + .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { + padding-top: calc(16px + 20px); + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); + } +} + +.wp .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); +} + +.wp ion-footer .toolbar:last-child { + padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); + padding-bottom: calc(env(safe-area-inset-bottom) + 4px); + min-height: calc(46px + constant(safe-area-inset-bottom)); + min-height: calc(46px + env(safe-area-inset-bottom)); +} + +image-viewer.ion-page { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + height: 100%; + opacity: 1; +} + +image-viewer.ion-page ion-navbar.toolbar .toolbar-background { + background-color: transparent; +} + +image-viewer.ion-page ion-navbar.toolbar.toolbar-ios { + padding-top: calc(20px + 4px); +} + +image-viewer.ion-page ion-navbar .bar-button-default { + color: white; +} + +image-viewer.ion-page .backdrop { + will-change: opacity; +} + +image-viewer.ion-page .image-wrapper { + position: relative; + z-index: 10; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-top: 56px; + -webkit-box-flex: 1; + -webkit-flex-grow: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +image-viewer.ion-page .image { + will-change: transform; +} + +image-viewer.ion-page img { + display: block; + max-width: 100%; + max-height: 100%; + margin: 0 auto; +} + +@font-face { + font-family: Roboto; + src: url("../assets/fonts/Roboto-Light.ttf"); +} + +* { + font-family: Roboto; + font-size: 16px; +} + +.align-center { + text-align: center; +} + +.highlight { + background-color: #f4f4f4; +} + +.center { + display: block; + margin: 0 auto; +} + +.vertical-center { + position: absolute; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); +} + +.top-radius { + border-radius: 10% 10% 0 0; +} + +.bottom-radius { + border-radius: 0 0 10% 10%; +} + +.round { + border-radius: 50%; +} + +.transparent-header .toolbar-content, +.transparent-header .back-button { + color: white; +} + +.transparent-header .toolbar-background, +.transparent-header ion-navbar, +.transparent-header ion-header { + background: transparent !important; + background-color: transparent !important; +} + +.transparent-header .header-md::after, +.transparent-header .toolbar-background-ios { + background-image: none; + border-bottom: 0; +} + +.transparent-header .header-ios .toolbar-background-ios, +.transparent-header .footer-ios .toolbar-background-ios { + border: 0; +} + +#menu-right button { + padding-left: 16px; +} + +#menu-right ion-content { + background: #00d2ff; + /* fallback for old browsers */ + /* Chrome 10-25, Safari 5.1-6 */ + background: -webkit-gradient(linear, right top, left top, from(#3a7bd5), to(#00d2ff)); + background: linear-gradient(to left, #3a7bd5, #00d2ff); + /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ +} + +#menu-right .menu-inner { + width: 10vh; +} + +@media screen and (orientation: landscape) { + #menu-right .menu-inner { + width: 15vh; + } +} + +#menu-right .active-menu-item { + position: absolute; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + border-left: 6px solid #ffffff; +} + +#menu-right .label { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +#menu-right .list-md[no-lines] .item-block, +#menu-right .list-md[no-lines] ion-item-options, +#menu-right .list-md[no-lines] .item .item-inner, +#menu-right .list-ios[no-lines] .item-block, +#menu-right .list-ios[no-lines] ion-item-options, +#menu-right .list-ios[no-lines] .item .item-inner { + padding: .3rem 0; + background: transparent; + color: white; +} + +#menu-right ion-icon { + line-height: 1; +} + +.icon-badge { + top: 0px; + right: 0px; + background: #E00201; + color: white; + font-size: 12px; + position: absolute; + padding: 5px 8px; + border-radius: 15px; +} + +#menu-avatar .user-avatar { + max-width: 125px; + height: 125px; + padding: .5em; +} + +#menu-avatar h3, +#menu-avatar .label { + color: white; + font-weight: bold; + font-size: 14px; +} + +#menu-avatar .item { + background: transparent; +} + +#menu-avatar ion-content { + background: #649173; + /* fallback for old browsers */ + /* Chrome 10-25, Safari 5.1-6 */ + background: -webkit-gradient(linear, right top, left top, from(#DBD5A4), to(#649173)); + background: linear-gradient(to left, #DBD5A4, #649173); + /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ +} + +#menu-avatar .menu-inner { + background: rgba(255, 255, 255, 0.3); +} + +#menu-material .scroll-content .name { + font-weight: 500; + margin-top: 0px; + margin-left: 0px; + font-size: 24px; +} + +#menu-material .scroll-content .e-mail { + margin-top: 0; + margin-bottom: 5px; +} + +#menu-material .user-avatar { + max-width: 125px; + height: 125px; + padding: .5em; + height: 12vh; +} + +#menu-material h3, +#menu-material .label { + color: #111; + font-weight: 500; +} + +#menu-material .menu-inner { + -webkit-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12) !important; + box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12) !important; +} + +#menu-material .menu-header { + background-image: url("../assets/img/misc/sidemenubg.jpg"); + background-size: cover; + color: white; + padding-bottom: 15px; +} + +#menu-material .item-md { + background-color: rgba(255, 255, 255, 0.28) !important; +} + +#menu-material ion-icon { + color: #111; +} + +#menu-dark .sidemenuHeader ion-toolbar .toolbar-background { + background: #19152C; + border: #19152C; +} + +#menu-dark .sidemenuHeader ion-toolbar ion-buttons button { + color: #fff; +} + +#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item { + background: transparent; + color: #fff; +} + +#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar { + background: #fff; + color: #8835C3; + border-radius: 50%; + text-align: center; +} + +#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar h2 { + margin: 0; + font-size: 25px; + line-height: 40px; + color: #19152C; +} + +#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item h2 { + font-size: 12px; + font-weight: normal; +} + +#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item p { + font-size: 11px; + font-weight: normal; + color: #fff; +} + +#menu-dark .menu { + background: #19152C; +} + +#menu-dark .menu ion-list button { + background: transparent; + color: #C9C7D3; + font-size: 13px; +} + +#menu-dark .menu ion-list button .item-inner { + border-bottom: 1px solid #474456 !important; +} + +#menu-dark .menu ion-list button .item-inner img { + width: 30px; + height: 30px; + vertical-align: middle; + margin-right: 10px; + margin-bottom: 5px; +} + +page-auth .scroll-content { + background-color: #eee; +} + +page-auth .mat-card { + width: 80%; + margin-left: 10%; + margin-top: 35%; + border-radius: 10px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-auth h4 { + font-weight: normal; +} + +page-auth button.mat-primary { + background-color: #E00201 !important; +} + +page-auth .mat-raised-button { + border-radius: 30px; + padding: 19px 45px; + line-height: 0px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-auth .rounded-circle { + border-radius: 50% !important; +} + +page-auth .img-fluid { + max-width: 40%; + height: auto; + margin-top: -70px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); +} + +page-auth ion-icon { + font-size: 2.2em; +} + +page-googleplaytab .SwipedTabs-indicatorSegment { + -webkit-transition: 0.2s all; + transition: 0.2s all; + -webkit-transform-origin: top 0 left 0; + transform-origin: top 0 left 0; + height: 1px; + position: relative; + top: -2px; + background-color: blue !important; +} + +page-googleplaytab .SwipedTabs-tabs ion-segment-button { + border: none !important; + color: #111 !important; + background-color: white !important; + padding-left: 16px !important; + padding-right: 20px !important; +} + +page-googleplaytab .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab { + color: blue !important; +} + +page-googleplaytab .SwipedTabs-tabs { + width: -webkit-fit-content !important; + width: -moz-fit-content !important; + width: fit-content !important; +} + +page-googleplaytab .toolbar * { + margin: 0 !important; +} + +page-googleplaytab .tabsContent .scroll-content { + overflow-x: scroll !important; +} + +page-googleplaytab .tabsContent { + height: 50px !important; +} + +page-googleplaytab .segment-button { + max-width: initial !important; + -webkit-box-flex: 1 !important; + -webkit-flex: auto !important; + -ms-flex: auto !important; + flex: auto !important; + width: initial !important; +} + +page-googleplaytab .segment-md .segment-button { + font-size: 2.0rem; +} + +page-googleplaytab .scroll-content { + background-color: #eee !important; +} + +page-googleplaytab .grid { + padding: 0px; +} + +page-googleplaytab h1 { + margin: 2px 0; + font-size: 2.2rem !important; +} + +page-googleplaytab .scroll-content { + background-color: #eee !important; + padding: 0px !important; +} + +page-googleplaytab .mat-card { + -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(156, 39, 176, 0.6) !important; + box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(156, 39, 176, 0.6) !important; + margin-bottom: 3px; +} + +page-googleplaytab h2 { + font-size: 2.0rem; + font-weight: normal; +} + +page-input .example-form { + min-width: 150px; + max-width: 500px; + width: 100%; +} + +page-input .example-full-width { + width: 100%; +} + +page-input .cusicon { + padding-top: 36px; + font-size: 23px; + color: #3272b2; +} + +page-input mat-grid-tile { + background: white !important; +} + +page-input .fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 15s; + animation-duration: 15s; + -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); + transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); +} + +@font-face { + page-input { + font-family: Roboto; + src: url("../../assets/fonts/Roboto-Bold.ttf") !important; + } +} + +page-input h1 { + margin: 2px 0; + font-size: 1.6rem; + font-weight: bold !important; + color: #3272b2; +} + +page-input .box { + -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; + box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; +} + +page-input .scroll-content { + background-color: #eee !important; +} + +page-input .mat-card { + padding: 7px 16px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-input * { + font-size: 14px; +} + +page-input .mat-card-title { + margin-bottom: 0px; +} + +page-input .button-md-primary { + background-color: #E00201 !important; + margin-bottom: 0px !important; + height: 50px; +} + +page-input .mat-raised-button { + border-radius: 30px; + padding: 19px 45px; + line-height: 0px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-input .fab-md-optblue { + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-input ion-footer { + position: absolute; +} + +page-input .cardinfo { + font-size: 19px !important; + padding-bottom: 30px !important; +} + +page-input .schdul { + border: 2px solid black; + border-radius: 5px; +} + +page-input .input-cover { + position: static; +} + +page-input .leaveDays { + color: red; +} + +page-bounced-reject .scroll-content { + background-color: #eee !important; +} + +page-bounced-reject .mat-card { + padding: 7px 16px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + border-radius: 10px; +} + +page-login .scroll-content { + background-image: url("../assets/img/misc/login.jpg"); + background-size: cover; +} + +page-login .form { + margin: 22px; + font: inherit; + color: inherit; +} + +page-login .mat-card { + margin-top: 50%; + background-color: rgba(255, 255, 255, 0.57); + border-radius: 10px; +} + +page-login .login-session { + margin-top: 50%; +} + +page-login img { + height: 70px !important; +} + +page-login * { + font-size: 25px !important; +} + +page-login button.mat-primary { + background-color: #E00201 !important; +} + +page-login .mat-raised-button { + border-radius: 30px; + padding: 19px 45px; + line-height: 0px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-otp .scroll-content { + background-color: #eee; +} + +page-otp .mat-card { + width: 80%; + margin-left: 10%; + margin-top: 35%; + border-radius: 10px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-otp h4 { + font-weight: normal; +} + +page-otp button.mat-primary { + background-color: #E00201 !important; +} + +page-otp .mat-raised-button { + border-radius: 30px; + padding: 19px 45px; + line-height: 0px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-otp .rounded-circle { + border-radius: 50% !important; + background-image: url("../assets/img/misc/avatar.jpg"); +} + +page-otp .img-fluid { + max-width: 40%; + height: auto; + margin-top: -70px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); +} + +page-otp ion-icon { + font-size: 2.2em; +} + +page-password .scroll-content { + background-color: #eee; +} + +page-password .mat-card { + width: 80%; + margin-left: 10%; + margin-top: 35%; + border-radius: 10px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-password h4 { + font-weight: normal; +} + +page-password button.mat-primary { + background-color: #dd4437 !important; +} + +page-password .mat-raised-button { + border-radius: 30px; + padding: 19px 45px; + line-height: 0px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-password .rounded-circle { + border-radius: 50% !important; + background-image: url("../assets/img/misc/avatar.jpg"); +} + +page-password .img-fluid { + max-width: 40%; + height: auto; + margin-top: -70px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); +} + +page-password ion-icon { + font-size: 2.2em; +} + +page-pd-allocation mat-grid-tile { + background: white !important; +} + +page-pd-allocation .fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 15s; + animation-duration: 15s; + -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); + transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); +} + +@font-face { + page-pd-allocation { + font-family: Roboto; + src: url("../../assets/fonts/Roboto-Bold.ttf") !important; + } +} + +page-pd-allocation .box { + -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; + box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; +} + +page-pd-allocation .scroll-content { + background-color: #eee !important; + padding: 0px !important; +} + +page-pd-allocation * { + font-size: 14px; +} + +page-pd-allocation .mat-card-title { + margin-bottom: 0px; +} + +page-pd-allocation .lettericon { + background-color: cadetblue; + padding: 10px 15px 10px 15px; + border-radius: 50%; + color: #fff; +} + +page-pd-allocation .mat-card-header-text { + margin: 0px; +} + +page-pd-allocation .mat-card-subtitle { + margin-bottom: 0px; +} + +page-pd-allocation .mat-card-content > :last-child:not(.mat-card-footer) { + margin-top: 0px; +} + +page-pd-allocation p { + margin-top: 0 !important; + margin-left: 5% !important; +} + +page-pd-allocation h2 { + margin: 1px !important; +} + +page-pd-allocation .mat-card { + border-radius: 10px; +} + +page-pd-list mat-grid-tile { + background: white !important; +} + +page-pd-list .grid { + padding: 0px; +} + +page-pd-list .scroll-content { + padding: 0px !important; +} + +page-pd-list .fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 15s; + animation-duration: 15s; + -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); + transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); +} + +@font-face { + page-pd-list { + font-family: Roboto; + src: url("../../assets/fonts/Roboto-Bold.ttf") !important; + } +} + +page-pd-list h1 { + margin: 2px 0; + font-size: 2.2rem !important; +} + +page-pd-list .scroll-content { + padding: 0px !important; +} + +page-pd-list .mat-card { + padding: 0px !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; +} + +page-pd-list * { + font-size: 10px; +} + +page-pd-list .mat-card-title { + margin-bottom: 0px; +} + +page-pd-list .list-md { + margin: 0px; +} + +page-pd-list .lettericon { + background-color: cadetblue; + padding: 10px 15px 10px 15px; + border-radius: 50%; + color: #fff; +} + +page-pd-list .label-md { + margin: 0px; +} + +page-pd-list .item-md h4 { + font-size: 1.7rem; +} + +page-pd-list .item-md ion-icon[item-start] + .item-inner { + margin-left: 0px; +} + +page-pd-list .mat-raised-button { + border-radius: 30px; + padding: 19px 45px; + line-height: 0px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-list .button-md-primary { + margin-bottom: 0px !important; + height: 50px; +} + +page-pd-list ion-fab[middle] { + top: 17% !important; +} + +page-pd-list .fab-md-optblue { + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-list ion-footer { + position: absolute; +} + +page-pd-list ion-slide.swiper-slide { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; +} + +page-pd-list ion-slides { + height: auto; +} + +page-pd-question .SwipedTabs-indicatorSegment { + -webkit-transition: 0.2s all; + transition: 0.2s all; + -webkit-transform-origin: top 0 left 0; + transform-origin: top 0 left 0; + height: 1px; + position: relative; + top: -2px; + background-color: blue !important; +} + +page-pd-question .SwipedTabs-tabs ion-segment-button { + border: none !important; + color: #111 !important; + background-color: white !important; + padding-left: 16px !important; + padding-right: 20px !important; +} + +page-pd-question .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab { + color: blue !important; +} + +page-pd-question .SwipedTabs-tabs { + width: -webkit-fit-content !important; + width: -moz-fit-content !important; + width: fit-content !important; +} + +page-pd-question .toolbar * { + margin: 0 !important; +} + +page-pd-question .tabsContent .scroll-content { + overflow-x: scroll !important; +} + +page-pd-question .tabsContent { + height: 50px !important; +} + +page-pd-question .segment-button { + max-width: initial !important; + -webkit-box-flex: 1 !important; + -webkit-flex: auto !important; + -ms-flex: auto !important; + flex: auto !important; + width: initial !important; +} + +page-pd-question .segment-md .segment-button { + font-size: 2.0rem; +} + +page-pd-question .scroll-content { + background-color: white !important; +} + +page-pd-question .mat-card1 { + margin-bottom: 5px; +} + +page-pd-question ion-scroll { + position: inherit !important; +} + +page-pd-question .button-md { + padding: 25px 0px 25px 0px !important; +} + +page-pd-question-category mat-grid-tile { + background: white !important; +} + +page-pd-question-category .fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 15s; + animation-duration: 15s; + -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); + transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); +} + +@font-face { + page-pd-question-category { + font-family: Roboto; + src: url("../../assets/fonts/Roboto-Bold.ttf") !important; + } +} + +page-pd-question-category mat-grid-tile { + background: white !important; +} + +page-pd-question-category .grid { + padding: 0px; +} + +page-pd-question-category h1 { + margin: 2px 0; + font-size: 2.2rem !important; +} + +page-pd-question-category .scroll-content { + background-color: #eee !important; + padding: 0px !important; +} + +page-pd-question-category .mat-card { + padding: 0px !important; + -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(0, 0, 0, 0.2); +} + +page-pd-question-category * { + font-size: 16px; +} + +page-pd-question-category .mat-card-title { + margin-bottom: 0px; +} + +page-pd-question-category .list-md { + margin: 0px; +} + +page-pd-question-category .lettericon { + background-color: cadetblue; + padding: 10px 15px 10px 15px; + border-radius: 50%; + color: #fff; +} + +page-pd-question-category .label-md { + margin: 0px; +} + +page-pd-question-category .item-md h4 { + font-size: 1.7rem; +} + +page-pd-question-category .item-md ion-icon[item-start] + .item-inner { + margin-left: 0px; +} + +page-pd-question-category .button-md-primary { + margin-bottom: 0px !important; + height: 50px; +} + +page-pd-question-address .scroll-content { + background-color: #eee; +} + +page-pd-question-address .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-address .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-assessed-daily-sales .input-cover { + position: static; +} + +page-pd-question-assessed-dash .mat-card { + border-radius: 10px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-assessed-dash .htag { + font-size: 1.5rem; + margin-top: 0px; +} + +page-pd-question-assessed-dash .ion-icon-custome { + font-size: 2.8em; + color: #e00201; +} + +page-pd-question-assessed-dash .item-ribbon { + background-color: #fff; + position: relative; + -webkit-filter: none; + filter: none; + opacity: 1; +} + +page-pd-question-assessed-dash .item-ribbon .ribbon { + position: absolute; + right: -5px; + top: -5px; + z-index: 2; + overflow: hidden; + width: 75px; + height: 75px; + text-align: right; +} + +page-pd-question-assessed-dash .item-ribbon .ribbon span { + font-size: 1rem; + font-weight: bold; + color: #fff; + text-transform: uppercase; + text-align: center; + line-height: 20px; + transform: rotate(45deg); + -webkit-transform: rotate(45deg); + width: 100px; + display: block; + background: #f53d3d; + position: absolute; + top: 19px; + right: -21px; +} + +page-pd-question-assessed-dash .item-ribbon .ribbon span::before { + content: ""; + position: absolute; + left: 0; + top: 100%; + z-index: -1; + border-left: 3px solid #f53d3d; + border-right: 3px solid transparent; + border-bottom: 3px solid transparent; + border-top: 3px solid #f53d3d; +} + +page-pd-question-assessed-dash .item-ribbon .ribbon span::after { + content: ""; + position: absolute; + right: 0; + top: 100%; + z-index: -1; + border-left: 3px solid transparent; + border-right: 3px solid #f53d3d; + border-bottom: 3px solid transparent; + border-top: 3px solid #f53d3d; +} + +page-pd-question-assessed-dash .ribbon.cruzeiro span { + color: white; + background: #20c127; +} + +page-pd-question-assessed-dash .ribbon.cruzeiro span::before { + border-left: 3px solid #20c127; + border-top: 3px solid #20c127; +} + +page-pd-question-assessed-dash .ribbon.cruzeiro span::after { + border-right: 3px solid #20c127; + border-top: 3px solid #20c127; +} + +page-pd-question-assessed-dash .ribbon.default span { + color: white; + background: #f53d3d; +} + +page-pd-question-assessed-dash .ribbon.default span::before { + border-left: 3px solid #f53d3d; + border-top: 3px solid #f53d3d; +} + +page-pd-question-assessed-dash .ribbon.default span::after { + border-right: 3px solid #f53d3d; + border-top: 3px solid #f53d3d; +} + +page-pd-question-assessed-info .scroll-content { + background-color: none; +} + +page-pd-question-assessed-info ion-scroll.scroll-y .scroll-content { + width: 100%; + height: 200px; +} + +page-pd-question-assessed-info span { + font-size: 12px; +} + +page-pd-question-assests .scroll-content { + padding: 16px; +} + +page-pd-question-assests .scroll-content { + background-color: #eee; +} + +page-pd-question-assests .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-assests .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-banking .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-banking .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-banking .scroll-content { + background-color: #eee; +} + +page-pd-question-business-group .mat-expansion-panel { + margin-bottom: 10px !important; + background-color: #e14533 !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-business-group .mat-expansion-panel-header-title { + color: #fff !important; +} + +page-pd-question-business-group .mat-card { + margin-bottom: 10px; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + padding: 3px 10px !important; +} + +page-pd-question-business-group .item-ribbon { + background-color: #fff; + position: relative; + -webkit-filter: none; + filter: none; + opacity: 1; +} + +page-pd-question-business-group .item-ribbon .ribbon { + position: absolute; + right: -5px; + top: -5px; + z-index: 2; + overflow: hidden; + width: 75px; + height: 75px; + text-align: right; +} + +page-pd-question-business-group .item-ribbon .ribbon span { + font-size: 1rem; + font-weight: bold; + color: #fff; + text-transform: uppercase; + text-align: center; + line-height: 20px; + transform: rotate(45deg); + -webkit-transform: rotate(45deg); + width: 73px; + display: block; + background: #f53d3d; + position: absolute; + top: 10px; + right: -17px; +} + +page-pd-question-business-group .item-ribbon .ribbon span::before { + content: ""; + position: absolute; + left: 0; + top: 100%; + z-index: -1; + border-left: 3px solid #f53d3d; + border-right: 3px solid transparent; + border-bottom: 3px solid transparent; + border-top: 3px solid #f53d3d; +} + +page-pd-question-business-group .item-ribbon .ribbon span::after { + content: ""; + position: absolute; + right: 0; + top: 100%; + z-index: -1; + border-left: 3px solid transparent; + border-right: 3px solid #f53d3d; + border-bottom: 3px solid transparent; + border-top: 3px solid #f53d3d; +} + +page-pd-question-business-group .ribbon.answered span { + color: white; + background: green; +} + +page-pd-question-business-group .ribbon.answered span::before { + border-left: 3px solid green; + border-top: 3px solid green; +} + +page-pd-question-business-group .ribbon.answered span::after { + border-right: 3px solid green; + border-top: 3px solid green; +} + +page-pd-question-business-group .ribbon.notanswered span { + color: white; + background: #f53d3d; +} + +page-pd-question-business-group .ribbon.notanswered span::before { + border-left: 3px solid #f53d3d; + border-top: 3px solid #f53d3d; +} + +page-pd-question-business-group .ribbon.notanswered span::after { + border-right: 3px solid #f53d3d; + border-top: 3px solid #f53d3d; +} + +page-pd-question-business-group .ribbon.javascript span { + color: black; + background: #f7e023; +} + +page-pd-question-business-group .ribbon.javascript span::before { + border-left: 3px solid #f7e023; + border-top: 3px solid #f7e023; +} + +page-pd-question-business-group .ribbon.javascript span::after { + border-right: 3px solid #f7e023; + border-top: 3px solid #f7e023; +} + +page-pd-question-business-assets mat-form-field { + width: 100%; +} + +page-pd-question-business-assets .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-business-assets .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-business-assets .scroll-content { + background-color: #eee; +} + +page-pd-question-business-banking .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-business-banking .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-business-banking .accordion { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-business-banking .scroll-content { + background-color: #eee; +} + +page-pd-question-business-info mat-form-field { + width: 100%; +} + +page-pd-question-business-info mat-card-title { + font-weight: bold; + font-size: 18px; +} + +page-pd-question-business-info mat-card-header { + font-weight: bold; + font-size: 18px; +} + +page-pd-question-business-info .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-business-info .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-business-info .scroll-content { + background-color: #eee; +} + +page-pd-question-business-info mat-radio-button { + padding: 0 5px 0 5px; +} + +page-pd-question-business-info .mat-radio-button.mat-accent .mat-radio-inner-circle { + background-color: #673AB7; +} + +page-pd-question-business-info .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle { + border-color: #673AB7; +} + +page-pd-question-business-info .ses { + padding-top: 10px; +} + +page-pd-question-client-info mat-hint { + font-size: 12px; +} + +page-pd-question-client-info .scroll-content { + background-color: #eee; +} + +page-pd-question-client-info .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-client-info .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-financial-info mat-form-field { + width: 100%; +} + +page-pd-question-financial-info .info > span { + bottom: 20px; + margin-left: 10px; + font-size: 13px; +} + +page-pd-question-financial-info i, page-pd-question-financial-info b { + font-size: 12px; +} + +page-pd-question-financial-info .greenhighlight { + color: green; + background-color: white; +} + +page-pd-question-financial-info .highlight { + color: red; + background-color: white; +} + +page-pd-question-financial-info .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-financial-info .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-financial-info .scroll-content { + background-color: #eee; +} + +page-pd-question-stock-info mat-hint { + font-size: 12px; +} + +page-pd-question-stock-info .scroll-content { + background-color: #eee; +} + +page-pd-question-stock-info .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-stock-info .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-supplier-info mat-hint { + font-size: 12px; +} + +page-pd-question-supplier-info .scroll-content { + background-color: #eee; +} + +page-pd-question-supplier-info .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-supplier-info .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-current-loans mat-form-field { + width: 100%; +} + +page-pd-question-current-loans mat-hint { + font-size: 11px; +} + +page-pd-question-current-loans .scroll-content { + background-color: #eee; +} + +page-pd-question-current-loans .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-current-loans .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-family mat-form-field { + width: 100%; +} + +page-pd-question-family .scroll-content { + background-color: #eee; +} + +page-pd-question-family .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-family .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-family h4 { + font-size: 120%; +} + +page-pd-question-final-remark mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-final-remark mat-form-field { + width: 100%; +} + +page-pd-question-final-remark .scroll-content { + background-color: #eee; +} + +page-pd-question-general-info .item-md { + padding-left: 0px !important; +} + +page-pd-question-general-info .scroll-content { + padding: 6px !important; + background-color: #eee; +} + +page-pd-question-general-info .button-large-md { + height: 20px !important; + padding: 0px !important; +} + +page-pd-question-general-info .mat-card { + margin-bottom: 10px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-general-info .label-md { + margin: 10px 0px 10px 0 !important; +} + +page-pd-question-general-info ion-toggle { + zoom: 0.8; +} + +page-pd-question-lender-representative mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-lender-representative .scroll-content { + background-color: #eee; +} + +page-pd-question-loans mat-hint { + font-size: 12px; +} + +page-pd-question-loans .scroll-content { + background-color: #eee; +} + +page-pd-question-loans .mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-loans .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-neighbour-hood mat-form-field { + width: 100%; +} + +page-pd-question-neighbour-hood mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-neighbour-hood mat-hint { + font-size: 11px; +} + +page-pd-question-neighbour-hood .scroll-content { + background-color: #eee; +} + +page-pd-question-other-income mat-form-field { + width: 100%; +} + +page-pd-question-other-income mat-hint { + font-size: 11px; +} + +page-pd-question-other-income mat-card { + margin-bottom: 15px; + border-radius: 10px !important; + -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; +} + +page-pd-question-other-income .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-other-income .scroll-content { + background-color: #eee; +} + +page-pd-question-rental-info .button-md { + padding: 0 2.9em !important; +} diff --git a/platforms/android/app/build/intermediates/assets/debug/www/build/main.js b/platforms/android/app/build/intermediates/assets/debug/www/build/main.js index e383c2ce..38d1ac44 100644 --- a/platforms/android/app/build/intermediates/assets/debug/www/build/main.js +++ b/platforms/android/app/build/intermediates/assets/debug/www/build/main.js @@ -1 +1,16732 @@ -webpackJsonp([0],{284:function(l,n){function e(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}e.keys=function(){return[]},e.resolve=e,l.exports=e,e.id=284},310:function(l,n){function e(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}e.keys=function(){return[]},e.resolve=e,l.exports=e,e.id=310},363:function(l,n,e){"use strict";function u(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"div",[["class","menu-header"],["style","text-align:center !important;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,0,"img",[["class","user-avatar round"],["onerror","this.src='assets/img/avatar/girl-avatar.png'"],["style","height:111px;max-width:111px;"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,1,"p",[["class","name"]],null,null,null,null,null)),(l()(),xm._39(6,null,[""," ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(9,null,["(",")"])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,e.userDetails.profilepic||e.placeholder);l(n,6,0,e.userDetails.user_first_name,e.userDetails.user_last_name);l(n,9,0,e.userDetails.role_name)})}function a(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[["class","menu-header"],["style","text-align:center !important;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,0,"img",[["class","user-avatar round"],["onerror","this.src='assets/img/avatar/girl-avatar.png'"],["style","height:111px;max-width:111px;"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,1,"p",[["class","name"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Sineedge PD Officer"])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,e.chosenPicture||e.placeholder)})}function t(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"button",[["class","item item-block"],["detail-none",""],["ion-item",""],["menuClose","left"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,6).close()&&u}if("click"===n){u=!1!==l.context.$implicit.method()&&u}return u},qg.b,qg.a)),xm._17(1,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,4,{contentLabel:0}),xm._37(603979776,5,{_buttons:1}),xm._37(603979776,6,{_icons:1}),xm._17(5,16384,null,0,Og.a,[],null,null),xm._17(6,16384,null,0,Lg.a,[Ag.a],{menuClose:[0,"menuClose"]},null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(8,0,null,0,1,"ion-icon",[["item-left",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(9,147456,[[6,4]],0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(10,2,["\n ","\n "]))],function(l,n){l(n,6,0,"left");l(n,9,0,n.context.$implicit.icon)},function(l,n){l(n,8,0,xm._32(n,9)._hidden);l(n,10,0,n.context.$implicit.title)})}function i(l){return xm._41(0,[xm._37(402653184,1,{nav:0}),(l()(),xm._18(1,0,null,null,24,"ion-menu",[["id","menu-material"],["role","navigation"]],null,null,null,jg.b,jg.a)),xm._36(6144,null,Ng.a,null,[Eg.a]),xm._17(3,245760,null,2,Eg.a,[Ag.a,xm.p,Dg.a,Wg.a,xm.O,Rg.a,Ug.l,Bg.a,$g.a],{content:[0,"content"],id:[1,"id"]},null),xm._37(335544320,2,{menuContent:0}),xm._37(335544320,3,{menuNav:0}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(7,0,null,0,17,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(8,4374528,[[2,4]],0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,u)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,a)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,0,"div",[["class","hr"]],null,null,null,null,null)),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,5,"ion-list",[["no-lines",""]],null,null,null,null,null)),xm._17(19,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,t)),xm._17(22,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(28,0,null,null,2,"ion-nav",[["swipeBackEnabled","false"]],null,null,null,Qg.b,Qg.a)),xm._36(6144,null,Ng.a,null,[zg.a]),xm._17(30,4374528,[[1,4],["content",4]],0,zg.a,[[2,Hg.a],[2,Gg.a],$g.a,Dg.a,Wg.a,xm.p,xm.H,xm.O,xm.l,Ug.l,Jg.a,[2,Xg.a],Bg.a,xm.r],{swipeBackEnabled:[0,"swipeBackEnabled"],root:[1,"root"]},null)],function(l,n){var e=n.component;l(n,3,0,xm._32(n,30),"menu-material");l(n,11,0,e.userAccess);l(n,14,0,!e.userAccess);l(n,22,0,e.pages);l(n,30,0,"false",e.rootPage)},function(l,n){l(n,7,0,xm._32(n,8).statusbarPadding,xm._32(n,8)._hasRefresher)})}function o(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,84,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(4,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(8,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(11,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(17,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(18,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(21,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(24,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["PIN"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,38,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(32,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,34,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(35,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,1,{_control:0}),xm._37(335544320,2,{_placeholderChild:0}),xm._37(335544320,3,{_labelChild:0}),xm._37(603979776,4,{_errorChildren:1}),xm._37(603979776,5,{_hintChildren:1}),xm._37(603979776,6,{_prefixChildren:1}),xm._37(603979776,7,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,[["newpassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","New PIN"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==xm._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,48)._onInput()&&u}return u},null,null)),xm._17(48,933888,null,0,rb.b,[xm.p,Hm.a,[8,null],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[1,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(52,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(54,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(55,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,8,{_control:0}),xm._37(335544320,9,{_placeholderChild:0}),xm._37(335544320,10,{_labelChild:0}),xm._37(603979776,11,{_errorChildren:1}),xm._37(603979776,12,{_hintChildren:1}),xm._37(603979776,13,{_prefixChildren:1}),xm._37(603979776,14,{_suffixChildren:1}),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._18(64,0,[["confirmPassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","Confirm PIN"],["required",""],["style","width: 100%;"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==xm._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,65)._onInput()&&u}return u},null,null)),xm._17(65,933888,null,0,rb.b,[xm.p,Hm.a,[8,null],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[8,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(72,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),xm._17(73,16384,null,0,eb.d,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(75,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(76,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(78,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.setnewpin(xm._32(l,47).value)&&u}return u},_b.b,_b.a)),xm._17(79,180224,null,0,db.b,[xm.p,Hm.a,sb.j],{color:[0,"color"]},null),xm._17(80,16384,null,0,db.f,[],null,null),(l()(),xm._39(-1,0,["UNLOCK"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,48,0,"New PIN","","password");l(n,65,0,"Confirm PIN","");l(n,79,0,"primary")},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,0,xm._32(n,48)._isServer,xm._32(n,48).id,xm._32(n,48).placeholder,xm._32(n,48).disabled,xm._32(n,48).required,xm._32(n,48).readonly,xm._32(n,48)._ariaDescribedby||null,xm._32(n,48).errorState,xm._32(n,48).required.toString());l(n,54,1,[xm._32(n,55)._control.errorState,xm._32(n,55)._control.errorState,xm._32(n,55)._canLabelFloat,xm._32(n,55)._shouldLabelFloat(),xm._32(n,55)._hideControlPlaceholder(),xm._32(n,55)._control.disabled,xm._32(n,55)._control.focused,"primary"==xm._32(n,55).color,"accent"==xm._32(n,55).color,"warn"==xm._32(n,55).color,xm._32(n,55)._shouldForward("untouched"),xm._32(n,55)._shouldForward("touched"),xm._32(n,55)._shouldForward("pristine"),xm._32(n,55)._shouldForward("dirty"),xm._32(n,55)._shouldForward("valid"),xm._32(n,55)._shouldForward("invalid"),xm._32(n,55)._shouldForward("pending")]);l(n,64,0,xm._32(n,65)._isServer,xm._32(n,65).id,xm._32(n,65).placeholder,xm._32(n,65).disabled,xm._32(n,65).required,xm._32(n,65).readonly,xm._32(n,65)._ariaDescribedby||null,xm._32(n,65).errorState,xm._32(n,65).required.toString());l(n,75,0,"end"===xm._32(n,76).align);l(n,78,0,xm._32(n,79).disabled||null)})}function r(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,74,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(4,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(8,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(11,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(17,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(18,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(21,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(24,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["PIN"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(32,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,17,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(35,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,15,{_control:0}),xm._37(335544320,16,{_placeholderChild:0}),xm._37(335544320,17,{_labelChild:0}),xm._37(603979776,18,{_errorChildren:1}),xm._37(603979776,19,{_hintChildren:1}),xm._37(603979776,20,{_prefixChildren:1}),xm._37(603979776,21,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,[["pin",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","PIN"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==xm._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,48)._onInput()&&u}return u},null,null)),xm._17(48,933888,null,0,rb.b,[xm.p,Hm.a,[8,null],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[15,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(55,0,null,1,18,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),xm._17(56,16384,null,0,eb.d,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(58,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(59,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(61,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkpin(xm._32(l,47).value)&&u}return u},_b.b,_b.a)),xm._17(62,180224,null,0,db.b,[xm.p,Hm.a,sb.j],{color:[0,"color"]},null),xm._17(63,16384,null,0,db.f,[],null,null),(l()(),xm._39(-1,0,["UNLOCK"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,5,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkfingerprint()&&u}return u},null,null)),xm._17(68,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,1,"ion-icon",[["name","finger-print"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(71,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,48,0,"PIN","","password");l(n,62,0,"primary");l(n,71,0,"finger-print")},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,0,xm._32(n,48)._isServer,xm._32(n,48).id,xm._32(n,48).placeholder,xm._32(n,48).disabled,xm._32(n,48).required,xm._32(n,48).readonly,xm._32(n,48)._ariaDescribedby||null,xm._32(n,48).errorState,xm._32(n,48).required.toString());l(n,58,0,"end"===xm._32(n,59).align);l(n,61,0,xm._32(n,62).disabled||null);l(n,67,0,"end"===xm._32(n,68).align);l(n,70,0,xm._32(n,71)._hidden)})}function _(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n\n\n\n"])),(l()(),xm._18(1,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(2,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,o)),xm._17(5,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._13(16777216,null,1,1,null,r)),xm._17(8,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,e.mpinaccess);l(n,8,0,!e.mpinaccess)},function(l,n){l(n,1,0,xm._32(n,2).statusbarPadding,xm._32(n,2)._hasRefresher)})}function d(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"a",[["class","mat-text-warn mb-0"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.forgotpassword()&&u}return u},null,null)),(l()(),xm._39(-1,null,["Forgot password?"]))],null,null)}function s(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(2,0,null,null,97,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(3,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(5,0,null,1,93,"div",[["class","relative"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,90,"div",[["class","form-bg"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,87,"div",[["class","pt-2"],["fxLayout","row"],["fxLayoutAlign","center start"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,84,"div",[["fxFlex.lg","40"],["fxFlex.md","50"],["fxFlex.sm","80"],["fxFlex.xl","40"],["fxFlex.xs","90"],["fxLayout","column"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,81,"div",[["class","login-session"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(15,0,null,null,3,"div",[["class","col-lg"],["style","text-align: center;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,0,"img",[["alt","SineEdge"],["style","width: auto;height: auto;"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(20,0,null,null,73,"form",[["class","form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0,a=l.component;if("submit"===n){u=!1!==xm._32(l,22).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,22).onReset()&&u}if("ngSubmit"===n){u=!1!==a.login()&&u}return u},null,null)),xm._17(21,16384,null,0,Km.B,[],null,null),xm._17(22,4210688,[["form",4]],0,Km.u,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),xm._36(2048,null,Km.c,null,[Km.u]),xm._17(24,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,66,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(28,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(29,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,1,{_control:0}),xm._37(335544320,2,{_placeholderChild:0}),xm._37(335544320,3,{_labelChild:0}),xm._37(603979776,4,{_errorChildren:1}),xm._37(603979776,5,{_hintChildren:1}),xm._37(603979776,6,{_prefixChildren:1}),xm._37(603979776,7,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(38,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","email"],["placeholder","E-Mail"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,39)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,46)._onInput()&&u}if("ngModelChange"===n){u=!1!==(a.email=e)&&u}return u},null,null)),xm._17(39,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(40,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(43,671744,null,0,Km.v,[[2,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(45,16384,null,0,Km.s,[Km.r],null,null),xm._17(46,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[1,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(50,0,null,null,21,"mat-form-field",[["class","mb-1 mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(51,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,8,{_control:0}),xm._37(335544320,9,{_placeholderChild:0}),xm._37(335544320,10,{_labelChild:0}),xm._37(603979776,11,{_errorChildren:1}),xm._37(603979776,12,{_hintChildren:1}),xm._37(603979776,13,{_prefixChildren:1}),xm._37(603979776,14,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(60,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["minlength","8"],["name","password"],["placeholder","Password"],["required",""],["type","password"]],[[1,"required",0],[1,"minlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,69)._onInput()&&u}if("ngModelChange"===n){u=!1!==(a.password=e)&&u}return u},null,null)),xm._17(61,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(62,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._17(63,540672,null,0,Km.o,[],{minlength:[0,"minlength"]},null),xm._36(1024,null,Km.p,function(l,n){return[l,n]},[Km.x,Km.o]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(66,671744,null,0,Km.v,[[2,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(68,16384,null,0,Km.s,[Km.r],null,null),xm._17(69,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[8,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(73,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(74,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(76,0,null,null,9,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(77,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(79,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],null,null,_b.b,_b.a)),xm._17(80,180224,null,0,db.b,[xm.p,Hm.a,sb.j],{color:[0,"color"]},null),xm._17(81,16384,null,0,db.f,[],null,null),(l()(),xm._39(-1,0,["SIGN IN"])),(l()(),xm._18(83,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(85,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,d)),xm._17(90,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,40,0,"");l(n,43,0,"email",e.email);l(n,46,0,"E-Mail","","text");l(n,62,0,"");l(n,63,0,"8");l(n,66,0,"password",e.password);l(n,69,0,"Password","","password");l(n,80,0,"primary");l(n,90,0,e.email)},function(l,n){l(n,2,0,xm._32(n,3).statusbarPadding,xm._32(n,3)._hasRefresher);l(n,17,0,"http://ssa.sineedge.com/sparqapi/logo/sineedge_red.png");l(n,20,0,xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending);l(n,28,1,[xm._32(n,29)._control.errorState,xm._32(n,29)._control.errorState,xm._32(n,29)._canLabelFloat,xm._32(n,29)._shouldLabelFloat(),xm._32(n,29)._hideControlPlaceholder(),xm._32(n,29)._control.disabled,xm._32(n,29)._control.focused,"primary"==xm._32(n,29).color,"accent"==xm._32(n,29).color,"warn"==xm._32(n,29).color,xm._32(n,29)._shouldForward("untouched"),xm._32(n,29)._shouldForward("touched"),xm._32(n,29)._shouldForward("pristine"),xm._32(n,29)._shouldForward("dirty"),xm._32(n,29)._shouldForward("valid"),xm._32(n,29)._shouldForward("invalid"),xm._32(n,29)._shouldForward("pending")]);l(n,38,1,[xm._32(n,40).required?"":null,xm._32(n,45).ngClassUntouched,xm._32(n,45).ngClassTouched,xm._32(n,45).ngClassPristine,xm._32(n,45).ngClassDirty,xm._32(n,45).ngClassValid,xm._32(n,45).ngClassInvalid,xm._32(n,45).ngClassPending,xm._32(n,46)._isServer,xm._32(n,46).id,xm._32(n,46).placeholder,xm._32(n,46).disabled,xm._32(n,46).required,xm._32(n,46).readonly,xm._32(n,46)._ariaDescribedby||null,xm._32(n,46).errorState,xm._32(n,46).required.toString()]);l(n,50,1,[xm._32(n,51)._control.errorState,xm._32(n,51)._control.errorState,xm._32(n,51)._canLabelFloat,xm._32(n,51)._shouldLabelFloat(),xm._32(n,51)._hideControlPlaceholder(),xm._32(n,51)._control.disabled,xm._32(n,51)._control.focused,"primary"==xm._32(n,51).color,"accent"==xm._32(n,51).color,"warn"==xm._32(n,51).color,xm._32(n,51)._shouldForward("untouched"),xm._32(n,51)._shouldForward("touched"),xm._32(n,51)._shouldForward("pristine"),xm._32(n,51)._shouldForward("dirty"),xm._32(n,51)._shouldForward("valid"),xm._32(n,51)._shouldForward("invalid"),xm._32(n,51)._shouldForward("pending")]);l(n,60,1,[xm._32(n,62).required?"":null,xm._32(n,63).minlength?xm._32(n,63).minlength:null,xm._32(n,68).ngClassUntouched,xm._32(n,68).ngClassTouched,xm._32(n,68).ngClassPristine,xm._32(n,68).ngClassDirty,xm._32(n,68).ngClassValid,xm._32(n,68).ngClassInvalid,xm._32(n,68).ngClassPending,xm._32(n,69)._isServer,xm._32(n,69).id,xm._32(n,69).placeholder,xm._32(n,69).disabled,xm._32(n,69).required,xm._32(n,69).readonly,xm._32(n,69)._ariaDescribedby||null,xm._32(n,69).errorState,xm._32(n,69).required.toString()]);l(n,79,0,xm._32(n,80).disabled||null)})}function c(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["PD Cases"]))],null,null)}function m(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,8,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,[" "])),(l()(),xm._18(3,0,null,0,5,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ngModelChange"],[null,"input"],[null,"ionCancel"],[null,"ionclose"]],function(l,n,e){var u=!0,a=l.component;if("ngModelChange"===n){u=!1!==(a.searchitem=e)&&u}if("input"===n){u=!1!==a.pdlistsearch(e)&&u}if("ionCancel"===n){u=!1!==a.filter(a.viewchange)&&u}if("ionclose"===n){u=!1!==a.pdlistsearch(e)&&u}return u},wb.b,wb.a)),xm._17(4,671744,null,0,Km.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(6,16384,null,0,Km.s,[Km.r],null,null),xm._17(7,1294336,null,0,Fb.a,[Dg.a,Wg.a,xm.p,xm.O,[2,Km.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.searchitem);l(n,7,0,!0,!0)},function(l,n){l(n,3,1,[xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending,xm._32(n,7)._animated,xm._32(n,7)._value,xm._32(n,7)._isActive,xm._32(n,7)._showCancelButton,xm._32(n,7)._shouldAlignLeft,xm._32(n,7)._isFocus])})}function p(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function f(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function h(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),xm._39(4,null,["",""])),xm._35(5,1),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,4,0,xm._40(n,4,0,l(n,5,0,xm._32(n.parent.parent.parent.parent,1),n.parent.context.$implicit.applicat_details[0].applicant_name)))})}function g(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,60,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(3,0,null,0,54,"ion-list",[],null,null,null,null,null)),xm._17(4,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(6,0,null,null,50,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.context.$implicit)&&u}return u},qg.b,qg.a)),xm._17(7,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,4,{contentLabel:0}),xm._37(603979776,5,{_buttons:1}),xm._37(603979776,6,{_icons:1}),xm._17(11,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._18(13,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),xm._17(14,147456,[[6,4]],0,Vg.a,[Dg.a,xm.p,xm.O],null,null),(l()(),xm._39(15,null,["",""])),xm._33(0,Df.s,[]),xm._35(17,1),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(19,0,null,2,18,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(20,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,h)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(25,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),xm._17(26,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(28,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(31,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(34,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._18(39,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(40,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(42,0,null,null,5,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),xm._17(43,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(45,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(46,null,["",", ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(49,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),xm._17(50,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(52,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(53,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._39(-1,null,[" \n\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(59,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,23,0,0!=n.context.$implicit.applicat_details.length&&1==n.context.$implicit.applicat_details[0].applicant_type)},function(l,n){l(n,13,0,n.component.bgColor[n.context.index],xm._32(n,14)._hidden);l(n,15,0,xm._40(n,15,0,l(n,17,0,xm._32(n.parent.parent.parent,0),xm._40(n,15,0,xm._32(n,16).transform(n.context.$implicit.applicat_details[0].applicant_name,0,1)))));l(n,31,0,n.context.$implicit.pd_date_of_initiation);l(n,34,0,n.context.$implicit.city_name);l(n,46,0,n.context.$implicit.lender_short_name,n.context.$implicit.lender_applicant_id);l(n,53,0,n.context.$implicit.pd_status)})}function b(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,9,"ion-list",[],null,null,null,null,null)),xm._17(1,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,5,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),xm._17(4,16384,null,0,xb.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,g)),xm._17(7,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.pdinprogress)},null)}function v(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),xm._39(4,null,["",""])),xm._35(5,1),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,4,0,xm._40(n,4,0,l(n,5,0,xm._32(n.parent.parent.parent.parent,1),n.parent.context.$implicit.applicat_details[0].applicant_name)))})}function y(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.pd_date_of_initiation)})}function C(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.scheduled_on)})}function w(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,71,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,65,"ion-list",[],null,null,null,null,null)),xm._17(4,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,61,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.context.$implicit)&&u}return u},qg.b,qg.a)),xm._17(7,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,7,{contentLabel:0}),xm._37(603979776,8,{_buttons:1}),xm._37(603979776,9,{_icons:1}),xm._17(11,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._18(13,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),xm._17(14,147456,[[9,4]],0,Vg.a,[Dg.a,xm.p,xm.O],null,null),(l()(),xm._39(15,null,["",""])),xm._33(0,Df.s,[]),xm._35(17,1),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(19,0,null,2,5,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(20,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,v)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._18(26,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(27,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,5,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),xm._17(30,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(33,null,["",", ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(36,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),xm._17(37,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(40,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._18(44,0,null,2,22,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(45,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(47,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(48,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(51,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(54,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),xm._17(55,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(57,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,y)),xm._17(60,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,C)),xm._17(63,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n \n "])),(l()(),xm._39(-1,null,[" \n\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(70,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,23,0,0!=n.context.$implicit.applicat_details.length&&1==n.context.$implicit.applicat_details[0].applicant_type);l(n,60,0,null==n.context.$implicit.scheduled_on);l(n,63,0,null!=n.context.$implicit.scheduled_on)},function(l,n){l(n,13,0,n.component.bgColorPast[n.context.index],xm._32(n,14)._hidden);l(n,15,0,xm._40(n,15,0,l(n,17,0,xm._32(n.parent.parent.parent,0),xm._40(n,15,0,xm._32(n,16).transform(n.context.$implicit.applicat_details[0].applicant_name,0,1)))));l(n,33,0,n.context.$implicit.lender_short_name,n.context.$implicit.lender_applicant_id);l(n,40,0,n.context.$implicit.city_name);l(n,51,0,n.context.$implicit.pd_status)})}function F(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,9,"ion-list",[],null,null,null,null,null)),xm._17(1,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,5,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),xm._17(4,16384,null,0,xb.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,w)),xm._17(7,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.pdschduleDetails)},null)}function x(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,35,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(2,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.pdlist=e)&&u}return u},null,null)),xm._17(6,671744,null,0,Km.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(8,16384,null,0,Km.s,[Km.r],null,null),xm._17(9,1196032,null,1,Sb.a,[Dg.a,xm.p,xm.O,[2,Km.r]],{color:[0,"color"]},null),xm._37(603979776,3,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","inpro"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==xm._32(l,13).onClick()&&u}if("click"===n){u=!1!=(a.showButton=!a.showButton)&&u}return u},Ib.b,Ib.a)),xm._17(13,114688,[[3,4]],0,qb.a,[],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["\n Allocated\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","past"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,17).onClick()&&u}return u},Ib.b,Ib.a)),xm._17(17,114688,[[3,4]],0,qb.a,[],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["\n Scheduled\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(22,0,null,null,5,"div",[],null,null,null,null,null)),xm._17(23,16384,null,0,Df.n,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,b)),xm._17(26,278528,null,0,Df.o,[xm._1,xm.W,Df.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(29,0,null,null,5,"div",[],null,null,null,null,null)),xm._17(30,16384,null,0,Df.n,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,F)),xm._17(33,278528,null,0,Df.o,[xm._1,xm.W,Df.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,e.pdlist);l(n,9,0,"optblue");l(n,13,0,"inpro");l(n,17,0,"past");l(n,23,0,e.pdlist);l(n,26,0,"inpro");l(n,30,0,e.pdlist);l(n,33,0,"past")},function(l,n){l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending,xm._32(n,9)._disabled);l(n,12,0,xm._32(n,13)._disabled,xm._32(n,13).isActive,xm._32(n,13).isActive);l(n,16,0,xm._32(n,17)._disabled,xm._32(n,17).isActive,xm._32(n,17).isActive)})}function S(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"div",[["text-center",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function I(l){return xm._41(0,[xm._33(0,Df.u,[]),xm._33(0,Df.t,[]),(l()(),xm._18(2,0,null,null,33,"ion-header",[],null,null,null,null,null)),xm._17(3,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(6,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,10).toggle()&&u}return u},Db.b,Db.a)),xm._17(9,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(10,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(11,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(15,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,c)),xm._17(19,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n "])),(l()(),xm._13(16777216,null,3,1,null,m)),xm._17(22,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(24,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(25,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,2,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,p)),xm._17(29,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,f)),xm._17(32,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(37,0,null,null,17,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(38,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(40,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),xm._17(41,212992,null,0,Ab.a,[Wg.a,Kg.a,xm.H,Ug.l],null,{ionRefresh:"ionRefresh"}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,Vb.b,Vb.a)),xm._17(44,114688,null,0,jb.a,[Ab.a,Dg.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n\n\n "])),(l()(),xm._13(16777216,null,1,1,null,x)),xm._17(50,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,S)),xm._17(53,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n \n \n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,19,0,!e.viewchange);l(n,22,0,e.viewchange);l(n,29,0,!e.viewchange);l(n,32,0,e.viewchange),l(n,41,0);l(n,44,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,50,0,e.pdlistaccess);l(n,53,0,!e.pdlistaccess&&null!=e.pdlistaccess)},function(l,n){l(n,5,0,xm._32(n,6)._hidden,xm._32(n,6)._sbPadding);l(n,8,0,xm._32(n,10).isHidden);l(n,14,0,xm._32(n,15)._hidden);l(n,37,0,xm._32(n,38).statusbarPadding,xm._32(n,38)._hasRefresher);l(n,40,0,"inactive"!==xm._32(n,41).state,xm._32(n,41)._top);l(n,43,0,xm._32(n,44).r.state)})}function q(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""])),xm._35(3,1)],null,function(l,n){var e=n.component;l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent,0),e.pddetails.applicant_name)))})}function k(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,8,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,[" "])),(l()(),xm._18(3,0,null,0,5,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ngModelChange"],[null,"input"],[null,"ionCancel"]],function(l,n,e){var u=!0,a=l.component;if("ngModelChange"===n){u=!1!==(a.searchitem=e)&&u}if("input"===n){u=!1!==a.pdlistsearch(e)&&u}if("ionCancel"===n){u=!1!==a.filter(a.viewchange)&&u}return u},wb.b,wb.a)),xm._17(4,671744,null,0,Km.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(6,16384,null,0,Km.s,[Km.r],null,null),xm._17(7,1294336,null,0,Fb.a,[Dg.a,Wg.a,xm.p,xm.O,[2,Km.r]],{showCancelButton:[0,"showCancelButton"]},{ionCancel:"ionCancel"}),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.searchitem);l(n,7,0,!0)},function(l,n){l(n,3,1,[xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending,xm._32(n,7)._animated,xm._32(n,7)._value,xm._32(n,7)._isActive,xm._32(n,7)._showCancelButton,xm._32(n,7)._shouldAlignLeft,xm._32(n,7)._isFocus])})}function P(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function D(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function T(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(4,0,null,0,30,"ion-list",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.questionsTag(l.context.$implicit.fk_question_category_id)&&u}return u},null,null)),xm._17(5,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,26,"ion-item",[["class","item item-block"]],null,null,null,qg.b,qg.a)),xm._17(8,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,3,{contentLabel:0}),xm._37(603979776,4,{_buttons:1}),xm._37(603979776,5,{_icons:1}),xm._17(12,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._18(14,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),xm._17(15,147456,[[5,4]],0,Vg.a,[Dg.a,xm.p,xm.O],null,null),(l()(),xm._39(16,null,["",""])),xm._33(0,Df.s,[]),xm._35(18,1),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(20,0,null,2,12,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(21,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,8,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),xm._17(24,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),xm._39(27,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(30,null,[""," / "," Questions"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(36,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,[" \n \n "]))],null,function(l,n){l(n,14,0,n.component.bgColorqustCat[n.context.index],xm._32(n,15)._hidden);l(n,16,0,xm._40(n,16,0,l(n,18,0,xm._32(n.parent.parent,1),xm._40(n,16,0,xm._32(n,17).transform(n.context.$implicit.category_name[0],0,1)))));l(n,27,0,n.context.$implicit.category_name);l(n,30,0,n.context.$implicit.answerd_count,n.context.$implicit.questions_count)})}function O(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,T)),xm._17(3,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.component.questionCate.question_answers)},null)}function L(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"ion-icon",[["name","md-checkmark-circle"],["role","img"],["style","color:green;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(1,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-checkmark-circle")},function(l,n){l(n,0,0,xm._32(n,1)._hidden)})}function A(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"ion-icon",[["name","md-close-circle"],["role","img"],["style","color:red;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(1,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-close-circle")},function(l,n){l(n,0,0,xm._32(n,1)._hidden)})}function V(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,43,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,37,"ion-list",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.tempQustionTag(l.context.$implicit.form_id)&&u}return u},null,null)),xm._17(4,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,33,"ion-item",[["class","item item-block"]],null,null,null,qg.b,qg.a)),xm._17(7,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,6,{contentLabel:0}),xm._37(603979776,7,{_buttons:1}),xm._37(603979776,8,{_icons:1}),xm._17(11,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._18(13,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),xm._17(14,147456,[[8,4]],0,Vg.a,[Dg.a,xm.p,xm.O],null,null),(l()(),xm._39(15,null,["",""])),xm._33(0,Df.s,[]),xm._35(17,1),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(19,0,null,2,19,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(20,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(22,0,null,null,6,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),xm._17(23,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(25,0,null,null,1,"h2",[["style","font-size:20px;"]],null,null,null,null,null)),(l()(),xm._39(26,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(30,0,null,null,7,"ion-col",[["class","col"],["col-1",""],["offset-5",""]],null,null,null,null,null)),xm._17(31,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,L)),xm._17(34,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(0,[["notAnswer",2]],null,0,null,A)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(42,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,34,0,n.context.$implicit.isAnswered,xm._32(n,36))},function(l,n){l(n,13,0,n.component.bgColortempForm[n.context.index],xm._32(n,14)._hidden);l(n,15,0,xm._40(n,15,0,l(n,17,0,xm._32(n.parent.parent,1),xm._40(n,15,0,xm._32(n,16).transform(n.context.$implicit.form_name[0],0,1)))));l(n,26,0,n.context.$implicit.form_name)})}function j(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,V)),xm._17(3,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,[" \n "]))],function(l,n){l(n,3,0,n.component.questionCate.template_forms)},null)}function N(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[["text-center",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(3,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),xm._39(4,null,["",""])),(l()(),xm._39(-1,null,[" \n "]))],null,function(l,n){l(n,4,0,n.component.questionCate)})}function E(l){return xm._41(0,[xm._33(0,Df.t,[]),xm._33(0,Df.u,[]),(l()(),xm._18(2,0,null,null,34,"ion-header",[],null,null,null,null,null)),xm._17(3,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(6,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,10).toggle()&&u}return u},Db.b,Db.a)),xm._17(9,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(10,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(11,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(15,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,q)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n "])),(l()(),xm._13(16777216,null,3,1,null,k)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(26,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,2,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,P)),xm._17(30,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,D)),xm._17(33,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(38,0,null,null,29,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(39,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(41,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),xm._17(42,212992,null,0,Ab.a,[Wg.a,Kg.a,xm.H,Ug.l],null,{ionRefresh:"ionRefresh"}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(44,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,Vb.b,Vb.a)),xm._17(45,114688,null,0,jb.a,[Ab.a,Dg.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(50,0,null,1,13,"ion-list",[],null,null,null,null,null)),xm._17(51,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(53,0,null,null,9,"ion-grid",[["class","grid"]],null,null,null,null,null)),xm._17(54,16384,null,0,xb.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,O)),xm._17(58,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,j)),xm._17(61,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n\n \n \n "])),(l()(),xm._13(16777216,null,1,1,null,N)),xm._17(66,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(69,0,null,null,10,"ion-footer",[],null,null,null,null,null)),xm._17(70,16384,null,0,Wb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(72,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(73,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(75,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.completed()&&u}return u},Db.b,Db.a)),xm._17(76,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["\n Completed "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange),l(n,42,0);l(n,45,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,58,0,e.questionCateAccess);l(n,61,0,e.templateAccess);l(n,66,0,null!=e.questionCateAccess&&!e.questionCateAccess);l(n,76,0,"primary","")},function(l,n){var e=n.component;l(n,5,0,xm._32(n,6)._hidden,xm._32(n,6)._sbPadding);l(n,8,0,xm._32(n,10).isHidden);l(n,14,0,xm._32(n,15)._hidden);l(n,38,0,xm._32(n,39).statusbarPadding,xm._32(n,39)._hasRefresher);l(n,41,0,"inactive"!==xm._32(n,42).state,xm._32(n,42)._top);l(n,44,0,xm._32(n,45).r.state);l(n,75,0,!e.overallqustioncountAccess)})}function W(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,[""," Category"]))],null,function(l,n){l(n,2,0,n.component.questionDetails.category_name)})}function R(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,6,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[24,"@itemState",0],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,a=l.component;if("ionCancel"===n){u=!1!==a.filter(a.viewchange)&&u}return u},wb.b,wb.a)),xm._17(4,1294336,null,0,Fb.a,[Dg.a,Wg.a,xm.p,xm.O,[2,Km.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,n.component.click,xm._32(n,4)._animated,xm._32(n,4)._value,xm._32(n,4)._isActive,xm._32(n,4)._showCancelButton,xm._32(n,4)._shouldAlignLeft,xm._32(n,4)._isFocus)})}function U(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function B(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function $(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","IngoreMe"]],[[8,"id",0],[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==xm._32(l,3).onClick()&&u}if("click"===n){u=!1!==a.selectTab(l.context.index)&&u}return u},Ib.b,Ib.a)),xm._17(1,278528,null,0,Df.h,[xm.B,xm.C,xm.p,xm.P],{ngClass:[0,"ngClass"]},null),xm._34(2,{"SwipedTabs-activeTab":0}),xm._17(3,114688,[[5,4]],0,qb.a,[],{value:[0,"value"]},null),(l()(),xm._39(4,0,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,xm._32(n.parent,61)&&(xm._32(n.parent,61).getActiveIndex()===n.context.index||e.tabs.length-1===n.context.index&&xm._32(n.parent,61).isEnd())));l(n,3,0,"IngoreMe")},function(l,n){l(n,0,0,xm._21(1,"tabTitle",n.context.index,""),xm._32(n,3)._disabled,xm._32(n,3).isActive,xm._32(n,3).isActive);l(n,4,0,n.context.$implicit)})}function M(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,8,"mat-list-item",[["class","mat-list-item"]],null,[[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,1)._handleFocus()&&u}if("blur"===n){u=!1!==xm._32(l,1)._handleBlur()&&u}return u},Bb.c,Bb.b)),xm._17(1,1097728,null,2,$b.b,[xm.p,[2,$b.f]],null,null),xm._37(603979776,9,{_lines:1}),xm._37(335544320,10,{_hasAvatar:0}),(l()(),xm._39(-1,2,["\n\n "])),(l()(),xm._18(5,0,null,2,2,"mat-radio-button",[["class","mat-radio-button"],["name","answerDetails"],["radioGroup","rGroup"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,6)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(6,4440064,[[8,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{name:[0,"name"],checked:[1,"checked"],value:[2,"value"]},null),(l()(),xm._39(7,0,["",""])),(l()(),xm._39(-1,2,["\n\n\n "]))],function(l,n){l(n,6,0,"answerDetails",null!=n.context.$implicit.isactive||null!=n.context.$implicit.pd_detail_answer_id,n.context.$implicit)},function(l,n){l(n,5,0,xm._32(n,6).checked,xm._32(n,6).disabled,xm._32(n,6).id);l(n,7,0,n.context.$implicit.answer)})}function K(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","docName"],["placeholder","File Name"],["required",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0,a=l.component;if("blur"===n){u=!1!==xm._32(l,4)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,4)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,4)._onInput()&&u}if("blur"===n){u=!1!==a.docnames(e.target.value,l.parent.parent.context.index,l.parent.parent.context.$implicit.pd_document_name,l.parent.parent.context.$implicit.questionId)&&u}return u},null,null)),xm._36(6144,null,ib.c,null,[rb.b]),xm._17(4,933888,null,0,rb.b,[xm.p,Hm.a,[8,null],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"File Name","","text")},function(l,n){l(n,2,0,xm._32(n,4)._isServer,xm._32(n,4).id,xm._32(n,4).placeholder,xm._32(n,4).disabled,xm._32(n,4).required,xm._32(n,4).readonly,xm._32(n,4)._ariaDescribedby||null,xm._32(n,4).errorState,xm._32(n,4).required.toString())})}function H(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),xm._39(1,null,["\n ","\n "]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.pd_document_title)})}function G(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeimage(l.parent.context.index)&&u}return u},null,null)),xm._17(4,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,1,"img",[["class","img-responsive"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).onClick(e)&&u}return u},null,null)),xm._17(8,16384,null,0,Gb.a,[xm.p,Yb.a],{src:[0,"src"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,K)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,H)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"trash");l(n,8,0,"");l(n,11,0,""==n.parent.context.$implicit.pd_document_title);l(n,14,0,""!=n.parent.context.$implicit.pd_document_title)},function(l,n){l(n,3,0,xm._32(n,4)._hidden);l(n,7,0,xm._21(1,"",n.parent.context.$implicit.pd_document_name,""))})}function Y(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,G)),xm._17(4,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.context.$implicit.questionId==n.parent.parent.context.$implicit.fk_question_id)},null)}function Q(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,26,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(7,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(9,0,null,0,22,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(10,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,[["rGroup",1]],0,10,"mat-radio-group",[["class","mat-radio-group"],["formControlName","answerDetails"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(13,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,8,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,M)),xm._17(21,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(25,0,null,0,5,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(26,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Y)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"answerDetails");l(n,21,0,n.parent.context.$implicit.answers);l(n,29,0,e.docArray)},function(l,n){l(n,12,0,xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending)})}function z(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"mat-list-item",[["class","mat-list-item"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,1).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,1).onReset()&&u}if("focus"===n){u=!1!==xm._32(l,4)._handleFocus()&&u}if("blur"===n){u=!1!==xm._32(l,4)._handleBlur()&&u}return u},Bb.c,Bb.b)),xm._17(1,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),xm._17(4,1097728,null,2,$b.b,[xm.p,[2,$b.f]],null,null),xm._37(603979776,11,{_lines:1}),xm._37(335544320,12,{_hasAvatar:0}),(l()(),xm._39(-1,2,["\n\n "])),(l()(),xm._18(8,0,null,2,10,"small",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,6,"mat-checkbox",[["class","example-margin mat-checkbox"],["formControlName","checkbox"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Qb.b,Qb.a)),xm._17(12,4374528,null,0,zb.b,[xm.p,xm.i,sb.j,[8,null],[2,zb.a]],{id:[0,"id"]},null),xm._36(1024,null,Km.q,function(l){return[l]},[zb.b]),xm._17(14,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(16,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(17,0,["\n ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n\n "]))],function(l,n){l(n,1,0,n.context.$implicit);l(n,12,0,xm._21(1,"",n.context.$implicit.controls.pd_answer_id.value,""));l(n,14,0,"checkbox")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,11,1,[xm._32(n,12).id,xm._32(n,12).indeterminate,xm._32(n,12).checked,xm._32(n,12).disabled,"before"==xm._32(n,12).labelPosition,xm._32(n,16).ngClassUntouched,xm._32(n,16).ngClassTouched,xm._32(n,16).ngClassPristine,xm._32(n,16).ngClassDirty,xm._32(n,16).ngClassValid,xm._32(n,16).ngClassInvalid,xm._32(n,16).ngClassPending]);l(n,17,0,n.context.$implicit.controls.pd_answer.value)})}function J(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,39,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,35,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,31,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(7,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(9,0,null,0,27,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(10,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(12,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,14).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,14).onReset()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.B,[],null,null),xm._17(14,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(16,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(18,0,null,null,16,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(19,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(22,0,null,null,11,"div",[["class","text-xs-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(24,0,null,null,8,"mat-list",[["class","mat-list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Bb.d,Bb.a)),xm._17(25,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(27,16384,null,0,Km.t,[Km.c],null,null),xm._17(28,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,z)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,e.questionAnswer);l(n,25,0,"items");l(n,31,0,e.questionAnswer.controls.items.controls)},function(l,n){l(n,12,0,xm._32(n,16).ngClassUntouched,xm._32(n,16).ngClassTouched,xm._32(n,16).ngClassPristine,xm._32(n,16).ngClassDirty,xm._32(n,16).ngClassValid,xm._32(n,16).ngClassInvalid,xm._32(n,16).ngClassPending);l(n,24,0,xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending)})}function X(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,33,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,29,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(7,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(9,0,null,0,25,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,11).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,11).onReset()&&u}return u},null,null)),xm._17(10,16384,null,0,Km.B,[],null,null),xm._17(11,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(13,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(15,0,null,null,18,"mat-form-field",[["class","example-full-width mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(16,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,13,{_control:0}),xm._37(335544320,14,{_placeholderChild:0}),xm._37(335544320,15,{_labelChild:0}),xm._37(603979776,16,{_errorChildren:1}),xm._37(603979776,17,{_hintChildren:1}),xm._37(603979776,18,{_prefixChildren:1}),xm._37(603979776,19,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","answerDetails"],["matInput",""],["name","answerDetails"],["placeholder","Leave a comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,31)._onInput()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(28,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(30,16384,null,0,Km.s,[Km.r],null,null),xm._17(31,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[13,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,11,0,n.component.questionAnswer);l(n,28,0,"answerDetails");l(n,31,0,"Leave a comment")},function(l,n){l(n,9,0,xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending);l(n,15,1,[xm._32(n,16)._control.errorState,xm._32(n,16)._control.errorState,xm._32(n,16)._canLabelFloat,xm._32(n,16)._shouldLabelFloat(),xm._32(n,16)._hideControlPlaceholder(),xm._32(n,16)._control.disabled,xm._32(n,16)._control.focused,"primary"==xm._32(n,16).color,"accent"==xm._32(n,16).color,"warn"==xm._32(n,16).color,xm._32(n,16)._shouldForward("untouched"),xm._32(n,16)._shouldForward("touched"),xm._32(n,16)._shouldForward("pristine"),xm._32(n,16)._shouldForward("dirty"),xm._32(n,16)._shouldForward("valid"),xm._32(n,16)._shouldForward("invalid"),xm._32(n,16)._shouldForward("pending")]);l(n,25,1,[xm._32(n,30).ngClassUntouched,xm._32(n,30).ngClassTouched,xm._32(n,30).ngClassPristine,xm._32(n,30).ngClassDirty,xm._32(n,30).ngClassValid,xm._32(n,30).ngClassInvalid,xm._32(n,30).ngClassPending,xm._32(n,31)._isServer,xm._32(n,31).id,xm._32(n,31).placeholder,xm._32(n,31).disabled,xm._32(n,31).required,xm._32(n,31).readonly,xm._32(n,31)._ariaDescribedby||null,xm._32(n,31).errorState,xm._32(n,31).required.toString()])})}function Z(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,110,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(1,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,11,"ion-fab",[["middle",""],["right",""]],null,null,null,lv.b,lv.a)),xm._17(4,1228800,null,2,nv.a,[Wg.a],null,null),xm._37(335544320,6,{_mainButton:0}),xm._37(603979776,7,{_fabLists:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,5,"button",[["color","primary"],["ion-fab",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getDocUpload(l.context.$implicit.fk_question_id)&&u}return u},ev.b,ev.a)),xm._17(9,49152,[[6,4]],0,uv.a,[Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(11,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(12,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(16,0,null,0,93,"ion-scroll",[["scrollY","true"]],[[2,"scroll-x",null],[2,"scroll-y",null]],null,null,av.b,av.a)),xm._17(17,49152,null,0,tv.a,[],{scrollY:[0,"scrollY"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(19,0,null,0,13,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(20,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(22,0,null,null,9,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),xm._17(23,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(25,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(26,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(28,0,null,0,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(29,null,["",""])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(34,0,null,0,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,36).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,36).onReset()&&u}return u},null,null)),xm._17(35,16384,null,0,Km.B,[],null,null),xm._17(36,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(38,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Q)),xm._17(41,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,J)),xm._17(44,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,X)),xm._17(47,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(49,0,null,null,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,57)._onInput()&&u}if("ngModelChange"===n){u=!1!==(a.questionId=e)&&u}return u},null,null)),xm._36(6144,null,ib.c,null,[rb.b]),xm._17(51,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(53,671744,null,0,Km.v,[[2,Km.c],[8,null],[8,null],[2,Km.q]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),xm._34(54,{standalone:0}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(56,16384,null,0,Km.s,[Km.r],null,null),xm._17(57,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{type:[0,"type"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(60,0,null,0,48,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(61,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(63,0,null,null,44,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(64,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(66,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(67,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(72,0,null,0,33,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(73,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(75,0,null,null,29,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(76,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(78,0,null,null,25,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,80).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,80).onReset()&&u}return u},null,null)),xm._17(79,16384,null,0,Km.B,[],null,null),xm._17(80,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(82,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(84,0,null,null,18,"mat-form-field",[["class","example-full-width mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(85,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,20,{_control:0}),xm._37(335544320,21,{_placeholderChild:0}),xm._37(335544320,22,{_labelChild:0}),xm._37(603979776,23,{_errorChildren:1}),xm._37(603979776,24,{_hintChildren:1}),xm._37(603979776,25,{_prefixChildren:1}),xm._37(603979776,26,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(94,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","questionRemarks"],["matInput",""],["name","questionRemarks"],["placeholder","Leave a comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,95)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,95).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,95)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,95)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,100)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,100)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,100)._onInput()&&u}return u},null,null)),xm._17(95,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(97,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(99,16384,null,0,Km.s,[Km.r],null,null),xm._17(100,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[20,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"primary");l(n,12,0,"md-camera");l(n,17,0,"true");l(n,36,0,e.questionAnswer);l(n,41,0,"1"==n.context.$implicit.fk_question_answertype);l(n,44,0,"3"==n.context.$implicit.fk_question_answertype);l(n,47,0,"2"==n.context.$implicit.fk_question_answertype);l(n,53,0,e.questionId,l(n,54,0,!0));l(n,57,0,"text");l(n,80,0,e.questionanotherData);l(n,97,0,"questionRemarks");l(n,100,0,"Leave a comment")},function(l,n){l(n,11,0,xm._32(n,12)._hidden);l(n,16,0,xm._32(n,17).scrollX,xm._32(n,17).scrollY);l(n,29,0,n.context.$implicit.question);l(n,34,0,xm._32(n,38).ngClassUntouched,xm._32(n,38).ngClassTouched,xm._32(n,38).ngClassPristine,xm._32(n,38).ngClassDirty,xm._32(n,38).ngClassValid,xm._32(n,38).ngClassInvalid,xm._32(n,38).ngClassPending);l(n,49,1,[xm._32(n,56).ngClassUntouched,xm._32(n,56).ngClassTouched,xm._32(n,56).ngClassPristine,xm._32(n,56).ngClassDirty,xm._32(n,56).ngClassValid,xm._32(n,56).ngClassInvalid,xm._32(n,56).ngClassPending,xm._32(n,57)._isServer,xm._32(n,57).id,xm._32(n,57).placeholder,xm._32(n,57).disabled,xm._32(n,57).required,xm._32(n,57).readonly,xm._32(n,57)._ariaDescribedby||null,xm._32(n,57).errorState,xm._32(n,57).required.toString()]);l(n,78,0,xm._32(n,82).ngClassUntouched,xm._32(n,82).ngClassTouched,xm._32(n,82).ngClassPristine,xm._32(n,82).ngClassDirty,xm._32(n,82).ngClassValid,xm._32(n,82).ngClassInvalid,xm._32(n,82).ngClassPending);l(n,84,1,[xm._32(n,85)._control.errorState,xm._32(n,85)._control.errorState,xm._32(n,85)._canLabelFloat,xm._32(n,85)._shouldLabelFloat(),xm._32(n,85)._hideControlPlaceholder(),xm._32(n,85)._control.disabled,xm._32(n,85)._control.focused,"primary"==xm._32(n,85).color,"accent"==xm._32(n,85).color,"warn"==xm._32(n,85).color,xm._32(n,85)._shouldForward("untouched"),xm._32(n,85)._shouldForward("touched"),xm._32(n,85)._shouldForward("pristine"),xm._32(n,85)._shouldForward("dirty"),xm._32(n,85)._shouldForward("valid"),xm._32(n,85)._shouldForward("invalid"),xm._32(n,85)._shouldForward("pending")]);l(n,94,1,[xm._32(n,99).ngClassUntouched,xm._32(n,99).ngClassTouched,xm._32(n,99).ngClassPristine,xm._32(n,99).ngClassDirty,xm._32(n,99).ngClassValid,xm._32(n,99).ngClassInvalid,xm._32(n,99).ngClassPending,xm._32(n,100)._isServer,xm._32(n,100).id,xm._32(n,100).placeholder,xm._32(n,100).disabled,xm._32(n,100).required,xm._32(n,100).readonly,xm._32(n,100)._ariaDescribedby||null,xm._32(n,100).errorState,xm._32(n,100).required.toString()])})}function ll(l){return xm._41(0,[xm._37(402653184,1,{SwipedTabsSlider:0}),xm._37(402653184,2,{ItemsTitles:0}),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(3,0,null,null,52,"ion-header",[],null,null,null,null,null)),xm._17(4,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(7,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,11).toggle()&&u}return u},Db.b,Db.a)),xm._17(10,1097728,[[3,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(11,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(12,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,3,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(16,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,W)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n "])),(l()(),xm._13(16777216,null,3,1,null,R)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(26,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,4,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,U)),xm._17(30,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,B)),xm._17(33,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,17,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,iv.b,iv.a)),xm._17(38,49152,null,0,yb.a,[Dg.a,xm.p,xm.O],null,null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(40,0,null,3,13,"ion-content",[["class","tabsContent"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(41,4374528,[[2,4],["MultiItemsScrollingTabs",4]],0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,6,"ion-segment",[["class","SwipedTabs-tabs"]],[[2,"segment-disabled",null]],null,null,null,null)),xm._17(44,1196032,null,1,Sb.a,[Dg.a,xm.p,xm.O,[2,Km.r]],null,null),xm._37(603979776,5,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,$)),xm._17(48,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(52,0,null,1,0,"div",[["class","SwipedTabs-indicatorSegment"],["id","indicator"]],null,null,null,null,null)),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(57,0,null,null,9,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(58,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(60,0,null,1,5,"ion-slides",[],null,[[null,"ionSlideDrag"],[null,"ionSlideDidChange"],[null,"ionSlideWillChange"],[null,"panend"]],function(l,n,e){var u=!0,a=l.component;if("ionSlideDrag"===n){u=!1!==a.animateIndicator(e)&&u}if("ionSlideDidChange"===n){u=!1!==a.updateIndicatorPosition()&&u}if("ionSlideWillChange"===n){u=!1!==a.scrollIndicatiorTab()&&u}if("panend"===n){u=!1!==a.updateIndicatorPositionOnTouchEnd()&&u}return u},ov.b,ov.a)),xm._17(61,1228800,[[1,4],["SwipedTabsSlider",4]],0,Zb.a,[Dg.a,Wg.a,xm.H,[2,Hg.a],xm.p,xm.O],{pager:[0,"pager"]},{ionSlideWillChange:"ionSlideWillChange",ionSlideDidChange:"ionSlideDidChange",ionSlideDrag:"ionSlideDrag"}),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._13(16777216,null,0,1,null,Z)),xm._17(64,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,1,["\n\n\n"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(68,0,null,null,30,"ion-footer",[],null,null,null,null,null)),xm._17(69,16384,null,0,Wb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(71,0,null,null,26,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(72,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(74,0,null,null,10,"ion-col",[["class","col"],["col-6",""],["style","padding: 0px !important;"]],null,null,null,null,null)),xm._17(75,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(78,0,null,null,5,"button",[["color","danger"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.prev(a.questionAnswer.value,a.questionanotherData.value,a.questionDetails)&&u}return u},Db.b,Db.a)),xm._17(79,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(81,0,null,0,1,"ion-icon",[["name","md-arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(82,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,[" SAVE & PREVIOUS\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(86,0,null,null,10,"ion-col",[["class","col"],["col-6",""],["style","padding: 0px !important;"]],null,null,null,null,null)),xm._17(87,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(90,0,null,null,5,"button",[["color","secondary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveQuestionDetails(a.questionAnswer.value,a.questionanotherData.value,a.questionDetails)&&u}return u},Db.b,Db.a)),xm._17(91,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["Save & Next\n "])),(l()(),xm._18(93,0,null,0,1,"ion-icon",[["name","md-arrow-forward"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(94,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange);l(n,48,0,e.tabs);l(n,61,0,!1);l(n,64,0,e.questionDetails.questions);l(n,79,0,"danger","");l(n,82,0,"md-arrow-back");l(n,91,0,"secondary","");l(n,94,0,"md-arrow-forward")},function(l,n){l(n,6,0,xm._32(n,7)._hidden,xm._32(n,7)._sbPadding);l(n,9,0,xm._32(n,11).isHidden);l(n,15,0,xm._32(n,16)._hidden);l(n,37,0,xm._32(n,38)._sbPadding);l(n,40,0,xm._32(n,41).statusbarPadding,xm._32(n,41)._hasRefresher);l(n,43,0,xm._32(n,44)._disabled);l(n,57,0,xm._32(n,58).statusbarPadding,xm._32(n,58)._hasRefresher);l(n,81,0,xm._32(n,82)._hidden);l(n,93,0,xm._32(n,94)._hidden)})}function nl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["PD Listing"]))],null,null)}function el(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,[" "])),(l()(),xm._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[24,"@itemState",0],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,a=l.component;if("ionCancel"===n){u=!1!==a.filter(a.viewchange)&&u}return u},wb.b,wb.a)),xm._17(4,1294336,null,0,Fb.a,[Dg.a,Wg.a,xm.p,xm.O,[2,Km.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,n.component.click,xm._32(n,4)._animated,xm._32(n,4)._value,xm._32(n,4)._isActive,xm._32(n,4)._showCancelButton,xm._32(n,4)._shouldAlignLeft,xm._32(n,4)._isFocus)})}function ul(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function al(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function tl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","IngoreMe"]],[[8,"id",0],[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==xm._32(l,3).onClick()&&u}if("click"===n){u=!1!==a.selectTab(l.context.index)&&u}return u},Ib.b,Ib.a)),xm._17(1,278528,null,0,Df.h,[xm.B,xm.C,xm.p,xm.P],{ngClass:[0,"ngClass"]},null),xm._34(2,{"SwipedTabs-activeTab":0}),xm._17(3,114688,[[5,4]],0,qb.a,[],{value:[0,"value"]},null),(l()(),xm._39(4,0,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,xm._32(n.parent,61)&&(xm._32(n.parent,61).getActiveIndex()===n.context.index||e.tabs.length-1===n.context.index&&xm._32(n.parent,61).isEnd())));l(n,3,0,"IngoreMe")},function(l,n){l(n,0,0,xm._21(1,"tabTitle",n.context.index,""),xm._32(n,3)._disabled,xm._32(n,3).isActive,xm._32(n,3).isActive);l(n,4,0,n.context.$implicit)})}function il(l){return xm._41(0,[xm._37(402653184,1,{SwipedTabsSlider:0}),xm._37(402653184,2,{ItemsTitles:0}),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(3,0,null,null,52,"ion-header",[],null,null,null,null,null)),xm._17(4,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(7,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,11).toggle()&&u}return u},Db.b,Db.a)),xm._17(10,1097728,[[3,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(11,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(12,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,3,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(16,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,nl)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n "])),(l()(),xm._13(16777216,null,3,1,null,el)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(26,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,4,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ul)),xm._17(30,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,al)),xm._17(33,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,17,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,iv.b,iv.a)),xm._17(38,49152,null,0,yb.a,[Dg.a,xm.p,xm.O],null,null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(40,0,null,3,13,"ion-content",[["class","tabsContent"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(41,4374528,[[2,4],["MultiItemsScrollingTabs",4]],0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,6,"ion-segment",[["class","SwipedTabs-tabs"]],[[2,"segment-disabled",null]],null,null,null,null)),xm._17(44,1196032,null,1,Sb.a,[Dg.a,xm.p,xm.O,[2,Km.r]],null,null),xm._37(603979776,5,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,tl)),xm._17(48,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(52,0,null,1,0,"div",[["class","SwipedTabs-indicatorSegment"],["id","indicator"]],null,null,null,null,null)),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(57,0,null,null,576,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(58,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._18(60,0,null,1,572,"ion-slides",[],null,[[null,"ionSlideDrag"],[null,"ionSlideDidChange"],[null,"ionSlideWillChange"],[null,"panend"]],function(l,n,e){var u=!0,a=l.component;if("ionSlideDrag"===n){u=!1!==a.animateIndicator(e)&&u}if("ionSlideDidChange"===n){u=!1!==a.updateIndicatorPosition()&&u}if("ionSlideWillChange"===n){u=!1!==a.scrollIndicatiorTab()&&u}if("panend"===n){u=!1!==a.updateIndicatorPositionOnTouchEnd()&&u}return u},ov.b,ov.a)),xm._17(61,1228800,[[1,4],["SwipedTabsSlider",4]],0,Zb.a,[Dg.a,Wg.a,xm.H,[2,Hg.a],xm.p,xm.O],{pager:[0,"pager"]},{ionSlideWillChange:"ionSlideWillChange",ionSlideDidChange:"ionSlideDidChange",ionSlideDrag:"ionSlideDrag"}),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(63,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(64,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._18(66,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(67,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(69,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(70,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(72,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(73,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(75,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(77,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(83,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(84,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(86,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(87,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(89,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(90,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(92,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(96,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(97,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(99,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(103,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(104,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(106,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(110,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(111,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(113,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(120,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(121,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(123,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(124,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(126,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(127,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(129,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(130,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(132,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(134,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(140,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(141,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(143,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(144,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(146,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(147,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(149,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(153,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(154,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(156,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(160,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(161,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(163,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(167,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(168,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(170,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(177,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(178,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(180,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(181,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(183,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(184,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(186,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(187,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(189,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(191,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(197,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(198,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(200,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(201,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(203,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(204,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(206,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(210,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(211,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(213,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(217,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(218,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(220,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(224,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(225,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(227,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(234,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(235,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(237,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(238,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(240,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(241,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(243,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(244,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(246,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(248,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(254,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(255,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(257,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(258,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(260,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(261,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(263,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(267,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(268,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(270,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(274,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(275,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(277,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(281,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(282,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(284,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(291,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(292,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(294,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(295,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(297,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(298,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(300,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(301,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(303,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(305,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(311,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(312,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(314,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(315,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(317,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(318,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(320,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(324,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(325,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(327,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(331,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(332,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(334,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(338,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(339,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(341,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(348,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(349,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(351,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(352,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(354,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(355,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(357,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(358,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(360,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(362,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(368,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(369,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(371,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(372,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(374,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(375,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(377,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(381,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(382,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(384,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(388,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(389,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(391,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(395,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(396,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(398,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(405,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(406,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(408,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(409,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(411,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(412,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(414,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(415,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(417,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(419,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(425,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(426,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(428,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(429,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(431,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(432,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(434,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(438,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(439,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(441,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(445,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(446,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(448,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(452,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(453,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(455,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(462,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(463,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(465,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(466,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(468,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(469,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(471,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(472,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(474,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(476,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(482,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(483,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(485,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(486,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(488,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(489,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(491,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(495,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(496,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(498,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(502,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(503,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(505,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(509,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(510,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(512,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(519,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(520,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(522,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(523,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(525,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(526,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(528,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(529,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(531,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(533,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(539,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(540,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(542,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(543,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(545,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(546,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(548,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(552,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(553,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(555,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(559,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(560,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(562,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(566,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(567,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(569,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(576,0,null,0,55,"ion-slide",[],null,null,null,Jb.b,Jb.a)),xm._17(577,180224,null,0,Xb.a,[xm.p,xm.O,Zb.a],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(579,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(580,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(582,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(583,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(585,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(586,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(588,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),xm._18(590,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["56+12*0.45-3=?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(596,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(597,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(599,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(600,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(602,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(603,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(605,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["1. 28.5"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(609,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(610,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(612,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["2. 47.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(616,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(617,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(619,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["3. 86.6"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(623,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,nb.d,nb.a)),xm._17(624,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(626,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["4. 58.4"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,0,["\n\n\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange);l(n,48,0,e.tabs);l(n,61,0,!1)},function(l,n){l(n,6,0,xm._32(n,7)._hidden,xm._32(n,7)._sbPadding);l(n,9,0,xm._32(n,11).isHidden);l(n,15,0,xm._32(n,16)._hidden);l(n,37,0,xm._32(n,38)._sbPadding);l(n,40,0,xm._32(n,41).statusbarPadding,xm._32(n,41)._hasRefresher);l(n,43,0,xm._32(n,44)._disabled);l(n,57,0,xm._32(n,58).statusbarPadding,xm._32(n,58)._hasRefresher)})}function ol(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(8,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["password"])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(13,0,null,null,88,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(14,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._18(16,0,null,1,84,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(17,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(19,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(20,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(23,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(24,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(27,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(33,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(34,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(36,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(37,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(40,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(42,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["New Password"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(47,0,null,null,38,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(48,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,34,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(51,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(53,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(54,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,1,{_control:0}),xm._37(335544320,2,{_placeholderChild:0}),xm._37(335544320,3,{_labelChild:0}),xm._37(603979776,4,{_errorChildren:1}),xm._37(603979776,5,{_hintChildren:1}),xm._37(603979776,6,{_prefixChildren:1}),xm._37(603979776,7,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(63,0,[["newpassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","New Password"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==xm._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,64)._onInput()&&u}return u},null,null)),xm._17(64,933888,null,0,rb.b,[xm.p,Hm.a,[8,null],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[1,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(68,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(71,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,8,{_control:0}),xm._37(335544320,9,{_placeholderChild:0}),xm._37(335544320,10,{_labelChild:0}),xm._37(603979776,11,{_errorChildren:1}),xm._37(603979776,12,{_hintChildren:1}),xm._37(603979776,13,{_prefixChildren:1}),xm._37(603979776,14,{_suffixChildren:1}),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._18(80,0,[["confirmPassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Confirm Password"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==xm._32(l,81)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,81)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,81)._onInput()&&u}return u},null,null)),xm._17(81,933888,null,0,rb.b,[xm.p,Hm.a,[8,null],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[8,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(88,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),xm._17(89,16384,null,0,eb.d,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(91,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(92,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(94,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.setNewPassword(xm._32(l,63).value)&&u}return u},_b.b,_b.a)),xm._17(95,180224,null,0,db.b,[xm.p,Hm.a,sb.j],{color:[0,"color"]},null),xm._17(96,16384,null,0,db.f,[],null,null),(l()(),xm._39(-1,0,["Set Password"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n\n\n"]))],function(l,n){l(n,5,0,"optblue");l(n,64,0,"New Password","","password");l(n,81,0,"Confirm Password","","password");l(n,95,0,"primary")},function(l,n){var e=n.component;l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,13,0,xm._32(n,14).statusbarPadding,xm._32(n,14)._hasRefresher);l(n,29,0,e.commonImage||"../../assets/img/misc/avatar.jpg");l(n,53,1,[xm._32(n,54)._control.errorState,xm._32(n,54)._control.errorState,xm._32(n,54)._canLabelFloat,xm._32(n,54)._shouldLabelFloat(),xm._32(n,54)._hideControlPlaceholder(),xm._32(n,54)._control.disabled,xm._32(n,54)._control.focused,"primary"==xm._32(n,54).color,"accent"==xm._32(n,54).color,"warn"==xm._32(n,54).color,xm._32(n,54)._shouldForward("untouched"),xm._32(n,54)._shouldForward("touched"),xm._32(n,54)._shouldForward("pristine"),xm._32(n,54)._shouldForward("dirty"),xm._32(n,54)._shouldForward("valid"),xm._32(n,54)._shouldForward("invalid"),xm._32(n,54)._shouldForward("pending")]);l(n,63,0,xm._32(n,64)._isServer,xm._32(n,64).id,xm._32(n,64).placeholder,xm._32(n,64).disabled,xm._32(n,64).required,xm._32(n,64).readonly,xm._32(n,64)._ariaDescribedby||null,xm._32(n,64).errorState,xm._32(n,64).required.toString());l(n,70,1,[xm._32(n,71)._control.errorState,xm._32(n,71)._control.errorState,xm._32(n,71)._canLabelFloat,xm._32(n,71)._shouldLabelFloat(),xm._32(n,71)._hideControlPlaceholder(),xm._32(n,71)._control.disabled,xm._32(n,71)._control.focused,"primary"==xm._32(n,71).color,"accent"==xm._32(n,71).color,"warn"==xm._32(n,71).color,xm._32(n,71)._shouldForward("untouched"),xm._32(n,71)._shouldForward("touched"),xm._32(n,71)._shouldForward("pristine"),xm._32(n,71)._shouldForward("dirty"),xm._32(n,71)._shouldForward("valid"),xm._32(n,71)._shouldForward("invalid"),xm._32(n,71)._shouldForward("pending")]);l(n,80,0,xm._32(n,81)._isServer,xm._32(n,81).id,xm._32(n,81).placeholder,xm._32(n,81).disabled,xm._32(n,81).required,xm._32(n,81).readonly,xm._32(n,81)._ariaDescribedby||null,xm._32(n,81).errorState,xm._32(n,81).required.toString());l(n,91,0,"end"===xm._32(n,92).align);l(n,94,0,xm._32(n,95).disabled||null)})}function rl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["PD Listing"]))],null,null)}function _l(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,[" "])),(l()(),xm._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,a=l.component;if("ionCancel"===n){u=!1!==a.filter(a.viewchange)&&u}return u},wb.b,wb.a)),xm._17(4,1294336,null,0,Fb.a,[Dg.a,Wg.a,xm.p,xm.O,[2,Km.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,xm._32(n,4)._animated,xm._32(n,4)._value,xm._32(n,4)._isActive,xm._32(n,4)._showCancelButton,xm._32(n,4)._shouldAlignLeft,xm._32(n,4)._isFocus)})}function dl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function sl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.filter(a.viewchange)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function cl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),xm._18(7,0,null,null,0,"i",[["class","fa-1x fa fa-user-o"]],null,null,null,null,null)),(l()(),xm._39(8,null,["  "," (Main)"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),xm._17(12,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),xm._18(15,0,null,null,0,"i",[["class","fa-1x fa fa-phone"]],null,null,null,null,null)),(l()(),xm._39(16,null,[" "," "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.parent.context.$implicit.applicant_name);l(n,16,0,n.parent.context.$implicit.mobile_no)})}function ml(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),xm._18(7,0,null,null,0,"i",[["class","fa-1x fa fa-user-o"]],null,null,null,null,null)),(l()(),xm._39(8,null,["  ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),xm._17(12,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),xm._18(15,0,null,null,0,"i",[["class","fa-1x fa fa-phone"]],null,null,null,null,null)),(l()(),xm._39(16,null,[" "," "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.parent.context.$implicit.applicant_name);l(n,16,0,n.parent.context.$implicit.mobile_no)})}function pl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,8,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(1,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,cl)),xm._17(4,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ml)),xm._17(7,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"1"==n.context.$implicit.applicant_type);l(n,7,0,"0"==n.context.$implicit.applicant_type)},null)}function fl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,33,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,rl)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n "])),(l()(),xm._13(16777216,null,3,1,null,_l)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(22,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(23,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,2,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,dl)),xm._17(27,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,sl)),xm._17(30,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(35,0,null,null,113,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(36,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(38,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),xm._17(39,212992,null,0,Ab.a,[Wg.a,Kg.a,xm.H,Ug.l],null,{ionRefresh:"ionRefresh"}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(41,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,Vb.b,Vb.a)),xm._17(42,114688,null,0,jb.a,[Ab.a,Dg.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(46,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(48,0,null,1,99,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),xm._17(49,16384,null,0,xb.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(51,0,null,null,69,"mat-card",[["class","box mat-card"],["reorder","true"]],null,null,null,nb.d,nb.a)),xm._17(52,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(54,0,null,0,21,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(55,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(57,0,null,2,17,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(59,0,null,null,5,"mat-card-title",[["class","mat-card-title mat-card-title"]],null,null,null,null,null)),xm._17(60,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(62,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),xm._39(63,null,["",""])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(66,0,null,null,7,"mat-card-subtitle",[["class","mat-card-subtitle mat-card-subtitle"]],null,null,null,null,null)),xm._17(67,16384,null,0,eb.g,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(69,0,null,null,0,"i",[["class","fa-1x fa fa-map-marker"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(71,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(72,null,[""," / -",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(77,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(79,0,null,0,40,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(80,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(82,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Product"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(85,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(86,null,[""," / ","."])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(88,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(89,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(91,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(92,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(94,0,null,null,1,"div",[["style","text-align:right;"]],null,null,null,null,null)),(l()(),xm._39(95,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(97,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(99,0,null,null,0,"h2",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(101,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(102,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(104,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),xm._17(105,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(107,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(108,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(111,0,null,null,6,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),xm._17(112,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(114,0,null,null,2,"h2",[],null,null,null,null,null)),(l()(),xm._18(115,0,null,null,0,"i",[["class","fa-1x fa fa-rupee"]],null,null,null,null,null)),(l()(),xm._39(116,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(122,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(124,0,null,null,21,"mat-card",[["class","box mat-card"],["reorder","true"]],null,null,null,nb.d,nb.a)),xm._17(125,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(127,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(128,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(130,0,null,2,8,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(132,0,null,null,5,"mat-card-title",[["class","mat-card-title mat-card-title"]],null,null,null,null,null)),xm._17(133,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(135,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Applicants"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(141,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,pl)),xm._17(144,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,1,["\n\n \n\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,20,0,e.viewchange);l(n,27,0,!e.viewchange);l(n,30,0,e.viewchange),l(n,39,0);l(n,42,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,144,0,e.pdFullDetails.applicat_details)},function(l,n){var e=n.component;l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,35,0,xm._32(n,36).statusbarPadding,xm._32(n,36)._hasRefresher);l(n,38,0,"inactive"!==xm._32(n,39).state,xm._32(n,39)._top);l(n,41,0,xm._32(n,42).r.state);l(n,63,0,e.pdFullDetails.lender_full_name);l(n,72,0,e.pdFullDetails.city_name,e.pdFullDetails.pincode);l(n,86,0,e.pdFullDetails.product_name,e.pdFullDetails.subproduct_name);l(n,89,0,e.pdFullDetails.pd_type_name);l(n,92,0,e.pdFullDetails.pd_allocated_to);l(n,95,0,e.pdFullDetails.pd_date_of_initiation);l(n,108,0,e.pdFullDetails.pd_status_name);l(n,116,0,e.pdFullDetails.loan_amount)})}function hl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"a",[["color","optblue"],["ion-fab",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.camerasetup()&&u}return u},ev.b,ev.a)),xm._17(1,49152,[[4,4],[2,4]],0,uv.a,[Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue");l(n,3,0,"camera")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function gl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,1,"ion-col",[["class","cusicon col"],["col-1",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,17,"ion-item",[["class","item item-block"]],null,null,null,qg.b,qg.a)),xm._17(7,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,5,{contentLabel:0}),xm._37(603979776,6,{_buttons:1}),xm._37(603979776,7,{_icons:1}),xm._17(11,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(13,0,null,1,2,"ion-label",[["color","primary"],["floating",""]],null,null,null,null,null)),xm._17(14,16384,[[5,4]],0,hv.a,[Dg.a,xm.p,xm.O,[8,""],[8,null],[8,null],[8,null]],{color:[0,"color"]},null),(l()(),xm._39(-1,null,["Schedule Date"])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(17,0,null,3,4,"ion-input",[["placeholder","Text Input"],["type","datetime-local"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"ngModelChange"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=a.datetime-(a.local=e.target.value)!==!1&&u}if("ngModelChange"===n){u=!1!==(a.scheduleDate=e)&&u}return u},gv.b,gv.a)),xm._17(18,671744,null,0,Km.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(20,16384,null,0,Km.s,[Km.r],null,null),xm._17(21,5423104,null,0,bv.a,[Dg.a,Wg.a,Pg.a,$g.a,xm.p,xm.O,[2,Kg.a],[2,kg.a],[2,Km.r],Bg.a],{type:[0,"type"],placeholder:[1,"placeholder"],min:[2,"min"]},{input:"input"}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"primary");l(n,18,0,e.scheduleDate);l(n,21,0,"datetime-local","Text Input",e.maxdate)},function(l,n){l(n,17,0,xm._32(n,20).ngClassUntouched,xm._32(n,20).ngClassTouched,xm._32(n,20).ngClassPristine,xm._32(n,20).ngClassDirty,xm._32(n,20).ngClassValid,xm._32(n,20).ngClassInvalid,xm._32(n,20).ngClassPending)})}function bl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(4,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(7,16384,null,0,ab.a,[],null,null),(l()(),xm._18(8,0,null,null,1,"ion-icon",[["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(9,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),xm._17(12,16384,null,0,ab.a,[],null,null),(l()(),xm._39(13,null,["  ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"md-calendar")},function(l,n){var e=n.component;l(n,8,0,xm._32(n,9)._hidden);l(n,13,0,e.applicatentDetails.scheduled_on)})}function vl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(3,0,null,null,6,"ion-col",[["class","col"],["col-12",""],["style","padding:0px !important;"]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.pdschedule(a.scheduleDate,a.applicatentDetails)&&u}return u},Db.b,Db.a)),xm._17(7,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["Schedule"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","")},null)}function yl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(3,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"],["text-center",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.pdStatus("BOUNCED",a.applicatentDetails)&&u}return u},Db.b,Db.a)),xm._17(7,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["Reject"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px;"],["text-center",""]],null,null,null,null,null)),xm._17(12,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green!important;"]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.pdStatus("ACCEPTED",a.applicatentDetails)&&u}return u},Db.b,Db.a)),xm._17(15,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["Accept"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","");l(n,15,0,"primary","")},null)}function Cl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(3,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green!important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.pdinitiated(a.applicatentDetails)&&u}return u},Db.b,Db.a)),xm._17(7,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["INITIATE"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"]],null,null,null,null,null)),xm._17(13,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(15,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.pdreschedule()&&u}return u},Db.b,Db.a)),xm._17(16,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["Re Schedule"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","");l(n,16,0,"primary","")},function(l,n){l(n,6,0,n.component.enableStartPD)})}function wl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(3,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.startPdDiscussion(a.applicatentDetails)&&u}return u},Db.b,Db.a)),xm._17(4,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["\n Start"])),(l()(),xm._39(-1,null,["\n \n \n "]))],function(l,n){l(n,4,0,"primary","")},null)}function Fl(l){return xm._41(0,[xm._33(0,Df.t,[]),(l()(),xm._18(1,0,null,null,20,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,9).toggle()&&u}return u},Db.b,Db.a)),xm._17(8,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(9,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(10,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(14,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(17,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(18,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(19,0,[""," - ",""])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(23,0,null,null,116,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(24,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n \n \n "])),(l()(),xm._18(26,0,null,0,22,"ion-fab",[["middle",""],["right",""]],null,null,null,lv.b,lv.a)),xm._17(27,1228800,null,2,nv.a,[Wg.a],null,null),xm._37(603979776,2,{_mainButton:0}),xm._37(603979776,3,{_fabLists:1}),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(31,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""]],null,null,null,ev.b,ev.a)),xm._17(32,49152,[[2,4]],0,uv.a,[Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._18(33,0,null,0,1,"ion-icon",[["name","arrow-dropdown"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(34,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(36,0,null,0,11,"ion-fab-list",[],null,null,null,null,null)),xm._17(37,16384,[[3,4]],1,vv.a,[xm.p,xm.O,Dg.a,Wg.a],null,null),xm._37(603979776,4,{_setbuttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(40,0,null,null,3,"a",[["color","secondary"],["ion-fab",""]],[[8,"href",4]],null,null,ev.b,ev.a)),xm._17(41,49152,[[4,4],[2,4]],0,uv.a,[Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._18(42,0,null,0,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(43,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,hl)),xm._17(46,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(50,0,null,1,88,"mat-card",[["class","mat-card"],["style"," border-radius: 10px;"]],null,null,null,nb.d,nb.a)),xm._17(51,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(53,0,null,0,9,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(54,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(56,0,null,null,5,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),xm._17(57,16384,null,0,ab.a,[],null,null),(l()(),xm._18(58,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(59,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(60,null,["  ",""])),xm._35(61,1),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(64,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(66,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(67,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(69,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(70,16384,null,0,ab.a,[],null,null),(l()(),xm._18(71,0,null,null,1,"ion-icon",[["name","md-people"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(72,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(74,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),xm._17(75,16384,null,0,ab.a,[],null,null),(l()(),xm._39(76,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(79,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(81,0,null,0,16,"a",[["style","text-decoration: none;"]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.locationnavicate(a.applicatentDetails.addressline1)&&u}return u},null,null)),(l()(),xm._18(82,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(83,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(85,0,null,null,3,"ion-col",[["class","cusicon col"],["col-1",""]],null,null,null,null,null)),xm._17(86,16384,null,0,ab.a,[],null,null),(l()(),xm._18(87,0,null,null,1,"ion-icon",[["name","pin"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(88,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(90,0,null,null,6,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),xm._17(91,16384,null,0,ab.a,[],null,null),(l()(),xm._39(92,null,["",""])),(l()(),xm._18(93,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(94,null,["\n ",""])),(l()(),xm._18(95,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(96,null,["\n ",""])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(99,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(101,0,null,0,12,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),xm._18(102,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(103,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(105,0,null,null,3,"ion-col",[["class"," col"],["col-1",""]],null,null,null,null,null)),xm._17(106,16384,null,0,ab.a,[],null,null),(l()(),xm._18(107,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(108,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(110,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),xm._17(111,16384,null,0,ab.a,[],null,null),(l()(),xm._39(112,null,[""," "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(115,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(117,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(118,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(120,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(121,16384,null,0,ab.a,[],null,null),(l()(),xm._18(122,0,null,null,1,"ion-icon",[["name","md-briefcase"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(123,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(125,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),xm._17(126,16384,null,0,ab.a,[],null,null),(l()(),xm._39(127,null,[""," / ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(130,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._13(16777216,null,0,1,null,gl)),xm._17(133,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,bl)),xm._17(136,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,[" \n \n \n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(141,0,null,null,18,"ion-footer",[],null,null,null,null,null)),xm._17(142,16384,null,0,Wb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(144,0,null,null,14,"mat-card",[["class","mat-card"],["style","padding:0px !important;"]],null,null,null,nb.d,nb.a)),xm._17(145,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,vl)),xm._17(148,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._13(16777216,null,0,1,null,yl)),xm._17(151,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n \n \n \n "])),(l()(),xm._13(16777216,null,0,1,null,Cl)),xm._17(154,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._13(16777216,null,0,1,null,wl)),xm._17(157,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,32,0,"optblue");l(n,34,0,"arrow-dropdown");l(n,41,0,"secondary");l(n,43,0,"call");l(n,46,0,e.startedAccess);l(n,59,0,"contact");l(n,72,0,"md-people");l(n,88,0,"pin");l(n,108,0,"call");l(n,123,0,"md-briefcase");l(n,133,0,e.scheduleAccess);l(n,136,0,e.initiatedAccess||e.startedAccess);l(n,148,0,e.scheduleAccess);l(n,151,0,e.acceptedAccess);l(n,154,0,e.initiatedAccess);l(n,157,0,e.startedAccess)},function(l,n){var e=n.component;l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,7,0,xm._32(n,9).isHidden);l(n,13,0,xm._32(n,14)._hidden);l(n,19,0,e.applicatentDetails.lender_full_name,e.applicatentDetails.lender_applicant_id);l(n,23,0,xm._32(n,24).statusbarPadding,xm._32(n,24)._hasRefresher);l(n,33,0,xm._32(n,34)._hidden);l(n,40,0,xm._21(1,"tel:?",e.applicatentDetails.applicat_details[0].mobile_no,""));l(n,42,0,xm._32(n,43)._hidden);l(n,58,0,xm._32(n,59)._hidden);l(n,60,0,xm._40(n,60,0,l(n,61,0,xm._32(n,0),e.applicatentDetails.applicat_details[0].applicant_name)));l(n,71,0,xm._32(n,72)._hidden);l(n,76,0,e.applicatentDetails.customer_segment_name);l(n,87,0,xm._32(n,88)._hidden);l(n,92,0,e.applicatentDetails.addressline1);l(n,94,0,e.applicatentDetails.addressline2);l(n,96,0,e.applicatentDetails.addressline3);l(n,101,0,xm._21(1,"tel:?",e.applicatentDetails.applicat_details[0].mobile_no,""));l(n,107,0,xm._32(n,108)._hidden);l(n,112,0,e.applicatentDetails.applicat_details[0].mobile_no);l(n,122,0,xm._32(n,123)._hidden);l(n,127,0,e.applicatentDetails.product_name,e.applicatentDetails.subproduct_name)})}function xl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["OTP Page"]))],null,null)}function Sl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Reason Page"]))],null,null)}function Il(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(7,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,7,0,n.component.balance_time)})}function ql(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,70,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(4,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(8,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(11,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(17,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(18,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(21,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(24,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["OTP"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(32,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,17,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(35,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,[["pin",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","OTP"],["required",""],["style","width: 100%;"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==xm._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,48)._onInput()&&u}return u},null,null)),xm._17(48,933888,null,0,rb.b,[xm.p,Hm.a,[8,null],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(55,0,null,1,14,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),xm._17(56,16384,null,0,eb.d,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(58,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(59,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(61,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkotp(xm._32(l,47).value)&&u}return u},_b.b,_b.a)),xm._17(62,180224,null,0,db.b,[xm.p,Hm.a,sb.j],{color:[0,"color"]},null),xm._17(63,16384,null,0,db.f,[],null,null),(l()(),xm._39(-1,0,["OTP Verify"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Il)),xm._17(68,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,48,0,"OTP","");l(n,62,0,"primary");l(n,68,0,e.timerOn)},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,0,xm._32(n,48)._isServer,xm._32(n,48).id,xm._32(n,48).placeholder,xm._32(n,48).disabled,xm._32(n,48).required,xm._32(n,48).readonly,xm._32(n,48)._ariaDescribedby||null,xm._32(n,48).errorState,xm._32(n,48).required.toString());l(n,58,0,"end"===xm._32(n,59).align);l(n,61,0,xm._32(n,62).disabled||null)})}function kl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.otp_rejection_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.rejection_reason)})}function Pl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_reason"],["matInput",""],["name","others_reason"],["placeholder","Other Reason"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[19,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_reason");l(n,16,0,"Other Reason","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Dl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,84,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(4,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(7,0,null,0,3,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(8,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,58,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(13,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(15,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(16,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(18,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(19,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(21,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["With out OTP Reason"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,43,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(27,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,39,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,31).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,31).onReset()&&u}return u},null,null)),xm._17(30,16384,null,0,Km.B,[],null,null),xm._17(31,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(33,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(36,0,null,null,31,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),xm._17(37,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(39,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(40,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(49,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","reason"],["placeholder","Rejection Reason OTP"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,54)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(51,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(53,16384,null,0,Km.s,[Km.r],null,null),xm._17(54,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,16,{options:1}),xm._37(603979776,17,{optionGroups:1}),xm._37(335544320,18,{customTrigger:0}),xm._36(2048,[[9,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,kl)),xm._17(61,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(64,null,["\n ","\n "])),(l()(),xm._13(16777216,null,null,1,null,Pl)),xm._17(66,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(72,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),xm._17(73,16384,null,0,eb.d,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(75,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(76,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(78,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveotpreasno()&&u}return u},_b.b,_b.a)),xm._17(79,180224,null,0,db.b,[xm.p,Hm.a,sb.j],{color:[0,"color"]},null),xm._17(80,16384,null,0,db.f,[],null,null),(l()(),xm._39(-1,0,["Process"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,31,0,e.reasonForm);l(n,51,0,"reason");l(n,54,0,"Rejection Reason OTP");l(n,61,0,e.reason_otp);l(n,66,0,1==e.reasonForm.get("reason").value);l(n,79,0,"primary")},function(l,n){var e=n.component;l(n,29,0,xm._32(n,33).ngClassUntouched,xm._32(n,33).ngClassTouched,xm._32(n,33).ngClassPristine,xm._32(n,33).ngClassDirty,xm._32(n,33).ngClassValid,xm._32(n,33).ngClassInvalid,xm._32(n,33).ngClassPending);l(n,39,1,[xm._32(n,40)._control.errorState,xm._32(n,40)._control.errorState,xm._32(n,40)._canLabelFloat,xm._32(n,40)._shouldLabelFloat(),xm._32(n,40)._hideControlPlaceholder(),xm._32(n,40)._control.disabled,xm._32(n,40)._control.focused,"primary"==xm._32(n,40).color,"accent"==xm._32(n,40).color,"warn"==xm._32(n,40).color,xm._32(n,40)._shouldForward("untouched"),xm._32(n,40)._shouldForward("touched"),xm._32(n,40)._shouldForward("pristine"),xm._32(n,40)._shouldForward("dirty"),xm._32(n,40)._shouldForward("valid"),xm._32(n,40)._shouldForward("invalid"),xm._32(n,40)._shouldForward("pending")]);l(n,49,1,[xm._32(n,53).ngClassUntouched,xm._32(n,53).ngClassTouched,xm._32(n,53).ngClassPristine,xm._32(n,53).ngClassDirty,xm._32(n,53).ngClassValid,xm._32(n,53).ngClassInvalid,xm._32(n,53).ngClassPending,xm._32(n,54).id,xm._32(n,54).tabIndex,xm._32(n,54)._ariaLabel,xm._32(n,54).ariaLabelledby,xm._32(n,54).required.toString(),xm._32(n,54).disabled.toString(),xm._32(n,54).errorState,xm._32(n,54).panelOpen?xm._32(n,54)._optionIds:null,xm._32(n,54).multiple,xm._32(n,54)._ariaDescribedby||null,xm._32(n,54)._getAriaActiveDescendant(),xm._32(n,54).disabled,xm._32(n,54).errorState,xm._32(n,54).required]);l(n,64,0,e.reason);l(n,75,0,"end"===xm._32(n,76).align);l(n,78,0,xm._32(n,79).disabled||null)})}function Tl(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(1,0,null,null,22,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,18,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,9).toggle()&&u}return u},Db.b,Db.a)),xm._17(8,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(9,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(10,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(14,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,xl)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Sl)),xm._17(21,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(25,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(26,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ql)),xm._17(29,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Dl)),xm._17(32,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,e.otpStatusAccess);l(n,21,0,!e.otpStatusAccess);l(n,29,0,e.otpStatusAccess);l(n,32,0,!e.otpStatusAccess)},function(l,n){l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,7,0,xm._32(n,9).isHidden);l(n,13,0,xm._32(n,14)._hidden);l(n,25,0,xm._32(n,26).statusbarPadding,xm._32(n,26)._hasRefresher)})}function Ol(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Ll(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,[" "," "]))],function(l,n){l(n,1,0,n.context.$implicit.address_type_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.address_type)})}function Al(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_type_others"],["matInput",""],["name","address_type_others"],["placeholder","Specify Address Type"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,18)._onInput()&&u}if("change"===n){u=!1!==a.selectedAddressType(e.target.value)&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),xm._17(18,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[19,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"address_type_others");l(n,18,0,"Specify Address Type","text")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending,xm._32(n,18)._isServer,xm._32(n,18).id,xm._32(n,18).placeholder,xm._32(n,18).disabled,xm._32(n,18).required,xm._32(n,18).readonly,xm._32(n,18)._ariaDescribedby||null,xm._32(n,18).errorState,xm._32(n,18).required.toString()])})}function Vl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["","\n "]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.locality_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.locality_name)})}function jl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","locality_others"],["matInput",""],["name","locality_others"],["placeholder","Specify Locality"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,18)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),xm._17(18,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[36,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"locality_others");l(n,18,0,"Specify Locality")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending,xm._32(n,18)._isServer,xm._32(n,18).id,xm._32(n,18).placeholder,xm._32(n,18).disabled,xm._32(n,18).required,xm._32(n,18).readonly,xm._32(n,18)._ariaDescribedby||null,xm._32(n,18).errorState,xm._32(n,18).required.toString()])})}function Nl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[50,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["","\n "]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.pd_location_approach_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.description)})}function El(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[60,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["","\n "]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.comments_on_locality_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.rating)})}function Wl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,63,{_control:0}),xm._37(335544320,64,{_placeholderChild:0}),xm._37(335544320,65,{_labelChild:0}),xm._37(603979776,66,{_errorChildren:1}),xm._37(603979776,67,{_hintChildren:1}),xm._37(603979776,68,{_prefixChildren:1}),xm._37(603979776,69,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_comment_locality"],["matInput",""],["name","other_comment_locality"],["placeholder","Specify Comment on Locality"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,18)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),xm._17(18,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[63,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"other_comment_locality");l(n,18,0,"Specify Comment on Locality")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending,xm._32(n,18)._isServer,xm._32(n,18).id,xm._32(n,18).placeholder,xm._32(n,18).disabled,xm._32(n,18).required,xm._32(n,18).readonly,xm._32(n,18)._ariaDescribedby||null,xm._32(n,18).errorState,xm._32(n,18).required.toString()])})}function Rl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Ol)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(22,0,null,null,216,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(25,0,null,1,211,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,27).onReset()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.B,[],null,null),xm._17(27,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(29,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,170,"mat-card",[["class","box mat-card"]],null,null,null,nb.d,nb.a)),xm._17(32,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(34,0,null,0,22,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(36,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(37,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(46,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address"],["matInput",""],["name","address"],["placeholder","PD Address"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,47)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,47).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,47)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,47)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,52)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,52)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,52)._onInput()&&u}return u},null,null)),xm._17(47,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(49,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(51,16384,null,0,Km.s,[Km.r],null,null),xm._17(52,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(58,0,null,0,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(60,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(61,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(70,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","address_type"],["name","address_type"],["placeholder","Address Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,74)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,74)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,74)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedAddressType(e.source.triggerValue)&&u}return u},xv.b,xv.a)),xm._17(71,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(73,16384,null,0,Km.s,[Km.r],null,null),xm._17(74,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,16,{options:1}),xm._37(603979776,17,{optionGroups:1}),xm._37(335544320,18,{customTrigger:0}),xm._36(2048,[[9,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(81,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,82)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,82)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(82,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["--"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ll)),xm._17(86,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._13(16777216,null,0,1,null,Al)),xm._17(92,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n\n \n "])),(l()(),xm._18(94,0,null,0,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(96,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(97,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(106,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","locality"],["matInput",""],["name","locality"],["placeholder","PD Locality"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,110)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,110)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,110)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(107,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(109,16384,null,0,Km.s,[Km.r],null,null),xm._17(110,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,33,{options:1}),xm._37(603979776,34,{optionGroups:1}),xm._37(335544320,35,{customTrigger:0}),xm._36(2048,[[26,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(117,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,118)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,118)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(118,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["--"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Vl)),xm._17(122,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n\n "])),(l()(),xm._13(16777216,null,0,1,null,jl)),xm._17(128,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(130,0,null,0,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(132,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(133,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(142,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","pd_location"],["name","pd_location"],["placeholder","Approach to PD Location"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,146)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,146)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,146)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(143,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(145,16384,null,0,Km.s,[Km.r],null,null),xm._17(146,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,50,{options:1}),xm._37(603979776,51,{optionGroups:1}),xm._37(335544320,52,{customTrigger:0}),xm._36(2048,[[43,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(153,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,154)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,154)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(154,8437760,[[50,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["--"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Nl)),xm._17(158,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(163,0,null,0,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(165,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(166,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,53,{_control:0}),xm._37(335544320,54,{_placeholderChild:0}),xm._37(335544320,55,{_labelChild:0}),xm._37(603979776,56,{_errorChildren:1}),xm._37(603979776,57,{_hintChildren:1}),xm._37(603979776,58,{_prefixChildren:1}),xm._37(603979776,59,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(175,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","comment_locality"],["name","comment_locality"],["placeholder","Comment on Locality"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,179)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,179)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,179)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(176,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(178,16384,null,0,Km.s,[Km.r],null,null),xm._17(179,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,60,{options:1}),xm._37(603979776,61,{optionGroups:1}),xm._37(335544320,62,{customTrigger:0}),xm._36(2048,[[53,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(186,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,187)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,187)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(187,8437760,[[60,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["--"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,El)),xm._17(191,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._13(16777216,null,0,1,null,Wl)),xm._17(197,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n\n\n\n"])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,[" \n\n "])),(l()(),xm._18(203,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(204,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(206,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(207,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,70,{_control:0}),xm._37(335544320,71,{_placeholderChild:0}),xm._37(335544320,72,{_labelChild:0}),xm._37(603979776,73,{_errorChildren:1}),xm._37(603979776,74,{_hintChildren:1}),xm._37(603979776,75,{_prefixChildren:1}),xm._37(603979776,76,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(216,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,217)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,217).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,217)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,217)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,222)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,222)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,222)._onInput()&&u}return u},null,null)),xm._17(217,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(219,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(221,16384,null,0,Km.s,[Km.r],null,null),xm._17(222,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[70,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(227,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(228,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(231,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.savepdQuestion(a.pdQuestionAddress.value)&&u}return u},Db.b,Db.a)),xm._17(232,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,1,["\n\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.pdQuestionAddress);l(n,49,0,"address");l(n,52,0,"PD Address","text");l(n,71,0,"address_type");l(n,74,0,"Address Type");l(n,86,0,e.addressTypes);l(n,92,0,1==e.pdQuestionAddress.controls.address_type.value);l(n,107,0,"locality");l(n,110,0,"PD Locality");l(n,122,0,e.locality);l(n,128,0,1==e.pdQuestionAddress.controls.locality.value);l(n,143,0,"pd_location");l(n,146,0,"Approach to PD Location");l(n,158,0,e.pdlocation);l(n,176,0,"comment_locality");l(n,179,0,"Comment on Locality");l(n,191,0,e.cmtlocality);l(n,197,0,1==e.pdQuestionAddress.controls.comment_locality.value);l(n,219,0,"address_form_remark");l(n,222,0,"Remarks");l(n,232,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,25,0,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending);l(n,36,1,[xm._32(n,37)._control.errorState,xm._32(n,37)._control.errorState,xm._32(n,37)._canLabelFloat,xm._32(n,37)._shouldLabelFloat(),xm._32(n,37)._hideControlPlaceholder(),xm._32(n,37)._control.disabled,xm._32(n,37)._control.focused,"primary"==xm._32(n,37).color,"accent"==xm._32(n,37).color,"warn"==xm._32(n,37).color,xm._32(n,37)._shouldForward("untouched"),xm._32(n,37)._shouldForward("touched"),xm._32(n,37)._shouldForward("pristine"),xm._32(n,37)._shouldForward("dirty"),xm._32(n,37)._shouldForward("valid"),xm._32(n,37)._shouldForward("invalid"),xm._32(n,37)._shouldForward("pending")]);l(n,46,1,[xm._32(n,51).ngClassUntouched,xm._32(n,51).ngClassTouched,xm._32(n,51).ngClassPristine,xm._32(n,51).ngClassDirty,xm._32(n,51).ngClassValid,xm._32(n,51).ngClassInvalid,xm._32(n,51).ngClassPending,xm._32(n,52)._isServer,xm._32(n,52).id,xm._32(n,52).placeholder,xm._32(n,52).disabled,xm._32(n,52).required,xm._32(n,52).readonly,xm._32(n,52)._ariaDescribedby||null,xm._32(n,52).errorState,xm._32(n,52).required.toString()]);l(n,60,1,[xm._32(n,61)._control.errorState,xm._32(n,61)._control.errorState,xm._32(n,61)._canLabelFloat,xm._32(n,61)._shouldLabelFloat(),xm._32(n,61)._hideControlPlaceholder(),xm._32(n,61)._control.disabled,xm._32(n,61)._control.focused,"primary"==xm._32(n,61).color,"accent"==xm._32(n,61).color,"warn"==xm._32(n,61).color,xm._32(n,61)._shouldForward("untouched"),xm._32(n,61)._shouldForward("touched"),xm._32(n,61)._shouldForward("pristine"),xm._32(n,61)._shouldForward("dirty"),xm._32(n,61)._shouldForward("valid"),xm._32(n,61)._shouldForward("invalid"),xm._32(n,61)._shouldForward("pending")]);l(n,70,1,[xm._32(n,73).ngClassUntouched,xm._32(n,73).ngClassTouched,xm._32(n,73).ngClassPristine,xm._32(n,73).ngClassDirty,xm._32(n,73).ngClassValid,xm._32(n,73).ngClassInvalid,xm._32(n,73).ngClassPending,xm._32(n,74).id,xm._32(n,74).tabIndex,xm._32(n,74)._ariaLabel,xm._32(n,74).ariaLabelledby,xm._32(n,74).required.toString(),xm._32(n,74).disabled.toString(),xm._32(n,74).errorState,xm._32(n,74).panelOpen?xm._32(n,74)._optionIds:null,xm._32(n,74).multiple,xm._32(n,74)._ariaDescribedby||null,xm._32(n,74)._getAriaActiveDescendant(),xm._32(n,74).disabled,xm._32(n,74).errorState,xm._32(n,74).required]);l(n,81,0,xm._32(n,82)._getTabIndex(),xm._32(n,82).selected,xm._32(n,82).multiple,xm._32(n,82).active,xm._32(n,82).id,xm._32(n,82).selected.toString(),xm._32(n,82).disabled.toString(),xm._32(n,82).disabled);l(n,96,1,[xm._32(n,97)._control.errorState,xm._32(n,97)._control.errorState,xm._32(n,97)._canLabelFloat,xm._32(n,97)._shouldLabelFloat(),xm._32(n,97)._hideControlPlaceholder(),xm._32(n,97)._control.disabled,xm._32(n,97)._control.focused,"primary"==xm._32(n,97).color,"accent"==xm._32(n,97).color,"warn"==xm._32(n,97).color,xm._32(n,97)._shouldForward("untouched"),xm._32(n,97)._shouldForward("touched"),xm._32(n,97)._shouldForward("pristine"),xm._32(n,97)._shouldForward("dirty"),xm._32(n,97)._shouldForward("valid"),xm._32(n,97)._shouldForward("invalid"),xm._32(n,97)._shouldForward("pending")]);l(n,106,1,[xm._32(n,109).ngClassUntouched,xm._32(n,109).ngClassTouched,xm._32(n,109).ngClassPristine,xm._32(n,109).ngClassDirty,xm._32(n,109).ngClassValid,xm._32(n,109).ngClassInvalid,xm._32(n,109).ngClassPending,xm._32(n,110).id,xm._32(n,110).tabIndex,xm._32(n,110)._ariaLabel,xm._32(n,110).ariaLabelledby,xm._32(n,110).required.toString(),xm._32(n,110).disabled.toString(),xm._32(n,110).errorState,xm._32(n,110).panelOpen?xm._32(n,110)._optionIds:null,xm._32(n,110).multiple,xm._32(n,110)._ariaDescribedby||null,xm._32(n,110)._getAriaActiveDescendant(),xm._32(n,110).disabled,xm._32(n,110).errorState,xm._32(n,110).required]);l(n,117,0,xm._32(n,118)._getTabIndex(),xm._32(n,118).selected,xm._32(n,118).multiple,xm._32(n,118).active,xm._32(n,118).id,xm._32(n,118).selected.toString(),xm._32(n,118).disabled.toString(),xm._32(n,118).disabled);l(n,132,1,[xm._32(n,133)._control.errorState,xm._32(n,133)._control.errorState,xm._32(n,133)._canLabelFloat,xm._32(n,133)._shouldLabelFloat(),xm._32(n,133)._hideControlPlaceholder(),xm._32(n,133)._control.disabled,xm._32(n,133)._control.focused,"primary"==xm._32(n,133).color,"accent"==xm._32(n,133).color,"warn"==xm._32(n,133).color,xm._32(n,133)._shouldForward("untouched"),xm._32(n,133)._shouldForward("touched"),xm._32(n,133)._shouldForward("pristine"),xm._32(n,133)._shouldForward("dirty"),xm._32(n,133)._shouldForward("valid"),xm._32(n,133)._shouldForward("invalid"),xm._32(n,133)._shouldForward("pending")]);l(n,142,1,[xm._32(n,145).ngClassUntouched,xm._32(n,145).ngClassTouched,xm._32(n,145).ngClassPristine,xm._32(n,145).ngClassDirty,xm._32(n,145).ngClassValid,xm._32(n,145).ngClassInvalid,xm._32(n,145).ngClassPending,xm._32(n,146).id,xm._32(n,146).tabIndex,xm._32(n,146)._ariaLabel,xm._32(n,146).ariaLabelledby,xm._32(n,146).required.toString(),xm._32(n,146).disabled.toString(),xm._32(n,146).errorState,xm._32(n,146).panelOpen?xm._32(n,146)._optionIds:null,xm._32(n,146).multiple,xm._32(n,146)._ariaDescribedby||null,xm._32(n,146)._getAriaActiveDescendant(),xm._32(n,146).disabled,xm._32(n,146).errorState,xm._32(n,146).required]);l(n,153,0,xm._32(n,154)._getTabIndex(),xm._32(n,154).selected,xm._32(n,154).multiple,xm._32(n,154).active,xm._32(n,154).id,xm._32(n,154).selected.toString(),xm._32(n,154).disabled.toString(),xm._32(n,154).disabled);l(n,165,1,[xm._32(n,166)._control.errorState,xm._32(n,166)._control.errorState,xm._32(n,166)._canLabelFloat,xm._32(n,166)._shouldLabelFloat(),xm._32(n,166)._hideControlPlaceholder(),xm._32(n,166)._control.disabled,xm._32(n,166)._control.focused,"primary"==xm._32(n,166).color,"accent"==xm._32(n,166).color,"warn"==xm._32(n,166).color,xm._32(n,166)._shouldForward("untouched"),xm._32(n,166)._shouldForward("touched"),xm._32(n,166)._shouldForward("pristine"),xm._32(n,166)._shouldForward("dirty"),xm._32(n,166)._shouldForward("valid"),xm._32(n,166)._shouldForward("invalid"),xm._32(n,166)._shouldForward("pending")]);l(n,175,1,[xm._32(n,178).ngClassUntouched,xm._32(n,178).ngClassTouched,xm._32(n,178).ngClassPristine,xm._32(n,178).ngClassDirty,xm._32(n,178).ngClassValid,xm._32(n,178).ngClassInvalid,xm._32(n,178).ngClassPending,xm._32(n,179).id,xm._32(n,179).tabIndex,xm._32(n,179)._ariaLabel,xm._32(n,179).ariaLabelledby,xm._32(n,179).required.toString(),xm._32(n,179).disabled.toString(),xm._32(n,179).errorState,xm._32(n,179).panelOpen?xm._32(n,179)._optionIds:null,xm._32(n,179).multiple,xm._32(n,179)._ariaDescribedby||null,xm._32(n,179)._getAriaActiveDescendant(),xm._32(n,179).disabled,xm._32(n,179).errorState,xm._32(n,179).required]);l(n,186,0,xm._32(n,187)._getTabIndex(),xm._32(n,187).selected,xm._32(n,187).multiple,xm._32(n,187).active,xm._32(n,187).id,xm._32(n,187).selected.toString(),xm._32(n,187).disabled.toString(),xm._32(n,187).disabled);l(n,206,1,[xm._32(n,207)._control.errorState,xm._32(n,207)._control.errorState,xm._32(n,207)._canLabelFloat,xm._32(n,207)._shouldLabelFloat(),xm._32(n,207)._hideControlPlaceholder(),xm._32(n,207)._control.disabled,xm._32(n,207)._control.focused,"primary"==xm._32(n,207).color,"accent"==xm._32(n,207).color,"warn"==xm._32(n,207).color,xm._32(n,207)._shouldForward("untouched"),xm._32(n,207)._shouldForward("touched"),xm._32(n,207)._shouldForward("pristine"),xm._32(n,207)._shouldForward("dirty"),xm._32(n,207)._shouldForward("valid"),xm._32(n,207)._shouldForward("invalid"),xm._32(n,207)._shouldForward("pending")]);l(n,216,1,[xm._32(n,221).ngClassUntouched,xm._32(n,221).ngClassTouched,xm._32(n,221).ngClassPristine,xm._32(n,221).ngClassDirty,xm._32(n,221).ngClassValid,xm._32(n,221).ngClassInvalid,xm._32(n,221).ngClassPending,xm._32(n,222)._isServer,xm._32(n,222).id,xm._32(n,222).placeholder,xm._32(n,222).disabled,xm._32(n,222).required,xm._32(n,222).readonly,xm._32(n,222)._ariaDescribedby||null,xm._32(n,222).errorState,xm._32(n,222).required.toString()])})}function Ul(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Bl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function $l(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[23,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.OtherAssetValueInwords[n.parent.context.index])})}function Ml(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.value,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.viewValue)})}function Kl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,80,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,77,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,71,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(10,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","any_other_assets"],["matInput",""],["placeholder","Description of the Assets"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,25)._onInput()&&u}return u},null,null)),xm._17(20,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(22,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(24,16384,null,0,Km.s,[Km.r],null,null),xm._17(25,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(30,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(39,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","any_other_asset_value"],["matInput",""],["placeholder","Value of the Assets"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,40)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,45)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index,12)&&u}return u},null,null)),xm._17(40,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(42,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(44,16384,null,0,Km.s,[Km.r],null,null),xm._17(45,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[19,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,$l)),xm._17(49,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(52,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(53,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","any_other_asset_loan"],["placeholder","Is there any asset loan?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,67)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(64,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(66,16384,null,0,Km.s,[Km.r],null,null),xm._17(67,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,33,{options:1}),xm._37(603979776,34,{optionGroups:1}),xm._37(335544320,35,{customTrigger:0}),xm._36(2048,[[26,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ml)),xm._17(74,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,22,0,"any_other_assets");l(n,25,0,"Description of the Assets");l(n,42,0,"any_other_asset_value");l(n,45,0,"Value of the Assets");l(n,49,0,""!=n.context.$implicit.get("any_other_asset_value").value);l(n,64,0,"any_other_asset_loan");l(n,67,0,"Is there any asset loan?");l(n,74,0,e.m_any_asset_loan_type)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,9,1,[xm._32(n,10)._control.errorState,xm._32(n,10)._control.errorState,xm._32(n,10)._canLabelFloat,xm._32(n,10)._shouldLabelFloat(),xm._32(n,10)._hideControlPlaceholder(),xm._32(n,10)._control.disabled,xm._32(n,10)._control.focused,"primary"==xm._32(n,10).color,"accent"==xm._32(n,10).color,"warn"==xm._32(n,10).color,xm._32(n,10)._shouldForward("untouched"),xm._32(n,10)._shouldForward("touched"),xm._32(n,10)._shouldForward("pristine"),xm._32(n,10)._shouldForward("dirty"),xm._32(n,10)._shouldForward("valid"),xm._32(n,10)._shouldForward("invalid"),xm._32(n,10)._shouldForward("pending")]);l(n,19,1,[xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending,xm._32(n,25)._isServer,xm._32(n,25).id,xm._32(n,25).placeholder,xm._32(n,25).disabled,xm._32(n,25).required,xm._32(n,25).readonly,xm._32(n,25)._ariaDescribedby||null,xm._32(n,25).errorState,xm._32(n,25).required.toString()]);l(n,29,1,[xm._32(n,30)._control.errorState,xm._32(n,30)._control.errorState,xm._32(n,30)._canLabelFloat,xm._32(n,30)._shouldLabelFloat(),xm._32(n,30)._hideControlPlaceholder(),xm._32(n,30)._control.disabled,xm._32(n,30)._control.focused,"primary"==xm._32(n,30).color,"accent"==xm._32(n,30).color,"warn"==xm._32(n,30).color,xm._32(n,30)._shouldForward("untouched"),xm._32(n,30)._shouldForward("touched"),xm._32(n,30)._shouldForward("pristine"),xm._32(n,30)._shouldForward("dirty"),xm._32(n,30)._shouldForward("valid"),xm._32(n,30)._shouldForward("invalid"),xm._32(n,30)._shouldForward("pending")]);l(n,39,1,[xm._32(n,44).ngClassUntouched,xm._32(n,44).ngClassTouched,xm._32(n,44).ngClassPristine,xm._32(n,44).ngClassDirty,xm._32(n,44).ngClassValid,xm._32(n,44).ngClassInvalid,xm._32(n,44).ngClassPending,xm._32(n,45)._isServer,xm._32(n,45).id,xm._32(n,45).placeholder,xm._32(n,45).disabled,xm._32(n,45).required,xm._32(n,45).readonly,xm._32(n,45)._ariaDescribedby||null,xm._32(n,45).errorState,xm._32(n,45).required.toString()]);l(n,52,1,[xm._32(n,53)._control.errorState,xm._32(n,53)._control.errorState,xm._32(n,53)._canLabelFloat,xm._32(n,53)._shouldLabelFloat(),xm._32(n,53)._hideControlPlaceholder(),xm._32(n,53)._control.disabled,xm._32(n,53)._control.focused,"primary"==xm._32(n,53).color,"accent"==xm._32(n,53).color,"warn"==xm._32(n,53).color,xm._32(n,53)._shouldForward("untouched"),xm._32(n,53)._shouldForward("touched"),xm._32(n,53)._shouldForward("pristine"),xm._32(n,53)._shouldForward("dirty"),xm._32(n,53)._shouldForward("valid"),xm._32(n,53)._shouldForward("invalid"),xm._32(n,53)._shouldForward("pending")]);l(n,62,1,[xm._32(n,66).ngClassUntouched,xm._32(n,66).ngClassTouched,xm._32(n,66).ngClassPristine,xm._32(n,66).ngClassDirty,xm._32(n,66).ngClassValid,xm._32(n,66).ngClassInvalid,xm._32(n,66).ngClassPending,xm._32(n,67).id,xm._32(n,67).tabIndex,xm._32(n,67)._ariaLabel,xm._32(n,67).ariaLabelledby,xm._32(n,67).required.toString(),xm._32(n,67).disabled.toString(),xm._32(n,67).errorState,xm._32(n,67).panelOpen?xm._32(n,67)._optionIds:null,xm._32(n,67).multiple,xm._32(n,67)._ariaDescribedby||null,xm._32(n,67)._getAriaActiveDescendant(),xm._32(n,67).disabled,xm._32(n,67).errorState,xm._32(n,67).required])})}function Hl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Kl)),xm._17(3,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.details.controls)},null)}function Gl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[43,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Yl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,46,{_control:0}),xm._37(335544320,47,{_placeholderChild:0}),xm._37(335544320,48,{_labelChild:0}),xm._37(603979776,49,{_errorChildren:1}),xm._37(603979776,50,{_hintChildren:1}),xm._37(603979776,51,{_prefixChildren:1}),xm._37(603979776,52,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_property_type"],["matInput",""],["placeholder","Other Property Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[46,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_property_type");l(n,16,0,"Other Property Type")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Ql(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,39,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,36,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(10,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Property Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,43,{options:1}),xm._37(603979776,44,{optionGroups:1}),xm._37(335544320,45,{customTrigger:0}),xm._36(2048,[[36,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Gl)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Yl)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,21,0,"property_type");l(n,24,0,"Property Type");l(n,31,0,e.m_propertyType);l(n,36,0,1==n.context.$implicit.get("property_type").value)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,9,1,[xm._32(n,10)._control.errorState,xm._32(n,10)._control.errorState,xm._32(n,10)._canLabelFloat,xm._32(n,10)._shouldLabelFloat(),xm._32(n,10)._hideControlPlaceholder(),xm._32(n,10)._control.disabled,xm._32(n,10)._control.focused,"primary"==xm._32(n,10).color,"accent"==xm._32(n,10).color,"warn"==xm._32(n,10).color,xm._32(n,10)._shouldForward("untouched"),xm._32(n,10)._shouldForward("touched"),xm._32(n,10)._shouldForward("pristine"),xm._32(n,10)._shouldForward("dirty"),xm._32(n,10)._shouldForward("valid"),xm._32(n,10)._shouldForward("invalid"),xm._32(n,10)._shouldForward("pending")]);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function zl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ql)),xm._17(5,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function Jl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(10,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,53,{_control:0}),xm._37(335544320,54,{_placeholderChild:0}),xm._37(335544320,55,{_labelChild:0}),xm._37(603979776,56,{_errorChildren:1}),xm._37(603979776,57,{_hintChildren:1}),xm._37(603979776,58,{_prefixChildren:1}),xm._37(603979776,59,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturer_model_vehicle"],["matInput",""],["placeholder","Manufacturer, Model"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,25)._onInput()&&u}return u},null,null)),xm._17(20,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(22,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(24,16384,null,0,Km.s,[Km.r],null,null),xm._17(25,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[53,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,22,0,"manufacturer_model_vehicle");l(n,25,0,"Manufacturer, Model")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,9,1,[xm._32(n,10)._control.errorState,xm._32(n,10)._control.errorState,xm._32(n,10)._canLabelFloat,xm._32(n,10)._shouldLabelFloat(),xm._32(n,10)._hideControlPlaceholder(),xm._32(n,10)._control.disabled,xm._32(n,10)._control.focused,"primary"==xm._32(n,10).color,"accent"==xm._32(n,10).color,"warn"==xm._32(n,10).color,xm._32(n,10)._shouldForward("untouched"),xm._32(n,10)._shouldForward("touched"),xm._32(n,10)._shouldForward("pristine"),xm._32(n,10)._shouldForward("dirty"),xm._32(n,10)._shouldForward("valid"),xm._32(n,10)._shouldForward("invalid"),xm._32(n,10)._shouldForward("pending")]);l(n,19,1,[xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending,xm._32(n,25)._isServer,xm._32(n,25).id,xm._32(n,25).placeholder,xm._32(n,25).disabled,xm._32(n,25).required,xm._32(n,25).readonly,xm._32(n,25)._ariaDescribedby||null,xm._32(n,25).errorState,xm._32(n,25).required.toString()])})}function Xl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Jl)),xm._17(5,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function Zl(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[64,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.PremiumPaidInwords[n.parent.context.index])})}function ln(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[74,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function nn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,77,{_control:0}),xm._37(335544320,78,{_placeholderChild:0}),xm._37(335544320,79,{_labelChild:0}),xm._37(603979776,80,{_errorChildren:1}),xm._37(603979776,81,{_hintChildren:1}),xm._37(603979776,82,{_prefixChildren:1}),xm._37(603979776,83,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequency_mode"],["matInput",""],["placeholder","Specify Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[77,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequency_mode");l(n,16,0,"Specify Frequency")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function en(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[88,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.SumAssuredInwords[n.parent.context.index])})}function un(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,123,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,120,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,62,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(9,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(12,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,60,{_control:0}),xm._37(335544320,61,{_placeholderChild:0}),xm._37(335544320,62,{_labelChild:0}),xm._37(603979776,63,{_errorChildren:1}),xm._37(603979776,64,{_hintChildren:1}),xm._37(603979776,65,{_prefixChildren:1}),xm._37(603979776,66,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","premium_paid"],["matInput",""],["placeholder","Premium Paid"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,22)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,22).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,22)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,22)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,27)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index,5)&&u}return u},null,null)),xm._17(22,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(24,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(26,16384,null,0,Km.s,[Km.r],null,null),xm._17(27,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[60,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Zl)),xm._17(31,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,27,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,67,{_control:0}),xm._37(335544320,68,{_placeholderChild:0}),xm._37(335544320,69,{_labelChild:0}),xm._37(603979776,70,{_errorChildren:1}),xm._37(603979776,71,{_hintChildren:1}),xm._37(603979776,72,{_prefixChildren:1}),xm._37(603979776,73,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","frequency_mode"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,52)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,52)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,52)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(49,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(51,16384,null,0,Km.s,[Km.r],null,null),xm._17(52,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,74,{options:1}),xm._37(603979776,75,{optionGroups:1}),xm._37(335544320,76,{customTrigger:0}),xm._36(2048,[[67,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ln)),xm._17(59,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(64,0,null,null,4,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,nn)),xm._17(67,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(71,0,null,null,50,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(73,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(75,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(76,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,84,{_control:0}),xm._37(335544320,85,{_placeholderChild:0}),xm._37(335544320,86,{_labelChild:0}),xm._37(603979776,87,{_errorChildren:1}),xm._37(603979776,88,{_hintChildren:1}),xm._37(603979776,89,{_prefixChildren:1}),xm._37(603979776,90,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(85,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sum_assured"],["matInput",""],["placeholder","Sum Assured"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,86)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,86).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,86)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,86)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,91)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,91)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,91)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index,7)&&u}return u},null,null)),xm._17(86,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(88,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(90,16384,null,0,Km.s,[Km.r],null,null),xm._17(91,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[84,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,en)),xm._17(95,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(99,0,null,null,21,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(101,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(102,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,91,{_control:0}),xm._37(335544320,92,{_placeholderChild:0}),xm._37(335544320,93,{_labelChild:0}),xm._37(603979776,94,{_errorChildren:1}),xm._37(603979776,95,{_hintChildren:1}),xm._37(603979776,96,{_prefixChildren:1}),xm._37(603979776,97,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(111,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","members_coverd"],["matInput",""],["placeholder","Members Covered"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,112)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,112).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,112)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,112)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,117)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,117)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,117)._onInput()&&u}return u},null,null)),xm._17(112,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(114,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(116,16384,null,0,Km.s,[Km.r],null,null),xm._17(117,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[91,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,24,0,"premium_paid");l(n,27,0,"Premium Paid");l(n,31,0,""!=n.context.$implicit.get("premium_paid").value);l(n,49,0,"frequency_mode");l(n,52,0,"Frequency");l(n,59,0,e.m_freqOfPurchase);l(n,67,0,1==n.context.$implicit.get("frequency_mode").value);l(n,88,0,"sum_assured");l(n,91,0,"Sum Assured");l(n,95,0,""!=n.context.$implicit.get("sum_assured").value);l(n,114,0,"members_coverd");l(n,117,0,"Members Covered")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,11,1,[xm._32(n,12)._control.errorState,xm._32(n,12)._control.errorState,xm._32(n,12)._canLabelFloat,xm._32(n,12)._shouldLabelFloat(),xm._32(n,12)._hideControlPlaceholder(),xm._32(n,12)._control.disabled,xm._32(n,12)._control.focused,"primary"==xm._32(n,12).color,"accent"==xm._32(n,12).color,"warn"==xm._32(n,12).color,xm._32(n,12)._shouldForward("untouched"),xm._32(n,12)._shouldForward("touched"),xm._32(n,12)._shouldForward("pristine"),xm._32(n,12)._shouldForward("dirty"),xm._32(n,12)._shouldForward("valid"),xm._32(n,12)._shouldForward("invalid"),xm._32(n,12)._shouldForward("pending")]);l(n,21,1,[xm._32(n,26).ngClassUntouched,xm._32(n,26).ngClassTouched,xm._32(n,26).ngClassPristine,xm._32(n,26).ngClassDirty,xm._32(n,26).ngClassValid,xm._32(n,26).ngClassInvalid,xm._32(n,26).ngClassPending,xm._32(n,27)._isServer,xm._32(n,27).id,xm._32(n,27).placeholder,xm._32(n,27).disabled,xm._32(n,27).required,xm._32(n,27).readonly,xm._32(n,27)._ariaDescribedby||null,xm._32(n,27).errorState,xm._32(n,27).required.toString()]);l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,1,[xm._32(n,51).ngClassUntouched,xm._32(n,51).ngClassTouched,xm._32(n,51).ngClassPristine,xm._32(n,51).ngClassDirty,xm._32(n,51).ngClassValid,xm._32(n,51).ngClassInvalid,xm._32(n,51).ngClassPending,xm._32(n,52).id,xm._32(n,52).tabIndex,xm._32(n,52)._ariaLabel,xm._32(n,52).ariaLabelledby,xm._32(n,52).required.toString(),xm._32(n,52).disabled.toString(),xm._32(n,52).errorState,xm._32(n,52).panelOpen?xm._32(n,52)._optionIds:null,xm._32(n,52).multiple,xm._32(n,52)._ariaDescribedby||null,xm._32(n,52)._getAriaActiveDescendant(),xm._32(n,52).disabled,xm._32(n,52).errorState,xm._32(n,52).required]);l(n,75,1,[xm._32(n,76)._control.errorState,xm._32(n,76)._control.errorState,xm._32(n,76)._canLabelFloat,xm._32(n,76)._shouldLabelFloat(),xm._32(n,76)._hideControlPlaceholder(),xm._32(n,76)._control.disabled,xm._32(n,76)._control.focused,"primary"==xm._32(n,76).color,"accent"==xm._32(n,76).color,"warn"==xm._32(n,76).color,xm._32(n,76)._shouldForward("untouched"),xm._32(n,76)._shouldForward("touched"),xm._32(n,76)._shouldForward("pristine"),xm._32(n,76)._shouldForward("dirty"),xm._32(n,76)._shouldForward("valid"),xm._32(n,76)._shouldForward("invalid"),xm._32(n,76)._shouldForward("pending")]);l(n,85,1,[xm._32(n,90).ngClassUntouched,xm._32(n,90).ngClassTouched,xm._32(n,90).ngClassPristine,xm._32(n,90).ngClassDirty,xm._32(n,90).ngClassValid,xm._32(n,90).ngClassInvalid,xm._32(n,90).ngClassPending,xm._32(n,91)._isServer,xm._32(n,91).id,xm._32(n,91).placeholder,xm._32(n,91).disabled,xm._32(n,91).required,xm._32(n,91).readonly,xm._32(n,91)._ariaDescribedby||null,xm._32(n,91).errorState,xm._32(n,91).required.toString()]);l(n,101,1,[xm._32(n,102)._control.errorState,xm._32(n,102)._control.errorState,xm._32(n,102)._canLabelFloat,xm._32(n,102)._shouldLabelFloat(),xm._32(n,102)._hideControlPlaceholder(),xm._32(n,102)._control.disabled,xm._32(n,102)._control.focused,"primary"==xm._32(n,102).color,"accent"==xm._32(n,102).color,"warn"==xm._32(n,102).color,xm._32(n,102)._shouldForward("untouched"),xm._32(n,102)._shouldForward("touched"),xm._32(n,102)._shouldForward("pristine"),xm._32(n,102)._shouldForward("dirty"),xm._32(n,102)._shouldForward("valid"),xm._32(n,102)._shouldForward("invalid"),xm._32(n,102)._shouldForward("pending")]);l(n,111,1,[xm._32(n,116).ngClassUntouched,xm._32(n,116).ngClassTouched,xm._32(n,116).ngClassPristine,xm._32(n,116).ngClassDirty,xm._32(n,116).ngClassValid,xm._32(n,116).ngClassInvalid,xm._32(n,116).ngClassPending,xm._32(n,117)._isServer,xm._32(n,117).id,xm._32(n,117).placeholder,xm._32(n,117).disabled,xm._32(n,117).required,xm._32(n,117).readonly,xm._32(n,117)._ariaDescribedby||null,xm._32(n,117).errorState,xm._32(n,117).required.toString()])})}function an(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,4,"div",[["fxFill",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,un)),xm._17(5,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function tn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[105,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function on(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,108,{_control:0}),xm._37(335544320,109,{_placeholderChild:0}),xm._37(335544320,110,{_labelChild:0}),xm._37(603979776,111,{_errorChildren:1}),xm._37(603979776,112,{_hintChildren:1}),xm._37(603979776,113,{_prefixChildren:1}),xm._37(603979776,114,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_investments_type"],["matInput",""],["placeholder","Specify Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[108,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_investments_type");l(n,16,0,"Specify Type")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function rn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[119,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AmtInvestInwords[n.parent.context.index])})}function _n(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,91,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,88,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,82,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,30,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(12,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,98,{_control:0}),xm._37(335544320,99,{_placeholderChild:0}),xm._37(335544320,100,{_labelChild:0}),xm._37(603979776,101,{_errorChildren:1}),xm._37(603979776,102,{_hintChildren:1}),xm._37(603979776,103,{_prefixChildren:1}),xm._37(603979776,104,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","investments_type"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,26)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(23,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(25,16384,null,0,Km.s,[Km.r],null,null),xm._17(26,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,105,{options:1}),xm._37(603979776,106,{optionGroups:1}),xm._37(335544320,107,{customTrigger:0}),xm._36(2048,[[98,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,tn)),xm._17(33,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,on)),xm._17(38,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(41,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(44,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,115,{_control:0}),xm._37(335544320,116,{_placeholderChild:0}),xm._37(335544320,117,{_labelChild:0}),xm._37(603979776,118,{_errorChildren:1}),xm._37(603979776,119,{_hintChildren:1}),xm._37(603979776,120,{_prefixChildren:1}),xm._37(603979776,121,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(53,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_of_invest"],["matInput",""],["placeholder","Amount of Investment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,54)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,59)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,59)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,59)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index,9)&&u}return u},null,null)),xm._17(54,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(56,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(58,16384,null,0,Km.s,[Km.r],null,null),xm._17(59,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[115,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,rn)),xm._17(63,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,21,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(69,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(70,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,122,{_control:0}),xm._37(335544320,123,{_placeholderChild:0}),xm._37(335544320,124,{_labelChild:0}),xm._37(603979776,125,{_errorChildren:1}),xm._37(603979776,126,{_hintChildren:1}),xm._37(603979776,127,{_prefixChildren:1}),xm._37(603979776,128,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(79,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bank_name"],["matInput",""],["placeholder","Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,80)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,80).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,80)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,80)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,85)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,85)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,85)._onInput()&&u}return u},null,null)),xm._17(80,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(82,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(84,16384,null,0,Km.s,[Km.r],null,null),xm._17(85,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[122,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,23,0,"investments_type");l(n,26,0,"Type");l(n,33,0,e.m_investmentType);l(n,38,0,1==n.context.$implicit.get("investments_type").value);l(n,56,0,"amount_of_invest");l(n,59,0,"Amount of Investment");l(n,63,0,""!=n.context.$implicit.get("amount_of_invest").value);l(n,82,0,"bank_name");l(n,85,0,"Bank Name")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,11,1,[xm._32(n,12)._control.errorState,xm._32(n,12)._control.errorState,xm._32(n,12)._canLabelFloat,xm._32(n,12)._shouldLabelFloat(),xm._32(n,12)._hideControlPlaceholder(),xm._32(n,12)._control.disabled,xm._32(n,12)._control.focused,"primary"==xm._32(n,12).color,"accent"==xm._32(n,12).color,"warn"==xm._32(n,12).color,xm._32(n,12)._shouldForward("untouched"),xm._32(n,12)._shouldForward("touched"),xm._32(n,12)._shouldForward("pristine"),xm._32(n,12)._shouldForward("dirty"),xm._32(n,12)._shouldForward("valid"),xm._32(n,12)._shouldForward("invalid"),xm._32(n,12)._shouldForward("pending")]);l(n,21,1,[xm._32(n,25).ngClassUntouched,xm._32(n,25).ngClassTouched,xm._32(n,25).ngClassPristine,xm._32(n,25).ngClassDirty,xm._32(n,25).ngClassValid,xm._32(n,25).ngClassInvalid,xm._32(n,25).ngClassPending,xm._32(n,26).id,xm._32(n,26).tabIndex,xm._32(n,26)._ariaLabel,xm._32(n,26).ariaLabelledby,xm._32(n,26).required.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).errorState,xm._32(n,26).panelOpen?xm._32(n,26)._optionIds:null,xm._32(n,26).multiple,xm._32(n,26)._ariaDescribedby||null,xm._32(n,26)._getAriaActiveDescendant(),xm._32(n,26).disabled,xm._32(n,26).errorState,xm._32(n,26).required]);l(n,43,1,[xm._32(n,44)._control.errorState,xm._32(n,44)._control.errorState,xm._32(n,44)._canLabelFloat,xm._32(n,44)._shouldLabelFloat(),xm._32(n,44)._hideControlPlaceholder(),xm._32(n,44)._control.disabled,xm._32(n,44)._control.focused,"primary"==xm._32(n,44).color,"accent"==xm._32(n,44).color,"warn"==xm._32(n,44).color,xm._32(n,44)._shouldForward("untouched"),xm._32(n,44)._shouldForward("touched"),xm._32(n,44)._shouldForward("pristine"),xm._32(n,44)._shouldForward("dirty"),xm._32(n,44)._shouldForward("valid"),xm._32(n,44)._shouldForward("invalid"),xm._32(n,44)._shouldForward("pending")]);l(n,53,1,[xm._32(n,58).ngClassUntouched,xm._32(n,58).ngClassTouched,xm._32(n,58).ngClassPristine,xm._32(n,58).ngClassDirty,xm._32(n,58).ngClassValid,xm._32(n,58).ngClassInvalid,xm._32(n,58).ngClassPending,xm._32(n,59)._isServer,xm._32(n,59).id,xm._32(n,59).placeholder,xm._32(n,59).disabled,xm._32(n,59).required,xm._32(n,59).readonly,xm._32(n,59)._ariaDescribedby||null,xm._32(n,59).errorState,xm._32(n,59).required.toString()]);l(n,69,1,[xm._32(n,70)._control.errorState,xm._32(n,70)._control.errorState,xm._32(n,70)._canLabelFloat,xm._32(n,70)._shouldLabelFloat(),xm._32(n,70)._hideControlPlaceholder(),xm._32(n,70)._control.disabled,xm._32(n,70)._control.focused,"primary"==xm._32(n,70).color,"accent"==xm._32(n,70).color,"warn"==xm._32(n,70).color,xm._32(n,70)._shouldForward("untouched"),xm._32(n,70)._shouldForward("touched"),xm._32(n,70)._shouldForward("pristine"),xm._32(n,70)._shouldForward("dirty"),xm._32(n,70)._shouldForward("valid"),xm._32(n,70)._shouldForward("invalid"),xm._32(n,70)._shouldForward("pending")]);l(n,79,1,[xm._32(n,84).ngClassUntouched,xm._32(n,84).ngClassTouched,xm._32(n,84).ngClassPristine,xm._32(n,84).ngClassDirty,xm._32(n,84).ngClassValid,xm._32(n,84).ngClassInvalid,xm._32(n,84).ngClassPending,xm._32(n,85)._isServer,xm._32(n,85).id,xm._32(n,85).placeholder,xm._32(n,85).disabled,xm._32(n,85).required,xm._32(n,85).readonly,xm._32(n,85)._ariaDescribedby||null,xm._32(n,85).errorState,xm._32(n,85).required.toString()])})}function dn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,_n)),xm._17(5,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function sn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,21,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(5,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,129,{_control:0}),xm._37(335544320,130,{_placeholderChild:0}),xm._37(335544320,131,{_labelChild:0}),xm._37(603979776,132,{_errorChildren:1}),xm._37(603979776,133,{_hintChildren:1}),xm._37(603979776,134,{_prefixChildren:1}),xm._37(603979776,135,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(14,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,20)._onInput()&&u}return u},null,null)),xm._17(15,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(17,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(19,16384,null,0,Km.s,[Km.r],null,null),xm._17(20,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[129,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,17,0,"approximate_market_value");l(n,20,0,"Approximate Market Value")},function(l,n){l(n,4,1,[xm._32(n,5)._control.errorState,xm._32(n,5)._control.errorState,xm._32(n,5)._canLabelFloat,xm._32(n,5)._shouldLabelFloat(),xm._32(n,5)._hideControlPlaceholder(),xm._32(n,5)._control.disabled,xm._32(n,5)._control.focused,"primary"==xm._32(n,5).color,"accent"==xm._32(n,5).color,"warn"==xm._32(n,5).color,xm._32(n,5)._shouldForward("untouched"),xm._32(n,5)._shouldForward("touched"),xm._32(n,5)._shouldForward("pristine"),xm._32(n,5)._shouldForward("dirty"),xm._32(n,5)._shouldForward("valid"),xm._32(n,5)._shouldForward("invalid"),xm._32(n,5)._shouldForward("pending")]);l(n,14,1,[xm._32(n,19).ngClassUntouched,xm._32(n,19).ngClassTouched,xm._32(n,19).ngClassPristine,xm._32(n,19).ngClassDirty,xm._32(n,19).ngClassValid,xm._32(n,19).ngClassInvalid,xm._32(n,19).ngClassPending,xm._32(n,20)._isServer,xm._32(n,20).id,xm._32(n,20).placeholder,xm._32(n,20).disabled,xm._32(n,20).required,xm._32(n,20).readonly,xm._32(n,20)._ariaDescribedby||null,xm._32(n,20).errorState,xm._32(n,20).required.toString()])})}function cn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[143,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function mn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,Fv.d,Fv.a)),xm._17(1,49152,[[144,4]],0,ob.s,[],{label:[0,"label"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,0,1,null,cn)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,xm._32(n,1).disabled,xm._32(n,1).disabled.toString(),xm._32(n,1)._labelId)})}function pn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,146,{_control:0}),xm._37(335544320,147,{_placeholderChild:0}),xm._37(335544320,148,{_labelChild:0}),xm._37(603979776,149,{_errorChildren:1}),xm._37(603979776,150,{_hintChildren:1}),xm._37(603979776,151,{_prefixChildren:1}),xm._37(603979776,152,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_owner"],["matInput",""],["placeholder","Specify Owner Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[146,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_owner");l(n,16,0,"Specify Owner Name")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function fn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,53,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,153,{_control:0}),xm._37(335544320,154,{_placeholderChild:0}),xm._37(335544320,155,{_labelChild:0}),xm._37(603979776,156,{_errorChildren:1}),xm._37(603979776,157,{_hintChildren:1}),xm._37(603979776,158,{_prefixChildren:1}),xm._37(603979776,159,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(13,16384,[[155,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Vintage"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_personal"],["matInput",""],["maxlength","3"],["minlength","1"],["placeholder","eg.999"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,17)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,25)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("keyup"===n){u=!1!==a.calculateVintagePurchase(e.target.value,l.parent.context.index,3)&&u}return u},null,null)),xm._17(17,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(18,540672,null,0,Km.o,[],{minlength:[0,"minlength"]},null),xm._17(19,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l,n){return[l,n]},[Km.o,Km.n]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(22,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(24,16384,null,0,Km.s,[Km.r],null,null),xm._17(25,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[153,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(30,0,null,null,22,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(33,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,160,{_control:0}),xm._37(335544320,161,{_placeholderChild:0}),xm._37(335544320,162,{_labelChild:0}),xm._37(603979776,163,{_errorChildren:1}),xm._37(603979776,164,{_hintChildren:1}),xm._37(603979776,165,{_prefixChildren:1}),xm._37(603979776,166,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(42,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_year"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,49)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,49)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,49)._onInput()&&u}return u},null,null)),xm._17(43,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(44,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(46,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(48,16384,null,0,Km.s,[Km.r],null,null),xm._17(49,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[160,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,18,0,"1");l(n,19,0,"3");l(n,22,0,"vintage_personal");l(n,25,0,"eg.999");l(n,46,0,"purchase_year");l(n,49,0,"Year","number")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,16,1,[xm._32(n,18).minlength?xm._32(n,18).minlength:null,xm._32(n,19).maxlength?xm._32(n,19).maxlength:null,xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending,xm._32(n,25)._isServer,xm._32(n,25).id,xm._32(n,25).placeholder,xm._32(n,25).disabled,xm._32(n,25).required,xm._32(n,25).readonly,xm._32(n,25)._ariaDescribedby||null,xm._32(n,25).errorState,xm._32(n,25).required.toString()]);l(n,32,1,[xm._32(n,33)._control.errorState,xm._32(n,33)._control.errorState,xm._32(n,33)._canLabelFloat,xm._32(n,33)._shouldLabelFloat(),xm._32(n,33)._hideControlPlaceholder(),xm._32(n,33)._control.disabled,xm._32(n,33)._control.focused,"primary"==xm._32(n,33).color,"accent"==xm._32(n,33).color,"warn"==xm._32(n,33).color,xm._32(n,33)._shouldForward("untouched"),xm._32(n,33)._shouldForward("touched"),xm._32(n,33)._shouldForward("pristine"),xm._32(n,33)._shouldForward("dirty"),xm._32(n,33)._shouldForward("valid"),xm._32(n,33)._shouldForward("invalid"),xm._32(n,33)._shouldForward("pending")]);l(n,42,1,[xm._32(n,48).ngClassUntouched,xm._32(n,48).ngClassTouched,xm._32(n,48).ngClassPristine,xm._32(n,48).ngClassDirty,xm._32(n,48).ngClassValid,xm._32(n,48).ngClassInvalid,xm._32(n,48).ngClassPending,xm._32(n,49)._isServer,xm._32(n,49).id,xm._32(n,49).placeholder,xm._32(n,49).disabled,xm._32(n,49).required,xm._32(n,49).readonly,xm._32(n,49)._ariaDescribedby||null,xm._32(n,49).errorState,xm._32(n,49).required.toString()])})}function hn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,34,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,31,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,25,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,22,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(7,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(9,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Is there a loan?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(13,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,167,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(20,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,21)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(21,4440064,[[167,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["YES"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(24,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,25)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(25,4440064,[[167,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["NO"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"emi");l(n,21,0,"yes");l(n,25,0,"no")},function(l,n){l(n,12,0,xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending);l(n,20,0,xm._32(n,21).checked,xm._32(n,21).disabled,xm._32(n,21).id);l(n,24,0,xm._32(n,25).checked,xm._32(n,25).disabled,xm._32(n,25).id)})}function gn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addAsset(1)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function bn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,150,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,147,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(6,null,["Asset Details # ",""])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,140,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(9,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,136,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(12,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(14,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,27,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","5px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(18,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(19,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(28,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","assets_mode"],["placeholder","Assets Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,33)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,33)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,33)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedAssetsType(e,l.context.index,1)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(30,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(32,16384,null,0,Km.s,[Km.r],null,null),xm._17(33,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Bl)),xm._17(40,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(46,0,null,null,30,"div",[["formArrayName","details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(47,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(49,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Hl)),xm._17(53,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,zl)),xm._17(57,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Xl)),xm._17(61,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,an)),xm._17(69,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,dn)),xm._17(73,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(79,0,null,null,4,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,sn)),xm._17(82,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(85,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(87,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(88,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,136,{_control:0}),xm._37(335544320,137,{_placeholderChild:0}),xm._37(335544320,138,{_labelChild:0}),xm._37(603979776,139,{_errorChildren:1}),xm._37(603979776,140,{_hintChildren:1}),xm._37(603979776,141,{_prefixChildren:1}),xm._37(603979776,142,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(97,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","name_of_the_owner"],["placeholder","Name of the Owner"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,102)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,102)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,102)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(99,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(101,16384,null,0,Km.s,[Km.r],null,null),xm._17(102,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),xm._37(603979776,143,{options:1}),xm._37(603979776,144,{optionGroups:1}),xm._37(335544320,145,{customTrigger:0}),xm._36(2048,[[136,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,mn)),xm._17(109,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,pn)),xm._17(114,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,fn)),xm._17(120,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,hn)),xm._17(124,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(126,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(127,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,168,{_buttons:1}),(l()(),xm._39(-1,null,[" \n \n "])),(l()(),xm._18(130,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(131,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(133,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteAsset(l.context.index,1)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(135,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(136,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(140,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(141,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,gn)),xm._17(144,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,n.context.index);l(n,30,0,"assets_mode");l(n,33,0,"Assets Type");l(n,40,0,e.m_assets_type);l(n,47,0,"details");l(n,53,0,1==n.context.$implicit.get("assets_mode").value);l(n,57,0,2==n.context.$implicit.get("assets_mode").value);l(n,61,0,3==n.context.$implicit.get("assets_mode").value);l(n,69,0,6==n.context.$implicit.get("assets_mode").value);l(n,73,0,7==n.context.$implicit.get("assets_mode").value);l(n,82,0,2==n.context.$implicit.get("assets_mode").value||5==n.context.$implicit.get("assets_mode").value);l(n,99,0,"name_of_the_owner");l(n,102,0,"Name of the Owner",e.compareObjects);l(n,109,0,e.mergeCompanyApplicant);l(n,114,0,!0===e.checkOthers(n.context.$implicit.get("name_of_the_owner").value));l(n,120,0,1==n.context.$implicit.get("assets_mode").value||2==n.context.$implicit.get("assets_mode").value||3==n.context.$implicit.get("assets_mode").value);l(n,124,0,7==n.context.$implicit.get("assets_mode").value||6==n.context.$implicit.get("assets_mode").value||3==n.context.$implicit.get("assets_mode").value||4==n.context.$implicit.get("assets_mode").value||5==n.context.$implicit.get("assets_mode").value);l(n,136,0,"optblue","md-trash");l(n,144,0,n.context.last)},function(l,n){l(n,6,0,n.context.index+1);l(n,11,0,xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending);l(n,18,1,[xm._32(n,19)._control.errorState,xm._32(n,19)._control.errorState,xm._32(n,19)._canLabelFloat,xm._32(n,19)._shouldLabelFloat(),xm._32(n,19)._hideControlPlaceholder(),xm._32(n,19)._control.disabled,xm._32(n,19)._control.focused,"primary"==xm._32(n,19).color,"accent"==xm._32(n,19).color,"warn"==xm._32(n,19).color,xm._32(n,19)._shouldForward("untouched"),xm._32(n,19)._shouldForward("touched"),xm._32(n,19)._shouldForward("pristine"),xm._32(n,19)._shouldForward("dirty"),xm._32(n,19)._shouldForward("valid"),xm._32(n,19)._shouldForward("invalid"),xm._32(n,19)._shouldForward("pending")]);l(n,28,1,[xm._32(n,32).ngClassUntouched,xm._32(n,32).ngClassTouched,xm._32(n,32).ngClassPristine,xm._32(n,32).ngClassDirty,xm._32(n,32).ngClassValid,xm._32(n,32).ngClassInvalid,xm._32(n,32).ngClassPending,xm._32(n,33).id,xm._32(n,33).tabIndex,xm._32(n,33)._ariaLabel,xm._32(n,33).ariaLabelledby,xm._32(n,33).required.toString(),xm._32(n,33).disabled.toString(),xm._32(n,33).errorState,xm._32(n,33).panelOpen?xm._32(n,33)._optionIds:null,xm._32(n,33).multiple,xm._32(n,33)._ariaDescribedby||null,xm._32(n,33)._getAriaActiveDescendant(),xm._32(n,33).disabled,xm._32(n,33).errorState,xm._32(n,33).required]);l(n,46,0,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending);l(n,87,1,[xm._32(n,88)._control.errorState,xm._32(n,88)._control.errorState,xm._32(n,88)._canLabelFloat,xm._32(n,88)._shouldLabelFloat(),xm._32(n,88)._hideControlPlaceholder(),xm._32(n,88)._control.disabled,xm._32(n,88)._control.focused,"primary"==xm._32(n,88).color,"accent"==xm._32(n,88).color,"warn"==xm._32(n,88).color,xm._32(n,88)._shouldForward("untouched"),xm._32(n,88)._shouldForward("touched"),xm._32(n,88)._shouldForward("pristine"),xm._32(n,88)._shouldForward("dirty"),xm._32(n,88)._shouldForward("valid"),xm._32(n,88)._shouldForward("invalid"),xm._32(n,88)._shouldForward("pending")]);l(n,97,1,[xm._32(n,101).ngClassUntouched,xm._32(n,101).ngClassTouched,xm._32(n,101).ngClassPristine,xm._32(n,101).ngClassDirty,xm._32(n,101).ngClassValid,xm._32(n,101).ngClassInvalid,xm._32(n,101).ngClassPending,xm._32(n,102).id,xm._32(n,102).tabIndex,xm._32(n,102)._ariaLabel,xm._32(n,102).ariaLabelledby,xm._32(n,102).required.toString(),xm._32(n,102).disabled.toString(),xm._32(n,102).errorState,xm._32(n,102).panelOpen?xm._32(n,102)._optionIds:null,xm._32(n,102).multiple,xm._32(n,102)._ariaDescribedby||null,xm._32(n,102)._getAriaActiveDescendant(),xm._32(n,102).disabled,xm._32(n,102).errorState,xm._32(n,102).required]);l(n,135,0,xm._32(n,136)._hidden)})}function vn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Ul)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(21,0,null,null,60,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(24,0,null,1,56,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,10,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,7,"div",[["formArrayName","assets_details"],["fxFill",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(34,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(36,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,bn)),xm._17(39,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(44,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(46,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(47,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,169,{_control:0}),xm._37(335544320,170,{_placeholderChild:0}),xm._37(335544320,171,{_labelChild:0}),xm._37(603979776,172,{_errorChildren:1}),xm._37(603979776,173,{_hintChildren:1}),xm._37(603979776,174,{_prefixChildren:1}),xm._37(603979776,175,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(56,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(57,16384,[[171,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(60,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","assets_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,66)._onInput()&&u}return u},null,null)),xm._17(61,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(63,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(65,16384,null,0,Km.s,[Km.r],null,null),xm._17(66,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[169,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(71,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(72,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n\n\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(75,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveAssetDetails(a.AssetsDetailsForm.value)&&u}return u},Db.b,Db.a)),xm._17(76,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.AssetsDetailsForm);l(n,34,0,"assets_details");l(n,39,0,e.AssetsDetailsForm.controls.assets_details.controls);l(n,63,0,"assets_form_remark");l(n,66,0,"Remarks");l(n,76,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,33,0,xm._32(n,36).ngClassUntouched,xm._32(n,36).ngClassTouched,xm._32(n,36).ngClassPristine,xm._32(n,36).ngClassDirty,xm._32(n,36).ngClassValid,xm._32(n,36).ngClassInvalid,xm._32(n,36).ngClassPending);l(n,46,1,[xm._32(n,47)._control.errorState,xm._32(n,47)._control.errorState,xm._32(n,47)._canLabelFloat,xm._32(n,47)._shouldLabelFloat(),xm._32(n,47)._hideControlPlaceholder(),xm._32(n,47)._control.disabled,xm._32(n,47)._control.focused,"primary"==xm._32(n,47).color,"accent"==xm._32(n,47).color,"warn"==xm._32(n,47).color,xm._32(n,47)._shouldForward("untouched"),xm._32(n,47)._shouldForward("touched"),xm._32(n,47)._shouldForward("pristine"),xm._32(n,47)._shouldForward("dirty"),xm._32(n,47)._shouldForward("valid"),xm._32(n,47)._shouldForward("invalid"),xm._32(n,47)._shouldForward("pending")]);l(n,60,1,[xm._32(n,65).ngClassUntouched,xm._32(n,65).ngClassTouched,xm._32(n,65).ngClassPristine,xm._32(n,65).ngClassDirty,xm._32(n,65).ngClassValid,xm._32(n,65).ngClassInvalid,xm._32(n,65).ngClassPending,xm._32(n,66)._isServer,xm._32(n,66).id,xm._32(n,66).placeholder,xm._32(n,66).disabled,xm._32(n,66).required,xm._32(n,66).readonly,xm._32(n,66)._ariaDescribedby||null,xm._32(n,66).errorState,xm._32(n,66).required.toString()])})}function yn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Cn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function wn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,Fv.d,Fv.a)),xm._17(1,49152,[[10,4]],0,ob.s,[],{label:[0,"label"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,0,1,null,Cn)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,xm._32(n,1).disabled,xm._32(n,1).disabled.toString(),xm._32(n,1)._labelId)})}function Fn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_applicant"],["matInput",""],["name","other_applicant"],["placeholder","Other Applicant Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_applicant");l(n,16,0,"Other Applicant Name","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function xn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function Sn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,29,{_control:0}),xm._37(335544320,30,{_placeholderChild:0}),xm._37(335544320,31,{_labelChild:0}),xm._37(603979776,32,{_errorChildren:1}),xm._37(603979776,33,{_hintChildren:1}),xm._37(603979776,34,{_prefixChildren:1}),xm._37(603979776,35,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bank"],["matInput",""],["placeholder","Specify Other Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[29,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bank");l(n,16,0,"Specify Other Bank Name")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function In(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[43,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function qn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,46,{_control:0}),xm._37(335544320,47,{_placeholderChild:0}),xm._37(335544320,48,{_labelChild:0}),xm._37(603979776,49,{_errorChildren:1}),xm._37(603979776,50,{_hintChildren:1}),xm._37(603979776,51,{_prefixChildren:1}),xm._37(603979776,52,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","salary"],["placeholder","Salary Credited in this account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,14)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),xm._17(14,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,53,{options:1}),xm._37(603979776,54,{optionGroups:1}),xm._37(335544320,55,{customTrigger:0}),xm._36(2048,[[46,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(22,8437760,[[53,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(26,8437760,[[53,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","NA"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,30)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(30,8437760,[[53,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["NA"])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"salary");l(n,14,0,"Salary Credited in this account");l(n,22,0,"Yes");l(n,26,0,"No");l(n,30,0,"NA")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending,xm._32(n,14).id,xm._32(n,14).tabIndex,xm._32(n,14)._ariaLabel,xm._32(n,14).ariaLabelledby,xm._32(n,14).required.toString(),xm._32(n,14).disabled.toString(),xm._32(n,14).errorState,xm._32(n,14).panelOpen?xm._32(n,14)._optionIds:null,xm._32(n,14).multiple,xm._32(n,14)._ariaDescribedby||null,xm._32(n,14)._getAriaActiveDescendant(),xm._32(n,14).disabled,xm._32(n,14).errorState,xm._32(n,14).required]);l(n,21,0,xm._32(n,22)._getTabIndex(),xm._32(n,22).selected,xm._32(n,22).multiple,xm._32(n,22).active,xm._32(n,22).id,xm._32(n,22).selected.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).disabled);l(n,25,0,xm._32(n,26)._getTabIndex(),xm._32(n,26).selected,xm._32(n,26).multiple,xm._32(n,26).active,xm._32(n,26).id,xm._32(n,26).selected.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).disabled);l(n,29,0,xm._32(n,30)._getTabIndex(),xm._32(n,30).selected,xm._32(n,30).multiple,xm._32(n,30).active,xm._32(n,30).id,xm._32(n,30).selected.toString(),xm._32(n,30).disabled.toString(),xm._32(n,30).disabled)})}function kn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[60,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.parent.context.index])})}function Pn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,30,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,[" "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(4,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["In case of OD / CC account, What is the Limit"])),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(7,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(8,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,56,{_control:0}),xm._37(335544320,57,{_placeholderChild:0}),xm._37(335544320,58,{_labelChild:0}),xm._37(603979776,59,{_errorChildren:1}),xm._37(603979776,60,{_hintChildren:1}),xm._37(603979776,61,{_prefixChildren:1}),xm._37(603979776,62,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","limit"],["matInput",""],["name","limit"],["placeholder",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,18)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,19).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,19).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,19).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,24)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,1)&&u}return u},null,null)),xm._17(18,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(19,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[56,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,kn)),xm._17(28,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,21,0,"limit");l(n,24,0,"","number");l(n,28,0,""!=n.parent.context.$implicit.get("limit").value)},function(l,n){l(n,7,1,[xm._32(n,8)._control.errorState,xm._32(n,8)._control.errorState,xm._32(n,8)._canLabelFloat,xm._32(n,8)._shouldLabelFloat(),xm._32(n,8)._hideControlPlaceholder(),xm._32(n,8)._control.disabled,xm._32(n,8)._control.focused,"primary"==xm._32(n,8).color,"accent"==xm._32(n,8).color,"warn"==xm._32(n,8).color,xm._32(n,8)._shouldForward("untouched"),xm._32(n,8)._shouldForward("touched"),xm._32(n,8)._shouldForward("pristine"),xm._32(n,8)._shouldForward("dirty"),xm._32(n,8)._shouldForward("valid"),xm._32(n,8)._shouldForward("invalid"),xm._32(n,8)._shouldForward("pending")]);l(n,17,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24)._isServer,xm._32(n,24).id,xm._32(n,24).placeholder,xm._32(n,24).disabled,xm._32(n,24).required,xm._32(n,24).readonly,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24).errorState,xm._32(n,24).required.toString()])})}function Dn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addmoreBankDetils()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Tn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,209,"div",[["formArrayName","bankitems"],["fxLayout","row"],["fxLayoutWrap","wrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,203,"div",[["class","column"],["fxFlex.lg","100"],["fxFlex.md","100"],["fxFlex.sm","100"],["fxFlex.xl","100"],["fxFlex.xs","100"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(7,0,null,null,200,"mat-card",[["class","box mat-card"]],null,null,null,nb.d,nb.a)),xm._17(8,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(10,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(11,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(14,null,["Banking details ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,3,"ion-col",[["class","col"],["col-3",""],["offset-1",""]],null,null,null,null,null)),xm._17(17,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(22,0,null,0,184,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(23,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(25,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(27,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(30,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(39,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,44)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,44)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,44)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(41,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(43,16384,null,0,Km.s,[Km.r],null,null),xm._17(44,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,wn)),xm._17(51,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Fn)),xm._17(57,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(59,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(61,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(62,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(71,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","bank_name"],["placeholder","Bank Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,76)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,76)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,76)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(73,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(75,16384,null,0,Km.s,[Km.r],null,null),xm._17(76,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,26,{options:1}),xm._37(603979776,27,{optionGroups:1}),xm._37(335544320,28,{customTrigger:0}),xm._36(2048,[[19,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,xn)),xm._17(83,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Sn)),xm._17(89,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(91,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(93,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(94,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(103,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","account_type"],["matInput",""],["name","account_type"],["placeholder","Bank Account Type "],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,108)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,108)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,108)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedAccTypeChanges(e.value,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(105,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(107,16384,null,0,Km.s,[Km.r],null,null),xm._17(108,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,43,{options:1}),xm._37(603979776,44,{optionGroups:1}),xm._37(335544320,45,{customTrigger:0}),xm._36(2048,[[36,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,In)),xm._17(115,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n\n \n\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(120,0,null,null,4,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,qn)),xm._17(123,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Pn)),xm._17(127,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(138,0,null,null,46,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(140,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Approximate vintage of the account (No of years)"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(143,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(144,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,63,{_control:0}),xm._37(335544320,64,{_placeholderChild:0}),xm._37(335544320,65,{_labelChild:0}),xm._37(603979776,66,{_errorChildren:1}),xm._37(603979776,67,{_hintChildren:1}),xm._37(603979776,68,{_prefixChildren:1}),xm._37(603979776,69,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(153,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_year"],["matInput",""],["name","vintage"],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,154)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,154).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,154)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,154)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,155).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,155).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,155).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,160)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,160)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,160)._onInput()&&u}return u},null,null)),xm._17(154,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(155,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(157,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(159,16384,null,0,Km.s,[Km.r],null,null),xm._17(160,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[63,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(164,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(165,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,70,{_control:0}),xm._37(335544320,71,{_placeholderChild:0}),xm._37(335544320,72,{_labelChild:0}),xm._37(603979776,73,{_errorChildren:1}),xm._37(603979776,74,{_hintChildren:1}),xm._37(603979776,75,{_prefixChildren:1}),xm._37(603979776,76,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(174,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_month"],["matInput",""],["name","vintage"],["placeholder","month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,175)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,175).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,175)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,175)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,176).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,176).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,176).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,181)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,181)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,181)._onInput()&&u}if("change"===n){u=!1!==a.ConvertMonthintoYear(l.context.$implicit,e.target.value)&&u}return u},null,null)),xm._17(175,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(176,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(178,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(180,16384,null,0,Km.s,[Km.r],null,null),xm._17(181,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[70,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(186,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(187,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,77,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(190,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(191,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(193,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removebank(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(195,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(196,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(199,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(200,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Dn)),xm._17(203,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"bankitems");l(n,23,0,n.context.index);l(n,41,0,"applicant_name");l(n,44,0,"Applicant Name",e.compareObjects);l(n,51,0,e.mergeCompanyApplicant);l(n,57,0,1==e.checkOthers(n.context.$implicit.get("applicant_name").value));l(n,73,0,"bank_name");l(n,76,0,"Bank Name");l(n,83,0,e.m_btLenderList);l(n,89,0,1==n.context.$implicit.get("bank_name").value);l(n,105,0,"account_type");l(n,108,0,"Bank Account Type ");l(n,115,0,e.accountType);l(n,123,0,e.salaryField);l(n,127,0,e.limitCaseFlag[n.context.index]);l(n,157,0,"vintage_year");l(n,160,0,"Year","number");l(n,178,0,"vintage_month");l(n,181,0,"month","number");l(n,196,0,"optblue","md-trash");l(n,203,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,14,0,n.context.index+1);l(n,22,0,xm._32(n,25).ngClassUntouched,xm._32(n,25).ngClassTouched,xm._32(n,25).ngClassPristine,xm._32(n,25).ngClassDirty,xm._32(n,25).ngClassValid,xm._32(n,25).ngClassInvalid,xm._32(n,25).ngClassPending);l(n,29,1,[xm._32(n,30)._control.errorState,xm._32(n,30)._control.errorState,xm._32(n,30)._canLabelFloat,xm._32(n,30)._shouldLabelFloat(),xm._32(n,30)._hideControlPlaceholder(),xm._32(n,30)._control.disabled,xm._32(n,30)._control.focused,"primary"==xm._32(n,30).color,"accent"==xm._32(n,30).color,"warn"==xm._32(n,30).color,xm._32(n,30)._shouldForward("untouched"),xm._32(n,30)._shouldForward("touched"),xm._32(n,30)._shouldForward("pristine"),xm._32(n,30)._shouldForward("dirty"),xm._32(n,30)._shouldForward("valid"),xm._32(n,30)._shouldForward("invalid"),xm._32(n,30)._shouldForward("pending")]);l(n,39,1,[xm._32(n,43).ngClassUntouched,xm._32(n,43).ngClassTouched,xm._32(n,43).ngClassPristine,xm._32(n,43).ngClassDirty,xm._32(n,43).ngClassValid,xm._32(n,43).ngClassInvalid,xm._32(n,43).ngClassPending,xm._32(n,44).id,xm._32(n,44).tabIndex,xm._32(n,44)._ariaLabel,xm._32(n,44).ariaLabelledby,xm._32(n,44).required.toString(),xm._32(n,44).disabled.toString(),xm._32(n,44).errorState,xm._32(n,44).panelOpen?xm._32(n,44)._optionIds:null,xm._32(n,44).multiple,xm._32(n,44)._ariaDescribedby||null,xm._32(n,44)._getAriaActiveDescendant(),xm._32(n,44).disabled,xm._32(n,44).errorState,xm._32(n,44).required]);l(n,61,1,[xm._32(n,62)._control.errorState,xm._32(n,62)._control.errorState,xm._32(n,62)._canLabelFloat,xm._32(n,62)._shouldLabelFloat(),xm._32(n,62)._hideControlPlaceholder(),xm._32(n,62)._control.disabled,xm._32(n,62)._control.focused,"primary"==xm._32(n,62).color,"accent"==xm._32(n,62).color,"warn"==xm._32(n,62).color,xm._32(n,62)._shouldForward("untouched"),xm._32(n,62)._shouldForward("touched"),xm._32(n,62)._shouldForward("pristine"),xm._32(n,62)._shouldForward("dirty"),xm._32(n,62)._shouldForward("valid"),xm._32(n,62)._shouldForward("invalid"),xm._32(n,62)._shouldForward("pending")]);l(n,71,1,[xm._32(n,75).ngClassUntouched,xm._32(n,75).ngClassTouched,xm._32(n,75).ngClassPristine,xm._32(n,75).ngClassDirty,xm._32(n,75).ngClassValid,xm._32(n,75).ngClassInvalid,xm._32(n,75).ngClassPending,xm._32(n,76).id,xm._32(n,76).tabIndex,xm._32(n,76)._ariaLabel,xm._32(n,76).ariaLabelledby,xm._32(n,76).required.toString(),xm._32(n,76).disabled.toString(),xm._32(n,76).errorState,xm._32(n,76).panelOpen?xm._32(n,76)._optionIds:null,xm._32(n,76).multiple,xm._32(n,76)._ariaDescribedby||null,xm._32(n,76)._getAriaActiveDescendant(),xm._32(n,76).disabled,xm._32(n,76).errorState,xm._32(n,76).required]);l(n,93,1,[xm._32(n,94)._control.errorState,xm._32(n,94)._control.errorState,xm._32(n,94)._canLabelFloat,xm._32(n,94)._shouldLabelFloat(),xm._32(n,94)._hideControlPlaceholder(),xm._32(n,94)._control.disabled,xm._32(n,94)._control.focused,"primary"==xm._32(n,94).color,"accent"==xm._32(n,94).color,"warn"==xm._32(n,94).color,xm._32(n,94)._shouldForward("untouched"),xm._32(n,94)._shouldForward("touched"),xm._32(n,94)._shouldForward("pristine"),xm._32(n,94)._shouldForward("dirty"),xm._32(n,94)._shouldForward("valid"),xm._32(n,94)._shouldForward("invalid"),xm._32(n,94)._shouldForward("pending")]);l(n,103,1,[xm._32(n,107).ngClassUntouched,xm._32(n,107).ngClassTouched,xm._32(n,107).ngClassPristine,xm._32(n,107).ngClassDirty,xm._32(n,107).ngClassValid,xm._32(n,107).ngClassInvalid,xm._32(n,107).ngClassPending,xm._32(n,108).id,xm._32(n,108).tabIndex,xm._32(n,108)._ariaLabel,xm._32(n,108).ariaLabelledby,xm._32(n,108).required.toString(),xm._32(n,108).disabled.toString(),xm._32(n,108).errorState,xm._32(n,108).panelOpen?xm._32(n,108)._optionIds:null,xm._32(n,108).multiple,xm._32(n,108)._ariaDescribedby||null,xm._32(n,108)._getAriaActiveDescendant(),xm._32(n,108).disabled,xm._32(n,108).errorState,xm._32(n,108).required]);l(n,143,1,[xm._32(n,144)._control.errorState,xm._32(n,144)._control.errorState,xm._32(n,144)._canLabelFloat,xm._32(n,144)._shouldLabelFloat(),xm._32(n,144)._hideControlPlaceholder(),xm._32(n,144)._control.disabled,xm._32(n,144)._control.focused,"primary"==xm._32(n,144).color,"accent"==xm._32(n,144).color,"warn"==xm._32(n,144).color,xm._32(n,144)._shouldForward("untouched"),xm._32(n,144)._shouldForward("touched"),xm._32(n,144)._shouldForward("pristine"),xm._32(n,144)._shouldForward("dirty"),xm._32(n,144)._shouldForward("valid"),xm._32(n,144)._shouldForward("invalid"),xm._32(n,144)._shouldForward("pending")]);l(n,153,1,[xm._32(n,159).ngClassUntouched,xm._32(n,159).ngClassTouched,xm._32(n,159).ngClassPristine,xm._32(n,159).ngClassDirty,xm._32(n,159).ngClassValid,xm._32(n,159).ngClassInvalid,xm._32(n,159).ngClassPending,xm._32(n,160)._isServer,xm._32(n,160).id,xm._32(n,160).placeholder,xm._32(n,160).disabled,xm._32(n,160).required,xm._32(n,160).readonly,xm._32(n,160)._ariaDescribedby||null,xm._32(n,160).errorState,xm._32(n,160).required.toString()]);l(n,164,1,[xm._32(n,165)._control.errorState,xm._32(n,165)._control.errorState,xm._32(n,165)._canLabelFloat,xm._32(n,165)._shouldLabelFloat(),xm._32(n,165)._hideControlPlaceholder(),xm._32(n,165)._control.disabled,xm._32(n,165)._control.focused,"primary"==xm._32(n,165).color,"accent"==xm._32(n,165).color,"warn"==xm._32(n,165).color,xm._32(n,165)._shouldForward("untouched"),xm._32(n,165)._shouldForward("touched"),xm._32(n,165)._shouldForward("pristine"),xm._32(n,165)._shouldForward("dirty"),xm._32(n,165)._shouldForward("valid"),xm._32(n,165)._shouldForward("invalid"),xm._32(n,165)._shouldForward("pending")]);l(n,174,1,[xm._32(n,180).ngClassUntouched,xm._32(n,180).ngClassTouched,xm._32(n,180).ngClassPristine,xm._32(n,180).ngClassDirty,xm._32(n,180).ngClassValid,xm._32(n,180).ngClassInvalid,xm._32(n,180).ngClassPending,xm._32(n,181)._isServer,xm._32(n,181).id,xm._32(n,181).placeholder,xm._32(n,181).disabled,xm._32(n,181).required,xm._32(n,181).readonly,xm._32(n,181)._ariaDescribedby||null,xm._32(n,181).errorState,xm._32(n,181).required.toString()]);l(n,195,0,xm._32(n,196)._hidden)})}function On(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,yn)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(21,0,null,null,47,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,42,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,27).onReset()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.B,[],null,null),xm._17(27,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(29,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Tn)),xm._17(32,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(35,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(37,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,78,{_control:0}),xm._37(335544320,79,{_placeholderChild:0}),xm._37(335544320,80,{_labelChild:0}),xm._37(603979776,81,{_errorChildren:1}),xm._37(603979776,82,{_hintChildren:1}),xm._37(603979776,83,{_prefixChildren:1}),xm._37(603979776,84,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","banking_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}return u},null,null)),xm._17(48,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[78,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(58,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(59,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(62,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.savepdBank(a.bankDetails.value)&&u}return u},Db.b,Db.a)),xm._17(63,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,27,0,e.bankDetails);l(n,32,0,e.bankDetails.get("bankitems").controls);l(n,50,0,"banking_form_remark");l(n,53,0,"Remarks");l(n,63,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,25,0,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending);l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,1,[xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()])})}function Ln(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[19,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.existing_loan_type_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.loan_type_name)})}function An(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,22,{_control:0}),xm._37(335544320,23,{_placeholderChild:0}),xm._37(335544320,24,{_labelChild:0}),xm._37(603979776,25,{_errorChildren:1}),xm._37(603979776,26,{_hintChildren:1}),xm._37(603979776,27,{_prefixChildren:1}),xm._37(603979776,28,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_loan_type"],["matInput",""],["placeholder","Specify Other Loan Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[22,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_loan_type");l(n,16,0,"Specify Other Loan Type")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Vn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[33,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["","","only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.context.index])})}function jn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[43,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function Nn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,46,{_control:0}),xm._37(335544320,47,{_placeholderChild:0}),xm._37(335544320,48,{_labelChild:0}),xm._37(603979776,49,{_errorChildren:1}),xm._37(603979776,50,{_hintChildren:1}),xm._37(603979776,51,{_prefixChildren:1}),xm._37(603979776,52,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_lender"],["matInput",""],["placeholder","Specify Lender"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[46,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_lender");l(n,16,0,"Specify Lender")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function En(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[60,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Wn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,Fv.d,Fv.a)),xm._17(1,49152,[[61,4]],0,ob.s,[],{label:[0,"label"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,0,1,null,En)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,xm._32(n,1).disabled,xm._32(n,1).disabled.toString(),xm._32(n,1)._labelId)})}function Rn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,63,{_control:0}),xm._37(335544320,64,{_placeholderChild:0}),xm._37(335544320,65,{_labelChild:0}),xm._37(603979776,66,{_errorChildren:1}),xm._37(603979776,67,{_hintChildren:1}),xm._37(603979776,68,{_prefixChildren:1}),xm._37(603979776,69,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_loan_taken"],["matInput",""],["placeholder","Specify Borrower"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[63,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_loan_taken");l(n,16,0,"Specify Borrower")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Un(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[77,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.frequency_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Bn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,80,{_control:0}),xm._37(335544320,81,{_placeholderChild:0}),xm._37(335544320,82,{_labelChild:0}),xm._37(603979776,83,{_errorChildren:1}),xm._37(603979776,84,{_hintChildren:1}),xm._37(603979776,85,{_prefixChildren:1}),xm._37(603979776,86,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequency"],["matInput",""],["placeholder","Specify Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[80,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequency");l(n,16,0,"Specify Frequency")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function $n(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[91,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["","","only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.emiAmtInwords[n.parent.parent.context.index])})}function Mn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,87,{_control:0}),xm._37(335544320,88,{_placeholderChild:0}),xm._37(335544320,89,{_labelChild:0}),xm._37(603979776,90,{_errorChildren:1}),xm._37(603979776,91,{_hintChildren:1}),xm._37(603979776,92,{_prefixChildren:1}),xm._37(603979776,93,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emi"],["matInput",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,2)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(12,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(13,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[87,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,$n)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,16,0,"emi");l(n,19,0,""!=e.placeholderName[n.parent.context.index]?e.placeholderName[n.parent.context.index]:"Instalment Amount","","number");l(n,23,0,""!=n.parent.context.$implicit.get("emi").value)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).required?"":null,xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()])})}function Kn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addLoanDetails()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Hn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,241,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(6,null,["Loan Details #","-",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,232,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(9,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(12,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","loan_type"],["placeholder","Loan Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,26)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(23,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(25,16384,null,0,Km.s,[Km.r],null,null),xm._17(26,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,19,{options:1}),xm._37(603979776,20,{optionGroups:1}),xm._37(335544320,21,{customTrigger:0}),xm._36(2048,[[12,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ln)),xm._17(33,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,An)),xm._17(38,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(40,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(41,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,29,{_control:0}),xm._37(335544320,30,{_placeholderChild:0}),xm._37(335544320,31,{_labelChild:0}),xm._37(603979776,32,{_errorChildren:1}),xm._37(603979776,33,{_hintChildren:1}),xm._37(603979776,34,{_prefixChildren:1}),xm._37(603979776,35,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(50,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_amount"],["matInput",""],["placeholder","Loan Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,51)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,52).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,52).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,52).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,57)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index,1)&&u}return u},null,null)),xm._17(51,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(52,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(54,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(56,16384,null,0,Km.s,[Km.r],null,null),xm._17(57,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[29,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Vn)),xm._17(61,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(64,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(65,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(74,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","lender"],["placeholder","Lender"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,79)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,79)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,79)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(76,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(78,16384,null,0,Km.s,[Km.r],null,null),xm._17(79,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,43,{options:1}),xm._37(603979776,44,{optionGroups:1}),xm._37(335544320,45,{customTrigger:0}),xm._36(2048,[[36,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,jn)),xm._17(86,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Nn)),xm._17(91,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(93,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(94,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,53,{_control:0}),xm._37(335544320,54,{_placeholderChild:0}),xm._37(335544320,55,{_labelChild:0}),xm._37(603979776,56,{_errorChildren:1}),xm._37(603979776,57,{_hintChildren:1}),xm._37(603979776,58,{_prefixChildren:1}),xm._37(603979776,59,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(103,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","loan_taken_by"],["placeholder","Loan Taken By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,108)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,108)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,108)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(105,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(107,16384,null,0,Km.s,[Km.r],null,null),xm._17(108,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),xm._37(603979776,60,{options:1}),xm._37(603979776,61,{optionGroups:1}),xm._37(335544320,62,{customTrigger:0}),xm._36(2048,[[53,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Wn)),xm._17(115,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Rn)),xm._17(120,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(122,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(123,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,70,{_control:0}),xm._37(335544320,71,{_placeholderChild:0}),xm._37(335544320,72,{_labelChild:0}),xm._37(603979776,73,{_errorChildren:1}),xm._37(603979776,74,{_hintChildren:1}),xm._37(603979776,75,{_prefixChildren:1}),xm._37(603979776,76,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(132,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","frequency"],["placeholder","Frequency"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,139)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,139)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,139)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedfrequency(e.value,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(134,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(136,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(138,16384,null,0,Km.s,[Km.r],null,null),xm._17(139,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,77,{options:1}),xm._37(603979776,78,{optionGroups:1}),xm._37(335544320,79,{customTrigger:0}),xm._36(2048,[[70,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Un)),xm._17(146,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Bn)),xm._17(151,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Mn)),xm._17(154,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n \n "])),(l()(),xm._18(157,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(158,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,94,{_control:0}),xm._37(335544320,95,{_placeholderChild:0}),xm._37(335544320,96,{_labelChild:0}),xm._37(603979776,97,{_errorChildren:1}),xm._37(603979776,98,{_hintChildren:1}),xm._37(603979776,99,{_prefixChildren:1}),xm._37(603979776,100,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(167,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","original_tenure"],["matInput",""],["placeholder","Original Tenure"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,168)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,168).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,168)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,168)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,169).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,169).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,169).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,174)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,174)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,174)._onInput()&&u}if("change"===n){a.checkTenure(l.context.$implicit);u=!1!==a.calculateTenure(l.context.$implicit)&&u}return u},null,null)),xm._17(168,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(169,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(171,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(173,16384,null,0,Km.s,[Km.r],null,null),xm._17(174,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[94,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(178,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(179,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,101,{_control:0}),xm._37(335544320,102,{_placeholderChild:0}),xm._37(335544320,103,{_labelChild:0}),xm._37(603979776,104,{_errorChildren:1}),xm._37(603979776,105,{_hintChildren:1}),xm._37(603979776,106,{_prefixChildren:1}),xm._37(603979776,107,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(188,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_balance_tenure"],["matInput",""],["placeholder","Current Balance Tenure"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,189)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,189).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,189)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,189)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,190).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,190).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,190).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,195)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,195)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,195)._onInput()&&u}if("change"===n){u=!1!==a.calculateTenure(l.context.$implicit)&&u}return u},null,null)),xm._17(189,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(190,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(192,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(194,16384,null,0,Km.s,[Km.r],null,null),xm._17(195,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[101,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(199,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(200,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,108,{_control:0}),xm._37(335544320,109,{_placeholderChild:0}),xm._37(335544320,110,{_labelChild:0}),xm._37(603979776,111,{_errorChildren:1}),xm._37(603979776,112,{_hintChildren:1}),xm._37(603979776,113,{_prefixChildren:1}),xm._37(603979776,114,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(209,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","elapsed_tenure"],["matInput",""],["placeholder","Elapsed Tenure in Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,210)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,210).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,210)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,210)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,211).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,211).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,211).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,216)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,216)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,216)._onInput()&&u}return u},null,null)),xm._17(210,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(211,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(213,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(215,16384,null,0,Km.s,[Km.r],null,null),xm._17(216,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[108,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(220,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(221,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,115,{_buttons:1}),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(224,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(225,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(227,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteLoanDetails(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(229,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(230,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(233,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(234,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Kn)),xm._17(237,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,23,0,"loan_type");l(n,26,0,"Loan Type");l(n,33,0,e.loanTypeData);l(n,38,0,1==n.context.$implicit.get("loan_type").value);l(n,54,0,"loan_amount");l(n,57,0,"Loan Amount","number");l(n,61,0,""!=n.context.$implicit.get("loan_amount").value);l(n,76,0,"lender");l(n,79,0,"Lender");l(n,86,0,e.lenderData);l(n,91,0,3==n.context.$implicit.get("lender").value);l(n,105,0,"loan_taken_by");l(n,108,0,"Loan Taken By",e.compareObjects);l(n,115,0,e.mergeCompanyApplicant);l(n,120,0,1==e.checkOthers(n.context.$implicit.get("loan_taken_by").value));l(n,134,0,"");l(n,136,0,"frequency");l(n,139,0,"Frequency","");l(n,146,0,e.frequencyData);l(n,151,0,1==n.context.$implicit.get("frequency").value);l(n,154,0,""!=n.context.$implicit.get("frequency").value);l(n,171,0,"original_tenure");l(n,174,0,"Original Tenure","number");l(n,192,0,"current_balance_tenure");l(n,195,0,"Current Balance Tenure","number");l(n,213,0,"elapsed_tenure");l(n,216,0,"Elapsed Tenure in Months","number");l(n,230,0,"optblue","md-trash");l(n,237,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,6,0,n.context.index+1,n.context.$implicit.get("label").value);l(n,11,1,[xm._32(n,12)._control.errorState,xm._32(n,12)._control.errorState,xm._32(n,12)._canLabelFloat,xm._32(n,12)._shouldLabelFloat(),xm._32(n,12)._hideControlPlaceholder(),xm._32(n,12)._control.disabled,xm._32(n,12)._control.focused,"primary"==xm._32(n,12).color,"accent"==xm._32(n,12).color,"warn"==xm._32(n,12).color,xm._32(n,12)._shouldForward("untouched"),xm._32(n,12)._shouldForward("touched"),xm._32(n,12)._shouldForward("pristine"),xm._32(n,12)._shouldForward("dirty"),xm._32(n,12)._shouldForward("valid"),xm._32(n,12)._shouldForward("invalid"),xm._32(n,12)._shouldForward("pending")]);l(n,21,1,[xm._32(n,25).ngClassUntouched,xm._32(n,25).ngClassTouched,xm._32(n,25).ngClassPristine,xm._32(n,25).ngClassDirty,xm._32(n,25).ngClassValid,xm._32(n,25).ngClassInvalid,xm._32(n,25).ngClassPending,xm._32(n,26).id,xm._32(n,26).tabIndex,xm._32(n,26)._ariaLabel,xm._32(n,26).ariaLabelledby,xm._32(n,26).required.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).errorState,xm._32(n,26).panelOpen?xm._32(n,26)._optionIds:null,xm._32(n,26).multiple,xm._32(n,26)._ariaDescribedby||null,xm._32(n,26)._getAriaActiveDescendant(),xm._32(n,26).disabled,xm._32(n,26).errorState,xm._32(n,26).required]);l(n,40,1,[xm._32(n,41)._control.errorState,xm._32(n,41)._control.errorState,xm._32(n,41)._canLabelFloat,xm._32(n,41)._shouldLabelFloat(),xm._32(n,41)._hideControlPlaceholder(),xm._32(n,41)._control.disabled,xm._32(n,41)._control.focused,"primary"==xm._32(n,41).color,"accent"==xm._32(n,41).color,"warn"==xm._32(n,41).color,xm._32(n,41)._shouldForward("untouched"),xm._32(n,41)._shouldForward("touched"),xm._32(n,41)._shouldForward("pristine"),xm._32(n,41)._shouldForward("dirty"),xm._32(n,41)._shouldForward("valid"),xm._32(n,41)._shouldForward("invalid"),xm._32(n,41)._shouldForward("pending")]);l(n,50,1,[xm._32(n,56).ngClassUntouched,xm._32(n,56).ngClassTouched,xm._32(n,56).ngClassPristine,xm._32(n,56).ngClassDirty,xm._32(n,56).ngClassValid,xm._32(n,56).ngClassInvalid,xm._32(n,56).ngClassPending,xm._32(n,57)._isServer,xm._32(n,57).id,xm._32(n,57).placeholder,xm._32(n,57).disabled,xm._32(n,57).required,xm._32(n,57).readonly,xm._32(n,57)._ariaDescribedby||null,xm._32(n,57).errorState,xm._32(n,57).required.toString()]);l(n,64,1,[xm._32(n,65)._control.errorState,xm._32(n,65)._control.errorState,xm._32(n,65)._canLabelFloat,xm._32(n,65)._shouldLabelFloat(),xm._32(n,65)._hideControlPlaceholder(),xm._32(n,65)._control.disabled,xm._32(n,65)._control.focused,"primary"==xm._32(n,65).color,"accent"==xm._32(n,65).color,"warn"==xm._32(n,65).color,xm._32(n,65)._shouldForward("untouched"),xm._32(n,65)._shouldForward("touched"),xm._32(n,65)._shouldForward("pristine"),xm._32(n,65)._shouldForward("dirty"),xm._32(n,65)._shouldForward("valid"),xm._32(n,65)._shouldForward("invalid"),xm._32(n,65)._shouldForward("pending")]);l(n,74,1,[xm._32(n,78).ngClassUntouched,xm._32(n,78).ngClassTouched,xm._32(n,78).ngClassPristine,xm._32(n,78).ngClassDirty,xm._32(n,78).ngClassValid,xm._32(n,78).ngClassInvalid,xm._32(n,78).ngClassPending,xm._32(n,79).id,xm._32(n,79).tabIndex,xm._32(n,79)._ariaLabel,xm._32(n,79).ariaLabelledby,xm._32(n,79).required.toString(),xm._32(n,79).disabled.toString(),xm._32(n,79).errorState,xm._32(n,79).panelOpen?xm._32(n,79)._optionIds:null,xm._32(n,79).multiple,xm._32(n,79)._ariaDescribedby||null,xm._32(n,79)._getAriaActiveDescendant(),xm._32(n,79).disabled,xm._32(n,79).errorState,xm._32(n,79).required]);l(n,93,1,[xm._32(n,94)._control.errorState,xm._32(n,94)._control.errorState,xm._32(n,94)._canLabelFloat,xm._32(n,94)._shouldLabelFloat(),xm._32(n,94)._hideControlPlaceholder(),xm._32(n,94)._control.disabled,xm._32(n,94)._control.focused,"primary"==xm._32(n,94).color,"accent"==xm._32(n,94).color,"warn"==xm._32(n,94).color,xm._32(n,94)._shouldForward("untouched"),xm._32(n,94)._shouldForward("touched"),xm._32(n,94)._shouldForward("pristine"),xm._32(n,94)._shouldForward("dirty"),xm._32(n,94)._shouldForward("valid"),xm._32(n,94)._shouldForward("invalid"),xm._32(n,94)._shouldForward("pending")]);l(n,103,1,[xm._32(n,107).ngClassUntouched,xm._32(n,107).ngClassTouched,xm._32(n,107).ngClassPristine,xm._32(n,107).ngClassDirty,xm._32(n,107).ngClassValid,xm._32(n,107).ngClassInvalid,xm._32(n,107).ngClassPending,xm._32(n,108).id,xm._32(n,108).tabIndex,xm._32(n,108)._ariaLabel,xm._32(n,108).ariaLabelledby,xm._32(n,108).required.toString(),xm._32(n,108).disabled.toString(),xm._32(n,108).errorState,xm._32(n,108).panelOpen?xm._32(n,108)._optionIds:null,xm._32(n,108).multiple,xm._32(n,108)._ariaDescribedby||null,xm._32(n,108)._getAriaActiveDescendant(),xm._32(n,108).disabled,xm._32(n,108).errorState,xm._32(n,108).required]);l(n,122,1,[xm._32(n,123)._control.errorState,xm._32(n,123)._control.errorState,xm._32(n,123)._canLabelFloat,xm._32(n,123)._shouldLabelFloat(),xm._32(n,123)._hideControlPlaceholder(),xm._32(n,123)._control.disabled,xm._32(n,123)._control.focused,"primary"==xm._32(n,123).color,"accent"==xm._32(n,123).color,"warn"==xm._32(n,123).color,xm._32(n,123)._shouldForward("untouched"),xm._32(n,123)._shouldForward("touched"),xm._32(n,123)._shouldForward("pristine"),xm._32(n,123)._shouldForward("dirty"),xm._32(n,123)._shouldForward("valid"),xm._32(n,123)._shouldForward("invalid"),xm._32(n,123)._shouldForward("pending")]);l(n,132,1,[xm._32(n,134).required?"":null,xm._32(n,138).ngClassUntouched,xm._32(n,138).ngClassTouched,xm._32(n,138).ngClassPristine,xm._32(n,138).ngClassDirty,xm._32(n,138).ngClassValid,xm._32(n,138).ngClassInvalid,xm._32(n,138).ngClassPending,xm._32(n,139).id,xm._32(n,139).tabIndex,xm._32(n,139)._ariaLabel,xm._32(n,139).ariaLabelledby,xm._32(n,139).required.toString(),xm._32(n,139).disabled.toString(),xm._32(n,139).errorState,xm._32(n,139).panelOpen?xm._32(n,139)._optionIds:null,xm._32(n,139).multiple,xm._32(n,139)._ariaDescribedby||null,xm._32(n,139)._getAriaActiveDescendant(),xm._32(n,139).disabled,xm._32(n,139).errorState,xm._32(n,139).required]);l(n,157,1,[xm._32(n,158)._control.errorState,xm._32(n,158)._control.errorState,xm._32(n,158)._canLabelFloat,xm._32(n,158)._shouldLabelFloat(),xm._32(n,158)._hideControlPlaceholder(),xm._32(n,158)._control.disabled,xm._32(n,158)._control.focused,"primary"==xm._32(n,158).color,"accent"==xm._32(n,158).color,"warn"==xm._32(n,158).color,xm._32(n,158)._shouldForward("untouched"),xm._32(n,158)._shouldForward("touched"),xm._32(n,158)._shouldForward("pristine"),xm._32(n,158)._shouldForward("dirty"),xm._32(n,158)._shouldForward("valid"),xm._32(n,158)._shouldForward("invalid"),xm._32(n,158)._shouldForward("pending")]);l(n,167,1,[xm._32(n,173).ngClassUntouched,xm._32(n,173).ngClassTouched,xm._32(n,173).ngClassPristine,xm._32(n,173).ngClassDirty,xm._32(n,173).ngClassValid,xm._32(n,173).ngClassInvalid,xm._32(n,173).ngClassPending,xm._32(n,174)._isServer,xm._32(n,174).id,xm._32(n,174).placeholder,xm._32(n,174).disabled,xm._32(n,174).required,xm._32(n,174).readonly,xm._32(n,174)._ariaDescribedby||null,xm._32(n,174).errorState,xm._32(n,174).required.toString()]);l(n,178,1,[xm._32(n,179)._control.errorState,xm._32(n,179)._control.errorState,xm._32(n,179)._canLabelFloat,xm._32(n,179)._shouldLabelFloat(),xm._32(n,179)._hideControlPlaceholder(),xm._32(n,179)._control.disabled,xm._32(n,179)._control.focused,"primary"==xm._32(n,179).color,"accent"==xm._32(n,179).color,"warn"==xm._32(n,179).color,xm._32(n,179)._shouldForward("untouched"),xm._32(n,179)._shouldForward("touched"),xm._32(n,179)._shouldForward("pristine"),xm._32(n,179)._shouldForward("dirty"),xm._32(n,179)._shouldForward("valid"),xm._32(n,179)._shouldForward("invalid"),xm._32(n,179)._shouldForward("pending")]);l(n,188,1,[xm._32(n,194).ngClassUntouched,xm._32(n,194).ngClassTouched,xm._32(n,194).ngClassPristine,xm._32(n,194).ngClassDirty,xm._32(n,194).ngClassValid,xm._32(n,194).ngClassInvalid,xm._32(n,194).ngClassPending,xm._32(n,195)._isServer,xm._32(n,195).id,xm._32(n,195).placeholder,xm._32(n,195).disabled,xm._32(n,195).required,xm._32(n,195).readonly,xm._32(n,195)._ariaDescribedby||null,xm._32(n,195).errorState,xm._32(n,195).required.toString()]);l(n,199,1,[xm._32(n,200)._control.errorState,xm._32(n,200)._control.errorState,xm._32(n,200)._canLabelFloat,xm._32(n,200)._shouldLabelFloat(),xm._32(n,200)._hideControlPlaceholder(),xm._32(n,200)._control.disabled,xm._32(n,200)._control.focused,"primary"==xm._32(n,200).color,"accent"==xm._32(n,200).color,"warn"==xm._32(n,200).color,xm._32(n,200)._shouldForward("untouched"),xm._32(n,200)._shouldForward("touched"),xm._32(n,200)._shouldForward("pristine"),xm._32(n,200)._shouldForward("dirty"),xm._32(n,200)._shouldForward("valid"),xm._32(n,200)._shouldForward("invalid"),xm._32(n,200)._shouldForward("pending")]);l(n,209,1,[xm._32(n,215).ngClassUntouched,xm._32(n,215).ngClassTouched,xm._32(n,215).ngClassPristine,xm._32(n,215).ngClassDirty,xm._32(n,215).ngClassValid,xm._32(n,215).ngClassInvalid,xm._32(n,215).ngClassPending,xm._32(n,216)._isServer,xm._32(n,216).id,xm._32(n,216).placeholder,xm._32(n,216).disabled,xm._32(n,216).required,xm._32(n,216).readonly,xm._32(n,216)._ariaDescribedby||null,xm._32(n,216).errorState,xm._32(n,216).required.toString()]);l(n,229,0,xm._32(n,230)._hidden)})}function Gn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,7,"div",[["formArrayName","loan_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Hn)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"loan_details");l(n,8,0,e.currentLoans.get("loan_details").controls)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function Yn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,12,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n \n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(18,0,null,null,85,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(19,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,81,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,23).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,23).onReset()&&u}return u},null,null)),xm._17(22,16384,null,0,Km.B,[],null,null),xm._17(23,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(25,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(27,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(28,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(30,0,null,0,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(31,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(40,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(41,16384,[[4,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Do you have any other Existing Loans"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(44,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","existing_loan"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,48)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,48)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,48)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.exitsCheck(e.value)&&u}return u},xv.b,xv.a)),xm._17(45,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(47,16384,null,0,Km.s,[Km.r],null,null),xm._17(48,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],null,{selectionChange:"selectionChange"}),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(55,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,56)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,56)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(56,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(59,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,60)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,60)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(60,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._13(16777216,null,0,1,null,Gn)),xm._17(66,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(69,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(70,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(72,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(73,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,116,{_control:0}),xm._37(335544320,117,{_placeholderChild:0}),xm._37(335544320,118,{_labelChild:0}),xm._37(603979776,119,{_errorChildren:1}),xm._37(603979776,120,{_hintChildren:1}),xm._37(603979776,121,{_prefixChildren:1}),xm._37(603979776,122,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(82,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","currentloan_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,83)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,83).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,83)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,83)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,88)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,88)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,88)._onInput()&&u}return u},null,null)),xm._17(83,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(85,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(87,16384,null,0,Km.s,[Km.r],null,null),xm._17(88,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[116,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(93,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(94,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(97,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.submitCurrentloan(a.currentLoans.value)&&u}return u},Db.b,Db.a)),xm._17(98,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,23,0,e.currentLoans);l(n,45,0,"existing_loan"),l(n,48,0);l(n,56,0,"Yes");l(n,60,0,"No");l(n,66,0,"Yes"==e.currentLoans.controls.existing_loan.value);l(n,85,0,"currentloan_remarks");l(n,88,0,"Remarks");l(n,98,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,18,0,xm._32(n,19).statusbarPadding,xm._32(n,19)._hasRefresher);l(n,21,0,xm._32(n,25).ngClassUntouched,xm._32(n,25).ngClassTouched,xm._32(n,25).ngClassPristine,xm._32(n,25).ngClassDirty,xm._32(n,25).ngClassValid,xm._32(n,25).ngClassInvalid,xm._32(n,25).ngClassPending);l(n,30,1,[xm._32(n,31)._control.errorState,xm._32(n,31)._control.errorState,xm._32(n,31)._canLabelFloat,xm._32(n,31)._shouldLabelFloat(),xm._32(n,31)._hideControlPlaceholder(),xm._32(n,31)._control.disabled,xm._32(n,31)._control.focused,"primary"==xm._32(n,31).color,"accent"==xm._32(n,31).color,"warn"==xm._32(n,31).color,xm._32(n,31)._shouldForward("untouched"),xm._32(n,31)._shouldForward("touched"),xm._32(n,31)._shouldForward("pristine"),xm._32(n,31)._shouldForward("dirty"),xm._32(n,31)._shouldForward("valid"),xm._32(n,31)._shouldForward("invalid"),xm._32(n,31)._shouldForward("pending")]);l(n,44,1,[xm._32(n,47).ngClassUntouched,xm._32(n,47).ngClassTouched,xm._32(n,47).ngClassPristine,xm._32(n,47).ngClassDirty,xm._32(n,47).ngClassValid,xm._32(n,47).ngClassInvalid,xm._32(n,47).ngClassPending,xm._32(n,48).id,xm._32(n,48).tabIndex,xm._32(n,48)._ariaLabel,xm._32(n,48).ariaLabelledby,xm._32(n,48).required.toString(),xm._32(n,48).disabled.toString(),xm._32(n,48).errorState,xm._32(n,48).panelOpen?xm._32(n,48)._optionIds:null,xm._32(n,48).multiple,xm._32(n,48)._ariaDescribedby||null,xm._32(n,48)._getAriaActiveDescendant(),xm._32(n,48).disabled,xm._32(n,48).errorState,xm._32(n,48).required]);l(n,55,0,xm._32(n,56)._getTabIndex(),xm._32(n,56).selected,xm._32(n,56).multiple,xm._32(n,56).active,xm._32(n,56).id,xm._32(n,56).selected.toString(),xm._32(n,56).disabled.toString(),xm._32(n,56).disabled);l(n,59,0,xm._32(n,60)._getTabIndex(),xm._32(n,60).selected,xm._32(n,60).multiple,xm._32(n,60).active,xm._32(n,60).id,xm._32(n,60).selected.toString(),xm._32(n,60).disabled.toString(),xm._32(n,60).disabled);l(n,72,1,[xm._32(n,73)._control.errorState,xm._32(n,73)._control.errorState,xm._32(n,73)._canLabelFloat,xm._32(n,73)._shouldLabelFloat(),xm._32(n,73)._hideControlPlaceholder(),xm._32(n,73)._control.disabled,xm._32(n,73)._control.focused,"primary"==xm._32(n,73).color,"accent"==xm._32(n,73).color,"warn"==xm._32(n,73).color,xm._32(n,73)._shouldForward("untouched"),xm._32(n,73)._shouldForward("touched"),xm._32(n,73)._shouldForward("pristine"),xm._32(n,73)._shouldForward("dirty"),xm._32(n,73)._shouldForward("valid"),xm._32(n,73)._shouldForward("invalid"),xm._32(n,73)._shouldForward("pending")]);l(n,82,1,[xm._32(n,87).ngClassUntouched,xm._32(n,87).ngClassTouched,xm._32(n,87).ngClassPristine,xm._32(n,87).ngClassDirty,xm._32(n,87).ngClassValid,xm._32(n,87).ngClassInvalid,xm._32(n,87).ngClassPending,xm._32(n,88)._isServer,xm._32(n,88).id,xm._32(n,88).placeholder,xm._32(n,88).disabled,xm._32(n,88).required,xm._32(n,88).readonly,xm._32(n,88)._ariaDescribedby||null,xm._32(n,88).errorState,xm._32(n,88).required.toString()])})}function Qn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Employee Salary Category"]))],null,null)}function zn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Qn)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(21,0,null,null,212,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,208,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,201,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(31,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(33,0,null,0,22,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(36,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nameOfEmp"],["matInput",""],["name","nameOfEmp"],["placeholder","Name Of Emp"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,51)._onInput()&&u}return u},null,null)),xm._17(46,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(48,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(50,16384,null,0,Km.s,[Km.r],null,null),xm._17(51,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(57,0,null,0,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(59,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(60,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","yearWithEmp"],["matInput",""],["name","yearWithEmp"],["placeholder","How many yrs with this emp"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,71)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,71).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,71)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,71)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,76)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,76)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,76)._onInput()&&u}return u},null,null)),xm._17(71,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(73,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(75,16384,null,0,Km.s,[Km.r],null,null),xm._17(76,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[9,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(82,0,null,0,23,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(83,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(85,0,null,0,2,"p",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),xm._17(86,16384,null,0,$b.e,[],null,null),(l()(),xm._39(-1,null,["Emp Met"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(89,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","empMet"],["name","empMet"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(90,1064960,null,1,Kb.b,[xm.i],{name:[0,"name"]},null),xm._37(603979776,16,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(93,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(95,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(97,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","YES"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,98)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(98,4440064,[[16,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["YES"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(101,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","NO"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,102)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(102,4440064,[[16,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["NO"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n \n\n "])),(l()(),xm._18(107,0,null,0,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(109,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(110,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,17,{_control:0}),xm._37(335544320,18,{_placeholderChild:0}),xm._37(335544320,19,{_labelChild:0}),xm._37(603979776,20,{_errorChildren:1}),xm._37(603979776,21,{_hintChildren:1}),xm._37(603979776,22,{_prefixChildren:1}),xm._37(603979776,23,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(120,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","designationOfEmp"],["matInput",""],["name","designationOfEmp"],["placeholder","Name and Designation of person met"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,121)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,121).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,121)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,121)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,126)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,126)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,126)._onInput()&&u}return u},null,null)),xm._17(121,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(123,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(125,16384,null,0,Km.s,[Km.r],null,null),xm._17(126,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[17,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(132,0,null,0,23,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(133,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(135,0,null,0,2,"p",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),xm._17(136,16384,null,0,$b.e,[],null,null),(l()(),xm._39(-1,null,["Salary amt confirmed"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(139,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","salaryConfirm"],["name","salaryConfirm"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(140,1064960,null,1,Kb.b,[xm.i],{name:[0,"name"]},null),xm._37(603979776,24,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(143,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(145,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(147,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","YES"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,148)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(148,4440064,[[24,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["YES"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(151,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","NO"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,152)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(152,4440064,[[24,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["NO"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(157,0,null,0,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(159,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(160,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,25,{_control:0}),xm._37(335544320,26,{_placeholderChild:0}),xm._37(335544320,27,{_labelChild:0}),xm._37(603979776,28,{_errorChildren:1}),xm._37(603979776,29,{_hintChildren:1}),xm._37(603979776,30,{_prefixChildren:1}),xm._37(603979776,31,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(170,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","actualSalary"],["matInput",""],["name","actualSalary"],["placeholder","What is the salary amt confirmed"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,171)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,171).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,171)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,171)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,176)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,176)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,176)._onInput()&&u}return u},null,null)),xm._17(171,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(173,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(175,16384,null,0,Km.s,[Km.r],null,null),xm._17(176,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[25,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(182,0,null,0,23,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(183,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(185,0,null,0,2,"p",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),xm._17(186,16384,null,0,$b.e,[],null,null),(l()(),xm._39(-1,null,["Attendance Register seen"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(189,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","attRegisterSeen"],["name","attRegisterSeen"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(190,1064960,null,1,Kb.b,[xm.i],{name:[0,"name"]},null),xm._37(603979776,32,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(193,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(195,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(197,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","YES"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,198)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(198,4440064,[[32,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["YES"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(201,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","NO"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,202)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(202,4440064,[[32,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["NO"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(207,0,null,0,23,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(208,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(210,0,null,0,2,"P",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),xm._17(211,16384,null,0,$b.e,[],null,null),(l()(),xm._39(-1,null,["Salary register seen"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(214,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","salaryRegisterSeen"],["name","salaryRegisterSeen"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(215,1064960,null,1,Kb.b,[xm.i],{name:[0,"name"]},null),xm._37(603979776,33,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(218,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(220,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(222,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","YES"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,223)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(223,4440064,[[33,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["YES"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(226,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","NO"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,227)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(227,4440064,[[33,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["NO"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.empInfo);l(n,48,0,"nameOfEmp");l(n,51,0,"Name Of Emp","text");l(n,73,0,"yearWithEmp");l(n,76,0,"How many yrs with this emp","text");l(n,90,0,"empMet");l(n,93,0,"empMet");l(n,98,0,"YES");l(n,102,0,"NO");l(n,123,0,"designationOfEmp");l(n,126,0,"Name and Designation of person met","text");l(n,140,0,"salaryConfirm");l(n,143,0,"salaryConfirm");l(n,148,0,"YES");l(n,152,0,"NO");l(n,173,0,"actualSalary");l(n,176,0,"What is the salary amt confirmed","text");l(n,190,0,"attRegisterSeen");l(n,193,0,"attRegisterSeen");l(n,198,0,"YES");l(n,202,0,"NO");l(n,215,0,"salaryRegisterSeen");l(n,218,0,"salaryRegisterSeen");l(n,223,0,"YES");l(n,227,0,"NO")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,35,1,[xm._32(n,36)._control.errorState,xm._32(n,36)._control.errorState,xm._32(n,36)._canLabelFloat,xm._32(n,36)._shouldLabelFloat(),xm._32(n,36)._hideControlPlaceholder(),xm._32(n,36)._control.disabled,xm._32(n,36)._control.focused,"primary"==xm._32(n,36).color,"accent"==xm._32(n,36).color,"warn"==xm._32(n,36).color,xm._32(n,36)._shouldForward("untouched"),xm._32(n,36)._shouldForward("touched"),xm._32(n,36)._shouldForward("pristine"),xm._32(n,36)._shouldForward("dirty"),xm._32(n,36)._shouldForward("valid"),xm._32(n,36)._shouldForward("invalid"),xm._32(n,36)._shouldForward("pending")]);l(n,45,1,[xm._32(n,50).ngClassUntouched,xm._32(n,50).ngClassTouched,xm._32(n,50).ngClassPristine,xm._32(n,50).ngClassDirty,xm._32(n,50).ngClassValid,xm._32(n,50).ngClassInvalid,xm._32(n,50).ngClassPending,xm._32(n,51)._isServer,xm._32(n,51).id,xm._32(n,51).placeholder,xm._32(n,51).disabled,xm._32(n,51).required,xm._32(n,51).readonly,xm._32(n,51)._ariaDescribedby||null,xm._32(n,51).errorState,xm._32(n,51).required.toString()]);l(n,59,1,[xm._32(n,60)._control.errorState,xm._32(n,60)._control.errorState,xm._32(n,60)._canLabelFloat,xm._32(n,60)._shouldLabelFloat(),xm._32(n,60)._hideControlPlaceholder(),xm._32(n,60)._control.disabled,xm._32(n,60)._control.focused,"primary"==xm._32(n,60).color,"accent"==xm._32(n,60).color,"warn"==xm._32(n,60).color,xm._32(n,60)._shouldForward("untouched"),xm._32(n,60)._shouldForward("touched"),xm._32(n,60)._shouldForward("pristine"),xm._32(n,60)._shouldForward("dirty"),xm._32(n,60)._shouldForward("valid"),xm._32(n,60)._shouldForward("invalid"),xm._32(n,60)._shouldForward("pending")]);l(n,70,1,[xm._32(n,75).ngClassUntouched,xm._32(n,75).ngClassTouched,xm._32(n,75).ngClassPristine,xm._32(n,75).ngClassDirty,xm._32(n,75).ngClassValid,xm._32(n,75).ngClassInvalid,xm._32(n,75).ngClassPending,xm._32(n,76)._isServer,xm._32(n,76).id,xm._32(n,76).placeholder,xm._32(n,76).disabled,xm._32(n,76).required,xm._32(n,76).readonly,xm._32(n,76)._ariaDescribedby||null,xm._32(n,76).errorState,xm._32(n,76).required.toString()]);l(n,89,0,xm._32(n,95).ngClassUntouched,xm._32(n,95).ngClassTouched,xm._32(n,95).ngClassPristine,xm._32(n,95).ngClassDirty,xm._32(n,95).ngClassValid,xm._32(n,95).ngClassInvalid,xm._32(n,95).ngClassPending);l(n,97,0,xm._32(n,98).checked,xm._32(n,98).disabled,xm._32(n,98).id);l(n,101,0,xm._32(n,102).checked,xm._32(n,102).disabled,xm._32(n,102).id);l(n,109,1,[xm._32(n,110)._control.errorState,xm._32(n,110)._control.errorState,xm._32(n,110)._canLabelFloat,xm._32(n,110)._shouldLabelFloat(),xm._32(n,110)._hideControlPlaceholder(),xm._32(n,110)._control.disabled,xm._32(n,110)._control.focused,"primary"==xm._32(n,110).color,"accent"==xm._32(n,110).color,"warn"==xm._32(n,110).color,xm._32(n,110)._shouldForward("untouched"),xm._32(n,110)._shouldForward("touched"),xm._32(n,110)._shouldForward("pristine"),xm._32(n,110)._shouldForward("dirty"),xm._32(n,110)._shouldForward("valid"),xm._32(n,110)._shouldForward("invalid"),xm._32(n,110)._shouldForward("pending")]);l(n,120,1,[xm._32(n,125).ngClassUntouched,xm._32(n,125).ngClassTouched,xm._32(n,125).ngClassPristine,xm._32(n,125).ngClassDirty,xm._32(n,125).ngClassValid,xm._32(n,125).ngClassInvalid,xm._32(n,125).ngClassPending,xm._32(n,126)._isServer,xm._32(n,126).id,xm._32(n,126).placeholder,xm._32(n,126).disabled,xm._32(n,126).required,xm._32(n,126).readonly,xm._32(n,126)._ariaDescribedby||null,xm._32(n,126).errorState,xm._32(n,126).required.toString()]);l(n,139,0,xm._32(n,145).ngClassUntouched,xm._32(n,145).ngClassTouched,xm._32(n,145).ngClassPristine,xm._32(n,145).ngClassDirty,xm._32(n,145).ngClassValid,xm._32(n,145).ngClassInvalid,xm._32(n,145).ngClassPending);l(n,147,0,xm._32(n,148).checked,xm._32(n,148).disabled,xm._32(n,148).id);l(n,151,0,xm._32(n,152).checked,xm._32(n,152).disabled,xm._32(n,152).id);l(n,159,1,[xm._32(n,160)._control.errorState,xm._32(n,160)._control.errorState,xm._32(n,160)._canLabelFloat,xm._32(n,160)._shouldLabelFloat(),xm._32(n,160)._hideControlPlaceholder(),xm._32(n,160)._control.disabled,xm._32(n,160)._control.focused,"primary"==xm._32(n,160).color,"accent"==xm._32(n,160).color,"warn"==xm._32(n,160).color,xm._32(n,160)._shouldForward("untouched"),xm._32(n,160)._shouldForward("touched"),xm._32(n,160)._shouldForward("pristine"),xm._32(n,160)._shouldForward("dirty"),xm._32(n,160)._shouldForward("valid"),xm._32(n,160)._shouldForward("invalid"),xm._32(n,160)._shouldForward("pending")]);l(n,170,1,[xm._32(n,175).ngClassUntouched,xm._32(n,175).ngClassTouched,xm._32(n,175).ngClassPristine,xm._32(n,175).ngClassDirty,xm._32(n,175).ngClassValid,xm._32(n,175).ngClassInvalid,xm._32(n,175).ngClassPending,xm._32(n,176)._isServer,xm._32(n,176).id,xm._32(n,176).placeholder,xm._32(n,176).disabled,xm._32(n,176).required,xm._32(n,176).readonly,xm._32(n,176)._ariaDescribedby||null,xm._32(n,176).errorState,xm._32(n,176).required.toString()]);l(n,189,0,xm._32(n,195).ngClassUntouched,xm._32(n,195).ngClassTouched,xm._32(n,195).ngClassPristine,xm._32(n,195).ngClassDirty,xm._32(n,195).ngClassValid,xm._32(n,195).ngClassInvalid,xm._32(n,195).ngClassPending);l(n,197,0,xm._32(n,198).checked,xm._32(n,198).disabled,xm._32(n,198).id);l(n,201,0,xm._32(n,202).checked,xm._32(n,202).disabled,xm._32(n,202).id);l(n,214,0,xm._32(n,220).ngClassUntouched,xm._32(n,220).ngClassTouched,xm._32(n,220).ngClassPristine,xm._32(n,220).ngClassDirty,xm._32(n,220).ngClassValid,xm._32(n,220).ngClassInvalid,xm._32(n,220).ngClassPending);l(n,222,0,xm._32(n,223).checked,xm._32(n,223).disabled,xm._32(n,223).id);l(n,226,0,xm._32(n,227).checked,xm._32(n,227).disabled,xm._32(n,227).id)})}function Jn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Xn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"span",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.remove_family_details(l.parent.context.index)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,3,0,"md-close")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Zn(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.pd_co_applicant_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function le(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ne(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[36,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ee(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[46,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function ue(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[63,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ae(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[70,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.RentAmount[n.parent.parent.context.index])})}function te(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,66,{_control:0}),xm._37(335544320,67,{_placeholderChild:0}),xm._37(335544320,68,{_labelChild:0}),xm._37(603979776,69,{_errorChildren:1}),xm._37(603979776,70,{_hintChildren:1}),xm._37(603979776,71,{_prefixChildren:1}),xm._37(603979776,72,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent"],["matInput",""],["placeholder","Rent Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,17)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(12,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(14,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(16,16384,null,0,Km.s,[Km.r],null,null),xm._17(17,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[66,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,ae)),xm._17(21,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n"]))],function(l,n){l(n,14,0,"rent");l(n,17,0,"Rent Amount","number");l(n,21,0,""!=n.parent.context.$implicit.get("rent").value)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,16).ngClassUntouched,xm._32(n,16).ngClassTouched,xm._32(n,16).ngClassPristine,xm._32(n,16).ngClassDirty,xm._32(n,16).ngClassValid,xm._32(n,16).ngClassInvalid,xm._32(n,16).ngClassPending,xm._32(n,17)._isServer,xm._32(n,17).id,xm._32(n,17).placeholder,xm._32(n,17).disabled,xm._32(n,17).required,xm._32(n,17).readonly,xm._32(n,17)._ariaDescribedby||null,xm._32(n,17).errorState,xm._32(n,17).required.toString()])})}function ie(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,73,{_control:0}),xm._37(335544320,74,{_placeholderChild:0}),xm._37(335544320,75,{_labelChild:0}),xm._37(603979776,76,{_errorChildren:1}),xm._37(603979776,77,{_hintChildren:1}),xm._37(603979776,78,{_prefixChildren:1}),xm._37(603979776,79,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ownershipOther"],["matInput",""],["placeholder"," Specify Ownership"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[73,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"ownershipOther");l(n,16,0," Specify Ownership","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function oe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[94,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["","\n "]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.relationship_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function re(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[111,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["","\n "]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.type)})}function _e(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[121,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.customer_segment_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function de(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,124,{_control:0}),xm._37(335544320,125,{_placeholderChild:0}),xm._37(335544320,126,{_labelChild:0}),xm._37(603979776,127,{_errorChildren:1}),xm._37(603979776,128,{_hintChildren:1}),xm._37(603979776,129,{_prefixChildren:1}),xm._37(603979776,130,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_if_others_segment"],["matInput",""],["placeholder","Specify Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[124,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"earning_if_others_segment");l(n,16,0,"Specify Others")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function se(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[135,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.IncomePerMonth[n.parent.parent.context.index])})}function ce(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,98,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Earning Details"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,114,{_control:0}),xm._37(335544320,115,{_placeholderChild:0}),xm._37(335544320,116,{_labelChild:0}),xm._37(603979776,117,{_errorChildren:1}),xm._37(603979776,118,{_hintChildren:1}),xm._37(603979776,119,{_prefixChildren:1}),xm._37(603979776,120,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","earning_segment"],["placeholder","Segment"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,20)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(19,16384,null,0,Km.s,[Km.r],null,null),xm._17(20,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,121,{options:1}),xm._37(603979776,122,{optionGroups:1}),xm._37(335544320,123,{customTrigger:0}),xm._36(2048,[[114,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,_e)),xm._17(27,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,de)),xm._17(32,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(35,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,131,{_control:0}),xm._37(335544320,132,{_placeholderChild:0}),xm._37(335544320,133,{_labelChild:0}),xm._37(603979776,134,{_errorChildren:1}),xm._37(603979776,135,{_hintChildren:1}),xm._37(603979776,136,{_prefixChildren:1}),xm._37(603979776,137,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(44,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_gross_income_per_month"],["matInput",""],["placeholder","Income Per Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,45)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,46).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,46).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,51)._onInput()&&u}return u},null,null)),xm._17(45,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(46,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(48,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(50,16384,null,0,Km.s,[Km.r],null,null),xm._17(51,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[131,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,se)),xm._17(55,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(58,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(59,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,138,{_control:0}),xm._37(335544320,139,{_placeholderChild:0}),xm._37(335544320,140,{_labelChild:0}),xm._37(603979776,141,{_errorChildren:1}),xm._37(603979776,142,{_hintChildren:1}),xm._37(603979776,143,{_prefixChildren:1}),xm._37(603979776,144,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(68,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_name_of_the_employer_or_business"],["matInput",""],["placeholder","Name of the Employer/Business"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,74)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,74)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,74)._onInput()&&u}return u},null,null)),xm._17(69,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(71,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(73,16384,null,0,Km.s,[Km.r],null,null),xm._17(74,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[138,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(78,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(79,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,145,{_control:0}),xm._37(335544320,146,{_placeholderChild:0}),xm._37(335544320,147,{_labelChild:0}),xm._37(603979776,148,{_errorChildren:1}),xm._37(603979776,149,{_hintChildren:1}),xm._37(603979776,150,{_prefixChildren:1}),xm._37(603979776,151,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(88,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_number_of_years_in_employment_or_business"],["matInput",""],["placeholder","No. of years in Employer/Business"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,89)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,89).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,89)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,89)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,90).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,90).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,90).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,95)._onInput()&&u}return u},null,null)),xm._17(89,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(90,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(92,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(94,16384,null,0,Km.s,[Km.r],null,null),xm._17(95,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[145,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,17,0,"earning_segment");l(n,20,0,"Segment");l(n,27,0,e.cusSeg);l(n,32,0,1==n.parent.context.$implicit.get("earning_segment").value);l(n,48,0,"earning_gross_income_per_month");l(n,51,0,"Income Per Month","number");l(n,55,0,""!=n.parent.context.$implicit.get("earning_gross_income_per_month").value);l(n,71,0,"earning_name_of_the_employer_or_business");l(n,74,0,"Name of the Employer/Business");l(n,92,0,"earning_number_of_years_in_employment_or_business");l(n,95,0,"No. of years in Employer/Business","number")},function(l,n){l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,19).ngClassUntouched,xm._32(n,19).ngClassTouched,xm._32(n,19).ngClassPristine,xm._32(n,19).ngClassDirty,xm._32(n,19).ngClassValid,xm._32(n,19).ngClassInvalid,xm._32(n,19).ngClassPending,xm._32(n,20).id,xm._32(n,20).tabIndex,xm._32(n,20)._ariaLabel,xm._32(n,20).ariaLabelledby,xm._32(n,20).required.toString(),xm._32(n,20).disabled.toString(),xm._32(n,20).errorState,xm._32(n,20).panelOpen?xm._32(n,20)._optionIds:null,xm._32(n,20).multiple,xm._32(n,20)._ariaDescribedby||null,xm._32(n,20)._getAriaActiveDescendant(),xm._32(n,20).disabled,xm._32(n,20).errorState,xm._32(n,20).required]);l(n,34,1,[xm._32(n,35)._control.errorState,xm._32(n,35)._control.errorState,xm._32(n,35)._canLabelFloat,xm._32(n,35)._shouldLabelFloat(),xm._32(n,35)._hideControlPlaceholder(),xm._32(n,35)._control.disabled,xm._32(n,35)._control.focused,"primary"==xm._32(n,35).color,"accent"==xm._32(n,35).color,"warn"==xm._32(n,35).color,xm._32(n,35)._shouldForward("untouched"),xm._32(n,35)._shouldForward("touched"),xm._32(n,35)._shouldForward("pristine"),xm._32(n,35)._shouldForward("dirty"),xm._32(n,35)._shouldForward("valid"),xm._32(n,35)._shouldForward("invalid"),xm._32(n,35)._shouldForward("pending")]);l(n,44,1,[xm._32(n,50).ngClassUntouched,xm._32(n,50).ngClassTouched,xm._32(n,50).ngClassPristine,xm._32(n,50).ngClassDirty,xm._32(n,50).ngClassValid,xm._32(n,50).ngClassInvalid,xm._32(n,50).ngClassPending,xm._32(n,51)._isServer,xm._32(n,51).id,xm._32(n,51).placeholder,xm._32(n,51).disabled,xm._32(n,51).required,xm._32(n,51).readonly,xm._32(n,51)._ariaDescribedby||null,xm._32(n,51).errorState,xm._32(n,51).required.toString()]);l(n,58,1,[xm._32(n,59)._control.errorState,xm._32(n,59)._control.errorState,xm._32(n,59)._canLabelFloat,xm._32(n,59)._shouldLabelFloat(),xm._32(n,59)._hideControlPlaceholder(),xm._32(n,59)._control.disabled,xm._32(n,59)._control.focused,"primary"==xm._32(n,59).color,"accent"==xm._32(n,59).color,"warn"==xm._32(n,59).color,xm._32(n,59)._shouldForward("untouched"),xm._32(n,59)._shouldForward("touched"),xm._32(n,59)._shouldForward("pristine"),xm._32(n,59)._shouldForward("dirty"),xm._32(n,59)._shouldForward("valid"),xm._32(n,59)._shouldForward("invalid"),xm._32(n,59)._shouldForward("pending")]);l(n,68,1,[xm._32(n,73).ngClassUntouched,xm._32(n,73).ngClassTouched,xm._32(n,73).ngClassPristine,xm._32(n,73).ngClassDirty,xm._32(n,73).ngClassValid,xm._32(n,73).ngClassInvalid,xm._32(n,73).ngClassPending,xm._32(n,74)._isServer,xm._32(n,74).id,xm._32(n,74).placeholder,xm._32(n,74).disabled,xm._32(n,74).required,xm._32(n,74).readonly,xm._32(n,74)._ariaDescribedby||null,xm._32(n,74).errorState,xm._32(n,74).required.toString()]);l(n,78,1,[xm._32(n,79)._control.errorState,xm._32(n,79)._control.errorState,xm._32(n,79)._canLabelFloat,xm._32(n,79)._shouldLabelFloat(),xm._32(n,79)._hideControlPlaceholder(),xm._32(n,79)._control.disabled,xm._32(n,79)._control.focused,"primary"==xm._32(n,79).color,"accent"==xm._32(n,79).color,"warn"==xm._32(n,79).color,xm._32(n,79)._shouldForward("untouched"),xm._32(n,79)._shouldForward("touched"),xm._32(n,79)._shouldForward("pristine"),xm._32(n,79)._shouldForward("dirty"),xm._32(n,79)._shouldForward("valid"),xm._32(n,79)._shouldForward("invalid"),xm._32(n,79)._shouldForward("pending")]);l(n,88,1,[xm._32(n,94).ngClassUntouched,xm._32(n,94).ngClassTouched,xm._32(n,94).ngClassPristine,xm._32(n,94).ngClassDirty,xm._32(n,94).ngClassValid,xm._32(n,94).ngClassInvalid,xm._32(n,94).ngClassPending,xm._32(n,95)._isServer,xm._32(n,95).id,xm._32(n,95).placeholder,xm._32(n,95).disabled,xm._32(n,95).required,xm._32(n,95).readonly,xm._32(n,95)._ariaDescribedby||null,xm._32(n,95).errorState,xm._32(n,95).required.toString()])})}function me(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[159,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.occupation_non_earning_member_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function pe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,162,{_control:0}),xm._37(335544320,163,{_placeholderChild:0}),xm._37(335544320,164,{_labelChild:0}),xm._37(603979776,165,{_errorChildren:1}),xm._37(603979776,166,{_hintChildren:1}),xm._37(603979776,167,{_prefixChildren:1}),xm._37(603979776,168,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_others"],["matInput",""],["placeholder","Specify Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[162,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_others");l(n,16,0,"Specify Others")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function fe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,169,{_control:0}),xm._37(335544320,170,{_placeholderChild:0}),xm._37(335544320,171,{_labelChild:0}),xm._37(603979776,172,{_errorChildren:1}),xm._37(603979776,173,{_hintChildren:1}),xm._37(603979776,174,{_prefixChildren:1}),xm._37(603979776,175,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_schoolorcollege"],["matInput",""],["placeholder","Specify School/College Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[169,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_schoolorcollege");l(n,16,0,"Specify School/College Name")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function he(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,176,{_control:0}),xm._37(335544320,177,{_placeholderChild:0}),xm._37(335544320,178,{_labelChild:0}),xm._37(603979776,179,{_errorChildren:1}),xm._37(603979776,180,{_hintChildren:1}),xm._37(603979776,181,{_prefixChildren:1}),xm._37(603979776,182,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_retired_from"],["matInput",""],["placeholder","Retired From"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[176,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_retired_from");l(n,16,0,"Retired From","date")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function ge(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,36,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,152,{_control:0}),xm._37(335544320,153,{_placeholderChild:0}),xm._37(335544320,154,{_labelChild:0}),xm._37(603979776,155,{_errorChildren:1}),xm._37(603979776,156,{_hintChildren:1}),xm._37(603979776,157,{_prefixChildren:1}),xm._37(603979776,158,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","non_earning_occupation"],["placeholder","Occupation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,17)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,17)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,17)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(14,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(16,16384,null,0,Km.s,[Km.r],null,null),xm._17(17,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,159,{options:1}),xm._37(603979776,160,{optionGroups:1}),xm._37(335544320,161,{customTrigger:0}),xm._36(2048,[[152,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,me)),xm._17(24,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,pe)),xm._17(29,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,fe)),xm._17(32,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,he)),xm._17(35,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,14,0,"non_earning_occupation");l(n,17,0,"Occupation");l(n,24,0,e.occupationData);l(n,29,0,1==n.parent.context.$implicit.get("non_earning_occupation").value);l(n,32,0,2==n.parent.context.$implicit.get("non_earning_occupation").value);l(n,35,0,3==n.parent.context.$implicit.get("non_earning_occupation").value)},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,16).ngClassUntouched,xm._32(n,16).ngClassTouched,xm._32(n,16).ngClassPristine,xm._32(n,16).ngClassDirty,xm._32(n,16).ngClassValid,xm._32(n,16).ngClassInvalid,xm._32(n,16).ngClassPending,xm._32(n,17).id,xm._32(n,17).tabIndex,xm._32(n,17)._ariaLabel,xm._32(n,17).ariaLabelledby,xm._32(n,17).required.toString(),xm._32(n,17).disabled.toString(),xm._32(n,17).errorState,xm._32(n,17).panelOpen?xm._32(n,17)._optionIds:null,xm._32(n,17).multiple,xm._32(n,17)._ariaDescribedby||null,xm._32(n,17)._getAriaActiveDescendant(),xm._32(n,17).disabled,xm._32(n,17).errorState,xm._32(n,17).required])})}function be(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMemberDet(l.parent.parent.context.index)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function ve(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,128,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,[" \n \n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-header",[["appearence","outline"],["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._39(7,2,["Family Member Details # "," Of ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(10,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,80,{_control:0}),xm._37(335544320,81,{_placeholderChild:0}),xm._37(335544320,82,{_labelChild:0}),xm._37(603979776,83,{_errorChildren:1}),xm._37(603979776,84,{_hintChildren:1}),xm._37(603979776,85,{_prefixChildren:1}),xm._37(603979776,86,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,25)._onInput()&&u}return u},null,null)),xm._17(20,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(22,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(24,16384,null,0,Km.s,[Km.r],null,null),xm._17(25,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[80,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(30,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,87,{_control:0}),xm._37(335544320,88,{_placeholderChild:0}),xm._37(335544320,89,{_labelChild:0}),xm._37(603979776,90,{_errorChildren:1}),xm._37(603979776,91,{_hintChildren:1}),xm._37(603979776,92,{_prefixChildren:1}),xm._37(603979776,93,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(39,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","family_member_relationship"],["placeholder","Relationship *"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,44)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,44)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,44)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(41,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(43,16384,null,0,Km.s,[Km.r],null,null),xm._17(44,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,94,{options:1}),xm._37(603979776,95,{optionGroups:1}),xm._37(335544320,96,{customTrigger:0}),xm._36(2048,[[87,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,oe)),xm._17(51,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(55,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(56,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,97,{_control:0}),xm._37(335544320,98,{_placeholderChild:0}),xm._37(335544320,99,{_labelChild:0}),xm._37(603979776,100,{_errorChildren:1}),xm._37(603979776,101,{_hintChildren:1}),xm._37(603979776,102,{_prefixChildren:1}),xm._37(603979776,103,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(65,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_age"],["matInput",""],["placeholder","Age"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,66)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,67).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,67).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,67).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,72)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,72)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,72)._onInput()&&u}return u},null,null)),xm._17(66,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(67,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(69,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(71,16384,null,0,Km.s,[Km.r],null,null),xm._17(72,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[97,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(76,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(77,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,104,{_control:0}),xm._37(335544320,105,{_placeholderChild:0}),xm._37(335544320,106,{_labelChild:0}),xm._37(603979776,107,{_errorChildren:1}),xm._37(603979776,108,{_hintChildren:1}),xm._37(603979776,109,{_prefixChildren:1}),xm._37(603979776,110,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(86,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","family_member_earning_status"],["placeholder","Earning Status *"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,91)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,91)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,91)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(88,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(90,16384,null,0,Km.s,[Km.r],null,null),xm._17(91,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,111,{options:1}),xm._37(603979776,112,{optionGroups:1}),xm._37(335544320,113,{customTrigger:0}),xm._36(2048,[[104,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,re)),xm._17(98,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ce)),xm._17(103,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,ge)),xm._17(106,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(108,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(109,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,183,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(112,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(113,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(115,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeMemberDet(l.context.index,l.parent.context.index)&&u}return u},Db.b,Db.a)),xm._17(116,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(117,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),xm._17(118,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(121,0,null,null,5,"ion-col",[["class","col"],["col-1",""],["offset-1",""]],null,null,null,null,null)),xm._17(122,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,be)),xm._17(125,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"family_member_name");l(n,25,0,"Name","text");l(n,41,0,"family_member_relationship");l(n,44,0,"Relationship *");l(n,51,0,e.relationData);l(n,69,0,"family_member_age");l(n,72,0,"Age","number",e.isReadOnly[n.context.index]);l(n,88,0,"family_member_earning_status");l(n,91,0,"Earning Status *");l(n,98,0,e.earningStatus);l(n,103,0,1==n.context.$implicit.get("family_member_earning_status").value);l(n,106,0,2==n.context.$implicit.get("family_member_earning_status").value);l(n,116,0,"optblue","");l(n,118,0,"md-trash");l(n,125,0,n.context.last)},function(l,n){var e=n.component;l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1,e.FamilyMemberAsLabel[n.parent.context.index]);l(n,9,1,[xm._32(n,10)._control.errorState,xm._32(n,10)._control.errorState,xm._32(n,10)._canLabelFloat,xm._32(n,10)._shouldLabelFloat(),xm._32(n,10)._hideControlPlaceholder(),xm._32(n,10)._control.disabled,xm._32(n,10)._control.focused,"primary"==xm._32(n,10).color,"accent"==xm._32(n,10).color,"warn"==xm._32(n,10).color,xm._32(n,10)._shouldForward("untouched"),xm._32(n,10)._shouldForward("touched"),xm._32(n,10)._shouldForward("pristine"),xm._32(n,10)._shouldForward("dirty"),xm._32(n,10)._shouldForward("valid"),xm._32(n,10)._shouldForward("invalid"),xm._32(n,10)._shouldForward("pending")]);l(n,19,1,[xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending,xm._32(n,25)._isServer,xm._32(n,25).id,xm._32(n,25).placeholder,xm._32(n,25).disabled,xm._32(n,25).required,xm._32(n,25).readonly,xm._32(n,25)._ariaDescribedby||null,xm._32(n,25).errorState,xm._32(n,25).required.toString()]);l(n,29,1,[xm._32(n,30)._control.errorState,xm._32(n,30)._control.errorState,xm._32(n,30)._canLabelFloat,xm._32(n,30)._shouldLabelFloat(),xm._32(n,30)._hideControlPlaceholder(),xm._32(n,30)._control.disabled,xm._32(n,30)._control.focused,"primary"==xm._32(n,30).color,"accent"==xm._32(n,30).color,"warn"==xm._32(n,30).color,xm._32(n,30)._shouldForward("untouched"),xm._32(n,30)._shouldForward("touched"),xm._32(n,30)._shouldForward("pristine"),xm._32(n,30)._shouldForward("dirty"),xm._32(n,30)._shouldForward("valid"),xm._32(n,30)._shouldForward("invalid"),xm._32(n,30)._shouldForward("pending")]);l(n,39,1,[xm._32(n,43).ngClassUntouched,xm._32(n,43).ngClassTouched,xm._32(n,43).ngClassPristine,xm._32(n,43).ngClassDirty,xm._32(n,43).ngClassValid,xm._32(n,43).ngClassInvalid,xm._32(n,43).ngClassPending,xm._32(n,44).id,xm._32(n,44).tabIndex,xm._32(n,44)._ariaLabel,xm._32(n,44).ariaLabelledby,xm._32(n,44).required.toString(),xm._32(n,44).disabled.toString(),xm._32(n,44).errorState,xm._32(n,44).panelOpen?xm._32(n,44)._optionIds:null,xm._32(n,44).multiple,xm._32(n,44)._ariaDescribedby||null,xm._32(n,44)._getAriaActiveDescendant(),xm._32(n,44).disabled,xm._32(n,44).errorState,xm._32(n,44).required]);l(n,55,1,[xm._32(n,56)._control.errorState,xm._32(n,56)._control.errorState,xm._32(n,56)._canLabelFloat,xm._32(n,56)._shouldLabelFloat(),xm._32(n,56)._hideControlPlaceholder(),xm._32(n,56)._control.disabled,xm._32(n,56)._control.focused,"primary"==xm._32(n,56).color,"accent"==xm._32(n,56).color,"warn"==xm._32(n,56).color,xm._32(n,56)._shouldForward("untouched"),xm._32(n,56)._shouldForward("touched"),xm._32(n,56)._shouldForward("pristine"),xm._32(n,56)._shouldForward("dirty"),xm._32(n,56)._shouldForward("valid"),xm._32(n,56)._shouldForward("invalid"),xm._32(n,56)._shouldForward("pending")]);l(n,65,1,[xm._32(n,71).ngClassUntouched,xm._32(n,71).ngClassTouched,xm._32(n,71).ngClassPristine,xm._32(n,71).ngClassDirty,xm._32(n,71).ngClassValid,xm._32(n,71).ngClassInvalid,xm._32(n,71).ngClassPending,xm._32(n,72)._isServer,xm._32(n,72).id,xm._32(n,72).placeholder,xm._32(n,72).disabled,xm._32(n,72).required,xm._32(n,72).readonly,xm._32(n,72)._ariaDescribedby||null,xm._32(n,72).errorState,xm._32(n,72).required.toString()]);l(n,76,1,[xm._32(n,77)._control.errorState,xm._32(n,77)._control.errorState,xm._32(n,77)._canLabelFloat,xm._32(n,77)._shouldLabelFloat(),xm._32(n,77)._hideControlPlaceholder(),xm._32(n,77)._control.disabled,xm._32(n,77)._control.focused,"primary"==xm._32(n,77).color,"accent"==xm._32(n,77).color,"warn"==xm._32(n,77).color,xm._32(n,77)._shouldForward("untouched"),xm._32(n,77)._shouldForward("touched"),xm._32(n,77)._shouldForward("pristine"),xm._32(n,77)._shouldForward("dirty"),xm._32(n,77)._shouldForward("valid"),xm._32(n,77)._shouldForward("invalid"),xm._32(n,77)._shouldForward("pending")]);l(n,86,1,[xm._32(n,90).ngClassUntouched,xm._32(n,90).ngClassTouched,xm._32(n,90).ngClassPristine,xm._32(n,90).ngClassDirty,xm._32(n,90).ngClassValid,xm._32(n,90).ngClassInvalid,xm._32(n,90).ngClassPending,xm._32(n,91).id,xm._32(n,91).tabIndex,xm._32(n,91)._ariaLabel,xm._32(n,91).ariaLabelledby,xm._32(n,91).required.toString(),xm._32(n,91).disabled.toString(),xm._32(n,91).errorState,xm._32(n,91).panelOpen?xm._32(n,91)._optionIds:null,xm._32(n,91).multiple,xm._32(n,91)._ariaDescribedby||null,xm._32(n,91)._getAriaActiveDescendant(),xm._32(n,91).disabled,xm._32(n,91).errorState,xm._32(n,91).required]);l(n,117,0,xm._32(n,118)._hidden)})}function ye(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,232,"section",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._18(8,0,null,0,8,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(9,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(11,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(12,null,["Family Details ",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._13(16777216,null,2,1,null,Xn)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,[" \n \n "])),(l()(),xm._18(18,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(19,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(28,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","selected_person"],["placeholder","Applicants"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,35)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,35)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,35)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedPerson(e.value,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(30,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(32,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(34,16384,null,0,Km.s,[Km.r],null,null),xm._17(35,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Zn)),xm._17(42,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(47,0,null,null,171,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(48,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(52,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(53,null,["Residence Details of ",""])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(55,0,null,0,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(56,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(65,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_place"],["matInput",""],["placeholder","Place "],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,66)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,73)._onInput()&&u}return u},null,null)),xm._17(66,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(67,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(70,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(72,16384,null,0,Km.s,[Km.r],null,null),xm._17(73,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(77,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(78,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(87,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","residence_state"],["matInput",""],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,94)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,94)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,94)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.getCity(e.value,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(89,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(91,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(93,16384,null,0,Km.s,[Km.r],null,null),xm._17(94,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,26,{options:1}),xm._37(603979776,27,{optionGroups:1}),xm._37(335544320,28,{customTrigger:0}),xm._36(2048,[[19,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,le)),xm._17(101,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(105,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(106,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,29,{_control:0}),xm._37(335544320,30,{_placeholderChild:0}),xm._37(335544320,31,{_labelChild:0}),xm._37(603979776,32,{_errorChildren:1}),xm._37(603979776,33,{_hintChildren:1}),xm._37(603979776,34,{_prefixChildren:1}),xm._37(603979776,35,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(115,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","residence_city"],["matInput",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,122)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,122)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,122)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(117,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(119,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(121,16384,null,0,Km.s,[Km.r],null,null),xm._17(122,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,36,{options:1}),xm._37(603979776,37,{optionGroups:1}),xm._37(335544320,38,{customTrigger:0}),xm._36(2048,[[29,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ne)),xm._17(129,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(133,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(134,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,39,{_control:0}),xm._37(335544320,40,{_placeholderChild:0}),xm._37(335544320,41,{_labelChild:0}),xm._37(603979776,42,{_errorChildren:1}),xm._37(603979776,43,{_hintChildren:1}),xm._37(603979776,44,{_prefixChildren:1}),xm._37(603979776,45,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(143,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","residence_pin"],["matInput",""],["placeholder","Pin"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,150)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,150)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,150)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(145,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(147,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(149,16384,null,0,Km.s,[Km.r],null,null),xm._17(150,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,46,{options:1}),xm._37(603979776,47,{optionGroups:1}),xm._37(335544320,48,{customTrigger:0}),xm._36(2048,[[39,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ee)),xm._17(157,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(161,0,null,0,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(162,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,49,{_control:0}),xm._37(335544320,50,{_placeholderChild:0}),xm._37(335544320,51,{_labelChild:0}),xm._37(603979776,52,{_errorChildren:1}),xm._37(603979776,53,{_hintChildren:1}),xm._37(603979776,54,{_prefixChildren:1}),xm._37(603979776,55,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(171,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_No_of_years"],["matInput",""],["placeholder","No. of Years "],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,172)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,172).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,172)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,172)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,173).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,173).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,173).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,180)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,180)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,180)._onInput()&&u}return u},null,null)),xm._17(172,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(173,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(174,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(177,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(179,16384,null,0,Km.s,[Km.r],null,null),xm._17(180,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[49,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(184,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(185,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,56,{_control:0}),xm._37(335544320,57,{_placeholderChild:0}),xm._37(335544320,58,{_labelChild:0}),xm._37(603979776,59,{_errorChildren:1}),xm._37(603979776,60,{_hintChildren:1}),xm._37(603979776,61,{_prefixChildren:1}),xm._37(603979776,62,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(194,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","residence_ownership"],["placeholder","Ownership "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,201)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,201)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,201)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(196,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(198,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(200,16384,null,0,Km.s,[Km.r],null,null),xm._17(201,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,63,{options:1}),xm._37(603979776,64,{optionGroups:1}),xm._37(335544320,65,{customTrigger:0}),xm._36(2048,[[56,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ue)),xm._17(208,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,0,["\n"])),(l()(),xm._13(16777216,null,0,1,null,te)),xm._17(213,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n"])),(l()(),xm._13(16777216,null,0,1,null,ie)),xm._17(216,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(220,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(221,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._18(223,0,null,0,7,"div",[["formArrayName","family_members_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(224,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(226,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ve)),xm._17(229,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n \n"])),(l()(),xm._39(-1,0,["\n"])),(l()(),xm._39(-1,null,["\n\n"]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,15,0,e.familyForm.controls.family_details.length>1);l(n,30,0,"");l(n,32,0,"selected_person");l(n,35,0,"Applicants","");l(n,42,0,e.pdDetails.applicat_details);l(n,67,0,"");l(n,70,0,"residence_place");l(n,73,0,"Place ","");l(n,89,0,"");l(n,91,0,"residence_state");l(n,94,0,"State","");l(n,101,0,e.stateData);l(n,117,0,"");l(n,119,0,"residence_city");l(n,122,0,"City","");l(n,129,0,e.cityData[n.context.index]);l(n,145,0,"");l(n,147,0,"residence_pin");l(n,150,0,"Pin","");l(n,157,0,e.pincodeData[n.context.index]);l(n,174,0,"");l(n,177,0,"residence_No_of_years");l(n,180,0,"No. of Years ","","number");l(n,196,0,"");l(n,198,0,"residence_ownership");l(n,201,0,"Ownership ","");l(n,208,0,e.ownerShip);l(n,213,0,3==n.context.$implicit.get("residence_ownership").value);l(n,216,0,1==n.context.$implicit.get("residence_ownership").value);l(n,224,0,"family_members_details");l(n,229,0,n.context.$implicit.controls.family_members_details.controls)},function(l,n){var e=n.component;l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,18,1,[xm._32(n,19)._control.errorState,xm._32(n,19)._control.errorState,xm._32(n,19)._canLabelFloat,xm._32(n,19)._shouldLabelFloat(),xm._32(n,19)._hideControlPlaceholder(),xm._32(n,19)._control.disabled,xm._32(n,19)._control.focused,"primary"==xm._32(n,19).color,"accent"==xm._32(n,19).color,"warn"==xm._32(n,19).color,xm._32(n,19)._shouldForward("untouched"),xm._32(n,19)._shouldForward("touched"),xm._32(n,19)._shouldForward("pristine"),xm._32(n,19)._shouldForward("dirty"),xm._32(n,19)._shouldForward("valid"),xm._32(n,19)._shouldForward("invalid"),xm._32(n,19)._shouldForward("pending")]);l(n,28,1,[xm._32(n,30).required?"":null,xm._32(n,34).ngClassUntouched,xm._32(n,34).ngClassTouched,xm._32(n,34).ngClassPristine,xm._32(n,34).ngClassDirty,xm._32(n,34).ngClassValid,xm._32(n,34).ngClassInvalid,xm._32(n,34).ngClassPending,xm._32(n,35).id,xm._32(n,35).tabIndex,xm._32(n,35)._ariaLabel,xm._32(n,35).ariaLabelledby,xm._32(n,35).required.toString(),xm._32(n,35).disabled.toString(),xm._32(n,35).errorState,xm._32(n,35).panelOpen?xm._32(n,35)._optionIds:null,xm._32(n,35).multiple,xm._32(n,35)._ariaDescribedby||null,xm._32(n,35)._getAriaActiveDescendant(),xm._32(n,35).disabled,xm._32(n,35).errorState,xm._32(n,35).required]);l(n,53,0,e.FamilyMemberAsLabel[n.context.index]);l(n,55,1,[xm._32(n,56)._control.errorState,xm._32(n,56)._control.errorState,xm._32(n,56)._canLabelFloat,xm._32(n,56)._shouldLabelFloat(),xm._32(n,56)._hideControlPlaceholder(),xm._32(n,56)._control.disabled,xm._32(n,56)._control.focused,"primary"==xm._32(n,56).color,"accent"==xm._32(n,56).color,"warn"==xm._32(n,56).color,xm._32(n,56)._shouldForward("untouched"),xm._32(n,56)._shouldForward("touched"),xm._32(n,56)._shouldForward("pristine"),xm._32(n,56)._shouldForward("dirty"),xm._32(n,56)._shouldForward("valid"),xm._32(n,56)._shouldForward("invalid"),xm._32(n,56)._shouldForward("pending")]);l(n,65,1,[xm._32(n,67).required?"":null,xm._32(n,72).ngClassUntouched,xm._32(n,72).ngClassTouched,xm._32(n,72).ngClassPristine,xm._32(n,72).ngClassDirty,xm._32(n,72).ngClassValid,xm._32(n,72).ngClassInvalid,xm._32(n,72).ngClassPending,xm._32(n,73)._isServer,xm._32(n,73).id,xm._32(n,73).placeholder,xm._32(n,73).disabled,xm._32(n,73).required,xm._32(n,73).readonly,xm._32(n,73)._ariaDescribedby||null,xm._32(n,73).errorState,xm._32(n,73).required.toString()]);l(n,77,1,[xm._32(n,78)._control.errorState,xm._32(n,78)._control.errorState,xm._32(n,78)._canLabelFloat,xm._32(n,78)._shouldLabelFloat(),xm._32(n,78)._hideControlPlaceholder(),xm._32(n,78)._control.disabled,xm._32(n,78)._control.focused,"primary"==xm._32(n,78).color,"accent"==xm._32(n,78).color,"warn"==xm._32(n,78).color,xm._32(n,78)._shouldForward("untouched"),xm._32(n,78)._shouldForward("touched"),xm._32(n,78)._shouldForward("pristine"),xm._32(n,78)._shouldForward("dirty"),xm._32(n,78)._shouldForward("valid"),xm._32(n,78)._shouldForward("invalid"),xm._32(n,78)._shouldForward("pending")]);l(n,87,1,[xm._32(n,89).required?"":null,xm._32(n,93).ngClassUntouched,xm._32(n,93).ngClassTouched,xm._32(n,93).ngClassPristine,xm._32(n,93).ngClassDirty,xm._32(n,93).ngClassValid,xm._32(n,93).ngClassInvalid,xm._32(n,93).ngClassPending,xm._32(n,94).id,xm._32(n,94).tabIndex,xm._32(n,94)._ariaLabel,xm._32(n,94).ariaLabelledby,xm._32(n,94).required.toString(),xm._32(n,94).disabled.toString(),xm._32(n,94).errorState,xm._32(n,94).panelOpen?xm._32(n,94)._optionIds:null,xm._32(n,94).multiple,xm._32(n,94)._ariaDescribedby||null,xm._32(n,94)._getAriaActiveDescendant(),xm._32(n,94).disabled,xm._32(n,94).errorState,xm._32(n,94).required]);l(n,105,1,[xm._32(n,106)._control.errorState,xm._32(n,106)._control.errorState,xm._32(n,106)._canLabelFloat,xm._32(n,106)._shouldLabelFloat(),xm._32(n,106)._hideControlPlaceholder(),xm._32(n,106)._control.disabled,xm._32(n,106)._control.focused,"primary"==xm._32(n,106).color,"accent"==xm._32(n,106).color,"warn"==xm._32(n,106).color,xm._32(n,106)._shouldForward("untouched"),xm._32(n,106)._shouldForward("touched"),xm._32(n,106)._shouldForward("pristine"),xm._32(n,106)._shouldForward("dirty"),xm._32(n,106)._shouldForward("valid"),xm._32(n,106)._shouldForward("invalid"),xm._32(n,106)._shouldForward("pending")]);l(n,115,1,[xm._32(n,117).required?"":null,xm._32(n,121).ngClassUntouched,xm._32(n,121).ngClassTouched,xm._32(n,121).ngClassPristine,xm._32(n,121).ngClassDirty,xm._32(n,121).ngClassValid,xm._32(n,121).ngClassInvalid,xm._32(n,121).ngClassPending,xm._32(n,122).id,xm._32(n,122).tabIndex,xm._32(n,122)._ariaLabel,xm._32(n,122).ariaLabelledby,xm._32(n,122).required.toString(),xm._32(n,122).disabled.toString(),xm._32(n,122).errorState,xm._32(n,122).panelOpen?xm._32(n,122)._optionIds:null,xm._32(n,122).multiple,xm._32(n,122)._ariaDescribedby||null,xm._32(n,122)._getAriaActiveDescendant(),xm._32(n,122).disabled,xm._32(n,122).errorState,xm._32(n,122).required]);l(n,133,1,[xm._32(n,134)._control.errorState,xm._32(n,134)._control.errorState,xm._32(n,134)._canLabelFloat,xm._32(n,134)._shouldLabelFloat(),xm._32(n,134)._hideControlPlaceholder(),xm._32(n,134)._control.disabled,xm._32(n,134)._control.focused,"primary"==xm._32(n,134).color,"accent"==xm._32(n,134).color,"warn"==xm._32(n,134).color,xm._32(n,134)._shouldForward("untouched"),xm._32(n,134)._shouldForward("touched"),xm._32(n,134)._shouldForward("pristine"),xm._32(n,134)._shouldForward("dirty"),xm._32(n,134)._shouldForward("valid"),xm._32(n,134)._shouldForward("invalid"),xm._32(n,134)._shouldForward("pending")]);l(n,143,1,[xm._32(n,145).required?"":null,xm._32(n,149).ngClassUntouched,xm._32(n,149).ngClassTouched,xm._32(n,149).ngClassPristine,xm._32(n,149).ngClassDirty,xm._32(n,149).ngClassValid,xm._32(n,149).ngClassInvalid,xm._32(n,149).ngClassPending,xm._32(n,150).id,xm._32(n,150).tabIndex,xm._32(n,150)._ariaLabel,xm._32(n,150).ariaLabelledby,xm._32(n,150).required.toString(),xm._32(n,150).disabled.toString(),xm._32(n,150).errorState,xm._32(n,150).panelOpen?xm._32(n,150)._optionIds:null,xm._32(n,150).multiple,xm._32(n,150)._ariaDescribedby||null,xm._32(n,150)._getAriaActiveDescendant(),xm._32(n,150).disabled,xm._32(n,150).errorState,xm._32(n,150).required]);l(n,161,1,[xm._32(n,162)._control.errorState,xm._32(n,162)._control.errorState,xm._32(n,162)._canLabelFloat,xm._32(n,162)._shouldLabelFloat(),xm._32(n,162)._hideControlPlaceholder(),xm._32(n,162)._control.disabled,xm._32(n,162)._control.focused,"primary"==xm._32(n,162).color,"accent"==xm._32(n,162).color,"warn"==xm._32(n,162).color,xm._32(n,162)._shouldForward("untouched"),xm._32(n,162)._shouldForward("touched"),xm._32(n,162)._shouldForward("pristine"),xm._32(n,162)._shouldForward("dirty"),xm._32(n,162)._shouldForward("valid"),xm._32(n,162)._shouldForward("invalid"),xm._32(n,162)._shouldForward("pending")]);l(n,171,1,[xm._32(n,174).required?"":null,xm._32(n,179).ngClassUntouched,xm._32(n,179).ngClassTouched,xm._32(n,179).ngClassPristine,xm._32(n,179).ngClassDirty,xm._32(n,179).ngClassValid,xm._32(n,179).ngClassInvalid,xm._32(n,179).ngClassPending,xm._32(n,180)._isServer,xm._32(n,180).id,xm._32(n,180).placeholder,xm._32(n,180).disabled,xm._32(n,180).required,xm._32(n,180).readonly,xm._32(n,180)._ariaDescribedby||null,xm._32(n,180).errorState,xm._32(n,180).required.toString()]);l(n,184,1,[xm._32(n,185)._control.errorState,xm._32(n,185)._control.errorState,xm._32(n,185)._canLabelFloat,xm._32(n,185)._shouldLabelFloat(),xm._32(n,185)._hideControlPlaceholder(),xm._32(n,185)._control.disabled,xm._32(n,185)._control.focused,"primary"==xm._32(n,185).color,"accent"==xm._32(n,185).color,"warn"==xm._32(n,185).color,xm._32(n,185)._shouldForward("untouched"),xm._32(n,185)._shouldForward("touched"),xm._32(n,185)._shouldForward("pristine"),xm._32(n,185)._shouldForward("dirty"),xm._32(n,185)._shouldForward("valid"),xm._32(n,185)._shouldForward("invalid"),xm._32(n,185)._shouldForward("pending")]);l(n,194,1,[xm._32(n,196).required?"":null,xm._32(n,200).ngClassUntouched,xm._32(n,200).ngClassTouched,xm._32(n,200).ngClassPristine,xm._32(n,200).ngClassDirty,xm._32(n,200).ngClassValid,xm._32(n,200).ngClassInvalid,xm._32(n,200).ngClassPending,xm._32(n,201).id,xm._32(n,201).tabIndex,xm._32(n,201)._ariaLabel,xm._32(n,201).ariaLabelledby,xm._32(n,201).required.toString(),xm._32(n,201).disabled.toString(),xm._32(n,201).errorState,xm._32(n,201).panelOpen?xm._32(n,201)._optionIds:null,xm._32(n,201).multiple,xm._32(n,201)._ariaDescribedby||null,xm._32(n,201)._getAriaActiveDescendant(),xm._32(n,201).disabled,xm._32(n,201).errorState,xm._32(n,201).required]);l(n,223,0,xm._32(n,226).ngClassUntouched,xm._32(n,226).ngClassTouched,xm._32(n,226).ngClassPristine,xm._32(n,226).ngClassDirty,xm._32(n,226).ngClassValid,xm._32(n,226).ngClassInvalid,xm._32(n,226).ngClassPending)})}function Ce(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Jn)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(21,0,null,null,69,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,55,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,7,"div",[["formArrayName","family_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(31,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(33,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ye)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n \n"])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(42,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(43,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(45,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(46,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,184,{_control:0}),xm._37(335544320,185,{_placeholderChild:0}),xm._37(335544320,186,{_labelChild:0}),xm._37(603979776,187,{_errorChildren:1}),xm._37(603979776,188,{_hintChildren:1}),xm._37(603979776,189,{_prefixChildren:1}),xm._37(603979776,190,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(55,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_details_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,56)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,56).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,56)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,56)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,61)._onInput()&&u}return u},null,null)),xm._17(56,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(58,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(60,16384,null,0,Km.s,[Km.r],null,null),xm._17(61,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[184,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(66,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(67,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(69,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(70,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(74,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""],["round",""],["strong",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.savepdfamily(a.familyForm.value)&&u}return u},Db.b,Db.a)),xm._17(75,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],round:[1,"round"],block:[2,"block"],strong:[3,"strong"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,1,["\n\n \n "])),(l()(),xm._18(81,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,lv.b,lv.a)),xm._17(82,1228800,null,2,nv.a,[Wg.a],null,null),xm._37(335544320,191,{_mainButton:0}),xm._37(603979776,192,{_fabLists:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(86,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.add()&&u}return u},ev.b,ev.a)),xm._17(87,49152,[[191,4]],0,uv.a,[Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._18(88,0,null,0,1,"ion-icon",[["name","add"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(89,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,1,["\n \n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.familyForm);l(n,31,0,"family_details");l(n,36,0,e.familyForm.controls.family_details.controls);l(n,58,0,"family_details_form_remark");l(n,61,0,"Remarks");l(n,75,0,"optblue","","","");l(n,87,0,"optblue");l(n,89,0,"add")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,30,0,xm._32(n,33).ngClassUntouched,xm._32(n,33).ngClassTouched,xm._32(n,33).ngClassPristine,xm._32(n,33).ngClassDirty,xm._32(n,33).ngClassValid,xm._32(n,33).ngClassInvalid,xm._32(n,33).ngClassPending);l(n,45,1,[xm._32(n,46)._control.errorState,xm._32(n,46)._control.errorState,xm._32(n,46)._canLabelFloat,xm._32(n,46)._shouldLabelFloat(),xm._32(n,46)._hideControlPlaceholder(),xm._32(n,46)._control.disabled,xm._32(n,46)._control.focused,"primary"==xm._32(n,46).color,"accent"==xm._32(n,46).color,"warn"==xm._32(n,46).color,xm._32(n,46)._shouldForward("untouched"),xm._32(n,46)._shouldForward("touched"),xm._32(n,46)._shouldForward("pristine"),xm._32(n,46)._shouldForward("dirty"),xm._32(n,46)._shouldForward("valid"),xm._32(n,46)._shouldForward("invalid"),xm._32(n,46)._shouldForward("pending")]);l(n,55,1,[xm._32(n,60).ngClassUntouched,xm._32(n,60).ngClassTouched,xm._32(n,60).ngClassPristine,xm._32(n,60).ngClassDirty,xm._32(n,60).ngClassValid,xm._32(n,60).ngClassInvalid,xm._32(n,60).ngClassPending,xm._32(n,61)._isServer,xm._32(n,61).id,xm._32(n,61).placeholder,xm._32(n,61).disabled,xm._32(n,61).required,xm._32(n,61).readonly,xm._32(n,61)._ariaDescribedby||null,xm._32(n,61).errorState,xm._32(n,61).required.toString()]);l(n,88,0,xm._32(n,89)._hidden)})}function we(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formdetails.form_name)})}function Fe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[10,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.applicant_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function xe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,13,{_control:0}),xm._37(335544320,14,{_placeholderChild:0}),xm._37(335544320,15,{_labelChild:0}),xm._37(603979776,16,{_errorChildren:1}),xm._37(603979776,17,{_hintChildren:1}),xm._37(603979776,18,{_prefixChildren:1}),xm._37(603979776,19,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","partner_other_name"],["matInput",""],["placeholder","Specify Others(Name)"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[13,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"partner_other_name");l(n,16,0,"Specify Others(Name)")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Se(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,20,{_control:0}),xm._37(335544320,21,{_placeholderChild:0}),xm._37(335544320,22,{_labelChild:0}),xm._37(603979776,23,{_errorChildren:1}),xm._37(603979776,24,{_hintChildren:1}),xm._37(603979776,25,{_prefixChildren:1}),xm._37(603979776,26,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","shareholding"],["matInput",""],["placeholder","Share of Profit / Shareholding (%)"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[20,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"shareholding");l(n,16,0,"Share of Profit / Shareholding (%)")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Ie(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,58,{_control:0}),xm._37(335544320,59,{_placeholderChild:0}),xm._37(335544320,60,{_labelChild:0}),xm._37(603979776,61,{_errorChildren:1}),xm._37(603979776,62,{_hintChildren:1}),xm._37(603979776,63,{_prefixChildren:1}),xm._37(603979776,64,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_previous_experience"],["matInput",""],["placeholder","Previous Work Experience"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[58,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"total_business_previous_experience");l(n,16,0,"Previous Work Experience")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function qe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPartnerDetails(e)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,1,0,"");l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function ke(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,187,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),xm._17(4,16384,null,0,Bv.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,16777216,null,null,180,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,$v.d,$v.a)),xm._36(6144,null,ob.F,null,[Bv.c]),xm._17(8,1753088,null,1,Bv.c,[[2,Bv.a],xm.i,Hb.d,xm._1],{expanded:[0,"expanded"]},null),xm._37(335544320,2,{_lazyContent:0}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(11,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==xm._32(l,12)._keydown(e)&&u}return u},$v.c,$v.b)),xm._17(12,180224,null,0,Bv.e,[Bv.c,xm.p,sb.j,xm.i],null,null),xm._34(13,{collapsedHeight:0,expandedHeight:1}),xm._34(14,{value:0,params:1}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(16,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),xm._17(17,16384,null,0,Bv.f,[],null,null),(l()(),xm._18(18,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(19,null,["Partner #",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,1,142,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(23,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(25,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(26,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,3,{_control:0}),xm._37(335544320,4,{_placeholderChild:0}),xm._37(335544320,5,{_labelChild:0}),xm._37(603979776,6,{_errorChildren:1}),xm._37(603979776,7,{_hintChildren:1}),xm._37(603979776,8,{_prefixChildren:1}),xm._37(603979776,9,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(35,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","partner_name"],["placeholder","Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,40)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,40)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,40)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePartnerGroup(l.context.$implicit.value.partner_name,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(37,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(39,16384,null,0,Km.s,[Km.r],null,null),xm._17(40,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,10,{options:1}),xm._37(603979776,11,{optionGroups:1}),xm._37(335544320,12,{customTrigger:0}),xm._36(2048,[[3,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Fe)),xm._17(47,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(49,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,50)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(50,8437760,[[10,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Others"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,xe)),xm._17(56,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Se)),xm._17(59,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(61,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(62,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,27,{_control:0}),xm._37(335544320,28,{_placeholderChild:0}),xm._37(335544320,29,{_labelChild:0}),xm._37(603979776,30,{_errorChildren:1}),xm._37(603979776,31,{_hintChildren:1}),xm._37(603979776,32,{_prefixChildren:1}),xm._37(603979776,33,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(71,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","started_business"],["placeholder","Started Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,75)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(72,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(74,16384,null,0,Km.s,[Km.r],null,null),xm._17(75,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,34,{options:1}),xm._37(603979776,35,{optionGroups:1}),xm._37(335544320,36,{customTrigger:0}),xm._36(2048,[[27,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(82,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,83)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,83)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(83,8437760,[[34,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(86,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,87)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,87)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(87,8437760,[[34,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(90,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,91)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,91)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(91,8437760,[[34,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(96,0,null,null,1,"p",[["style","margin-left: 2% !important"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["No of Years in Current Business"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(99,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(100,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,37,{_control:0}),xm._37(335544320,38,{_placeholderChild:0}),xm._37(335544320,39,{_labelChild:0}),xm._37(603979776,40,{_errorChildren:1}),xm._37(603979776,41,{_hintChildren:1}),xm._37(603979776,42,{_prefixChildren:1}),xm._37(603979776,43,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(109,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_business_experiance_year"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,110)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,110).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,110)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,110)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,111).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,111).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,111).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,116)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,116)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,116)._onInput()&&u}if("keyup"===n){u=!1!==a.getWorkExperience(l.context.$implicit.value,l.context.index)&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("change"===n){u=!1!==a.checkWithExistBusinessYear(e.target.value,l.context.index)&&u}return u},null,null)),xm._17(110,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(111,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(113,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(115,16384,null,0,Km.s,[Km.r],null,null),xm._17(116,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[37,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(120,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(121,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,44,{_control:0}),xm._37(335544320,45,{_placeholderChild:0}),xm._37(335544320,46,{_labelChild:0}),xm._37(603979776,47,{_errorChildren:1}),xm._37(603979776,48,{_hintChildren:1}),xm._37(603979776,49,{_prefixChildren:1}),xm._37(603979776,50,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(130,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_business_experiance_month"],["matInput",""],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,131)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,131).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,131)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,131)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,132).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,132).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,132).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,137)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,137)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,137)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("change"===n){u=!1!==a.ConvertMonthintoYear(l.context.$implicit,e.target.value)&&u}return u},null,null)),xm._17(131,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(132,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(134,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(136,16384,null,0,Km.s,[Km.r],null,null),xm._17(137,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[44,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(141,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(142,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,51,{_control:0}),xm._37(335544320,52,{_placeholderChild:0}),xm._37(335544320,53,{_labelChild:0}),xm._37(603979776,54,{_errorChildren:1}),xm._37(603979776,55,{_hintChildren:1}),xm._37(603979776,56,{_prefixChildren:1}),xm._37(603979776,57,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(151,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_experiance"],["matInput",""],["placeholder","Total Work Experience"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,152)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,152).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,152)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,152)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,153).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,153).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,153).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,158)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,158)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,158)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("keyup"===n){u=!1!==a.getWorkExperience(l.context.$implicit.value,l.context.index)&&u}return u},null,null)),xm._17(152,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(153,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(155,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(157,16384,null,0,Km.s,[Km.r],null,null),xm._17(158,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[51,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ie)),xm._17(163,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n \n \n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(166,0,null,1,19,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(167,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,65,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(170,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(171,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(173,0,null,null,3,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePartnerDetails(l.context.index)&&u}return u},Db.b,Db.a)),xm._17(174,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(175,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),xm._17(176,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n \n "])),(l()(),xm._18(179,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(180,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,qe)),xm._17(183,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,37,0,"partner_name");l(n,40,0,"Name");l(n,47,0,e.personsList);l(n,50,0,"Others");l(n,56,0,"Others"==n.context.$implicit.value.partner_name);l(n,59,0,"4"!=e.generalExistEntityType&&"9"!=e.generalExistEntityType&&""!=e.generalExistEntityType.value);l(n,72,0,"started_business");l(n,75,0,"Started Business");l(n,87,0,"yes");l(n,91,0,"no");l(n,113,0,"current_business_experiance_year");l(n,116,0,"Year","number");l(n,134,0,"current_business_experiance_month");l(n,137,0,"Month","number");l(n,155,0,"total_business_experiance");l(n,158,0,"Total Work Experience","number");l(n,163,0,void 0!=n.context.$implicit.value.total_business_previous_experience);l(n,174,0,"");l(n,176,0,"optblue","md-trash");l(n,183,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,6,0,xm._32(n,8).expanded,xm._32(n,8)._hasSpacing());l(n,11,0,xm._32(n,12).panel._headerId,xm._32(n,12).panel.disabled?-1:0,xm._32(n,12)._getPanelId(),xm._32(n,12)._isExpanded(),xm._32(n,12).panel.disabled,xm._32(n,12)._isExpanded(),l(n,14,0,xm._32(n,12)._getExpandedState(),l(n,13,0,xm._32(n,12).collapsedHeight,xm._32(n,12).expandedHeight)));l(n,19,0,n.context.index+1);l(n,25,1,[xm._32(n,26)._control.errorState,xm._32(n,26)._control.errorState,xm._32(n,26)._canLabelFloat,xm._32(n,26)._shouldLabelFloat(),xm._32(n,26)._hideControlPlaceholder(),xm._32(n,26)._control.disabled,xm._32(n,26)._control.focused,"primary"==xm._32(n,26).color,"accent"==xm._32(n,26).color,"warn"==xm._32(n,26).color,xm._32(n,26)._shouldForward("untouched"),xm._32(n,26)._shouldForward("touched"),xm._32(n,26)._shouldForward("pristine"),xm._32(n,26)._shouldForward("dirty"),xm._32(n,26)._shouldForward("valid"),xm._32(n,26)._shouldForward("invalid"),xm._32(n,26)._shouldForward("pending")]);l(n,35,1,[xm._32(n,39).ngClassUntouched,xm._32(n,39).ngClassTouched,xm._32(n,39).ngClassPristine,xm._32(n,39).ngClassDirty,xm._32(n,39).ngClassValid,xm._32(n,39).ngClassInvalid,xm._32(n,39).ngClassPending,xm._32(n,40).id,xm._32(n,40).tabIndex,xm._32(n,40)._ariaLabel,xm._32(n,40).ariaLabelledby,xm._32(n,40).required.toString(),xm._32(n,40).disabled.toString(),xm._32(n,40).errorState,xm._32(n,40).panelOpen?xm._32(n,40)._optionIds:null,xm._32(n,40).multiple,xm._32(n,40)._ariaDescribedby||null,xm._32(n,40)._getAriaActiveDescendant(),xm._32(n,40).disabled,xm._32(n,40).errorState,xm._32(n,40).required]);l(n,49,0,xm._32(n,50)._getTabIndex(),xm._32(n,50).selected,xm._32(n,50).multiple,xm._32(n,50).active,xm._32(n,50).id,xm._32(n,50).selected.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).disabled);l(n,61,1,[xm._32(n,62)._control.errorState,xm._32(n,62)._control.errorState,xm._32(n,62)._canLabelFloat,xm._32(n,62)._shouldLabelFloat(),xm._32(n,62)._hideControlPlaceholder(),xm._32(n,62)._control.disabled,xm._32(n,62)._control.focused,"primary"==xm._32(n,62).color,"accent"==xm._32(n,62).color,"warn"==xm._32(n,62).color,xm._32(n,62)._shouldForward("untouched"),xm._32(n,62)._shouldForward("touched"),xm._32(n,62)._shouldForward("pristine"),xm._32(n,62)._shouldForward("dirty"),xm._32(n,62)._shouldForward("valid"),xm._32(n,62)._shouldForward("invalid"),xm._32(n,62)._shouldForward("pending")]);l(n,71,1,[xm._32(n,74).ngClassUntouched,xm._32(n,74).ngClassTouched,xm._32(n,74).ngClassPristine,xm._32(n,74).ngClassDirty,xm._32(n,74).ngClassValid,xm._32(n,74).ngClassInvalid,xm._32(n,74).ngClassPending,xm._32(n,75).id,xm._32(n,75).tabIndex,xm._32(n,75)._ariaLabel,xm._32(n,75).ariaLabelledby,xm._32(n,75).required.toString(),xm._32(n,75).disabled.toString(),xm._32(n,75).errorState,xm._32(n,75).panelOpen?xm._32(n,75)._optionIds:null,xm._32(n,75).multiple,xm._32(n,75)._ariaDescribedby||null,xm._32(n,75)._getAriaActiveDescendant(),xm._32(n,75).disabled,xm._32(n,75).errorState,xm._32(n,75).required]);l(n,82,0,xm._32(n,83)._getTabIndex(),xm._32(n,83).selected,xm._32(n,83).multiple,xm._32(n,83).active,xm._32(n,83).id,xm._32(n,83).selected.toString(),xm._32(n,83).disabled.toString(),xm._32(n,83).disabled);l(n,86,0,xm._32(n,87)._getTabIndex(),xm._32(n,87).selected,xm._32(n,87).multiple,xm._32(n,87).active,xm._32(n,87).id,xm._32(n,87).selected.toString(),xm._32(n,87).disabled.toString(),xm._32(n,87).disabled);l(n,90,0,xm._32(n,91)._getTabIndex(),xm._32(n,91).selected,xm._32(n,91).multiple,xm._32(n,91).active,xm._32(n,91).id,xm._32(n,91).selected.toString(),xm._32(n,91).disabled.toString(),xm._32(n,91).disabled);l(n,99,1,[xm._32(n,100)._control.errorState,xm._32(n,100)._control.errorState,xm._32(n,100)._canLabelFloat,xm._32(n,100)._shouldLabelFloat(),xm._32(n,100)._hideControlPlaceholder(),xm._32(n,100)._control.disabled,xm._32(n,100)._control.focused,"primary"==xm._32(n,100).color,"accent"==xm._32(n,100).color,"warn"==xm._32(n,100).color,xm._32(n,100)._shouldForward("untouched"),xm._32(n,100)._shouldForward("touched"),xm._32(n,100)._shouldForward("pristine"),xm._32(n,100)._shouldForward("dirty"),xm._32(n,100)._shouldForward("valid"),xm._32(n,100)._shouldForward("invalid"),xm._32(n,100)._shouldForward("pending")]);l(n,109,1,[xm._32(n,115).ngClassUntouched,xm._32(n,115).ngClassTouched,xm._32(n,115).ngClassPristine,xm._32(n,115).ngClassDirty,xm._32(n,115).ngClassValid,xm._32(n,115).ngClassInvalid,xm._32(n,115).ngClassPending,xm._32(n,116)._isServer,xm._32(n,116).id,xm._32(n,116).placeholder,xm._32(n,116).disabled,xm._32(n,116).required,xm._32(n,116).readonly,xm._32(n,116)._ariaDescribedby||null,xm._32(n,116).errorState,xm._32(n,116).required.toString()]);l(n,120,1,[xm._32(n,121)._control.errorState,xm._32(n,121)._control.errorState,xm._32(n,121)._canLabelFloat,xm._32(n,121)._shouldLabelFloat(),xm._32(n,121)._hideControlPlaceholder(),xm._32(n,121)._control.disabled,xm._32(n,121)._control.focused,"primary"==xm._32(n,121).color,"accent"==xm._32(n,121).color,"warn"==xm._32(n,121).color,xm._32(n,121)._shouldForward("untouched"),xm._32(n,121)._shouldForward("touched"),xm._32(n,121)._shouldForward("pristine"),xm._32(n,121)._shouldForward("dirty"),xm._32(n,121)._shouldForward("valid"),xm._32(n,121)._shouldForward("invalid"),xm._32(n,121)._shouldForward("pending")]);l(n,130,1,[xm._32(n,136).ngClassUntouched,xm._32(n,136).ngClassTouched,xm._32(n,136).ngClassPristine,xm._32(n,136).ngClassDirty,xm._32(n,136).ngClassValid,xm._32(n,136).ngClassInvalid,xm._32(n,136).ngClassPending,xm._32(n,137)._isServer,xm._32(n,137).id,xm._32(n,137).placeholder,xm._32(n,137).disabled,xm._32(n,137).required,xm._32(n,137).readonly,xm._32(n,137)._ariaDescribedby||null,xm._32(n,137).errorState,xm._32(n,137).required.toString()]);l(n,141,1,[xm._32(n,142)._control.errorState,xm._32(n,142)._control.errorState,xm._32(n,142)._canLabelFloat,xm._32(n,142)._shouldLabelFloat(),xm._32(n,142)._hideControlPlaceholder(),xm._32(n,142)._control.disabled,xm._32(n,142)._control.focused,"primary"==xm._32(n,142).color,"accent"==xm._32(n,142).color,"warn"==xm._32(n,142).color,xm._32(n,142)._shouldForward("untouched"),xm._32(n,142)._shouldForward("touched"),xm._32(n,142)._shouldForward("pristine"),xm._32(n,142)._shouldForward("dirty"),xm._32(n,142)._shouldForward("valid"),xm._32(n,142)._shouldForward("invalid"),xm._32(n,142)._shouldForward("pending")]);l(n,151,1,[xm._32(n,157).ngClassUntouched,xm._32(n,157).ngClassTouched,xm._32(n,157).ngClassPristine,xm._32(n,157).ngClassDirty,xm._32(n,157).ngClassValid,xm._32(n,157).ngClassInvalid,xm._32(n,157).ngClassPending,xm._32(n,158)._isServer,xm._32(n,158).id,xm._32(n,158).placeholder,xm._32(n,158).disabled,xm._32(n,158).required,xm._32(n,158).readonly,xm._32(n,158)._ariaDescribedby||null,xm._32(n,158).errorState,xm._32(n,158).required.toString()]);l(n,175,0,xm._32(n,176)._hidden)})}function Pe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[74,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function De(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[91,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent,0),n.context.$implicit.name)))})}function Te(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[101,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent,0),n.context.$implicit.applicant_name)))})}function Oe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[111,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent,0),n.context.$implicit.name)))})}function Le(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,200,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),xm._17(4,16384,null,0,Bv.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,16777216,null,null,193,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,$v.d,$v.a)),xm._36(6144,null,ob.F,null,[Bv.c]),xm._17(8,1753088,null,1,Bv.c,[[2,Bv.a],xm.i,Hb.d,xm._1],{expanded:[0,"expanded"]},null),xm._37(335544320,66,{_lazyContent:0}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(11,0,null,0,10,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==xm._32(l,12)._keydown(e)&&u}return u},$v.c,$v.b)),xm._17(12,180224,null,0,Bv.e,[Bv.c,xm.p,sb.j,xm.i],null,null),xm._34(13,{collapsedHeight:0,expandedHeight:1}),xm._34(14,{value:0,params:1}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(17,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),xm._17(18,16384,null,0,Bv.f,[],null,null),(l()(),xm._18(19,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(20,null,["Person #",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,161,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(24,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(27,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,67,{_control:0}),xm._37(335544320,68,{_placeholderChild:0}),xm._37(335544320,69,{_labelChild:0}),xm._37(603979776,70,{_errorChildren:1}),xm._37(603979776,71,{_hintChildren:1}),xm._37(603979776,72,{_prefixChildren:1}),xm._37(603979776,73,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(36,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","family_member_salutation"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,41)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,41)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,41)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(38,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(40,16384,null,0,Km.s,[Km.r],null,null),xm._17(41,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,74,{options:1}),xm._37(603979776,75,{optionGroups:1}),xm._37(335544320,76,{customTrigger:0}),xm._36(2048,[[67,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Pe)),xm._17(48,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(52,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(53,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,77,{_control:0}),xm._37(335544320,78,{_placeholderChild:0}),xm._37(335544320,79,{_labelChild:0}),xm._37(603979776,80,{_errorChildren:1}),xm._37(603979776,81,{_hintChildren:1}),xm._37(603979776,82,{_prefixChildren:1}),xm._37(603979776,83,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,63)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,68)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,68)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,68)._onInput()&&u}return u},null,null)),xm._17(63,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(65,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(67,16384,null,0,Km.s,[Km.r],null,null),xm._17(68,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[77,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(72,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(73,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,84,{_control:0}),xm._37(335544320,85,{_placeholderChild:0}),xm._37(335544320,86,{_labelChild:0}),xm._37(603979776,87,{_errorChildren:1}),xm._37(603979776,88,{_hintChildren:1}),xm._37(603979776,89,{_prefixChildren:1}),xm._37(603979776,90,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(82,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","other_family_relationship_id"],["placeholder","Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,87)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,87)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,87)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(84,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(86,16384,null,0,Km.s,[Km.r],null,null),xm._17(87,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,91,{options:1}),xm._37(603979776,92,{optionGroups:1}),xm._37(335544320,93,{customTrigger:0}),xm._36(2048,[[84,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,De)),xm._17(94,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(98,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(99,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,94,{_control:0}),xm._37(335544320,95,{_placeholderChild:0}),xm._37(335544320,96,{_labelChild:0}),xm._37(603979776,97,{_errorChildren:1}),xm._37(603979776,98,{_hintChildren:1}),xm._37(603979776,99,{_prefixChildren:1}),xm._37(603979776,100,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(108,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","relation_to_id"],["placeholder","Relation To"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,113)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,113)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,113)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(110,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(112,16384,null,0,Km.s,[Km.r],null,null),xm._17(113,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,101,{options:1}),xm._37(603979776,102,{optionGroups:1}),xm._37(335544320,103,{customTrigger:0}),xm._36(2048,[[94,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Te)),xm._17(120,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(124,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(125,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,104,{_control:0}),xm._37(335544320,105,{_placeholderChild:0}),xm._37(335544320,106,{_labelChild:0}),xm._37(603979776,107,{_errorChildren:1}),xm._37(603979776,108,{_hintChildren:1}),xm._37(603979776,109,{_prefixChildren:1}),xm._37(603979776,110,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(134,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","relationship_with_company_id"],["placeholder","Relation With Company"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,139)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,139)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,139)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(136,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(138,16384,null,0,Km.s,[Km.r],null,null),xm._17(139,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,111,{options:1}),xm._37(603979776,112,{optionGroups:1}),xm._37(335544320,113,{customTrigger:0}),xm._36(2048,[[104,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Oe)),xm._17(146,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(150,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(151,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,114,{_control:0}),xm._37(335544320,115,{_placeholderChild:0}),xm._37(335544320,116,{_labelChild:0}),xm._37(603979776,117,{_errorChildren:1}),xm._37(603979776,118,{_hintChildren:1}),xm._37(603979776,119,{_prefixChildren:1}),xm._37(603979776,120,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(160,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","started_business"],["placeholder","Started Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,164)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,164)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,164)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(161,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(163,16384,null,0,Km.s,[Km.r],null,null),xm._17(164,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,121,{options:1}),xm._37(603979776,122,{optionGroups:1}),xm._37(335544320,123,{customTrigger:0}),xm._36(2048,[[114,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(171,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,172)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,172)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(172,8437760,[[121,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(175,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,176)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,176)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(176,8437760,[[121,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(179,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,180)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,180)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(180,8437760,[[121,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(186,0,null,1,12,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(187,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,124,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(190,0,null,null,7,"ion-col",[["class","col"],["col-6",""],["offset-3",""]],null,null,null,null,null)),xm._17(191,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(193,0,null,null,3,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePersonRelationship(l.context.index)&&u}return u},Db.b,Db.a)),xm._17(194,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(195,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),xm._17(196,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,38,0,"family_member_salutation");l(n,41,0,"Title");l(n,48,0,e.titleData);l(n,65,0,"family_member_name");l(n,68,0,"Name");l(n,84,0,"other_family_relationship_id");l(n,87,0,"Relation");l(n,94,0,e.relationData);l(n,110,0,"relation_to_id");l(n,113,0,"Relation To");l(n,120,0,e.applicants);l(n,136,0,"relationship_with_company_id");l(n,139,0,"Relation With Company");l(n,146,0,e.companyRelationShipList);l(n,161,0,"started_business");l(n,164,0,"Started Business");l(n,172,0,"");l(n,176,0,"yes");l(n,180,0,"no");l(n,194,0,"");l(n,196,0,"optblue","md-trash")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,6,0,xm._32(n,8).expanded,xm._32(n,8)._hasSpacing());l(n,11,0,xm._32(n,12).panel._headerId,xm._32(n,12).panel.disabled?-1:0,xm._32(n,12)._getPanelId(),xm._32(n,12)._isExpanded(),xm._32(n,12).panel.disabled,xm._32(n,12)._isExpanded(),l(n,14,0,xm._32(n,12)._getExpandedState(),l(n,13,0,xm._32(n,12).collapsedHeight,xm._32(n,12).expandedHeight)));l(n,20,0,n.context.index+1);l(n,26,1,[xm._32(n,27)._control.errorState,xm._32(n,27)._control.errorState,xm._32(n,27)._canLabelFloat,xm._32(n,27)._shouldLabelFloat(),xm._32(n,27)._hideControlPlaceholder(),xm._32(n,27)._control.disabled,xm._32(n,27)._control.focused,"primary"==xm._32(n,27).color,"accent"==xm._32(n,27).color,"warn"==xm._32(n,27).color,xm._32(n,27)._shouldForward("untouched"),xm._32(n,27)._shouldForward("touched"),xm._32(n,27)._shouldForward("pristine"),xm._32(n,27)._shouldForward("dirty"),xm._32(n,27)._shouldForward("valid"),xm._32(n,27)._shouldForward("invalid"),xm._32(n,27)._shouldForward("pending")]);l(n,36,1,[xm._32(n,40).ngClassUntouched,xm._32(n,40).ngClassTouched,xm._32(n,40).ngClassPristine,xm._32(n,40).ngClassDirty,xm._32(n,40).ngClassValid,xm._32(n,40).ngClassInvalid,xm._32(n,40).ngClassPending,xm._32(n,41).id,xm._32(n,41).tabIndex,xm._32(n,41)._ariaLabel,xm._32(n,41).ariaLabelledby,xm._32(n,41).required.toString(),xm._32(n,41).disabled.toString(),xm._32(n,41).errorState,xm._32(n,41).panelOpen?xm._32(n,41)._optionIds:null,xm._32(n,41).multiple,xm._32(n,41)._ariaDescribedby||null,xm._32(n,41)._getAriaActiveDescendant(),xm._32(n,41).disabled,xm._32(n,41).errorState,xm._32(n,41).required]);l(n,52,1,[xm._32(n,53)._control.errorState,xm._32(n,53)._control.errorState,xm._32(n,53)._canLabelFloat,xm._32(n,53)._shouldLabelFloat(),xm._32(n,53)._hideControlPlaceholder(),xm._32(n,53)._control.disabled,xm._32(n,53)._control.focused,"primary"==xm._32(n,53).color,"accent"==xm._32(n,53).color,"warn"==xm._32(n,53).color,xm._32(n,53)._shouldForward("untouched"),xm._32(n,53)._shouldForward("touched"),xm._32(n,53)._shouldForward("pristine"),xm._32(n,53)._shouldForward("dirty"),xm._32(n,53)._shouldForward("valid"),xm._32(n,53)._shouldForward("invalid"),xm._32(n,53)._shouldForward("pending")]);l(n,62,1,[xm._32(n,67).ngClassUntouched,xm._32(n,67).ngClassTouched,xm._32(n,67).ngClassPristine,xm._32(n,67).ngClassDirty,xm._32(n,67).ngClassValid,xm._32(n,67).ngClassInvalid,xm._32(n,67).ngClassPending,xm._32(n,68)._isServer,xm._32(n,68).id,xm._32(n,68).placeholder,xm._32(n,68).disabled,xm._32(n,68).required,xm._32(n,68).readonly,xm._32(n,68)._ariaDescribedby||null,xm._32(n,68).errorState,xm._32(n,68).required.toString()]);l(n,72,1,[xm._32(n,73)._control.errorState,xm._32(n,73)._control.errorState,xm._32(n,73)._canLabelFloat,xm._32(n,73)._shouldLabelFloat(),xm._32(n,73)._hideControlPlaceholder(),xm._32(n,73)._control.disabled,xm._32(n,73)._control.focused,"primary"==xm._32(n,73).color,"accent"==xm._32(n,73).color,"warn"==xm._32(n,73).color,xm._32(n,73)._shouldForward("untouched"),xm._32(n,73)._shouldForward("touched"),xm._32(n,73)._shouldForward("pristine"),xm._32(n,73)._shouldForward("dirty"),xm._32(n,73)._shouldForward("valid"),xm._32(n,73)._shouldForward("invalid"),xm._32(n,73)._shouldForward("pending")]);l(n,82,1,[xm._32(n,86).ngClassUntouched,xm._32(n,86).ngClassTouched,xm._32(n,86).ngClassPristine,xm._32(n,86).ngClassDirty,xm._32(n,86).ngClassValid,xm._32(n,86).ngClassInvalid,xm._32(n,86).ngClassPending,xm._32(n,87).id,xm._32(n,87).tabIndex,xm._32(n,87)._ariaLabel,xm._32(n,87).ariaLabelledby,xm._32(n,87).required.toString(),xm._32(n,87).disabled.toString(),xm._32(n,87).errorState,xm._32(n,87).panelOpen?xm._32(n,87)._optionIds:null,xm._32(n,87).multiple,xm._32(n,87)._ariaDescribedby||null,xm._32(n,87)._getAriaActiveDescendant(),xm._32(n,87).disabled,xm._32(n,87).errorState,xm._32(n,87).required]);l(n,98,1,[xm._32(n,99)._control.errorState,xm._32(n,99)._control.errorState,xm._32(n,99)._canLabelFloat,xm._32(n,99)._shouldLabelFloat(),xm._32(n,99)._hideControlPlaceholder(),xm._32(n,99)._control.disabled,xm._32(n,99)._control.focused,"primary"==xm._32(n,99).color,"accent"==xm._32(n,99).color,"warn"==xm._32(n,99).color,xm._32(n,99)._shouldForward("untouched"),xm._32(n,99)._shouldForward("touched"),xm._32(n,99)._shouldForward("pristine"),xm._32(n,99)._shouldForward("dirty"),xm._32(n,99)._shouldForward("valid"),xm._32(n,99)._shouldForward("invalid"),xm._32(n,99)._shouldForward("pending")]);l(n,108,1,[xm._32(n,112).ngClassUntouched,xm._32(n,112).ngClassTouched,xm._32(n,112).ngClassPristine,xm._32(n,112).ngClassDirty,xm._32(n,112).ngClassValid,xm._32(n,112).ngClassInvalid,xm._32(n,112).ngClassPending,xm._32(n,113).id,xm._32(n,113).tabIndex,xm._32(n,113)._ariaLabel,xm._32(n,113).ariaLabelledby,xm._32(n,113).required.toString(),xm._32(n,113).disabled.toString(),xm._32(n,113).errorState,xm._32(n,113).panelOpen?xm._32(n,113)._optionIds:null,xm._32(n,113).multiple,xm._32(n,113)._ariaDescribedby||null,xm._32(n,113)._getAriaActiveDescendant(),xm._32(n,113).disabled,xm._32(n,113).errorState,xm._32(n,113).required]);l(n,124,1,[xm._32(n,125)._control.errorState,xm._32(n,125)._control.errorState,xm._32(n,125)._canLabelFloat,xm._32(n,125)._shouldLabelFloat(),xm._32(n,125)._hideControlPlaceholder(),xm._32(n,125)._control.disabled,xm._32(n,125)._control.focused,"primary"==xm._32(n,125).color,"accent"==xm._32(n,125).color,"warn"==xm._32(n,125).color,xm._32(n,125)._shouldForward("untouched"),xm._32(n,125)._shouldForward("touched"),xm._32(n,125)._shouldForward("pristine"),xm._32(n,125)._shouldForward("dirty"),xm._32(n,125)._shouldForward("valid"),xm._32(n,125)._shouldForward("invalid"),xm._32(n,125)._shouldForward("pending")]);l(n,134,1,[xm._32(n,138).ngClassUntouched,xm._32(n,138).ngClassTouched,xm._32(n,138).ngClassPristine,xm._32(n,138).ngClassDirty,xm._32(n,138).ngClassValid,xm._32(n,138).ngClassInvalid,xm._32(n,138).ngClassPending,xm._32(n,139).id,xm._32(n,139).tabIndex,xm._32(n,139)._ariaLabel,xm._32(n,139).ariaLabelledby,xm._32(n,139).required.toString(),xm._32(n,139).disabled.toString(),xm._32(n,139).errorState,xm._32(n,139).panelOpen?xm._32(n,139)._optionIds:null,xm._32(n,139).multiple,xm._32(n,139)._ariaDescribedby||null,xm._32(n,139)._getAriaActiveDescendant(),xm._32(n,139).disabled,xm._32(n,139).errorState,xm._32(n,139).required]);l(n,150,1,[xm._32(n,151)._control.errorState,xm._32(n,151)._control.errorState,xm._32(n,151)._canLabelFloat,xm._32(n,151)._shouldLabelFloat(),xm._32(n,151)._hideControlPlaceholder(),xm._32(n,151)._control.disabled,xm._32(n,151)._control.focused,"primary"==xm._32(n,151).color,"accent"==xm._32(n,151).color,"warn"==xm._32(n,151).color,xm._32(n,151)._shouldForward("untouched"),xm._32(n,151)._shouldForward("touched"),xm._32(n,151)._shouldForward("pristine"),xm._32(n,151)._shouldForward("dirty"),xm._32(n,151)._shouldForward("valid"),xm._32(n,151)._shouldForward("invalid"),xm._32(n,151)._shouldForward("pending")]);l(n,160,1,[xm._32(n,163).ngClassUntouched,xm._32(n,163).ngClassTouched,xm._32(n,163).ngClassPristine,xm._32(n,163).ngClassDirty,xm._32(n,163).ngClassValid,xm._32(n,163).ngClassInvalid,xm._32(n,163).ngClassPending,xm._32(n,164).id,xm._32(n,164).tabIndex,xm._32(n,164)._ariaLabel,xm._32(n,164).ariaLabelledby,xm._32(n,164).required.toString(),xm._32(n,164).disabled.toString(),xm._32(n,164).errorState,xm._32(n,164).panelOpen?xm._32(n,164)._optionIds:null,xm._32(n,164).multiple,xm._32(n,164)._ariaDescribedby||null,xm._32(n,164)._getAriaActiveDescendant(),xm._32(n,164).disabled,xm._32(n,164).errorState,xm._32(n,164).required]);l(n,171,0,xm._32(n,172)._getTabIndex(),xm._32(n,172).selected,xm._32(n,172).multiple,xm._32(n,172).active,xm._32(n,172).id,xm._32(n,172).selected.toString(),xm._32(n,172).disabled.toString(),xm._32(n,172).disabled);l(n,175,0,xm._32(n,176)._getTabIndex(),xm._32(n,176).selected,xm._32(n,176).multiple,xm._32(n,176).active,xm._32(n,176).id,xm._32(n,176).selected.toString(),xm._32(n,176).disabled.toString(),xm._32(n,176).disabled);l(n,179,0,xm._32(n,180)._getTabIndex(),xm._32(n,180).selected,xm._32(n,180).multiple,xm._32(n,180).active,xm._32(n,180).id,xm._32(n,180).selected.toString(),xm._32(n,180).disabled.toString(),xm._32(n,180).disabled);l(n,195,0,xm._32(n,196)._hidden)})}function Ae(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(5,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["formControlName","exist_status"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.changeBusinessActivity(l.context.$implicit)&&u}return u},Qb.b,Qb.a)),xm._17(6,4374528,null,0,zb.b,[xm.p,xm.i,sb.j,[8,null],[2,zb.a]],{color:[0,"color"]},null),xm._36(1024,null,Km.q,function(l){return[l]},[zb.b]),xm._17(8,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(10,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(11,0,["",""])),xm._35(12,1),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"primary");l(n,8,0,"exist_status")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6).id,xm._32(n,6).indeterminate,xm._32(n,6).checked,xm._32(n,6).disabled,"before"==xm._32(n,6).labelPosition,xm._32(n,10).ngClassUntouched,xm._32(n,10).ngClassTouched,xm._32(n,10).ngClassPristine,xm._32(n,10).ngClassDirty,xm._32(n,10).ngClassValid,xm._32(n,10).ngClassInvalid,xm._32(n,10).ngClassPending]);l(n,11,0,xm._40(n,11,0,l(n,12,0,xm._32(n.parent,0),n.context.$implicit.controls.name.value)))})}function Ve(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,142,{_control:0}),xm._37(335544320,143,{_placeholderChild:0}),xm._37(335544320,144,{_labelChild:0}),xm._37(603979776,145,{_errorChildren:1}),xm._37(603979776,146,{_hintChildren:1}),xm._37(603979776,147,{_prefixChildren:1}),xm._37(603979776,148,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePanIndiaOptions(1,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},xv.b,xv.a)),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),xm._17(14,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,149,{options:1}),xm._37(603979776,150,{optionGroups:1}),xm._37(335544320,151,{customTrigger:0}),xm._36(2048,[[142,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(22,8437760,[[149,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(26,8437760,[[149,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"pan_india_options");l(n,14,0,"Is PAN India");l(n,22,0,"Yes");l(n,26,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending,xm._32(n,14).id,xm._32(n,14).tabIndex,xm._32(n,14)._ariaLabel,xm._32(n,14).ariaLabelledby,xm._32(n,14).required.toString(),xm._32(n,14).disabled.toString(),xm._32(n,14).errorState,xm._32(n,14).panelOpen?xm._32(n,14)._optionIds:null,xm._32(n,14).multiple,xm._32(n,14)._ariaDescribedby||null,xm._32(n,14)._getAriaActiveDescendant(),xm._32(n,14).disabled,xm._32(n,14).errorState,xm._32(n,14).required]);l(n,21,0,xm._32(n,22)._getTabIndex(),xm._32(n,22).selected,xm._32(n,22).multiple,xm._32(n,22).active,xm._32(n,22).id,xm._32(n,22).selected.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).disabled);l(n,25,0,xm._32(n,26)._getTabIndex(),xm._32(n,26).selected,xm._32(n,26).multiple,xm._32(n,26).active,xm._32(n,26).id,xm._32(n,26).selected.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).disabled)})}function je(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[159,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ne(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[169,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ee(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.parent.parent.context.index,l.parent.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,1,0,"");l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function We(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,59,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,152,{_control:0}),xm._37(335544320,153,{_placeholderChild:0}),xm._37(335544320,154,{_labelChild:0}),xm._37(603979776,155,{_errorChildren:1}),xm._37(603979776,156,{_hintChildren:1}),xm._37(603979776,157,{_prefixChildren:1}),xm._37(603979776,158,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,17)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,17)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,17)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(14,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(16,16384,null,0,Km.s,[Km.r],null,null),xm._17(17,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,159,{options:1}),xm._37(603979776,160,{optionGroups:1}),xm._37(335544320,161,{customTrigger:0}),xm._36(2048,[[152,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,je)),xm._17(24,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(28,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(29,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,162,{_control:0}),xm._37(335544320,163,{_placeholderChild:0}),xm._37(335544320,164,{_labelChild:0}),xm._37(603979776,165,{_errorChildren:1}),xm._37(603979776,166,{_hintChildren:1}),xm._37(603979776,167,{_prefixChildren:1}),xm._37(603979776,168,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(38,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,45)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,45)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,45)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(40,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(42,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(44,16384,null,0,Km.s,[Km.r],null,null),xm._17(45,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,169,{options:1}),xm._37(603979776,170,{optionGroups:1}),xm._37(335544320,171,{customTrigger:0}),xm._36(2048,[[162,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ne)),xm._17(52,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ee)),xm._17(57,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._18(58,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"state_name");l(n,17,0,"State");l(n,24,0,e.stateList);l(n,40,0,"");l(n,42,0,"city_name");l(n,45,0,"City","","");l(n,52,0,e.filterCity(e.stateList,n.parent.context.$implicit.value.state_name));l(n,57,0,n.parent.context.index>0)},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,16).ngClassUntouched,xm._32(n,16).ngClassTouched,xm._32(n,16).ngClassPristine,xm._32(n,16).ngClassDirty,xm._32(n,16).ngClassValid,xm._32(n,16).ngClassInvalid,xm._32(n,16).ngClassPending,xm._32(n,17).id,xm._32(n,17).tabIndex,xm._32(n,17)._ariaLabel,xm._32(n,17).ariaLabelledby,xm._32(n,17).required.toString(),xm._32(n,17).disabled.toString(),xm._32(n,17).errorState,xm._32(n,17).panelOpen?xm._32(n,17)._optionIds:null,xm._32(n,17).multiple,xm._32(n,17)._ariaDescribedby||null,xm._32(n,17)._getAriaActiveDescendant(),xm._32(n,17).disabled,xm._32(n,17).errorState,xm._32(n,17).required]);l(n,28,1,[xm._32(n,29)._control.errorState,xm._32(n,29)._control.errorState,xm._32(n,29)._canLabelFloat,xm._32(n,29)._shouldLabelFloat(),xm._32(n,29)._hideControlPlaceholder(),xm._32(n,29)._control.disabled,xm._32(n,29)._control.focused,"primary"==xm._32(n,29).color,"accent"==xm._32(n,29).color,"warn"==xm._32(n,29).color,xm._32(n,29)._shouldForward("untouched"),xm._32(n,29)._shouldForward("touched"),xm._32(n,29)._shouldForward("pristine"),xm._32(n,29)._shouldForward("dirty"),xm._32(n,29)._shouldForward("valid"),xm._32(n,29)._shouldForward("invalid"),xm._32(n,29)._shouldForward("pending")]);l(n,38,1,[xm._32(n,40).required?"":null,xm._32(n,44).ngClassUntouched,xm._32(n,44).ngClassTouched,xm._32(n,44).ngClassPristine,xm._32(n,44).ngClassDirty,xm._32(n,44).ngClassValid,xm._32(n,44).ngClassInvalid,xm._32(n,44).ngClassPending,xm._32(n,45).id,xm._32(n,45).tabIndex,xm._32(n,45)._ariaLabel,xm._32(n,45).ariaLabelledby,xm._32(n,45).required.toString(),xm._32(n,45).disabled.toString(),xm._32(n,45).errorState,xm._32(n,45).panelOpen?xm._32(n,45)._optionIds:null,xm._32(n,45).multiple,xm._32(n,45)._ariaDescribedby||null,xm._32(n,45)._getAriaActiveDescendant(),xm._32(n,45).disabled,xm._32(n,45).errorState,xm._32(n,45).required])})}function Re(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,We)),xm._17(6,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending)})}function Ue(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.context.index,1)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More State"]))],function(l,n){l(n,1,0,"optblue")},null)}function Be(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[179,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function $e(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[189,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Me(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,182,{_control:0}),xm._37(335544320,183,{_placeholderChild:0}),xm._37(335544320,184,{_labelChild:0}),xm._37(603979776,185,{_errorChildren:1}),xm._37(603979776,186,{_hintChildren:1}),xm._37(603979776,187,{_prefixChildren:1}),xm._37(603979776,188,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[184,4]],0,ib.f,[],null,null),(l()(),xm._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,189,{options:1}),xm._37(603979776,190,{optionGroups:1}),xm._37(335544320,191,{customTrigger:0}),xm._36(2048,[[182,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,$e)),xm._17(26,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required])})}function Ke(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,172,{_control:0}),xm._37(335544320,173,{_placeholderChild:0}),xm._37(335544320,174,{_labelChild:0}),xm._37(603979776,175,{_errorChildren:1}),xm._37(603979776,176,{_hintChildren:1}),xm._37(603979776,177,{_prefixChildren:1}),xm._37(603979776,178,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[174,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["States Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,179,{options:1}),xm._37(603979776,180,{optionGroups:1}),xm._37(335544320,181,{customTrigger:0}),xm._36(2048,[[172,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Be)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Me)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function He(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ke)),xm._17(6,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending)})}function Ge(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,12,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Re)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,[" "])),(l()(),xm._13(16777216,null,null,1,null,Ue)),xm._17(13,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,He)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,13,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,17,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function Ye(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[199,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Qe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,1,0,"");l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function ze(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,59,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,192,{_control:0}),xm._37(335544320,193,{_placeholderChild:0}),xm._37(335544320,194,{_labelChild:0}),xm._37(603979776,195,{_errorChildren:1}),xm._37(603979776,196,{_hintChildren:1}),xm._37(603979776,197,{_prefixChildren:1}),xm._37(603979776,198,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[194,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,199,{options:1}),xm._37(603979776,200,{optionGroups:1}),xm._37(335544320,201,{customTrigger:0}),xm._36(2048,[[192,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ye)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(36,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,202,{_control:0}),xm._37(335544320,203,{_placeholderChild:0}),xm._37(335544320,204,{_labelChild:0}),xm._37(603979776,205,{_errorChildren:1}),xm._37(603979776,206,{_hintChildren:1}),xm._37(603979776,207,{_prefixChildren:1}),xm._37(603979776,208,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}return u},null,null)),xm._17(46,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(47,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[202,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Qe)),xm._17(58,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Sale","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required]);l(n,35,1,[xm._32(n,36)._control.errorState,xm._32(n,36)._control.errorState,xm._32(n,36)._canLabelFloat,xm._32(n,36)._shouldLabelFloat(),xm._32(n,36)._hideControlPlaceholder(),xm._32(n,36)._control.disabled,xm._32(n,36)._control.focused,"primary"==xm._32(n,36).color,"accent"==xm._32(n,36).color,"warn"==xm._32(n,36).color,xm._32(n,36)._shouldForward("untouched"),xm._32(n,36)._shouldForward("touched"),xm._32(n,36)._shouldForward("pristine"),xm._32(n,36)._shouldForward("dirty"),xm._32(n,36)._shouldForward("valid"),xm._32(n,36)._shouldForward("invalid"),xm._32(n,36)._shouldForward("pending")]);l(n,45,1,[xm._32(n,47).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()])})}function Je(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,14,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,11,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ze)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.context.index,2)&&u}return u},Db.b,Db.a)),xm._17(11,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More Country"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,11,0,"optblue")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function Xe(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,209,{_control:0}),xm._37(335544320,210,{_placeholderChild:0}),xm._37(335544320,211,{_labelChild:0}),xm._37(603979776,212,{_errorChildren:1}),xm._37(603979776,213,{_hintChildren:1}),xm._37(603979776,214,{_prefixChildren:1}),xm._37(603979776,215,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePanIndiaOptions(1,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},xv.b,xv.a)),xm._17(11,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,216,{options:1}),xm._37(603979776,217,{optionGroups:1}),xm._37(335544320,218,{customTrigger:0}),xm._36(2048,[[209,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(24,8437760,[[216,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(28,8437760,[[216,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,11).required?"":null,xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16).id,xm._32(n,16).tabIndex,xm._32(n,16)._ariaLabel,xm._32(n,16).ariaLabelledby,xm._32(n,16).required.toString(),xm._32(n,16).disabled.toString(),xm._32(n,16).errorState,xm._32(n,16).panelOpen?xm._32(n,16)._optionIds:null,xm._32(n,16).multiple,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16)._getAriaActiveDescendant(),xm._32(n,16).disabled,xm._32(n,16).errorState,xm._32(n,16).required]);l(n,23,0,xm._32(n,24)._getTabIndex(),xm._32(n,24).selected,xm._32(n,24).multiple,xm._32(n,24).active,xm._32(n,24).id,xm._32(n,24).selected.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).disabled);l(n,27,0,xm._32(n,28)._getTabIndex(),xm._32(n,28).selected,xm._32(n,28).multiple,xm._32(n,28).active,xm._32(n,28).id,xm._32(n,28).selected.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).disabled)})}function Ze(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[226,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function lu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[236,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function nu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,65,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:34%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,219,{_control:0}),xm._37(335544320,220,{_placeholderChild:0}),xm._37(335544320,221,{_labelChild:0}),xm._37(603979776,222,{_errorChildren:1}),xm._37(603979776,223,{_hintChildren:1}),xm._37(603979776,224,{_prefixChildren:1}),xm._37(603979776,225,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,226,{options:1}),xm._37(603979776,227,{optionGroups:1}),xm._37(335544320,228,{customTrigger:0}),xm._36(2048,[[219,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ze)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:45%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,229,{_control:0}),xm._37(335544320,230,{_placeholderChild:0}),xm._37(335544320,231,{_labelChild:0}),xm._37(603979776,232,{_errorChildren:1}),xm._37(603979776,233,{_hintChildren:1}),xm._37(603979776,234,{_prefixChildren:1}),xm._37(603979776,235,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,50)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,236,{options:1}),xm._37(603979776,237,{optionGroups:1}),xm._37(335544320,238,{customTrigger:0}),xm._36(2048,[[229,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,lu)),xm._17(57,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(61,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.context.index,l.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(62,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(63,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),xm._17(64,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,"");l(n,64,0,"optblue","md-trash")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,17).required?"":null,xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,45).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50).id,xm._32(n,50).tabIndex,xm._32(n,50)._ariaLabel,xm._32(n,50).ariaLabelledby,xm._32(n,50).required.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).errorState,xm._32(n,50).panelOpen?xm._32(n,50)._optionIds:null,xm._32(n,50).multiple,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50)._getAriaActiveDescendant(),xm._32(n,50).disabled,xm._32(n,50).errorState,xm._32(n,50).required]);l(n,63,0,xm._32(n,64)._hidden)})}function eu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.context.index,1)&&u}return u},Db.b,Db.a)),xm._17(3,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More State"])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function uu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[246,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function au(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[256,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function tu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:84%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,249,{_control:0}),xm._37(335544320,250,{_placeholderChild:0}),xm._37(335544320,251,{_labelChild:0}),xm._37(603979776,252,{_errorChildren:1}),xm._37(603979776,253,{_hintChildren:1}),xm._37(603979776,254,{_prefixChildren:1}),xm._37(603979776,255,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[251,4]],0,ib.f,[],null,null),(l()(),xm._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,256,{options:1}),xm._37(603979776,257,{optionGroups:1}),xm._37(335544320,258,{customTrigger:0}),xm._36(2048,[[249,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,au)),xm._17(26,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required])})}function iu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,239,{_control:0}),xm._37(335544320,240,{_placeholderChild:0}),xm._37(335544320,241,{_labelChild:0}),xm._37(603979776,242,{_errorChildren:1}),xm._37(603979776,243,{_hintChildren:1}),xm._37(603979776,244,{_prefixChildren:1}),xm._37(603979776,245,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[241,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["States Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,246,{options:1}),xm._37(603979776,247,{optionGroups:1}),xm._37(335544320,248,{customTrigger:0}),xm._36(2048,[[239,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,uu)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,tu)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function ou(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[266,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function ru(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,61,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,259,{_control:0}),xm._37(335544320,260,{_placeholderChild:0}),xm._37(335544320,261,{_labelChild:0}),xm._37(603979776,262,{_errorChildren:1}),xm._37(603979776,263,{_hintChildren:1}),xm._37(603979776,264,{_prefixChildren:1}),xm._37(603979776,265,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[261,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,266,{options:1}),xm._37(603979776,267,{optionGroups:1}),xm._37(335544320,268,{customTrigger:0}),xm._36(2048,[[259,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ou)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(36,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,269,{_control:0}),xm._37(335544320,270,{_placeholderChild:0}),xm._37(335544320,271,{_labelChild:0}),xm._37(603979776,272,{_errorChildren:1}),xm._37(603979776,273,{_hintChildren:1}),xm._37(603979776,274,{_prefixChildren:1}),xm._37(603979776,275,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}return u},null,null)),xm._17(46,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(47,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[269,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(57,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.removeState(l.parent.parent.context.index,a.mx,"2")&&u}return u},Db.b,Db.a)),xm._17(58,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(59,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),xm._17(60,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n \n \n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Sale","");l(n,58,0,"");l(n,60,0,"optblue","md-trash")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required]);l(n,35,1,[xm._32(n,36)._control.errorState,xm._32(n,36)._control.errorState,xm._32(n,36)._canLabelFloat,xm._32(n,36)._shouldLabelFloat(),xm._32(n,36)._hideControlPlaceholder(),xm._32(n,36)._control.disabled,xm._32(n,36)._control.focused,"primary"==xm._32(n,36).color,"accent"==xm._32(n,36).color,"warn"==xm._32(n,36).color,xm._32(n,36)._shouldForward("untouched"),xm._32(n,36)._shouldForward("touched"),xm._32(n,36)._shouldForward("pristine"),xm._32(n,36)._shouldForward("dirty"),xm._32(n,36)._shouldForward("valid"),xm._32(n,36)._shouldForward("invalid"),xm._32(n,36)._shouldForward("pending")]);l(n,45,1,[xm._32(n,47).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()]);l(n,59,0,xm._32(n,60)._hidden)})}function _u(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,50,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Within India"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Xe)),xm._17(8,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(12,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(14,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,nu)),xm._17(17,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,eu)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n \n "])),(l()(),xm._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(24,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(26,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,iu)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Export"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(36,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(38,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ru)),xm._17(41,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(44,0,null,null,5,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(46,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.context.index,2)&&u}return u},Db.b,Db.a)),xm._17(47,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More Country"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,47,0,"optblue")},function(l,n){l(n,11,0,xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending);l(n,23,0,xm._32(n,26).ngClassUntouched,xm._32(n,26).ngClassTouched,xm._32(n,26).ngClassPristine,xm._32(n,26).ngClassDirty,xm._32(n,26).ngClassValid,xm._32(n,26).ngClassInvalid,xm._32(n,26).ngClassPending);l(n,35,0,xm._32(n,38).ngClassUntouched,xm._32(n,38).ngClassTouched,xm._32(n,38).ngClassPristine,xm._32(n,38).ngClassDirty,xm._32(n,38).ngClassValid,xm._32(n,38).ngClassInvalid,xm._32(n,38).ngClassPending)})}function du(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,98,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(6,null,["Manufacturing Details ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(9,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,125,{_control:0}),xm._37(335544320,126,{_placeholderChild:0}),xm._37(335544320,127,{_labelChild:0}),xm._37(603979776,128,{_errorChildren:1}),xm._37(603979776,129,{_hintChildren:1}),xm._37(603979776,130,{_prefixChildren:1}),xm._37(603979776,131,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,24)._onInput()&&u}return u},null,null)),xm._17(19,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[125,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(28,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(29,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,132,{_control:0}),xm._37(335544320,133,{_placeholderChild:0}),xm._37(335544320,134,{_labelChild:0}),xm._37(603979776,135,{_errorChildren:1}),xm._37(603979776,136,{_hintChildren:1}),xm._37(603979776,137,{_prefixChildren:1}),xm._37(603979776,138,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(38,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,42)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,42)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,42)._onBlur()&&u}if("selectionChange"===n){a.changeManufacturingAreaSale(l.context.$implicit,l.context.index);u=!1!==a.CheckExport(e.value,"MActivity",l.context.index)&&u}return u},xv.b,xv.a)),xm._17(39,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(41,16384,null,0,Km.s,[Km.r],null,null),xm._17(42,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,139,{options:1}),xm._37(603979776,140,{optionGroups:1}),xm._37(335544320,141,{customTrigger:0}),xm._36(2048,[[132,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(49,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,50)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(50,8437760,[[139,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,['Within India"'])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,54)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(54,8437760,[[139,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Export"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,58)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(58,8437760,[[139,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Both"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ve)),xm._17(64,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ge)),xm._17(67,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Je)),xm._17(70,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,_u)),xm._17(73,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(75,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(76,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,276,{_control:0}),xm._37(335544320,277,{_placeholderChild:0}),xm._37(335544320,278,{_labelChild:0}),xm._37(603979776,279,{_errorChildren:1}),xm._37(603979776,280,{_hintChildren:1}),xm._37(603979776,281,{_prefixChildren:1}),xm._37(603979776,282,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(85,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(86,16384,[[278,4]],0,ib.f,[],null,null),(l()(),xm._39(87,null,["Description of ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(89,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,90)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,90).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,90)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,90)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,95)._onInput()&&u}return u},null,null)),xm._17(90,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(92,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(94,16384,null,0,Km.s,[Km.r],null,null),xm._17(95,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[276,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,21,0,"main_products");l(n,24,0,"Main Product");l(n,39,0,"area_of_sale");l(n,42,0,"Area of Sale");l(n,50,0,"Within India");l(n,54,0,"Export");l(n,58,0,"Both");l(n,64,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,67,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,70,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0==n.context.$implicit.value.india_where_sale_done);l(n,73,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,92,0,"description");l(n,95,0,"Description")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[xm._32(n,9)._control.errorState,xm._32(n,9)._control.errorState,xm._32(n,9)._canLabelFloat,xm._32(n,9)._shouldLabelFloat(),xm._32(n,9)._hideControlPlaceholder(),xm._32(n,9)._control.disabled,xm._32(n,9)._control.focused,"primary"==xm._32(n,9).color,"accent"==xm._32(n,9).color,"warn"==xm._32(n,9).color,xm._32(n,9)._shouldForward("untouched"),xm._32(n,9)._shouldForward("touched"),xm._32(n,9)._shouldForward("pristine"),xm._32(n,9)._shouldForward("dirty"),xm._32(n,9)._shouldForward("valid"),xm._32(n,9)._shouldForward("invalid"),xm._32(n,9)._shouldForward("pending")]);l(n,18,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24)._isServer,xm._32(n,24).id,xm._32(n,24).placeholder,xm._32(n,24).disabled,xm._32(n,24).required,xm._32(n,24).readonly,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24).errorState,xm._32(n,24).required.toString()]);l(n,28,1,[xm._32(n,29)._control.errorState,xm._32(n,29)._control.errorState,xm._32(n,29)._canLabelFloat,xm._32(n,29)._shouldLabelFloat(),xm._32(n,29)._hideControlPlaceholder(),xm._32(n,29)._control.disabled,xm._32(n,29)._control.focused,"primary"==xm._32(n,29).color,"accent"==xm._32(n,29).color,"warn"==xm._32(n,29).color,xm._32(n,29)._shouldForward("untouched"),xm._32(n,29)._shouldForward("touched"),xm._32(n,29)._shouldForward("pristine"),xm._32(n,29)._shouldForward("dirty"),xm._32(n,29)._shouldForward("valid"),xm._32(n,29)._shouldForward("invalid"),xm._32(n,29)._shouldForward("pending")]);l(n,38,1,[xm._32(n,41).ngClassUntouched,xm._32(n,41).ngClassTouched,xm._32(n,41).ngClassPristine,xm._32(n,41).ngClassDirty,xm._32(n,41).ngClassValid,xm._32(n,41).ngClassInvalid,xm._32(n,41).ngClassPending,xm._32(n,42).id,xm._32(n,42).tabIndex,xm._32(n,42)._ariaLabel,xm._32(n,42).ariaLabelledby,xm._32(n,42).required.toString(),xm._32(n,42).disabled.toString(),xm._32(n,42).errorState,xm._32(n,42).panelOpen?xm._32(n,42)._optionIds:null,xm._32(n,42).multiple,xm._32(n,42)._ariaDescribedby||null,xm._32(n,42)._getAriaActiveDescendant(),xm._32(n,42).disabled,xm._32(n,42).errorState,xm._32(n,42).required]);l(n,49,0,xm._32(n,50)._getTabIndex(),xm._32(n,50).selected,xm._32(n,50).multiple,xm._32(n,50).active,xm._32(n,50).id,xm._32(n,50).selected.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).disabled);l(n,53,0,xm._32(n,54)._getTabIndex(),xm._32(n,54).selected,xm._32(n,54).multiple,xm._32(n,54).active,xm._32(n,54).id,xm._32(n,54).selected.toString(),xm._32(n,54).disabled.toString(),xm._32(n,54).disabled);l(n,57,0,xm._32(n,58)._getTabIndex(),xm._32(n,58).selected,xm._32(n,58).multiple,xm._32(n,58).active,xm._32(n,58).id,xm._32(n,58).selected.toString(),xm._32(n,58).disabled.toString(),xm._32(n,58).disabled);l(n,75,1,[xm._32(n,76)._control.errorState,xm._32(n,76)._control.errorState,xm._32(n,76)._canLabelFloat,xm._32(n,76)._shouldLabelFloat(),xm._32(n,76)._hideControlPlaceholder(),xm._32(n,76)._control.disabled,xm._32(n,76)._control.focused,"primary"==xm._32(n,76).color,"accent"==xm._32(n,76).color,"warn"==xm._32(n,76).color,xm._32(n,76)._shouldForward("untouched"),xm._32(n,76)._shouldForward("touched"),xm._32(n,76)._shouldForward("pristine"),xm._32(n,76)._shouldForward("dirty"),xm._32(n,76)._shouldForward("valid"),xm._32(n,76)._shouldForward("invalid"),xm._32(n,76)._shouldForward("pending")]);l(n,87,0,n.context.$implicit.value.main_products);l(n,89,1,[xm._32(n,94).ngClassUntouched,xm._32(n,94).ngClassTouched,xm._32(n,94).ngClassPristine,xm._32(n,94).ngClassDirty,xm._32(n,94).ngClassValid,xm._32(n,94).ngClassInvalid,xm._32(n,94).ngClassPending,xm._32(n,95)._isServer,xm._32(n,95).id,xm._32(n,95).placeholder,xm._32(n,95).disabled,xm._32(n,95).required,xm._32(n,95).readonly,xm._32(n,95)._ariaDescribedby||null,xm._32(n,95).errorState,xm._32(n,95).required.toString()])})}function su(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","manufacturing_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(4,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),xm._17(7,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,du)),xm._17(10,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreManufacturing()&&u}return u},Db.b,Db.a)),xm._17(14,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(15,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(16,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._18(17,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"manufacturing_activity_details");l(n,10,0,e.businessForm.controls.manufacturing_activity_details.controls);l(n,14,0,"");l(n,16,0,"optblue","add-circle")},function(l,n){l(n,3,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending);l(n,15,0,xm._32(n,16)._hidden)})}function cu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,300,{_control:0}),xm._37(335544320,301,{_placeholderChild:0}),xm._37(335544320,302,{_labelChild:0}),xm._37(603979776,303,{_errorChildren:1}),xm._37(603979776,304,{_hintChildren:1}),xm._37(603979776,305,{_prefixChildren:1}),xm._37(603979776,306,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePanIndiaOptions(2,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},xv.b,xv.a)),xm._17(11,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,307,{options:1}),xm._37(603979776,308,{optionGroups:1}),xm._37(335544320,309,{customTrigger:0}),xm._36(2048,[[300,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(24,8437760,[[307,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(28,8437760,[[307,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,11).required?"":null,xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16).id,xm._32(n,16).tabIndex,xm._32(n,16)._ariaLabel,xm._32(n,16).ariaLabelledby,xm._32(n,16).required.toString(),xm._32(n,16).disabled.toString(),xm._32(n,16).errorState,xm._32(n,16).panelOpen?xm._32(n,16)._optionIds:null,xm._32(n,16).multiple,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16)._getAriaActiveDescendant(),xm._32(n,16).disabled,xm._32(n,16).errorState,xm._32(n,16).required]);l(n,23,0,xm._32(n,24)._getTabIndex(),xm._32(n,24).selected,xm._32(n,24).multiple,xm._32(n,24).active,xm._32(n,24).id,xm._32(n,24).selected.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).disabled);l(n,27,0,xm._32(n,28)._getTabIndex(),xm._32(n,28).selected,xm._32(n,28).multiple,xm._32(n,28).active,xm._32(n,28).id,xm._32(n,28).selected.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).disabled)})}function mu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[317,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function pu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[327,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function fu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function hu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,63,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,310,{_control:0}),xm._37(335544320,311,{_placeholderChild:0}),xm._37(335544320,312,{_labelChild:0}),xm._37(603979776,313,{_errorChildren:1}),xm._37(603979776,314,{_hintChildren:1}),xm._37(603979776,315,{_prefixChildren:1}),xm._37(603979776,316,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,317,{options:1}),xm._37(603979776,318,{optionGroups:1}),xm._37(335544320,319,{customTrigger:0}),xm._36(2048,[[310,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,mu)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,320,{_control:0}),xm._37(335544320,321,{_placeholderChild:0}),xm._37(335544320,322,{_labelChild:0}),xm._37(603979776,323,{_errorChildren:1}),xm._37(603979776,324,{_hintChildren:1}),xm._37(603979776,325,{_prefixChildren:1}),xm._37(603979776,326,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,50)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,327,{options:1}),xm._37(603979776,328,{optionGroups:1}),xm._37(335544320,329,{customTrigger:0}),xm._36(2048,[[320,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,pu)),xm._17(57,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._13(16777216,null,null,1,null,fu)),xm._17(62,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,17).required?"":null,xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,45).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50).id,xm._32(n,50).tabIndex,xm._32(n,50)._ariaLabel,xm._32(n,50).ariaLabelledby,xm._32(n,50).required.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).errorState,xm._32(n,50).panelOpen?xm._32(n,50)._optionIds:null,xm._32(n,50).multiple,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50)._getAriaActiveDescendant(),xm._32(n,50).disabled,xm._32(n,50).errorState,xm._32(n,50).required])})}function gu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[["class","tab_class"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(3,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More Country"])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function bu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[337,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function vu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[347,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function yu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:84%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,340,{_control:0}),xm._37(335544320,341,{_placeholderChild:0}),xm._37(335544320,342,{_labelChild:0}),xm._37(603979776,343,{_errorChildren:1}),xm._37(603979776,344,{_hintChildren:1}),xm._37(603979776,345,{_prefixChildren:1}),xm._37(603979776,346,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[342,4]],0,ib.f,[],null,null),(l()(),xm._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,347,{options:1}),xm._37(603979776,348,{optionGroups:1}),xm._37(335544320,349,{customTrigger:0}),xm._36(2048,[[340,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,vu)),xm._17(26,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required])})}function Cu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[["class","tab_class"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,330,{_control:0}),xm._37(335544320,331,{_placeholderChild:0}),xm._37(335544320,332,{_labelChild:0}),xm._37(603979776,333,{_errorChildren:1}),xm._37(603979776,334,{_hintChildren:1}),xm._37(603979776,335,{_prefixChildren:1}),xm._37(603979776,336,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[332,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["States Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,337,{options:1}),xm._37(603979776,338,{optionGroups:1}),xm._37(335544320,339,{customTrigger:0}),xm._36(2048,[[330,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,bu)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,yu)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function wu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Cu)),xm._17(6,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending)})}function Fu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,hu)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,gu)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,wu)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,11,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function xu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[357,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Su(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Iu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,60,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(5,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,350,{_control:0}),xm._37(335544320,351,{_placeholderChild:0}),xm._37(335544320,352,{_labelChild:0}),xm._37(603979776,353,{_errorChildren:1}),xm._37(603979776,354,{_hintChildren:1}),xm._37(603979776,355,{_prefixChildren:1}),xm._37(603979776,356,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[352,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["Countries Where Export Is Being Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(20,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries Where The Export Is Being Done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,25)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(22,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(24,16384,null,0,Km.s,[Km.r],null,null),xm._17(25,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,357,{options:1}),xm._37(603979776,358,{optionGroups:1}),xm._37(335544320,359,{customTrigger:0}),xm._36(2048,[[350,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,xu)),xm._17(32,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(36,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(37,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,360,{_control:0}),xm._37(335544320,361,{_placeholderChild:0}),xm._37(335544320,362,{_labelChild:0}),xm._37(603979776,363,{_errorChildren:1}),xm._37(603979776,364,{_hintChildren:1}),xm._37(603979776,365,{_prefixChildren:1}),xm._37(603979776,366,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(46,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,47)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,47).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,47)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,47)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,54)._onInput()&&u}return u},null,null)),xm._17(47,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(48,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(51,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(53,16384,null,0,Km.s,[Km.r],null,null),xm._17(54,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[360,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Su)),xm._17(59,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"country_name");l(n,25,0,"Countries Where The Export Is Being Done");l(n,32,0,e.countryDataList);l(n,48,0,"");l(n,51,0,"approx_sale");l(n,54,0,"Approx % of Sale","");l(n,59,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending,xm._32(n,25).id,xm._32(n,25).tabIndex,xm._32(n,25)._ariaLabel,xm._32(n,25).ariaLabelledby,xm._32(n,25).required.toString(),xm._32(n,25).disabled.toString(),xm._32(n,25).errorState,xm._32(n,25).panelOpen?xm._32(n,25)._optionIds:null,xm._32(n,25).multiple,xm._32(n,25)._ariaDescribedby||null,xm._32(n,25)._getAriaActiveDescendant(),xm._32(n,25).disabled,xm._32(n,25).errorState,xm._32(n,25).required]);l(n,36,1,[xm._32(n,37)._control.errorState,xm._32(n,37)._control.errorState,xm._32(n,37)._canLabelFloat,xm._32(n,37)._shouldLabelFloat(),xm._32(n,37)._hideControlPlaceholder(),xm._32(n,37)._control.disabled,xm._32(n,37)._control.focused,"primary"==xm._32(n,37).color,"accent"==xm._32(n,37).color,"warn"==xm._32(n,37).color,xm._32(n,37)._shouldForward("untouched"),xm._32(n,37)._shouldForward("touched"),xm._32(n,37)._shouldForward("pristine"),xm._32(n,37)._shouldForward("dirty"),xm._32(n,37)._shouldForward("valid"),xm._32(n,37)._shouldForward("invalid"),xm._32(n,37)._shouldForward("pending")]);l(n,46,1,[xm._32(n,48).required?"":null,xm._32(n,53).ngClassUntouched,xm._32(n,53).ngClassTouched,xm._32(n,53).ngClassPristine,xm._32(n,53).ngClassDirty,xm._32(n,53).ngClassValid,xm._32(n,53).ngClassInvalid,xm._32(n,53).ngClassPending,xm._32(n,54)._isServer,xm._32(n,54).id,xm._32(n,54).placeholder,xm._32(n,54).disabled,xm._32(n,54).required,xm._32(n,54).readonly,xm._32(n,54)._ariaDescribedby||null,xm._32(n,54).errorState,xm._32(n,54).required.toString()])})}function qu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,14,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,11,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Iu)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(11,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More Country"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,11,0,"optblue")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function ku(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,367,{_control:0}),xm._37(335544320,368,{_placeholderChild:0}),xm._37(335544320,369,{_labelChild:0}),xm._37(603979776,370,{_errorChildren:1}),xm._37(603979776,371,{_hintChildren:1}),xm._37(603979776,372,{_prefixChildren:1}),xm._37(603979776,373,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePanIndiaOptions(2,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},xv.b,xv.a)),xm._17(11,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,374,{options:1}),xm._37(603979776,375,{optionGroups:1}),xm._37(335544320,376,{customTrigger:0}),xm._36(2048,[[367,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(24,8437760,[[374,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(28,8437760,[[374,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,11).required?"":null,xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16).id,xm._32(n,16).tabIndex,xm._32(n,16)._ariaLabel,xm._32(n,16).ariaLabelledby,xm._32(n,16).required.toString(),xm._32(n,16).disabled.toString(),xm._32(n,16).errorState,xm._32(n,16).panelOpen?xm._32(n,16)._optionIds:null,xm._32(n,16).multiple,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16)._getAriaActiveDescendant(),xm._32(n,16).disabled,xm._32(n,16).errorState,xm._32(n,16).required]);l(n,23,0,xm._32(n,24)._getTabIndex(),xm._32(n,24).selected,xm._32(n,24).multiple,xm._32(n,24).active,xm._32(n,24).id,xm._32(n,24).selected.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).disabled);l(n,27,0,xm._32(n,28)._getTabIndex(),xm._32(n,28).selected,xm._32(n,28).multiple,xm._32(n,28).active,xm._32(n,28).id,xm._32(n,28).selected.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).disabled)})}function Pu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[384,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Du(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[394,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Tu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Ou(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,63,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,377,{_control:0}),xm._37(335544320,378,{_placeholderChild:0}),xm._37(335544320,379,{_labelChild:0}),xm._37(603979776,380,{_errorChildren:1}),xm._37(603979776,381,{_hintChildren:1}),xm._37(603979776,382,{_prefixChildren:1}),xm._37(603979776,383,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,384,{options:1}),xm._37(603979776,385,{optionGroups:1}),xm._37(335544320,386,{customTrigger:0}),xm._36(2048,[[377,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Pu)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,387,{_control:0}),xm._37(335544320,388,{_placeholderChild:0}),xm._37(335544320,389,{_labelChild:0}),xm._37(603979776,390,{_errorChildren:1}),xm._37(603979776,391,{_hintChildren:1}),xm._37(603979776,392,{_prefixChildren:1}),xm._37(603979776,393,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,50)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,394,{options:1}),xm._37(603979776,395,{optionGroups:1}),xm._37(335544320,396,{customTrigger:0}),xm._36(2048,[[387,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Du)),xm._17(57,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._13(16777216,null,null,1,null,Tu)),xm._17(62,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,17).required?"":null,xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,45).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50).id,xm._32(n,50).tabIndex,xm._32(n,50)._ariaLabel,xm._32(n,50).ariaLabelledby,xm._32(n,50).required.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).errorState,xm._32(n,50).panelOpen?xm._32(n,50)._optionIds:null,xm._32(n,50).multiple,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50)._getAriaActiveDescendant(),xm._32(n,50).disabled,xm._32(n,50).errorState,xm._32(n,50).required])})}function Lu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(3,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More State"])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function Au(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[404,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Vu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[414,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ju(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,407,{_control:0}),xm._37(335544320,408,{_placeholderChild:0}),xm._37(335544320,409,{_labelChild:0}),xm._37(603979776,410,{_errorChildren:1}),xm._37(603979776,411,{_hintChildren:1}),xm._37(603979776,412,{_prefixChildren:1}),xm._37(603979776,413,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[409,4]],0,ib.f,[],null,null),(l()(),xm._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,414,{options:1}),xm._37(603979776,415,{optionGroups:1}),xm._37(335544320,416,{customTrigger:0}),xm._36(2048,[[407,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Vu)),xm._17(26,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required])})}function Nu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,397,{_control:0}),xm._37(335544320,398,{_placeholderChild:0}),xm._37(335544320,399,{_labelChild:0}),xm._37(603979776,400,{_errorChildren:1}),xm._37(603979776,401,{_hintChildren:1}),xm._37(603979776,402,{_prefixChildren:1}),xm._37(603979776,403,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[399,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["States Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,404,{options:1}),xm._37(603979776,405,{optionGroups:1}),xm._37(335544320,406,{customTrigger:0}),xm._36(2048,[[397,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Au)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ju)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function Eu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[424,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Wu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{clear:[0,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Ru(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,59,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,417,{_control:0}),xm._37(335544320,418,{_placeholderChild:0}),xm._37(335544320,419,{_labelChild:0}),xm._37(603979776,420,{_errorChildren:1}),xm._37(603979776,421,{_hintChildren:1}),xm._37(603979776,422,{_prefixChildren:1}),xm._37(603979776,423,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[419,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries Where The Export Is Being Done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,424,{options:1}),xm._37(603979776,425,{optionGroups:1}),xm._37(335544320,426,{customTrigger:0}),xm._36(2048,[[417,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Eu)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(36,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,427,{_control:0}),xm._37(335544320,428,{_placeholderChild:0}),xm._37(335544320,429,{_labelChild:0}),xm._37(603979776,430,{_errorChildren:1}),xm._37(603979776,431,{_hintChildren:1}),xm._37(603979776,432,{_prefixChildren:1}),xm._37(603979776,433,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}return u},null,null)),xm._17(46,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(47,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[427,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._13(16777216,null,null,1,null,Wu)),xm._17(58,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries Where The Export Is Being Done");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Sale","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required]);l(n,35,1,[xm._32(n,36)._control.errorState,xm._32(n,36)._control.errorState,xm._32(n,36)._canLabelFloat,xm._32(n,36)._shouldLabelFloat(),xm._32(n,36)._hideControlPlaceholder(),xm._32(n,36)._control.disabled,xm._32(n,36)._control.focused,"primary"==xm._32(n,36).color,"accent"==xm._32(n,36).color,"warn"==xm._32(n,36).color,xm._32(n,36)._shouldForward("untouched"),xm._32(n,36)._shouldForward("touched"),xm._32(n,36)._shouldForward("pristine"),xm._32(n,36)._shouldForward("dirty"),xm._32(n,36)._shouldForward("valid"),xm._32(n,36)._shouldForward("invalid"),xm._32(n,36)._shouldForward("pending")]);l(n,45,1,[xm._32(n,47).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()])})}function Uu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,47,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Within India"])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(5,0,null,null,4,"div",[["class","tab_class state-margin"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ku)),xm._17(8,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(12,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(14,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ou)),xm._17(17,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Lu)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(24,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(26,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Nu)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Export"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(36,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(38,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ru)),xm._17(41,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._18(44,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(45,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More Country "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,45,0,"optblue")},function(l,n){l(n,11,0,xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending);l(n,23,0,xm._32(n,26).ngClassUntouched,xm._32(n,26).ngClassTouched,xm._32(n,26).ngClassPristine,xm._32(n,26).ngClassDirty,xm._32(n,26).ngClassValid,xm._32(n,26).ngClassInvalid,xm._32(n,26).ngClassPending);l(n,35,0,xm._32(n,38).ngClassUntouched,xm._32(n,38).ngClassTouched,xm._32(n,38).ngClassPristine,xm._32(n,38).ngClassDirty,xm._32(n,38).ngClassValid,xm._32(n,38).ngClassInvalid,xm._32(n,38).ngClassPending)})}function Bu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,106,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(8,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(9,null,["Retail Trading Details ",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(13,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,283,{_control:0}),xm._37(335544320,284,{_placeholderChild:0}),xm._37(335544320,285,{_labelChild:0}),xm._37(603979776,286,{_errorChildren:1}),xm._37(603979776,287,{_hintChildren:1}),xm._37(603979776,288,{_prefixChildren:1}),xm._37(603979776,289,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,30)._onInput()&&u}return u},null,null)),xm._17(23,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(24,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(27,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(29,16384,null,0,Km.s,[Km.r],null,null),xm._17(30,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[283,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(35,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,290,{_control:0}),xm._37(335544320,291,{_placeholderChild:0}),xm._37(335544320,292,{_labelChild:0}),xm._37(603979776,293,{_errorChildren:1}),xm._37(603979776,294,{_hintChildren:1}),xm._37(603979776,295,{_prefixChildren:1}),xm._37(603979776,296,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(44,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,50)._onBlur()&&u}if("selectionChange"===n){a.changeRetailAreaSale(l.context.$implicit,l.context.index);u=!1!==a.CheckExport(e.value,"RActivity",l.context.index)&&u}return u},xv.b,xv.a)),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,297,{options:1}),xm._37(603979776,298,{optionGroups:1}),xm._37(335544320,299,{customTrigger:0}),xm._36(2048,[[290,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,58)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(58,8437760,[[297,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Within India"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,62)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(62,8437760,[[297,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Export"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,66)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(66,8437760,[[297,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Both"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,cu)),xm._17(72,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Fu)),xm._17(75,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,qu)),xm._17(78,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Uu)),xm._17(81,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(83,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(84,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,434,{_control:0}),xm._37(335544320,435,{_placeholderChild:0}),xm._37(335544320,436,{_labelChild:0}),xm._37(603979776,437,{_errorChildren:1}),xm._37(603979776,438,{_hintChildren:1}),xm._37(603979776,439,{_prefixChildren:1}),xm._37(603979776,440,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(93,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(94,16384,[[436,4]],0,ib.f,[],null,null),(l()(),xm._39(95,null,["Description of ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(97,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,98)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,98).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,98)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,98)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,103)._onInput()&&u}return u},null,null)),xm._17(98,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(100,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(102,16384,null,0,Km.s,[Km.r],null,null),xm._17(103,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[434,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,24,0,"");l(n,27,0,"main_products");l(n,30,0,"Main Product","","text");l(n,45,0,"");l(n,47,0,"area_of_sale");l(n,50,0,"Area of Sale","");l(n,58,0,"Within India");l(n,62,0,"Export");l(n,66,0,"Both");l(n,72,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,75,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,78,0,void 0==n.context.$implicit.value.india_where_sale_done&&void 0!=n.context.$implicit.value.countries_where_export_done);l(n,81,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,100,0,"description");l(n,103,0,"Description")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,12,1,[xm._32(n,13)._control.errorState,xm._32(n,13)._control.errorState,xm._32(n,13)._canLabelFloat,xm._32(n,13)._shouldLabelFloat(),xm._32(n,13)._hideControlPlaceholder(),xm._32(n,13)._control.disabled,xm._32(n,13)._control.focused,"primary"==xm._32(n,13).color,"accent"==xm._32(n,13).color,"warn"==xm._32(n,13).color,xm._32(n,13)._shouldForward("untouched"),xm._32(n,13)._shouldForward("touched"),xm._32(n,13)._shouldForward("pristine"),xm._32(n,13)._shouldForward("dirty"),xm._32(n,13)._shouldForward("valid"),xm._32(n,13)._shouldForward("invalid"),xm._32(n,13)._shouldForward("pending")]);l(n,22,1,[xm._32(n,24).required?"":null,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending,xm._32(n,30)._isServer,xm._32(n,30).id,xm._32(n,30).placeholder,xm._32(n,30).disabled,xm._32(n,30).required,xm._32(n,30).readonly,xm._32(n,30)._ariaDescribedby||null,xm._32(n,30).errorState,xm._32(n,30).required.toString()]);l(n,34,1,[xm._32(n,35)._control.errorState,xm._32(n,35)._control.errorState,xm._32(n,35)._canLabelFloat,xm._32(n,35)._shouldLabelFloat(),xm._32(n,35)._hideControlPlaceholder(),xm._32(n,35)._control.disabled,xm._32(n,35)._control.focused,"primary"==xm._32(n,35).color,"accent"==xm._32(n,35).color,"warn"==xm._32(n,35).color,xm._32(n,35)._shouldForward("untouched"),xm._32(n,35)._shouldForward("touched"),xm._32(n,35)._shouldForward("pristine"),xm._32(n,35)._shouldForward("dirty"),xm._32(n,35)._shouldForward("valid"),xm._32(n,35)._shouldForward("invalid"),xm._32(n,35)._shouldForward("pending")]);l(n,44,1,[xm._32(n,45).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50).id,xm._32(n,50).tabIndex,xm._32(n,50)._ariaLabel,xm._32(n,50).ariaLabelledby,xm._32(n,50).required.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).errorState,xm._32(n,50).panelOpen?xm._32(n,50)._optionIds:null,xm._32(n,50).multiple,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50)._getAriaActiveDescendant(),xm._32(n,50).disabled,xm._32(n,50).errorState,xm._32(n,50).required]);l(n,57,0,xm._32(n,58)._getTabIndex(),xm._32(n,58).selected,xm._32(n,58).multiple,xm._32(n,58).active,xm._32(n,58).id,xm._32(n,58).selected.toString(),xm._32(n,58).disabled.toString(),xm._32(n,58).disabled);l(n,61,0,xm._32(n,62)._getTabIndex(),xm._32(n,62).selected,xm._32(n,62).multiple,xm._32(n,62).active,xm._32(n,62).id,xm._32(n,62).selected.toString(),xm._32(n,62).disabled.toString(),xm._32(n,62).disabled);l(n,65,0,xm._32(n,66)._getTabIndex(),xm._32(n,66).selected,xm._32(n,66).multiple,xm._32(n,66).active,xm._32(n,66).id,xm._32(n,66).selected.toString(),xm._32(n,66).disabled.toString(),xm._32(n,66).disabled);l(n,83,1,[xm._32(n,84)._control.errorState,xm._32(n,84)._control.errorState,xm._32(n,84)._canLabelFloat,xm._32(n,84)._shouldLabelFloat(),xm._32(n,84)._hideControlPlaceholder(),xm._32(n,84)._control.disabled,xm._32(n,84)._control.focused,"primary"==xm._32(n,84).color,"accent"==xm._32(n,84).color,"warn"==xm._32(n,84).color,xm._32(n,84)._shouldForward("untouched"),xm._32(n,84)._shouldForward("touched"),xm._32(n,84)._shouldForward("pristine"),xm._32(n,84)._shouldForward("dirty"),xm._32(n,84)._shouldForward("valid"),xm._32(n,84)._shouldForward("invalid"),xm._32(n,84)._shouldForward("pending")]);l(n,95,0,n.context.$implicit.value.main_products);l(n,97,1,[xm._32(n,102).ngClassUntouched,xm._32(n,102).ngClassTouched,xm._32(n,102).ngClassPristine,xm._32(n,102).ngClassDirty,xm._32(n,102).ngClassValid,xm._32(n,102).ngClassInvalid,xm._32(n,102).ngClassPending,xm._32(n,103)._isServer,xm._32(n,103).id,xm._32(n,103).placeholder,xm._32(n,103).disabled,xm._32(n,103).required,xm._32(n,103).readonly,xm._32(n,103)._ariaDescribedby||null,xm._32(n,103).errorState,xm._32(n,103).required.toString()])})}function $u(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","retail_trading_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(4,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),xm._17(7,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Bu)),xm._17(10,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(13,0,null,0,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreRetail()&&u}return u},Db.b,Db.a)),xm._17(14,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(15,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(16,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._18(17,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"retail_trading_activity_details");l(n,10,0,e.businessForm.controls.retail_trading_activity_details.controls);l(n,14,0,"optblue","");l(n,16,0,"add-circle")},function(l,n){l(n,3,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending);l(n,15,0,xm._32(n,16)._hidden)})}function Mu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,458,{_control:0}),xm._37(335544320,459,{_placeholderChild:0}),xm._37(335544320,460,{_labelChild:0}),xm._37(603979776,461,{_errorChildren:1}),xm._37(603979776,462,{_hintChildren:1}),xm._37(603979776,463,{_prefixChildren:1}),xm._37(603979776,464,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePanIndiaOptions(3,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},xv.b,xv.a)),xm._17(11,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,465,{options:1}),xm._37(603979776,466,{optionGroups:1}),xm._37(335544320,467,{customTrigger:0}),xm._36(2048,[[458,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(24,8437760,[[465,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(28,8437760,[[465,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,11).required?"":null,xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16).id,xm._32(n,16).tabIndex,xm._32(n,16)._ariaLabel,xm._32(n,16).ariaLabelledby,xm._32(n,16).required.toString(),xm._32(n,16).disabled.toString(),xm._32(n,16).errorState,xm._32(n,16).panelOpen?xm._32(n,16)._optionIds:null,xm._32(n,16).multiple,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16)._getAriaActiveDescendant(),xm._32(n,16).disabled,xm._32(n,16).errorState,xm._32(n,16).required]);l(n,23,0,xm._32(n,24)._getTabIndex(),xm._32(n,24).selected,xm._32(n,24).multiple,xm._32(n,24).active,xm._32(n,24).id,xm._32(n,24).selected.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).disabled);l(n,27,0,xm._32(n,28)._getTabIndex(),xm._32(n,28).selected,xm._32(n,28).multiple,xm._32(n,28).active,xm._32(n,28).id,xm._32(n,28).selected.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).disabled)})}function Ku(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[475,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Hu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[485,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Gu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Yu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,63,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,468,{_control:0}),xm._37(335544320,469,{_placeholderChild:0}),xm._37(335544320,470,{_labelChild:0}),xm._37(603979776,471,{_errorChildren:1}),xm._37(603979776,472,{_hintChildren:1}),xm._37(603979776,473,{_prefixChildren:1}),xm._37(603979776,474,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,475,{options:1}),xm._37(603979776,476,{optionGroups:1}),xm._37(335544320,477,{customTrigger:0}),xm._36(2048,[[468,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ku)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,478,{_control:0}),xm._37(335544320,479,{_placeholderChild:0}),xm._37(335544320,480,{_labelChild:0}),xm._37(603979776,481,{_errorChildren:1}),xm._37(603979776,482,{_hintChildren:1}),xm._37(603979776,483,{_prefixChildren:1}),xm._37(603979776,484,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,50)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,485,{options:1}),xm._37(603979776,486,{optionGroups:1}),xm._37(335544320,487,{customTrigger:0}),xm._36(2048,[[478,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Hu)),xm._17(57,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._13(16777216,null,null,1,null,Gu)),xm._17(62,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,17).required?"":null,xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,45).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50).id,xm._32(n,50).tabIndex,xm._32(n,50)._ariaLabel,xm._32(n,50).ariaLabelledby,xm._32(n,50).required.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).errorState,xm._32(n,50).panelOpen?xm._32(n,50)._optionIds:null,xm._32(n,50).multiple,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50)._getAriaActiveDescendant(),xm._32(n,50).disabled,xm._32(n,50).errorState,xm._32(n,50).required])})}function Qu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(3,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More State"])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function zu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[495,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ju(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[505,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Xu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:84%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,498,{_control:0}),xm._37(335544320,499,{_placeholderChild:0}),xm._37(335544320,500,{_labelChild:0}),xm._37(603979776,501,{_errorChildren:1}),xm._37(603979776,502,{_hintChildren:1}),xm._37(603979776,503,{_prefixChildren:1}),xm._37(603979776,504,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[500,4]],0,ib.f,[],null,null),(l()(),xm._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,505,{options:1}),xm._37(603979776,506,{optionGroups:1}),xm._37(335544320,507,{customTrigger:0}),xm._36(2048,[[498,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ju)),xm._17(26,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required])})}function Zu(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[["class","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:24%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,488,{_control:0}),xm._37(335544320,489,{_placeholderChild:0}),xm._37(335544320,490,{_labelChild:0}),xm._37(603979776,491,{_errorChildren:1}),xm._37(603979776,492,{_hintChildren:1}),xm._37(603979776,493,{_prefixChildren:1}),xm._37(603979776,494,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[490,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["States Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,495,{options:1}),xm._37(603979776,496,{optionGroups:1}),xm._37(335544320,497,{customTrigger:0}),xm._36(2048,[[488,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,zu)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Xu)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function la(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Zu)),xm._17(6,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending)})}function na(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Yu)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Qu)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,la)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,11,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function ea(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[515,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function ua(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function aa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,59,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,508,{_control:0}),xm._37(335544320,509,{_placeholderChild:0}),xm._37(335544320,510,{_labelChild:0}),xm._37(603979776,511,{_errorChildren:1}),xm._37(603979776,512,{_hintChildren:1}),xm._37(603979776,513,{_prefixChildren:1}),xm._37(603979776,514,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[510,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,515,{options:1}),xm._37(603979776,516,{optionGroups:1}),xm._37(335544320,517,{customTrigger:0}),xm._36(2048,[[508,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ea)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(36,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,518,{_control:0}),xm._37(335544320,519,{_placeholderChild:0}),xm._37(335544320,520,{_labelChild:0}),xm._37(603979776,521,{_errorChildren:1}),xm._37(603979776,522,{_hintChildren:1}),xm._37(603979776,523,{_prefixChildren:1}),xm._37(603979776,524,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}return u},null,null)),xm._17(46,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(47,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[518,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,ua)),xm._17(58,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Sale","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required]);l(n,35,1,[xm._32(n,36)._control.errorState,xm._32(n,36)._control.errorState,xm._32(n,36)._canLabelFloat,xm._32(n,36)._shouldLabelFloat(),xm._32(n,36)._hideControlPlaceholder(),xm._32(n,36)._control.disabled,xm._32(n,36)._control.focused,"primary"==xm._32(n,36).color,"accent"==xm._32(n,36).color,"warn"==xm._32(n,36).color,xm._32(n,36)._shouldForward("untouched"),xm._32(n,36)._shouldForward("touched"),xm._32(n,36)._shouldForward("pristine"),xm._32(n,36)._shouldForward("dirty"),xm._32(n,36)._shouldForward("valid"),xm._32(n,36)._shouldForward("invalid"),xm._32(n,36)._shouldForward("pending")]);l(n,45,1,[xm._32(n,47).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()])})}function ta(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,14,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,11,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,aa)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(11,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More Country"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,11,0,"optblue")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function ia(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,525,{_control:0}),xm._37(335544320,526,{_placeholderChild:0}),xm._37(335544320,527,{_labelChild:0}),xm._37(603979776,528,{_errorChildren:1}),xm._37(603979776,529,{_hintChildren:1}),xm._37(603979776,530,{_prefixChildren:1}),xm._37(603979776,531,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePanIndiaOptions(3,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},xv.b,xv.a)),xm._17(11,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,532,{options:1}),xm._37(603979776,533,{optionGroups:1}),xm._37(335544320,534,{customTrigger:0}),xm._36(2048,[[525,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(24,8437760,[[532,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(28,8437760,[[532,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,11).required?"":null,xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16).id,xm._32(n,16).tabIndex,xm._32(n,16)._ariaLabel,xm._32(n,16).ariaLabelledby,xm._32(n,16).required.toString(),xm._32(n,16).disabled.toString(),xm._32(n,16).errorState,xm._32(n,16).panelOpen?xm._32(n,16)._optionIds:null,xm._32(n,16).multiple,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16)._getAriaActiveDescendant(),xm._32(n,16).disabled,xm._32(n,16).errorState,xm._32(n,16).required]);l(n,23,0,xm._32(n,24)._getTabIndex(),xm._32(n,24).selected,xm._32(n,24).multiple,xm._32(n,24).active,xm._32(n,24).id,xm._32(n,24).selected.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).disabled);l(n,27,0,xm._32(n,28)._getTabIndex(),xm._32(n,28).selected,xm._32(n,28).multiple,xm._32(n,28).active,xm._32(n,28).id,xm._32(n,28).selected.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).disabled)})}function oa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[542,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function ra(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[552,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function _a(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function da(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,63,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,535,{_control:0}),xm._37(335544320,536,{_placeholderChild:0}),xm._37(335544320,537,{_labelChild:0}),xm._37(603979776,538,{_errorChildren:1}),xm._37(603979776,539,{_hintChildren:1}),xm._37(603979776,540,{_prefixChildren:1}),xm._37(603979776,541,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,542,{options:1}),xm._37(603979776,543,{optionGroups:1}),xm._37(335544320,544,{customTrigger:0}),xm._36(2048,[[535,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,oa)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:85%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,545,{_control:0}),xm._37(335544320,546,{_placeholderChild:0}),xm._37(335544320,547,{_labelChild:0}),xm._37(603979776,548,{_errorChildren:1}),xm._37(603979776,549,{_hintChildren:1}),xm._37(603979776,550,{_prefixChildren:1}),xm._37(603979776,551,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,50)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,552,{options:1}),xm._37(603979776,553,{optionGroups:1}),xm._37(335544320,554,{customTrigger:0}),xm._36(2048,[[545,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ra)),xm._17(57,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n\n "])),(l()(),xm._13(16777216,null,null,1,null,_a)),xm._17(62,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,17).required?"":null,xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,45).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50).id,xm._32(n,50).tabIndex,xm._32(n,50)._ariaLabel,xm._32(n,50).ariaLabelledby,xm._32(n,50).required.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).errorState,xm._32(n,50).panelOpen?xm._32(n,50)._optionIds:null,xm._32(n,50).multiple,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50)._getAriaActiveDescendant(),xm._32(n,50).disabled,xm._32(n,50).errorState,xm._32(n,50).required])})}function sa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(3,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add State"])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function ca(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[562,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function ma(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[572,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function pa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,565,{_control:0}),xm._37(335544320,566,{_placeholderChild:0}),xm._37(335544320,567,{_labelChild:0}),xm._37(603979776,568,{_errorChildren:1}),xm._37(603979776,569,{_hintChildren:1}),xm._37(603979776,570,{_prefixChildren:1}),xm._37(603979776,571,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[567,4]],0,ib.f,[],null,null),(l()(),xm._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,572,{options:1}),xm._37(603979776,573,{optionGroups:1}),xm._37(335544320,574,{customTrigger:0}),xm._36(2048,[[565,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ma)),xm._17(26,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required])})}function fa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,555,{_control:0}),xm._37(335544320,556,{_placeholderChild:0}),xm._37(335544320,557,{_labelChild:0}),xm._37(603979776,558,{_errorChildren:1}),xm._37(603979776,559,{_hintChildren:1}),xm._37(603979776,560,{_prefixChildren:1}),xm._37(603979776,561,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[557,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["States Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,562,{options:1}),xm._37(603979776,563,{optionGroups:1}),xm._37(335544320,564,{customTrigger:0}),xm._36(2048,[[555,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ca)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,pa)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function ha(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[582,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function ga(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function ba(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,63,"div",[["class","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,575,{_control:0}),xm._37(335544320,576,{_placeholderChild:0}),xm._37(335544320,577,{_labelChild:0}),xm._37(603979776,578,{_errorChildren:1}),xm._37(603979776,579,{_hintChildren:1}),xm._37(603979776,580,{_prefixChildren:1}),xm._37(603979776,581,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[577,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["Cities Where Max Sales Done for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(20,16384,[[577,4]],0,ib.f,[],null,null),(l()(),xm._39(21,null,["Countries Where The Export Is Being Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,28)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,28)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(25,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(27,16384,null,0,Km.s,[Km.r],null,null),xm._17(28,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,582,{options:1}),xm._37(603979776,583,{optionGroups:1}),xm._37(335544320,584,{customTrigger:0}),xm._36(2048,[[575,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ha)),xm._17(35,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(40,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,585,{_control:0}),xm._37(335544320,586,{_placeholderChild:0}),xm._37(335544320,587,{_labelChild:0}),xm._37(603979776,588,{_errorChildren:1}),xm._37(603979776,589,{_hintChildren:1}),xm._37(603979776,590,{_prefixChildren:1}),xm._37(603979776,591,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(49,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,57)._onInput()&&u}return u},null,null)),xm._17(50,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(51,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(54,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(56,16384,null,0,Km.s,[Km.r],null,null),xm._17(57,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[585,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._13(16777216,null,null,1,null,ga)),xm._17(62,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,25,0,"country_name");l(n,28,0,"Countries");l(n,35,0,e.countryDataList);l(n,51,0,"");l(n,54,0,"approx_sale");l(n,57,0,"Approx % of Sale","");l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,21,0,n.parent.parent.context.$implicit.value.main_products);l(n,23,1,[xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending,xm._32(n,28).id,xm._32(n,28).tabIndex,xm._32(n,28)._ariaLabel,xm._32(n,28).ariaLabelledby,xm._32(n,28).required.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).errorState,xm._32(n,28).panelOpen?xm._32(n,28)._optionIds:null,xm._32(n,28).multiple,xm._32(n,28)._ariaDescribedby||null,xm._32(n,28)._getAriaActiveDescendant(),xm._32(n,28).disabled,xm._32(n,28).errorState,xm._32(n,28).required]);l(n,39,1,[xm._32(n,40)._control.errorState,xm._32(n,40)._control.errorState,xm._32(n,40)._canLabelFloat,xm._32(n,40)._shouldLabelFloat(),xm._32(n,40)._hideControlPlaceholder(),xm._32(n,40)._control.disabled,xm._32(n,40)._control.focused,"primary"==xm._32(n,40).color,"accent"==xm._32(n,40).color,"warn"==xm._32(n,40).color,xm._32(n,40)._shouldForward("untouched"),xm._32(n,40)._shouldForward("touched"),xm._32(n,40)._shouldForward("pristine"),xm._32(n,40)._shouldForward("dirty"),xm._32(n,40)._shouldForward("valid"),xm._32(n,40)._shouldForward("invalid"),xm._32(n,40)._shouldForward("pending")]);l(n,49,1,[xm._32(n,51).required?"":null,xm._32(n,56).ngClassUntouched,xm._32(n,56).ngClassTouched,xm._32(n,56).ngClassPristine,xm._32(n,56).ngClassDirty,xm._32(n,56).ngClassValid,xm._32(n,56).ngClassInvalid,xm._32(n,56).ngClassPending,xm._32(n,57)._isServer,xm._32(n,57).id,xm._32(n,57).placeholder,xm._32(n,57).disabled,xm._32(n,57).required,xm._32(n,57).readonly,xm._32(n,57)._ariaDescribedby||null,xm._32(n,57).errorState,xm._32(n,57).required.toString()])})}function va(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,47,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Within India"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,4,"div",[["class","tab_class state-margin"],["fxLayout","row nowrap"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ia)),xm._17(8,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(12,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(14,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,da)),xm._17(17,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,sa)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(24,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(26,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,fa)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Export"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,11,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(36,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(38,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ba)),xm._17(41,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(44,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add State"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,44,0,"optblue")},function(l,n){l(n,11,0,xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending);l(n,23,0,xm._32(n,26).ngClassUntouched,xm._32(n,26).ngClassTouched,xm._32(n,26).ngClassPristine,xm._32(n,26).ngClassDirty,xm._32(n,26).ngClassValid,xm._32(n,26).ngClassInvalid,xm._32(n,26).ngClassPending);l(n,35,0,xm._32(n,38).ngClassUntouched,xm._32(n,38).ngClassTouched,xm._32(n,38).ngClassPristine,xm._32(n,38).ngClassDirty,xm._32(n,38).ngClassValid,xm._32(n,38).ngClassInvalid,xm._32(n,38).ngClassPending)})}function ya(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,115,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(8,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(9,null,["Wholesale Trade Details ",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,74,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(13,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(15,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(16,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,441,{_control:0}),xm._37(335544320,442,{_placeholderChild:0}),xm._37(335544320,443,{_labelChild:0}),xm._37(603979776,444,{_errorChildren:1}),xm._37(603979776,445,{_hintChildren:1}),xm._37(603979776,446,{_prefixChildren:1}),xm._37(603979776,447,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,33)._onInput()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(27,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(30,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(32,16384,null,0,Km.s,[Km.r],null,null),xm._17(33,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[441,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,448,{_control:0}),xm._37(335544320,449,{_placeholderChild:0}),xm._37(335544320,450,{_labelChild:0}),xm._37(603979776,451,{_errorChildren:1}),xm._37(603979776,452,{_hintChildren:1}),xm._37(603979776,453,{_prefixChildren:1}),xm._37(603979776,454,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,53)._onBlur()&&u}if("selectionChange"===n){a.changeWholesaleAreaSale(l.context.$implicit,l.context.index);u=!1!==a.CheckExport(e.value,"WActivity",l.context.index)&&u}return u},xv.b,xv.a)),xm._17(48,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,455,{options:1}),xm._37(603979776,456,{optionGroups:1}),xm._37(335544320,457,{customTrigger:0}),xm._36(2048,[[448,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,61)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(61,8437760,[[455,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Within India"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(64,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,65)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(65,8437760,[[455,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Export"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(68,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,69)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(69,8437760,[[455,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Both"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Mu)),xm._17(76,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,na)),xm._17(79,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,ta)),xm._17(82,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,va)),xm._17(85,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(88,0,null,null,26,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(89,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(91,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(92,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,592,{_control:0}),xm._37(335544320,593,{_placeholderChild:0}),xm._37(335544320,594,{_labelChild:0}),xm._37(603979776,595,{_errorChildren:1}),xm._37(603979776,596,{_hintChildren:1}),xm._37(603979776,597,{_prefixChildren:1}),xm._37(603979776,598,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(101,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(102,16384,[[594,4]],0,ib.f,[],null,null),(l()(),xm._39(103,null,["Description of ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(105,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,106)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,111)._onInput()&&u}return u},null,null)),xm._17(106,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(108,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(110,16384,null,0,Km.s,[Km.r],null,null),xm._17(111,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[592,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"");l(n,30,0,"main_products");l(n,33,0,"Main Product","","text");l(n,48,0,"");l(n,50,0,"area_of_sale");l(n,53,0,"Area of Sale","");l(n,61,0,"Within India");l(n,65,0,"Export");l(n,69,0,"Both");l(n,76,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,79,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,82,0,void 0==n.context.$implicit.value.india_where_sale_done&&void 0!=n.context.$implicit.value.countries_where_export_done);l(n,85,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,108,0,"description");l(n,111,0,"Description")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[xm._32(n,16)._control.errorState,xm._32(n,16)._control.errorState,xm._32(n,16)._canLabelFloat,xm._32(n,16)._shouldLabelFloat(),xm._32(n,16)._hideControlPlaceholder(),xm._32(n,16)._control.disabled,xm._32(n,16)._control.focused,"primary"==xm._32(n,16).color,"accent"==xm._32(n,16).color,"warn"==xm._32(n,16).color,xm._32(n,16)._shouldForward("untouched"),xm._32(n,16)._shouldForward("touched"),xm._32(n,16)._shouldForward("pristine"),xm._32(n,16)._shouldForward("dirty"),xm._32(n,16)._shouldForward("valid"),xm._32(n,16)._shouldForward("invalid"),xm._32(n,16)._shouldForward("pending")]);l(n,25,1,[xm._32(n,27).required?"":null,xm._32(n,32).ngClassUntouched,xm._32(n,32).ngClassTouched,xm._32(n,32).ngClassPristine,xm._32(n,32).ngClassDirty,xm._32(n,32).ngClassValid,xm._32(n,32).ngClassInvalid,xm._32(n,32).ngClassPending,xm._32(n,33)._isServer,xm._32(n,33).id,xm._32(n,33).placeholder,xm._32(n,33).disabled,xm._32(n,33).required,xm._32(n,33).readonly,xm._32(n,33)._ariaDescribedby||null,xm._32(n,33).errorState,xm._32(n,33).required.toString()]);l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,1,[xm._32(n,48).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53).id,xm._32(n,53).tabIndex,xm._32(n,53)._ariaLabel,xm._32(n,53).ariaLabelledby,xm._32(n,53).required.toString(),xm._32(n,53).disabled.toString(),xm._32(n,53).errorState,xm._32(n,53).panelOpen?xm._32(n,53)._optionIds:null,xm._32(n,53).multiple,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53)._getAriaActiveDescendant(),xm._32(n,53).disabled,xm._32(n,53).errorState,xm._32(n,53).required]);l(n,60,0,xm._32(n,61)._getTabIndex(),xm._32(n,61).selected,xm._32(n,61).multiple,xm._32(n,61).active,xm._32(n,61).id,xm._32(n,61).selected.toString(),xm._32(n,61).disabled.toString(),xm._32(n,61).disabled);l(n,64,0,xm._32(n,65)._getTabIndex(),xm._32(n,65).selected,xm._32(n,65).multiple,xm._32(n,65).active,xm._32(n,65).id,xm._32(n,65).selected.toString(),xm._32(n,65).disabled.toString(),xm._32(n,65).disabled);l(n,68,0,xm._32(n,69)._getTabIndex(),xm._32(n,69).selected,xm._32(n,69).multiple,xm._32(n,69).active,xm._32(n,69).id,xm._32(n,69).selected.toString(),xm._32(n,69).disabled.toString(),xm._32(n,69).disabled);l(n,88,0,"end"===xm._32(n,89).align);l(n,91,1,[xm._32(n,92)._control.errorState,xm._32(n,92)._control.errorState,xm._32(n,92)._canLabelFloat,xm._32(n,92)._shouldLabelFloat(),xm._32(n,92)._hideControlPlaceholder(),xm._32(n,92)._control.disabled,xm._32(n,92)._control.focused,"primary"==xm._32(n,92).color,"accent"==xm._32(n,92).color,"warn"==xm._32(n,92).color,xm._32(n,92)._shouldForward("untouched"),xm._32(n,92)._shouldForward("touched"),xm._32(n,92)._shouldForward("pristine"),xm._32(n,92)._shouldForward("dirty"),xm._32(n,92)._shouldForward("valid"),xm._32(n,92)._shouldForward("invalid"),xm._32(n,92)._shouldForward("pending")]);l(n,103,0,n.context.$implicit.value.main_products);l(n,105,1,[xm._32(n,110).ngClassUntouched,xm._32(n,110).ngClassTouched,xm._32(n,110).ngClassPristine,xm._32(n,110).ngClassDirty,xm._32(n,110).ngClassValid,xm._32(n,110).ngClassInvalid,xm._32(n,110).ngClassPending,xm._32(n,111)._isServer,xm._32(n,111).id,xm._32(n,111).placeholder,xm._32(n,111).disabled,xm._32(n,111).required,xm._32(n,111).readonly,xm._32(n,111)._ariaDescribedby||null,xm._32(n,111).errorState,xm._32(n,111).required.toString()])})}function Ca(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(3,0,null,0,7,"div",[["formArrayName","wholesale_trading_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(4,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ya)),xm._17(9,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreWholesale()&&u}return u},Db.b,Db.a)),xm._17(13,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(14,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(15,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"wholesale_trading_activity_details");l(n,9,0,e.businessForm.controls.wholesale_trading_activity_details.controls);l(n,13,0,"optblue","");l(n,15,0,"add-circle")},function(l,n){l(n,3,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending);l(n,14,0,xm._32(n,15)._hidden)})}function wa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,616,{_control:0}),xm._37(335544320,617,{_placeholderChild:0}),xm._37(335544320,618,{_labelChild:0}),xm._37(603979776,619,{_errorChildren:1}),xm._37(603979776,620,{_hintChildren:1}),xm._37(603979776,621,{_prefixChildren:1}),xm._37(603979776,622,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePanIndiaOptions(4,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},xv.b,xv.a)),xm._17(11,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,623,{options:1}),xm._37(603979776,624,{optionGroups:1}),xm._37(335544320,625,{customTrigger:0}),xm._36(2048,[[616,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(24,8437760,[[623,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(28,8437760,[[623,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,11).required?"":null,xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16).id,xm._32(n,16).tabIndex,xm._32(n,16)._ariaLabel,xm._32(n,16).ariaLabelledby,xm._32(n,16).required.toString(),xm._32(n,16).disabled.toString(),xm._32(n,16).errorState,xm._32(n,16).panelOpen?xm._32(n,16)._optionIds:null,xm._32(n,16).multiple,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16)._getAriaActiveDescendant(),xm._32(n,16).disabled,xm._32(n,16).errorState,xm._32(n,16).required]);l(n,23,0,xm._32(n,24)._getTabIndex(),xm._32(n,24).selected,xm._32(n,24).multiple,xm._32(n,24).active,xm._32(n,24).id,xm._32(n,24).selected.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).disabled);l(n,27,0,xm._32(n,28)._getTabIndex(),xm._32(n,28).selected,xm._32(n,28).multiple,xm._32(n,28).active,xm._32(n,28).id,xm._32(n,28).selected.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).disabled)})}function Fa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[633,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function xa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[643,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Sa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Ia(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,63,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,626,{_control:0}),xm._37(335544320,627,{_placeholderChild:0}),xm._37(335544320,628,{_labelChild:0}),xm._37(603979776,629,{_errorChildren:1}),xm._37(603979776,630,{_hintChildren:1}),xm._37(603979776,631,{_prefixChildren:1}),xm._37(603979776,632,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","Where, In India, Is The Service Provided"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,633,{options:1}),xm._37(603979776,634,{optionGroups:1}),xm._37(335544320,635,{customTrigger:0}),xm._36(2048,[[626,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Fa)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,636,{_control:0}),xm._37(335544320,637,{_placeholderChild:0}),xm._37(335544320,638,{_labelChild:0}),xm._37(603979776,639,{_errorChildren:1}),xm._37(603979776,640,{_hintChildren:1}),xm._37(603979776,641,{_prefixChildren:1}),xm._37(603979776,642,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,50)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,643,{options:1}),xm._37(603979776,644,{optionGroups:1}),xm._37(335544320,645,{customTrigger:0}),xm._36(2048,[[636,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,xa)),xm._17(57,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Sa)),xm._17(62,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"Where, In India, Is The Service Provided","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,17).required?"":null,xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,45).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50).id,xm._32(n,50).tabIndex,xm._32(n,50)._ariaLabel,xm._32(n,50).ariaLabelledby,xm._32(n,50).required.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).errorState,xm._32(n,50).panelOpen?xm._32(n,50)._optionIds:null,xm._32(n,50).multiple,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50)._getAriaActiveDescendant(),xm._32(n,50).disabled,xm._32(n,50).errorState,xm._32(n,50).required])})}function qa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.context.index,1)&&u}return u},Db.b,Db.a)),xm._17(3,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More State"])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function ka(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[653,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Pa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[663,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Da(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,656,{_control:0}),xm._37(335544320,657,{_placeholderChild:0}),xm._37(335544320,658,{_labelChild:0}),xm._37(603979776,659,{_errorChildren:1}),xm._37(603979776,660,{_hintChildren:1}),xm._37(603979776,661,{_prefixChildren:1}),xm._37(603979776,662,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[658,4]],0,ib.f,[],null,null),(l()(),xm._39(12,null,["Cities Where Max Revenue From Services for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,663,{options:1}),xm._37(603979776,664,{optionGroups:1}),xm._37(335544320,665,{customTrigger:0}),xm._36(2048,[[656,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Pa)),xm._17(26,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required])})}function Ta(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,646,{_control:0}),xm._37(335544320,647,{_placeholderChild:0}),xm._37(335544320,648,{_labelChild:0}),xm._37(603979776,649,{_errorChildren:1}),xm._37(603979776,650,{_hintChildren:1}),xm._37(603979776,651,{_prefixChildren:1}),xm._37(603979776,652,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[648,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["States Where Max Revenue From Services for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,653,{options:1}),xm._37(603979776,654,{optionGroups:1}),xm._37(335544320,655,{customTrigger:0}),xm._36(2048,[[646,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ka)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Da)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function Oa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ta)),xm._17(6,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending)})}function La(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ia)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,qa)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Oa)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,11,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function Aa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[673,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Va(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function ja(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,59,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:55%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,666,{_control:0}),xm._37(335544320,667,{_placeholderChild:0}),xm._37(335544320,668,{_labelChild:0}),xm._37(603979776,669,{_errorChildren:1}),xm._37(603979776,670,{_hintChildren:1}),xm._37(603979776,671,{_prefixChildren:1}),xm._37(603979776,672,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[668,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,673,{options:1}),xm._37(603979776,674,{optionGroups:1}),xm._37(335544320,675,{customTrigger:0}),xm._36(2048,[[666,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Aa)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(36,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,676,{_control:0}),xm._37(335544320,677,{_placeholderChild:0}),xm._37(335544320,678,{_labelChild:0}),xm._37(603979776,679,{_errorChildren:1}),xm._37(603979776,680,{_hintChildren:1}),xm._37(603979776,681,{_prefixChildren:1}),xm._37(603979776,682,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Revenue From Service"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}return u},null,null)),xm._17(46,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(47,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[676,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Va)),xm._17(58,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Revenue From Service","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required]);l(n,35,1,[xm._32(n,36)._control.errorState,xm._32(n,36)._control.errorState,xm._32(n,36)._canLabelFloat,xm._32(n,36)._shouldLabelFloat(),xm._32(n,36)._hideControlPlaceholder(),xm._32(n,36)._control.disabled,xm._32(n,36)._control.focused,"primary"==xm._32(n,36).color,"accent"==xm._32(n,36).color,"warn"==xm._32(n,36).color,xm._32(n,36)._shouldForward("untouched"),xm._32(n,36)._shouldForward("touched"),xm._32(n,36)._shouldForward("pristine"),xm._32(n,36)._shouldForward("dirty"),xm._32(n,36)._shouldForward("valid"),xm._32(n,36)._shouldForward("invalid"),xm._32(n,36)._shouldForward("pending")]);l(n,45,1,[xm._32(n,47).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()])})}function Na(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ja)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,5,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(14,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More Country"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,14,0,"optblue")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function Ea(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,683,{_control:0}),xm._37(335544320,684,{_placeholderChild:0}),xm._37(335544320,685,{_labelChild:0}),xm._37(603979776,686,{_errorChildren:1}),xm._37(603979776,687,{_hintChildren:1}),xm._37(603979776,688,{_prefixChildren:1}),xm._37(603979776,689,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.changePanIndiaOptions(4,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},xv.b,xv.a)),xm._17(11,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,690,{options:1}),xm._37(603979776,691,{optionGroups:1}),xm._37(335544320,692,{customTrigger:0}),xm._36(2048,[[683,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(24,8437760,[[690,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(28,8437760,[[690,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,11).required?"":null,xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16).id,xm._32(n,16).tabIndex,xm._32(n,16)._ariaLabel,xm._32(n,16).ariaLabelledby,xm._32(n,16).required.toString(),xm._32(n,16).disabled.toString(),xm._32(n,16).errorState,xm._32(n,16).panelOpen?xm._32(n,16)._optionIds:null,xm._32(n,16).multiple,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16)._getAriaActiveDescendant(),xm._32(n,16).disabled,xm._32(n,16).errorState,xm._32(n,16).required]);l(n,23,0,xm._32(n,24)._getTabIndex(),xm._32(n,24).selected,xm._32(n,24).multiple,xm._32(n,24).active,xm._32(n,24).id,xm._32(n,24).selected.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).disabled);l(n,27,0,xm._32(n,28)._getTabIndex(),xm._32(n,28).selected,xm._32(n,28).multiple,xm._32(n,28).active,xm._32(n,28).id,xm._32(n,28).selected.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).disabled)})}function Wa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[700,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ra(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[710,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ua(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Ba(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,63,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,693,{_control:0}),xm._37(335544320,694,{_placeholderChild:0}),xm._37(335544320,695,{_labelChild:0}),xm._37(603979776,696,{_errorChildren:1}),xm._37(603979776,697,{_hintChildren:1}),xm._37(603979776,698,{_prefixChildren:1}),xm._37(603979776,699,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","Where, In India, Is The Service Provided"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,700,{options:1}),xm._37(603979776,701,{optionGroups:1}),xm._37(335544320,702,{customTrigger:0}),xm._36(2048,[[693,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Wa)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,703,{_control:0}),xm._37(335544320,704,{_placeholderChild:0}),xm._37(335544320,705,{_labelChild:0}),xm._37(603979776,706,{_errorChildren:1}),xm._37(603979776,707,{_hintChildren:1}),xm._37(603979776,708,{_prefixChildren:1}),xm._37(603979776,709,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,50)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,710,{options:1}),xm._37(603979776,711,{optionGroups:1}),xm._37(335544320,712,{customTrigger:0}),xm._36(2048,[[703,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ra)),xm._17(57,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Ua)),xm._17(62,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"Where, In India, Is The Service Provided","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,17).required?"":null,xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,45).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50).id,xm._32(n,50).tabIndex,xm._32(n,50)._ariaLabel,xm._32(n,50).ariaLabelledby,xm._32(n,50).required.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).errorState,xm._32(n,50).panelOpen?xm._32(n,50)._optionIds:null,xm._32(n,50).multiple,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50)._getAriaActiveDescendant(),xm._32(n,50).disabled,xm._32(n,50).errorState,xm._32(n,50).required])})}function $a(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.context.index,"1")&&u}return u},Db.b,Db.a)),xm._17(3,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More State"])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function Ma(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[720,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ka(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[730,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ha(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,723,{_control:0}),xm._37(335544320,724,{_placeholderChild:0}),xm._37(335544320,725,{_labelChild:0}),xm._37(603979776,726,{_errorChildren:1}),xm._37(603979776,727,{_hintChildren:1}),xm._37(603979776,728,{_prefixChildren:1}),xm._37(603979776,729,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[725,4]],0,ib.f,[],null,null),(l()(),xm._39(12,null,["Cities Where Max Revenue From Services for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,730,{options:1}),xm._37(603979776,731,{optionGroups:1}),xm._37(335544320,732,{customTrigger:0}),xm._36(2048,[[723,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ka)),xm._17(26,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required])})}function Ga(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[["clas","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,713,{_control:0}),xm._37(335544320,714,{_placeholderChild:0}),xm._37(335544320,715,{_labelChild:0}),xm._37(603979776,716,{_errorChildren:1}),xm._37(603979776,717,{_hintChildren:1}),xm._37(603979776,718,{_prefixChildren:1}),xm._37(603979776,719,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[715,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["States Where Max Revenue From Services for ",""])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),xm._37(603979776,720,{options:1}),xm._37(603979776,721,{optionGroups:1}),xm._37(335544320,722,{customTrigger:0}),xm._36(2048,[[713,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ma)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ha)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required])})}function Ya(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[740,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Qa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function za(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,59,"div",[["class","tab_class state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,733,{_control:0}),xm._37(335544320,734,{_placeholderChild:0}),xm._37(335544320,735,{_labelChild:0}),xm._37(603979776,736,{_errorChildren:1}),xm._37(603979776,737,{_hintChildren:1}),xm._37(603979776,738,{_prefixChildren:1}),xm._37(603979776,739,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(16,16384,[[735,4]],0,ib.f,[],null,null),(l()(),xm._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,24)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,740,{options:1}),xm._37(603979776,741,{optionGroups:1}),xm._37(335544320,742,{customTrigger:0}),xm._36(2048,[[733,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ya)),xm._17(31,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(36,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,743,{_control:0}),xm._37(335544320,744,{_placeholderChild:0}),xm._37(335544320,745,{_labelChild:0}),xm._37(603979776,746,{_errorChildren:1}),xm._37(603979776,747,{_hintChildren:1}),xm._37(603979776,748,{_prefixChildren:1}),xm._37(603979776,749,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Revenue From Service"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}return u},null,null)),xm._17(46,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(47,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[743,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._13(16777216,null,null,1,null,Qa)),xm._17(58,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Revenue From Service","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24).id,xm._32(n,24).tabIndex,xm._32(n,24)._ariaLabel,xm._32(n,24).ariaLabelledby,xm._32(n,24).required.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).errorState,xm._32(n,24).panelOpen?xm._32(n,24)._optionIds:null,xm._32(n,24).multiple,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24)._getAriaActiveDescendant(),xm._32(n,24).disabled,xm._32(n,24).errorState,xm._32(n,24).required]);l(n,35,1,[xm._32(n,36)._control.errorState,xm._32(n,36)._control.errorState,xm._32(n,36)._canLabelFloat,xm._32(n,36)._shouldLabelFloat(),xm._32(n,36)._hideControlPlaceholder(),xm._32(n,36)._control.disabled,xm._32(n,36)._control.focused,"primary"==xm._32(n,36).color,"accent"==xm._32(n,36).color,"warn"==xm._32(n,36).color,xm._32(n,36)._shouldForward("untouched"),xm._32(n,36)._shouldForward("touched"),xm._32(n,36)._shouldForward("pristine"),xm._32(n,36)._shouldForward("dirty"),xm._32(n,36)._shouldForward("valid"),xm._32(n,36)._shouldForward("invalid"),xm._32(n,36)._shouldForward("pending")]);l(n,45,1,[xm._32(n,47).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()])})}function Ja(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,50,null,null,null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Within India"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,4,"div",[["class","tab_class state-margin"],["fxLayout","row nowrap"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ea)),xm._17(8,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(12,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(14,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ba)),xm._17(17,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,$a)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(24,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(26,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ga)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Export"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,14,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(36,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(38,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,za)),xm._17(41,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,5,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(45,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.context.index,"2")&&u}return u},Db.b,Db.a)),xm._17(46,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More Country"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,46,0,"optblue")},function(l,n){l(n,11,0,xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending);l(n,23,0,xm._32(n,26).ngClassUntouched,xm._32(n,26).ngClassTouched,xm._32(n,26).ngClassPristine,xm._32(n,26).ngClassDirty,xm._32(n,26).ngClassValid,xm._32(n,26).ngClassInvalid,xm._32(n,26).ngClassPending);l(n,35,0,xm._32(n,38).ngClassUntouched,xm._32(n,38).ngClassTouched,xm._32(n,38).ngClassPristine,xm._32(n,38).ngClassDirty,xm._32(n,38).ngClassValid,xm._32(n,38).ngClassInvalid,xm._32(n,38).ngClassPending)})}function Xa(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,115,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(8,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(9,null,["Service Provider Details ",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,65,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(13,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(15,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(16,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,599,{_control:0}),xm._37(335544320,600,{_placeholderChild:0}),xm._37(335544320,601,{_labelChild:0}),xm._37(603979776,602,{_errorChildren:1}),xm._37(603979776,603,{_hintChildren:1}),xm._37(603979776,604,{_prefixChildren:1}),xm._37(603979776,605,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Services Provided"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,33)._onInput()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(27,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(30,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(32,16384,null,0,Km.s,[Km.r],null,null),xm._17(33,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[599,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,606,{_control:0}),xm._37(335544320,607,{_placeholderChild:0}),xm._37(335544320,608,{_labelChild:0}),xm._37(603979776,609,{_errorChildren:1}),xm._37(603979776,610,{_hintChildren:1}),xm._37(603979776,611,{_prefixChildren:1}),xm._37(603979776,612,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Service"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,53)._onBlur()&&u}if("selectionChange"===n){a.changeServiceArea(l.context.$implicit,l.context.index);u=!1!==a.CheckExport(e.value,"SActivity",l.context.index)&&u}return u},xv.b,xv.a)),xm._17(48,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,613,{options:1}),xm._37(603979776,614,{optionGroups:1}),xm._37(335544320,615,{customTrigger:0}),xm._36(2048,[[606,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,61)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(61,8437760,[[613,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Within India"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(64,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,65)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(65,8437760,[[613,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Export"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(68,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,69)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(69,8437760,[[613,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Both"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,wa)),xm._17(76,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,La)),xm._17(80,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Na)),xm._17(83,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ja)),xm._17(86,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n \n "])),(l()(),xm._18(88,0,null,null,26,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(89,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(91,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(92,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,750,{_control:0}),xm._37(335544320,751,{_placeholderChild:0}),xm._37(335544320,752,{_labelChild:0}),xm._37(603979776,753,{_errorChildren:1}),xm._37(603979776,754,{_hintChildren:1}),xm._37(603979776,755,{_prefixChildren:1}),xm._37(603979776,756,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(101,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(102,16384,[[752,4]],0,ib.f,[],null,null),(l()(),xm._39(103,null,["Description of ",""])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(105,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,106)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,111)._onInput()&&u}return u},null,null)),xm._17(106,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(108,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(110,16384,null,0,Km.s,[Km.r],null,null),xm._17(111,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[750,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"");l(n,30,0,"main_products");l(n,33,0,"Services Provided","","text");l(n,48,0,"");l(n,50,0,"area_of_sale");l(n,53,0,"Area of Service","");l(n,61,0,"Within India");l(n,65,0,"Export");l(n,69,0,"Both");l(n,76,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,80,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,83,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0==n.context.$implicit.value.india_where_sale_done);l(n,86,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,108,0,"description");l(n,111,0,"Description")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[xm._32(n,16)._control.errorState,xm._32(n,16)._control.errorState,xm._32(n,16)._canLabelFloat,xm._32(n,16)._shouldLabelFloat(),xm._32(n,16)._hideControlPlaceholder(),xm._32(n,16)._control.disabled,xm._32(n,16)._control.focused,"primary"==xm._32(n,16).color,"accent"==xm._32(n,16).color,"warn"==xm._32(n,16).color,xm._32(n,16)._shouldForward("untouched"),xm._32(n,16)._shouldForward("touched"),xm._32(n,16)._shouldForward("pristine"),xm._32(n,16)._shouldForward("dirty"),xm._32(n,16)._shouldForward("valid"),xm._32(n,16)._shouldForward("invalid"),xm._32(n,16)._shouldForward("pending")]);l(n,25,1,[xm._32(n,27).required?"":null,xm._32(n,32).ngClassUntouched,xm._32(n,32).ngClassTouched,xm._32(n,32).ngClassPristine,xm._32(n,32).ngClassDirty,xm._32(n,32).ngClassValid,xm._32(n,32).ngClassInvalid,xm._32(n,32).ngClassPending,xm._32(n,33)._isServer,xm._32(n,33).id,xm._32(n,33).placeholder,xm._32(n,33).disabled,xm._32(n,33).required,xm._32(n,33).readonly,xm._32(n,33)._ariaDescribedby||null,xm._32(n,33).errorState,xm._32(n,33).required.toString()]);l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,1,[xm._32(n,48).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53).id,xm._32(n,53).tabIndex,xm._32(n,53)._ariaLabel,xm._32(n,53).ariaLabelledby,xm._32(n,53).required.toString(),xm._32(n,53).disabled.toString(),xm._32(n,53).errorState,xm._32(n,53).panelOpen?xm._32(n,53)._optionIds:null,xm._32(n,53).multiple,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53)._getAriaActiveDescendant(),xm._32(n,53).disabled,xm._32(n,53).errorState,xm._32(n,53).required]);l(n,60,0,xm._32(n,61)._getTabIndex(),xm._32(n,61).selected,xm._32(n,61).multiple,xm._32(n,61).active,xm._32(n,61).id,xm._32(n,61).selected.toString(),xm._32(n,61).disabled.toString(),xm._32(n,61).disabled);l(n,64,0,xm._32(n,65)._getTabIndex(),xm._32(n,65).selected,xm._32(n,65).multiple,xm._32(n,65).active,xm._32(n,65).id,xm._32(n,65).selected.toString(),xm._32(n,65).disabled.toString(),xm._32(n,65).disabled);l(n,68,0,xm._32(n,69)._getTabIndex(),xm._32(n,69).selected,xm._32(n,69).multiple,xm._32(n,69).active,xm._32(n,69).id,xm._32(n,69).selected.toString(),xm._32(n,69).disabled.toString(),xm._32(n,69).disabled);l(n,88,0,"end"===xm._32(n,89).align);l(n,91,1,[xm._32(n,92)._control.errorState,xm._32(n,92)._control.errorState,xm._32(n,92)._canLabelFloat,xm._32(n,92)._shouldLabelFloat(),xm._32(n,92)._hideControlPlaceholder(),xm._32(n,92)._control.disabled,xm._32(n,92)._control.focused,"primary"==xm._32(n,92).color,"accent"==xm._32(n,92).color,"warn"==xm._32(n,92).color,xm._32(n,92)._shouldForward("untouched"),xm._32(n,92)._shouldForward("touched"),xm._32(n,92)._shouldForward("pristine"),xm._32(n,92)._shouldForward("dirty"),xm._32(n,92)._shouldForward("valid"),xm._32(n,92)._shouldForward("invalid"),xm._32(n,92)._shouldForward("pending")]);l(n,103,0,n.context.$implicit.value.main_products);l(n,105,1,[xm._32(n,110).ngClassUntouched,xm._32(n,110).ngClassTouched,xm._32(n,110).ngClassPristine,xm._32(n,110).ngClassDirty,xm._32(n,110).ngClassValid,xm._32(n,110).ngClassInvalid,xm._32(n,110).ngClassPending,xm._32(n,111)._isServer,xm._32(n,111).id,xm._32(n,111).placeholder,xm._32(n,111).disabled,xm._32(n,111).required,xm._32(n,111).readonly,xm._32(n,111)._ariaDescribedby||null,xm._32(n,111).errorState,xm._32(n,111).required.toString()])})}function Za(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,7,"div",[["formArrayName","service_provider_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(4,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Xa)),xm._17(9,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,0,["\n"])),(l()(),xm._18(12,0,null,0,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreServiceprovider()&&u}return u},Db.b,Db.a)),xm._17(13,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(14,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(15,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n \n "]))],function(l,n){var e=n.component;l(n,4,0,"service_provider_activity_details");l(n,9,0,e.businessForm.controls.service_provider_activity_details.controls);l(n,13,0,"optblue","");l(n,15,0,"add-circle")},function(l,n){l(n,3,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending);l(n,14,0,xm._32(n,15)._hidden)})}function lt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(8,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(9,null,["Other Details ",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,24,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(13,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(15,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(16,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,757,{_control:0}),xm._37(335544320,758,{_placeholderChild:0}),xm._37(335544320,759,{_labelChild:0}),xm._37(603979776,760,{_errorChildren:1}),xm._37(603979776,761,{_hintChildren:1}),xm._37(603979776,762,{_prefixChildren:1}),xm._37(603979776,763,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_details"],["matInput",""],["placeholder","Other Details"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,33)._onInput()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(27,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(30,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(32,16384,null,0,Km.s,[Km.r],null,null),xm._17(33,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[757,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"");l(n,30,0,"others_details");l(n,33,0,"Other Details","")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[xm._32(n,16)._control.errorState,xm._32(n,16)._control.errorState,xm._32(n,16)._canLabelFloat,xm._32(n,16)._shouldLabelFloat(),xm._32(n,16)._hideControlPlaceholder(),xm._32(n,16)._control.disabled,xm._32(n,16)._control.focused,"primary"==xm._32(n,16).color,"accent"==xm._32(n,16).color,"warn"==xm._32(n,16).color,xm._32(n,16)._shouldForward("untouched"),xm._32(n,16)._shouldForward("touched"),xm._32(n,16)._shouldForward("pristine"),xm._32(n,16)._shouldForward("dirty"),xm._32(n,16)._shouldForward("valid"),xm._32(n,16)._shouldForward("invalid"),xm._32(n,16)._shouldForward("pending")]);l(n,25,1,[xm._32(n,27).required?"":null,xm._32(n,32).ngClassUntouched,xm._32(n,32).ngClassTouched,xm._32(n,32).ngClassPristine,xm._32(n,32).ngClassDirty,xm._32(n,32).ngClassValid,xm._32(n,32).ngClassInvalid,xm._32(n,32).ngClassPending,xm._32(n,33)._isServer,xm._32(n,33).id,xm._32(n,33).placeholder,xm._32(n,33).disabled,xm._32(n,33).required,xm._32(n,33).readonly,xm._32(n,33)._ariaDescribedby||null,xm._32(n,33).errorState,xm._32(n,33).required.toString()])})}function nt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","others_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(4,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),xm._17(7,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,lt)),xm._17(10,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(13,0,null,0,4,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreOthersActivity()&&u}return u},Db.b,Db.a)),xm._17(14,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._39(-1,0,[" "])),(l()(),xm._18(16,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(17,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._18(18,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n \n "]))],function(l,n){var e=n.component;l(n,4,0,"others_activity_details");l(n,10,0,e.businessForm.controls.others_activity_details.controls);l(n,14,0,"optblue","");l(n,17,0,"add-circle")},function(l,n){l(n,3,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending);l(n,16,0,xm._32(n,17)._hidden)})}function et(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,34,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(4,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(7,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["Export Sale As a % Total Sales"])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(11,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(12,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(15,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,764,{_control:0}),xm._37(335544320,765,{_placeholderChild:0}),xm._37(335544320,766,{_labelChild:0}),xm._37(603979776,767,{_errorChildren:1}),xm._37(603979776,768,{_hintChildren:1}),xm._37(603979776,769,{_prefixChildren:1}),xm._37(603979776,770,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","export_sale_of_total_sales"],["matInput",""],["placeholder","Export Sale As a % of Total Sales"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,25)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,25).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,25)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,25)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,30)._onInput()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(27,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(29,16384,null,0,Km.s,[Km.r],null,null),xm._17(30,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[764,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,27,0,"export_sale_of_total_sales");l(n,30,0,"Export Sale As a % of Total Sales")},function(l,n){l(n,14,1,[xm._32(n,15)._control.errorState,xm._32(n,15)._control.errorState,xm._32(n,15)._canLabelFloat,xm._32(n,15)._shouldLabelFloat(),xm._32(n,15)._hideControlPlaceholder(),xm._32(n,15)._control.disabled,xm._32(n,15)._control.focused,"primary"==xm._32(n,15).color,"accent"==xm._32(n,15).color,"warn"==xm._32(n,15).color,xm._32(n,15)._shouldForward("untouched"),xm._32(n,15)._shouldForward("touched"),xm._32(n,15)._shouldForward("pristine"),xm._32(n,15)._shouldForward("dirty"),xm._32(n,15)._shouldForward("valid"),xm._32(n,15)._shouldForward("invalid"),xm._32(n,15)._shouldForward("pending")]);l(n,24,1,[xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending,xm._32(n,30)._isServer,xm._32(n,30).id,xm._32(n,30).placeholder,xm._32(n,30).disabled,xm._32(n,30).required,xm._32(n,30).readonly,xm._32(n,30)._ariaDescribedby||null,xm._32(n,30).errorState,xm._32(n,30).required.toString()])})}function ut(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,771,{_control:0}),xm._37(335544320,772,{_placeholderChild:0}),xm._37(335544320,773,{_labelChild:0}),xm._37(603979776,774,{_errorChildren:1}),xm._37(603979776,775,{_hintChildren:1}),xm._37(603979776,776,{_prefixChildren:1}),xm._37(603979776,777,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","applicant_use_mobile_wallets"],["placeholder","Does the Applicant Use Mobile Wallets / UPI Apps"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,14)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),xm._17(14,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,778,{options:1}),xm._37(603979776,779,{optionGroups:1}),xm._37(335544320,780,{customTrigger:0}),xm._36(2048,[[771,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(22,8437760,[[778,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(26,8437760,[[778,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"applicant_use_mobile_wallets");l(n,14,0,"Does the Applicant Use Mobile Wallets / UPI Apps");l(n,22,0,"yes");l(n,26,0,"no")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending,xm._32(n,14).id,xm._32(n,14).tabIndex,xm._32(n,14)._ariaLabel,xm._32(n,14).ariaLabelledby,xm._32(n,14).required.toString(),xm._32(n,14).disabled.toString(),xm._32(n,14).errorState,xm._32(n,14).panelOpen?xm._32(n,14)._optionIds:null,xm._32(n,14).multiple,xm._32(n,14)._ariaDescribedby||null,xm._32(n,14)._getAriaActiveDescendant(),xm._32(n,14).disabled,xm._32(n,14).errorState,xm._32(n,14).required]);l(n,21,0,xm._32(n,22)._getTabIndex(),xm._32(n,22).selected,xm._32(n,22).multiple,xm._32(n,22).active,xm._32(n,22).id,xm._32(n,22).selected.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).disabled);l(n,25,0,xm._32(n,26)._getTabIndex(),xm._32(n,26).selected,xm._32(n,26).multiple,xm._32(n,26).active,xm._32(n,26).id,xm._32(n,26).selected.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).disabled)})}function at(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,781,{_control:0}),xm._37(335544320,782,{_placeholderChild:0}),xm._37(335544320,783,{_labelChild:0}),xm._37(603979776,784,{_errorChildren:1}),xm._37(603979776,785,{_hintChildren:1}),xm._37(603979776,786,{_prefixChildren:1}),xm._37(603979776,787,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","applicant_use_pos_machines"],["placeholder","Does the Applicant Use POS Machines in His Business / Profession"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,14)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),xm._17(14,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,788,{options:1}),xm._37(603979776,789,{optionGroups:1}),xm._37(335544320,790,{customTrigger:0}),xm._36(2048,[[781,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(22,8437760,[[788,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(26,8437760,[[788,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"applicant_use_pos_machines");l(n,14,0,"Does the Applicant Use POS Machines in His Business / Profession");l(n,22,0,"yes");l(n,26,0,"no")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending,xm._32(n,14).id,xm._32(n,14).tabIndex,xm._32(n,14)._ariaLabel,xm._32(n,14).ariaLabelledby,xm._32(n,14).required.toString(),xm._32(n,14).disabled.toString(),xm._32(n,14).errorState,xm._32(n,14).panelOpen?xm._32(n,14)._optionIds:null,xm._32(n,14).multiple,xm._32(n,14)._ariaDescribedby||null,xm._32(n,14)._getAriaActiveDescendant(),xm._32(n,14).disabled,xm._32(n,14).errorState,xm._32(n,14).required]);l(n,21,0,xm._32(n,22)._getTabIndex(),xm._32(n,22).selected,xm._32(n,22).multiple,xm._32(n,22).active,xm._32(n,22).id,xm._32(n,22).selected.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).disabled);l(n,25,0,xm._32(n,26)._getTabIndex(),xm._32(n,26).selected,xm._32(n,26).multiple,xm._32(n,26).active,xm._32(n,26).id,xm._32(n,26).selected.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).disabled)})}function tt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(4,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(7,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["Digital Payments"])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(11,0,null,0,8,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(12,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ut)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,at)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,0,["\n \n "]))],function(l,n){var e=n.component;l(n,15,0,e.businessForm.controls.applicant_use_mobile_wallets);l(n,18,0,e.businessForm.controls.applicant_use_pos_machines)},null)}function it(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,71,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","margin-top:10px;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,792,{_control:0}),xm._37(335544320,793,{_placeholderChild:0}),xm._37(335544320,794,{_labelChild:0}),xm._37(603979776,795,{_errorChildren:1}),xm._37(603979776,796,{_hintChildren:1}),xm._37(603979776,797,{_prefixChildren:1}),xm._37(603979776,798,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,60,"mat-select",[["class","mat-select"],["formControlName","peak_period_of_business"],["multiple",""],["placeholder","In Which Period Is Maximum Sale / Service Done "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,16)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(11,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),xm._37(603979776,799,{options:1}),xm._37(603979776,800,{optionGroups:1}),xm._37(335544320,801,{customTrigger:0}),xm._36(2048,[[792,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,24)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(24,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["January"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,28)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(28,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["February"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","3"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,32)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(32,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["March"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","4"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,36)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(36,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["April"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","5"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,40)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(40,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["May"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","6"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,44)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,44)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(44,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["June"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","7"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,48)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,48)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(48,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["July"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(51,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","8"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,52)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,52)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(52,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["August"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(55,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","9"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,56)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,56)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(56,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["September"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(59,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","10"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,60)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,60)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(60,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["October"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(63,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","11"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,64)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,64)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(64,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["November"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(67,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","12"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,68)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,68)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(68,8437760,[[799,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["December"])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"peak_period_of_business");l(n,16,0,"In Which Period Is Maximum Sale / Service Done ","","");l(n,24,0,"1");l(n,28,0,"2");l(n,32,0,"3");l(n,36,0,"4");l(n,40,0,"5");l(n,44,0,"6");l(n,48,0,"7");l(n,52,0,"8");l(n,56,0,"9");l(n,60,0,"10");l(n,64,0,"11");l(n,68,0,"12")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,11).required?"":null,xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16).id,xm._32(n,16).tabIndex,xm._32(n,16)._ariaLabel,xm._32(n,16).ariaLabelledby,xm._32(n,16).required.toString(),xm._32(n,16).disabled.toString(),xm._32(n,16).errorState,xm._32(n,16).panelOpen?xm._32(n,16)._optionIds:null,xm._32(n,16).multiple,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16)._getAriaActiveDescendant(),xm._32(n,16).disabled,xm._32(n,16).errorState,xm._32(n,16).required]);l(n,23,0,xm._32(n,24)._getTabIndex(),xm._32(n,24).selected,xm._32(n,24).multiple,xm._32(n,24).active,xm._32(n,24).id,xm._32(n,24).selected.toString(),xm._32(n,24).disabled.toString(),xm._32(n,24).disabled);l(n,27,0,xm._32(n,28)._getTabIndex(),xm._32(n,28).selected,xm._32(n,28).multiple,xm._32(n,28).active,xm._32(n,28).id,xm._32(n,28).selected.toString(),xm._32(n,28).disabled.toString(),xm._32(n,28).disabled);l(n,31,0,xm._32(n,32)._getTabIndex(),xm._32(n,32).selected,xm._32(n,32).multiple,xm._32(n,32).active,xm._32(n,32).id,xm._32(n,32).selected.toString(),xm._32(n,32).disabled.toString(),xm._32(n,32).disabled);l(n,35,0,xm._32(n,36)._getTabIndex(),xm._32(n,36).selected,xm._32(n,36).multiple,xm._32(n,36).active,xm._32(n,36).id,xm._32(n,36).selected.toString(),xm._32(n,36).disabled.toString(),xm._32(n,36).disabled);l(n,39,0,xm._32(n,40)._getTabIndex(),xm._32(n,40).selected,xm._32(n,40).multiple,xm._32(n,40).active,xm._32(n,40).id,xm._32(n,40).selected.toString(),xm._32(n,40).disabled.toString(),xm._32(n,40).disabled);l(n,43,0,xm._32(n,44)._getTabIndex(),xm._32(n,44).selected,xm._32(n,44).multiple,xm._32(n,44).active,xm._32(n,44).id,xm._32(n,44).selected.toString(),xm._32(n,44).disabled.toString(),xm._32(n,44).disabled);l(n,47,0,xm._32(n,48)._getTabIndex(),xm._32(n,48).selected,xm._32(n,48).multiple,xm._32(n,48).active,xm._32(n,48).id,xm._32(n,48).selected.toString(),xm._32(n,48).disabled.toString(),xm._32(n,48).disabled);l(n,51,0,xm._32(n,52)._getTabIndex(),xm._32(n,52).selected,xm._32(n,52).multiple,xm._32(n,52).active,xm._32(n,52).id,xm._32(n,52).selected.toString(),xm._32(n,52).disabled.toString(),xm._32(n,52).disabled);l(n,55,0,xm._32(n,56)._getTabIndex(),xm._32(n,56).selected,xm._32(n,56).multiple,xm._32(n,56).active,xm._32(n,56).id,xm._32(n,56).selected.toString(),xm._32(n,56).disabled.toString(),xm._32(n,56).disabled);l(n,59,0,xm._32(n,60)._getTabIndex(),xm._32(n,60).selected,xm._32(n,60).multiple,xm._32(n,60).active,xm._32(n,60).id,xm._32(n,60).selected.toString(),xm._32(n,60).disabled.toString(),xm._32(n,60).disabled);l(n,63,0,xm._32(n,64)._getTabIndex(),xm._32(n,64).selected,xm._32(n,64).multiple,xm._32(n,64).active,xm._32(n,64).id,xm._32(n,64).selected.toString(),xm._32(n,64).disabled.toString(),xm._32(n,64).disabled);l(n,67,0,xm._32(n,68)._getTabIndex(),xm._32(n,68).selected,xm._32(n,68).multiple,xm._32(n,68).active,xm._32(n,68).id,xm._32(n,68).selected.toString(),xm._32(n,68).disabled.toString(),xm._32(n,68).disabled)})}function ot(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,802,{_control:0}),xm._37(335544320,803,{_placeholderChild:0}),xm._37(335544320,804,{_labelChild:0}),xm._37(603979776,805,{_errorChildren:1}),xm._37(603979776,806,{_hintChildren:1}),xm._37(603979776,807,{_prefixChildren:1}),xm._37(603979776,808,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","month_of_business_run"],["matInput",""],["placeholder","Comments"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,20)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(17,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(19,16384,null,0,Km.s,[Km.r],null,null),xm._17(20,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[802,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,14,0,"");l(n,17,0,"month_of_business_run");l(n,20,0,"Comments","")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,14).required?"":null,xm._32(n,19).ngClassUntouched,xm._32(n,19).ngClassTouched,xm._32(n,19).ngClassPristine,xm._32(n,19).ngClassDirty,xm._32(n,19).ngClassValid,xm._32(n,19).ngClassInvalid,xm._32(n,19).ngClassPending,xm._32(n,20)._isServer,xm._32(n,20).id,xm._32(n,20).placeholder,xm._32(n,20).disabled,xm._32(n,20).required,xm._32(n,20).readonly,xm._32(n,20)._ariaDescribedby||null,xm._32(n,20).errorState,xm._32(n,20).required.toString()])})}function rt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[834,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.appxSalaryAmtInwords)})}function _t(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Export / Import cert"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","export_import_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,856,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(9,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(11,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,14)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(14,4440064,[[856,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,18)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(18,4440064,[[856,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"export_import_cert");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending);l(n,13,0,xm._32(n,14).checked,xm._32(n,14).disabled,xm._32(n,14).id);l(n,17,0,xm._32(n,18).checked,xm._32(n,18).disabled,xm._32(n,18).id)})}function dt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Factory Cert"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","factory_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,857,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(9,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(11,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,14)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(14,4440064,[[857,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,18)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(18,4440064,[[857,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"factory_cert");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending);l(n,13,0,xm._32(n,14).checked,xm._32(n,14).disabled,xm._32(n,14).id);l(n,17,0,xm._32(n,18).checked,xm._32(n,18).disabled,xm._32(n,18).id)})}function st(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Cert of Practice"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","practice_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,858,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(9,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(11,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,14)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(14,4440064,[[858,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,18)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(18,4440064,[[858,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"practice_cert");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending);l(n,13,0,xm._32(n,14).checked,xm._32(n,14).disabled,xm._32(n,14).id);l(n,17,0,xm._32(n,18).checked,xm._32(n,18).disabled,xm._32(n,18).id)})}function ct(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteDocuments(l.parent.context.index)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function mt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,862,{_control:0}),xm._37(335544320,863,{_placeholderChild:0}),xm._37(335544320,864,{_labelChild:0}),xm._37(603979776,865,{_errorChildren:1}),xm._37(603979776,866,{_hintChildren:1}),xm._37(603979776,867,{_prefixChildren:1}),xm._37(603979776,868,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","document"],["matInput",""],["placeholder","Specify Document Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,21)._onInput()&&u}return u},null,null)),xm._17(16,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(18,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(20,16384,null,0,Km.s,[Km.r],null,null),xm._17(21,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[862,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,ct)),xm._17(26,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,18,0,"document");l(n,21,0,"Specify Document Details");l(n,26,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,20).ngClassUntouched,xm._32(n,20).ngClassTouched,xm._32(n,20).ngClassPristine,xm._32(n,20).ngClassDirty,xm._32(n,20).ngClassValid,xm._32(n,20).ngClassInvalid,xm._32(n,20).ngClassPending,xm._32(n,21)._isServer,xm._32(n,21).id,xm._32(n,21).placeholder,xm._32(n,21).disabled,xm._32(n,21).required,xm._32(n,21).readonly,xm._32(n,21)._ariaDescribedby||null,xm._32(n,21).errorState,xm._32(n,21).required.toString()])})}function pt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,15,"div",[["formArrayName","documents"],["style","margin-top:10px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,mt)),xm._17(6,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,6,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addDocuments()&&u}return u},Db.b,Db.a)),xm._17(11,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add Documents"])),(l()(),xm._18(13,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,"documents");l(n,6,0,e.businessForm.controls.documents.controls);l(n,11,0,"optblue")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending)})}function ft(l){return xm._41(0,[xm._33(0,Df.t,[]),(l()(),xm._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,9).toggle()&&u}return u},Db.b,Db.a)),xm._17(8,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(9,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(10,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(14,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,we)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(22,0,null,null,470,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,466,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,27).onReset()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.B,[],null,null),xm._17(27,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(29,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,11,"div",[["formArrayName","partners"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(32,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(34,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(36,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Partner Details"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ke)),xm._17(40,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._18(41,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n\n \n "])),(l()(),xm._18(44,0,null,null,17,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(46,0,null,null,10,"div",[["formArrayName","persons_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(47,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(49,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(51,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Person RelationShip"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Le)),xm._17(55,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(58,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""],["round",""],["style","font-size: 13px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPersonRelationship(e)&&u}return u},Db.b,Db.a)),xm._17(59,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],round:[1,"round"],block:[2,"block"]},null),(l()(),xm._39(-1,0,["Add More Relationship"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(62,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(64,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(65,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(67,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(68,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["Type of Business Activity"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(71,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","select_business_activity_type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(72,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(74,16384,null,0,Km.t,[Km.c],null,null),xm._17(75,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ae)),xm._17(78,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,su)),xm._17(83,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n\n\n\n\n\n "])),(l()(),xm._13(16777216,null,null,1,null,$u)),xm._17(86,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._13(16777216,null,null,1,null,Ca)),xm._17(89,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Za)),xm._17(92,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n\n "])),(l()(),xm._13(16777216,null,null,1,null,nt)),xm._17(95,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,et)),xm._17(98,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,tt)),xm._17(101,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(103,0,null,null,43,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(104,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(106,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(107,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,[" \n "])),(l()(),xm._18(109,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(110,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["Seasonality"])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(114,0,null,0,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(115,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(117,0,null,null,24,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(119,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Is The Business Seasonal"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(122,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","seasonality"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(123,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,791,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(126,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(128,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(130,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,131)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(131,4440064,[[791,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(134,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,135)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(135,4440064,[[791,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No Major Changes In Sales"])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,it)),xm._17(140,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ot)),xm._17(144,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(148,0,null,null,104,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(149,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(151,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(152,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(154,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(155,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["Employees As Per Applicant "])),(l()(),xm._39(-1,2,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(159,0,null,0,92,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(160,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(162,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(163,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,809,{_control:0}),xm._37(335544320,810,{_placeholderChild:0}),xm._37(335544320,811,{_labelChild:0}),xm._37(603979776,812,{_errorChildren:1}),xm._37(603979776,813,{_hintChildren:1}),xm._37(603979776,814,{_prefixChildren:1}),xm._37(603979776,815,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(172,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_permanent"],["matInput",""],["placeholder","Permanent"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,173)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,173).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,173)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,173)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,180)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,180)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,180)._onInput()&&u}if("change"===n){u=!1!==a.checkTotalEmployee(a.businessForm)&&u}return u},null,null)),xm._17(173,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(174,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(177,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(179,16384,null,0,Km.s,[Km.r],null,null),xm._17(180,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[809,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(184,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(185,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,816,{_control:0}),xm._37(335544320,817,{_placeholderChild:0}),xm._37(335544320,818,{_labelChild:0}),xm._37(603979776,819,{_errorChildren:1}),xm._37(603979776,820,{_hintChildren:1}),xm._37(603979776,821,{_prefixChildren:1}),xm._37(603979776,822,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(194,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_temporary"],["matInput",""],["placeholder","Temporary"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,195)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,195).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,195)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,195)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,202)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,202)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,202)._onInput()&&u}if("change"===n){u=!1!==a.checkTotalEmployee(a.businessForm)&&u}return u},null,null)),xm._17(195,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(196,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(199,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(201,16384,null,0,Km.s,[Km.r],null,null),xm._17(202,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[816,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(206,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(207,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,823,{_control:0}),xm._37(335544320,824,{_placeholderChild:0}),xm._37(335544320,825,{_labelChild:0}),xm._37(603979776,826,{_errorChildren:1}),xm._37(603979776,827,{_hintChildren:1}),xm._37(603979776,828,{_prefixChildren:1}),xm._37(603979776,829,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(216,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_total"],["matInput",""],["placeholder","Total"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,217)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,217).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,217)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,217)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,222)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,222)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,222)._onInput()&&u}return u},null,null)),xm._17(217,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(219,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(221,16384,null,0,Km.s,[Km.r],null,null),xm._17(222,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),xm._36(2048,[[823,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(226,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(227,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,830,{_control:0}),xm._37(335544320,831,{_placeholderChild:0}),xm._37(335544320,832,{_labelChild:0}),xm._37(603979776,833,{_errorChildren:1}),xm._37(603979776,834,{_hintChildren:1}),xm._37(603979776,835,{_prefixChildren:1}),xm._37(603979776,836,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(236,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_appx_salary"],["matInput",""],["placeholder","Approximate total monthly salary paid to employees"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,237)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,237).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,237)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,237)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,238).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,238).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,238).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,245)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,245)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,245)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,1)&&u}return u},null,null)),xm._17(237,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(238,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(239,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(242,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(244,16384,null,0,Km.s,[Km.r],null,null),xm._17(245,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[830,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,rt)),xm._17(249,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(254,0,null,null,72,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(255,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(257,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(258,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(260,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(261,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["No of Employees Sighted By PD Officer During His Visit "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(265,0,null,0,60,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(266,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(268,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(269,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,837,{_control:0}),xm._37(335544320,838,{_placeholderChild:0}),xm._37(335544320,839,{_labelChild:0}),xm._37(603979776,840,{_errorChildren:1}),xm._37(603979776,841,{_hintChildren:1}),xm._37(603979776,842,{_prefixChildren:1}),xm._37(603979776,843,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(278,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","officer_total"],["matInput",""],["placeholder","Total"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,279)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,279).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,279)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,279)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,286)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,286)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,286)._onInput()&&u}return u},null,null)),xm._17(279,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(280,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(283,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(285,16384,null,0,Km.s,[Km.r],null,null),xm._17(286,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[837,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(292,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(293,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,844,{_control:0}),xm._37(335544320,845,{_placeholderChild:0}),xm._37(335544320,846,{_labelChild:0}),xm._37(603979776,847,{_errorChildren:1}),xm._37(603979776,848,{_hintChildren:1}),xm._37(603979776,849,{_prefixChildren:1}),xm._37(603979776,850,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(302,0,null,1,21,"mat-select",[["class","mat-select"],["formControlName","was_the_company_name_board_sighted"],["placeholder","Was the Company name board sighted ?"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,308)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,308)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,308)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(303,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(305,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(307,16384,null,0,Km.s,[Km.r],null,null),xm._17(308,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,851,{options:1}),xm._37(603979776,852,{optionGroups:1}),xm._37(335544320,853,{customTrigger:0}),xm._36(2048,[[844,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(315,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,316)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,316)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(316,8437760,[[851,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(319,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,320)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,320)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(320,8437760,[[851,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(328,0,null,null,126,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(329,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(331,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(332,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(334,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(335,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["Documents Sighted "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(339,0,null,0,114,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(340,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(342,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Shop and Est Act Cert"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(345,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","shop_eat_act_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(346,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,854,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(349,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(351,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(353,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,354)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(354,4440064,[[854,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(357,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,358)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(358,4440064,[[854,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(362,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["GST Regn Cert"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(365,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","gst_Regn_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(366,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,855,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(369,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(371,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(373,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,374)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(374,4440064,[[855,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(377,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,378)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(378,4440064,[[855,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,_t)),xm._17(383,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,dt)),xm._17(386,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,st)),xm._17(389,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._18(391,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["PF Regn"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(394,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","pf_regn"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(395,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,859,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(398,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(400,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(402,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,403)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(403,4440064,[[859,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(406,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,407)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(407,4440064,[[859,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(411,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["ESIC Regn"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(414,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","esic_regn"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(415,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,860,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(418,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(420,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(422,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,423)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(423,4440064,[[860,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(426,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,427)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(427,4440064,[[860,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._18(431,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Do You Want to Add Other Documents?"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(434,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","other_documents"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(435,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,861,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(438,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(440,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(442,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,443)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(443,4440064,[[861,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(446,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,447)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(447,4440064,[[861,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,pt)),xm._17(452,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(456,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(457,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(459,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(460,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,869,{_control:0}),xm._37(335544320,870,{_placeholderChild:0}),xm._37(335544320,871,{_labelChild:0}),xm._37(603979776,872,{_errorChildren:1}),xm._37(603979776,873,{_hintChildren:1}),xm._37(603979776,874,{_prefixChildren:1}),xm._37(603979776,875,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(469,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(470,16384,[[871,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(473,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_remarks"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,474)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,474).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,474)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,474)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,479)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,479)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,479)._onInput()&&u}return u},null,null)),xm._17(474,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(476,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(478,16384,null,0,Km.s,[Km.r],null,null),xm._17(479,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],null,null),xm._36(2048,[[869,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(484,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(485,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(487,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitDetails()&&u}return u},Db.b,Db.a)),xm._17(488,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.businessForm);l(n,32,0,"partners");l(n,40,0,e.businessForm.controls.partners.controls);l(n,47,0,"persons_with_relationships");l(n,55,0,e.businessForm.controls.persons_with_relationships.controls);l(n,59,0,"optblue","","");l(n,72,0,"select_business_activity_type");l(n,78,0,e.businessForm.controls.select_business_activity_type.controls);l(n,83,0,e.businessForm.controls.manufacturing_activity_details.controls.length>0);l(n,86,0,e.businessForm.controls.retail_trading_activity_details.controls.length>0);l(n,89,0,e.businessForm.controls.wholesale_trading_activity_details.controls.length>0);l(n,92,0,e.businessForm.controls.service_provider_activity_details.controls.length>0);l(n,95,0,e.businessForm.controls.others_activity_details.controls.length>0);l(n,98,0,e.ExportFlag);l(n,101,0,e.businessForm.controls.applicant_use_mobile_wallets||e.businessForm.controls.applicant_use_pos_machines);l(n,126,0,"seasonality");l(n,131,0,"yes");l(n,135,0,"no");l(n,140,0,"yes"==e.businessForm.controls.seasonality.value);l(n,144,0,"yes"==e.businessForm.controls.seasonality.value);l(n,174,0,"");l(n,177,0,"employees_permanent");l(n,180,0,"Permanent","");l(n,196,0,"");l(n,199,0,"employees_temporary");l(n,202,0,"Temporary","");l(n,219,0,"employees_total");l(n,222,0,"Total","");l(n,239,0,"");l(n,242,0,"employees_appx_salary");l(n,245,0,"Approximate total monthly salary paid to employees","","number");l(n,249,0,""!=e.businessForm.controls.employees_appx_salary.value);l(n,280,0,"");l(n,283,0,"officer_total");l(n,286,0,"Total","");l(n,303,0,"");l(n,305,0,"was_the_company_name_board_sighted");l(n,308,0,"Was the Company name board sighted ?","");l(n,316,0,"yes");l(n,320,0,"no");l(n,349,0,"shop_eat_act_cert");l(n,354,0,"yes");l(n,358,0,"no");l(n,369,0,"gst_Regn_cert");l(n,374,0,"yes");l(n,378,0,"no");l(n,383,0,e.businessForm.controls.export_import_cert);l(n,386,0,e.businessForm.controls.factory_cert);l(n,389,0,e.businessForm.controls.practice_cert);l(n,398,0,"pf_regn");l(n,403,0,"yes");l(n,407,0,"no");l(n,418,0,"esic_regn");l(n,423,0,"yes");l(n,427,0,"no");l(n,438,0,"other_documents");l(n,443,0,"yes");l(n,447,0,"no");l(n,452,0,"yes"==e.businessForm.controls.other_documents.value);l(n,476,0,"business_remarks"),l(n,479,0);l(n,488,0,"optblue","")},function(l,n){l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,7,0,xm._32(n,9).isHidden);l(n,13,0,xm._32(n,14)._hidden);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,25,0,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending);l(n,31,0,xm._32(n,34).ngClassUntouched,xm._32(n,34).ngClassTouched,xm._32(n,34).ngClassPristine,xm._32(n,34).ngClassDirty,xm._32(n,34).ngClassValid,xm._32(n,34).ngClassInvalid,xm._32(n,34).ngClassPending);l(n,46,0,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending);l(n,71,0,xm._32(n,74).ngClassUntouched,xm._32(n,74).ngClassTouched,xm._32(n,74).ngClassPristine,xm._32(n,74).ngClassDirty,xm._32(n,74).ngClassValid,xm._32(n,74).ngClassInvalid,xm._32(n,74).ngClassPending);l(n,122,0,xm._32(n,128).ngClassUntouched,xm._32(n,128).ngClassTouched,xm._32(n,128).ngClassPristine,xm._32(n,128).ngClassDirty,xm._32(n,128).ngClassValid,xm._32(n,128).ngClassInvalid,xm._32(n,128).ngClassPending);l(n,130,0,xm._32(n,131).checked,xm._32(n,131).disabled,xm._32(n,131).id);l(n,134,0,xm._32(n,135).checked,xm._32(n,135).disabled,xm._32(n,135).id);l(n,162,1,[xm._32(n,163)._control.errorState,xm._32(n,163)._control.errorState,xm._32(n,163)._canLabelFloat,xm._32(n,163)._shouldLabelFloat(),xm._32(n,163)._hideControlPlaceholder(),xm._32(n,163)._control.disabled,xm._32(n,163)._control.focused,"primary"==xm._32(n,163).color,"accent"==xm._32(n,163).color,"warn"==xm._32(n,163).color,xm._32(n,163)._shouldForward("untouched"),xm._32(n,163)._shouldForward("touched"),xm._32(n,163)._shouldForward("pristine"),xm._32(n,163)._shouldForward("dirty"),xm._32(n,163)._shouldForward("valid"),xm._32(n,163)._shouldForward("invalid"),xm._32(n,163)._shouldForward("pending")]);l(n,172,1,[xm._32(n,174).required?"":null,xm._32(n,179).ngClassUntouched,xm._32(n,179).ngClassTouched,xm._32(n,179).ngClassPristine,xm._32(n,179).ngClassDirty,xm._32(n,179).ngClassValid,xm._32(n,179).ngClassInvalid,xm._32(n,179).ngClassPending,xm._32(n,180)._isServer,xm._32(n,180).id,xm._32(n,180).placeholder,xm._32(n,180).disabled,xm._32(n,180).required,xm._32(n,180).readonly,xm._32(n,180)._ariaDescribedby||null,xm._32(n,180).errorState,xm._32(n,180).required.toString()]);l(n,184,1,[xm._32(n,185)._control.errorState,xm._32(n,185)._control.errorState,xm._32(n,185)._canLabelFloat,xm._32(n,185)._shouldLabelFloat(),xm._32(n,185)._hideControlPlaceholder(),xm._32(n,185)._control.disabled,xm._32(n,185)._control.focused,"primary"==xm._32(n,185).color,"accent"==xm._32(n,185).color,"warn"==xm._32(n,185).color,xm._32(n,185)._shouldForward("untouched"),xm._32(n,185)._shouldForward("touched"),xm._32(n,185)._shouldForward("pristine"),xm._32(n,185)._shouldForward("dirty"),xm._32(n,185)._shouldForward("valid"),xm._32(n,185)._shouldForward("invalid"),xm._32(n,185)._shouldForward("pending")]);l(n,194,1,[xm._32(n,196).required?"":null,xm._32(n,201).ngClassUntouched,xm._32(n,201).ngClassTouched,xm._32(n,201).ngClassPristine,xm._32(n,201).ngClassDirty,xm._32(n,201).ngClassValid,xm._32(n,201).ngClassInvalid,xm._32(n,201).ngClassPending,xm._32(n,202)._isServer,xm._32(n,202).id,xm._32(n,202).placeholder,xm._32(n,202).disabled,xm._32(n,202).required,xm._32(n,202).readonly,xm._32(n,202)._ariaDescribedby||null,xm._32(n,202).errorState,xm._32(n,202).required.toString()]);l(n,206,1,[xm._32(n,207)._control.errorState,xm._32(n,207)._control.errorState,xm._32(n,207)._canLabelFloat,xm._32(n,207)._shouldLabelFloat(),xm._32(n,207)._hideControlPlaceholder(),xm._32(n,207)._control.disabled,xm._32(n,207)._control.focused,"primary"==xm._32(n,207).color,"accent"==xm._32(n,207).color,"warn"==xm._32(n,207).color,xm._32(n,207)._shouldForward("untouched"),xm._32(n,207)._shouldForward("touched"),xm._32(n,207)._shouldForward("pristine"),xm._32(n,207)._shouldForward("dirty"),xm._32(n,207)._shouldForward("valid"),xm._32(n,207)._shouldForward("invalid"),xm._32(n,207)._shouldForward("pending")]);l(n,216,1,[xm._32(n,221).ngClassUntouched,xm._32(n,221).ngClassTouched,xm._32(n,221).ngClassPristine,xm._32(n,221).ngClassDirty,xm._32(n,221).ngClassValid,xm._32(n,221).ngClassInvalid,xm._32(n,221).ngClassPending,xm._32(n,222)._isServer,xm._32(n,222).id,xm._32(n,222).placeholder,xm._32(n,222).disabled,xm._32(n,222).required,xm._32(n,222).readonly,xm._32(n,222)._ariaDescribedby||null,xm._32(n,222).errorState,xm._32(n,222).required.toString()]);l(n,226,1,[xm._32(n,227)._control.errorState,xm._32(n,227)._control.errorState,xm._32(n,227)._canLabelFloat,xm._32(n,227)._shouldLabelFloat(),xm._32(n,227)._hideControlPlaceholder(),xm._32(n,227)._control.disabled,xm._32(n,227)._control.focused,"primary"==xm._32(n,227).color,"accent"==xm._32(n,227).color,"warn"==xm._32(n,227).color,xm._32(n,227)._shouldForward("untouched"),xm._32(n,227)._shouldForward("touched"),xm._32(n,227)._shouldForward("pristine"),xm._32(n,227)._shouldForward("dirty"),xm._32(n,227)._shouldForward("valid"),xm._32(n,227)._shouldForward("invalid"),xm._32(n,227)._shouldForward("pending")]);l(n,236,1,[xm._32(n,239).required?"":null,xm._32(n,244).ngClassUntouched,xm._32(n,244).ngClassTouched,xm._32(n,244).ngClassPristine,xm._32(n,244).ngClassDirty,xm._32(n,244).ngClassValid,xm._32(n,244).ngClassInvalid,xm._32(n,244).ngClassPending,xm._32(n,245)._isServer,xm._32(n,245).id,xm._32(n,245).placeholder,xm._32(n,245).disabled,xm._32(n,245).required,xm._32(n,245).readonly,xm._32(n,245)._ariaDescribedby||null,xm._32(n,245).errorState,xm._32(n,245).required.toString()]);l(n,268,1,[xm._32(n,269)._control.errorState,xm._32(n,269)._control.errorState,xm._32(n,269)._canLabelFloat,xm._32(n,269)._shouldLabelFloat(),xm._32(n,269)._hideControlPlaceholder(),xm._32(n,269)._control.disabled,xm._32(n,269)._control.focused,"primary"==xm._32(n,269).color,"accent"==xm._32(n,269).color,"warn"==xm._32(n,269).color,xm._32(n,269)._shouldForward("untouched"),xm._32(n,269)._shouldForward("touched"),xm._32(n,269)._shouldForward("pristine"),xm._32(n,269)._shouldForward("dirty"),xm._32(n,269)._shouldForward("valid"),xm._32(n,269)._shouldForward("invalid"),xm._32(n,269)._shouldForward("pending")]);l(n,278,1,[xm._32(n,280).required?"":null,xm._32(n,285).ngClassUntouched,xm._32(n,285).ngClassTouched,xm._32(n,285).ngClassPristine,xm._32(n,285).ngClassDirty,xm._32(n,285).ngClassValid,xm._32(n,285).ngClassInvalid,xm._32(n,285).ngClassPending,xm._32(n,286)._isServer,xm._32(n,286).id,xm._32(n,286).placeholder,xm._32(n,286).disabled,xm._32(n,286).required,xm._32(n,286).readonly,xm._32(n,286)._ariaDescribedby||null,xm._32(n,286).errorState,xm._32(n,286).required.toString()]);l(n,292,1,[xm._32(n,293)._control.errorState,xm._32(n,293)._control.errorState,xm._32(n,293)._canLabelFloat,xm._32(n,293)._shouldLabelFloat(),xm._32(n,293)._hideControlPlaceholder(),xm._32(n,293)._control.disabled,xm._32(n,293)._control.focused,"primary"==xm._32(n,293).color,"accent"==xm._32(n,293).color,"warn"==xm._32(n,293).color,xm._32(n,293)._shouldForward("untouched"),xm._32(n,293)._shouldForward("touched"),xm._32(n,293)._shouldForward("pristine"),xm._32(n,293)._shouldForward("dirty"),xm._32(n,293)._shouldForward("valid"),xm._32(n,293)._shouldForward("invalid"),xm._32(n,293)._shouldForward("pending")]);l(n,302,1,[xm._32(n,303).required?"":null,xm._32(n,307).ngClassUntouched,xm._32(n,307).ngClassTouched,xm._32(n,307).ngClassPristine,xm._32(n,307).ngClassDirty,xm._32(n,307).ngClassValid,xm._32(n,307).ngClassInvalid,xm._32(n,307).ngClassPending,xm._32(n,308).id,xm._32(n,308).tabIndex,xm._32(n,308)._ariaLabel,xm._32(n,308).ariaLabelledby,xm._32(n,308).required.toString(),xm._32(n,308).disabled.toString(),xm._32(n,308).errorState,xm._32(n,308).panelOpen?xm._32(n,308)._optionIds:null,xm._32(n,308).multiple,xm._32(n,308)._ariaDescribedby||null,xm._32(n,308)._getAriaActiveDescendant(),xm._32(n,308).disabled,xm._32(n,308).errorState,xm._32(n,308).required]);l(n,315,0,xm._32(n,316)._getTabIndex(),xm._32(n,316).selected,xm._32(n,316).multiple,xm._32(n,316).active,xm._32(n,316).id,xm._32(n,316).selected.toString(),xm._32(n,316).disabled.toString(),xm._32(n,316).disabled);l(n,319,0,xm._32(n,320)._getTabIndex(),xm._32(n,320).selected,xm._32(n,320).multiple,xm._32(n,320).active,xm._32(n,320).id,xm._32(n,320).selected.toString(),xm._32(n,320).disabled.toString(),xm._32(n,320).disabled);l(n,345,0,xm._32(n,351).ngClassUntouched,xm._32(n,351).ngClassTouched,xm._32(n,351).ngClassPristine,xm._32(n,351).ngClassDirty,xm._32(n,351).ngClassValid,xm._32(n,351).ngClassInvalid,xm._32(n,351).ngClassPending);l(n,353,0,xm._32(n,354).checked,xm._32(n,354).disabled,xm._32(n,354).id);l(n,357,0,xm._32(n,358).checked,xm._32(n,358).disabled,xm._32(n,358).id);l(n,365,0,xm._32(n,371).ngClassUntouched,xm._32(n,371).ngClassTouched,xm._32(n,371).ngClassPristine,xm._32(n,371).ngClassDirty,xm._32(n,371).ngClassValid,xm._32(n,371).ngClassInvalid,xm._32(n,371).ngClassPending);l(n,373,0,xm._32(n,374).checked,xm._32(n,374).disabled,xm._32(n,374).id);l(n,377,0,xm._32(n,378).checked,xm._32(n,378).disabled,xm._32(n,378).id);l(n,394,0,xm._32(n,400).ngClassUntouched,xm._32(n,400).ngClassTouched,xm._32(n,400).ngClassPristine,xm._32(n,400).ngClassDirty,xm._32(n,400).ngClassValid,xm._32(n,400).ngClassInvalid,xm._32(n,400).ngClassPending);l(n,402,0,xm._32(n,403).checked,xm._32(n,403).disabled,xm._32(n,403).id);l(n,406,0,xm._32(n,407).checked,xm._32(n,407).disabled,xm._32(n,407).id);l(n,414,0,xm._32(n,420).ngClassUntouched,xm._32(n,420).ngClassTouched,xm._32(n,420).ngClassPristine,xm._32(n,420).ngClassDirty,xm._32(n,420).ngClassValid,xm._32(n,420).ngClassInvalid,xm._32(n,420).ngClassPending);l(n,422,0,xm._32(n,423).checked,xm._32(n,423).disabled,xm._32(n,423).id);l(n,426,0,xm._32(n,427).checked,xm._32(n,427).disabled,xm._32(n,427).id);l(n,434,0,xm._32(n,440).ngClassUntouched,xm._32(n,440).ngClassTouched,xm._32(n,440).ngClassPristine,xm._32(n,440).ngClassDirty,xm._32(n,440).ngClassValid,xm._32(n,440).ngClassInvalid,xm._32(n,440).ngClassPending);l(n,442,0,xm._32(n,443).checked,xm._32(n,443).disabled,xm._32(n,443).id);l(n,446,0,xm._32(n,447).checked,xm._32(n,447).disabled,xm._32(n,447).id);l(n,459,1,[xm._32(n,460)._control.errorState,xm._32(n,460)._control.errorState,xm._32(n,460)._canLabelFloat,xm._32(n,460)._shouldLabelFloat(),xm._32(n,460)._hideControlPlaceholder(),xm._32(n,460)._control.disabled,xm._32(n,460)._control.focused,"primary"==xm._32(n,460).color,"accent"==xm._32(n,460).color,"warn"==xm._32(n,460).color,xm._32(n,460)._shouldForward("untouched"),xm._32(n,460)._shouldForward("touched"),xm._32(n,460)._shouldForward("pristine"),xm._32(n,460)._shouldForward("dirty"),xm._32(n,460)._shouldForward("valid"),xm._32(n,460)._shouldForward("invalid"),xm._32(n,460)._shouldForward("pending")]);l(n,473,1,[xm._32(n,478).ngClassUntouched,xm._32(n,478).ngClassTouched,xm._32(n,478).ngClassPristine,xm._32(n,478).ngClassDirty,xm._32(n,478).ngClassValid,xm._32(n,478).ngClassInvalid,xm._32(n,478).ngClassPending,xm._32(n,479)._isServer,xm._32(n,479).id,xm._32(n,479).placeholder,xm._32(n,479).disabled,xm._32(n,479).required,xm._32(n,479).readonly,xm._32(n,479)._ariaDescribedby||null,xm._32(n,479).errorState,xm._32(n,479).required.toString()])})}function ht(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function gt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[6,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.loanAmtInWords)})}function bt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.enduse_of_loan_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.enduse_of_loan)})}function vt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","end_use_other"],["matInput",""],["placeholder","Specify End Use"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[19,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"end_use_other");l(n,16,0,"Specify End Use")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function yt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[40,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.balTxrfAmtInWords)})}function Ct(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","balance_transfer_amount"],["matInput",""],["placeholder","What is the amount required for Balance Transfer ? "],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"keyup"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,17)._onInput()&&u}if("blur"===n){u=!1!==a.loanCalc()&&u}if("keyup"===n){u=!1!==a.inWords(e,2)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(12,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(14,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(16,16384,null,0,Km.s,[Km.r],null,null),xm._17(17,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[36,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,yt)),xm._17(21,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"balance_transfer_amount");l(n,17,0,"What is the amount required for Balance Transfer ? ","number");l(n,21,0,""!=e.loanDetailsForm.controls.loan_amount.value)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,16).ngClassUntouched,xm._32(n,16).ngClassTouched,xm._32(n,16).ngClassPristine,xm._32(n,16).ngClassDirty,xm._32(n,16).ngClassValid,xm._32(n,16).ngClassInvalid,xm._32(n,16).ngClassPending,xm._32(n,17)._isServer,xm._32(n,17).id,xm._32(n,17).placeholder,xm._32(n,17).disabled,xm._32(n,17).required,xm._32(n,17).readonly,xm._32(n,17)._ariaDescribedby||null,xm._32(n,17).errorState,xm._32(n,17).required.toString()])})}function wt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[50,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function Ft(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","lender"],["placeholder","Lender from where balance transfer done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,15)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(12,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(14,16384,null,0,Km.s,[Km.r],null,null),xm._17(15,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,50,{options:1}),xm._37(603979776,51,{optionGroups:1}),xm._37(335544320,52,{customTrigger:0}),xm._36(2048,[[43,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,wt)),xm._17(22,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"lender");l(n,15,0,"Lender from where balance transfer done");l(n,22,0,e.m_btLenderList)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending,xm._32(n,15).id,xm._32(n,15).tabIndex,xm._32(n,15)._ariaLabel,xm._32(n,15).ariaLabelledby,xm._32(n,15).required.toString(),xm._32(n,15).disabled.toString(),xm._32(n,15).errorState,xm._32(n,15).panelOpen?xm._32(n,15)._optionIds:null,xm._32(n,15).multiple,xm._32(n,15)._ariaDescribedby||null,xm._32(n,15)._getAriaActiveDescendant(),xm._32(n,15).disabled,xm._32(n,15).errorState,xm._32(n,15).required])})}function xt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,53,{_control:0}),xm._37(335544320,54,{_placeholderChild:0}),xm._37(335544320,55,{_labelChild:0}),xm._37(603979776,56,{_errorChildren:1}),xm._37(603979776,57,{_hintChildren:1}),xm._37(603979776,58,{_prefixChildren:1}),xm._37(603979776,59,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bt_lender"],["matInput",""],["placeholder","Specify Others Lender"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[53,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bt_lender");l(n,16,0,"Specify Others Lender")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function St(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[64,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.topUpAmtInWords)})}function It(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[74,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.end_use_of_topup_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.end_use_of_topup)})}function qt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,67,{_control:0}),xm._37(335544320,68,{_placeholderChild:0}),xm._37(335544320,69,{_labelChild:0}),xm._37(603979776,70,{_errorChildren:1}),xm._37(603979776,71,{_hintChildren:1}),xm._37(603979776,72,{_prefixChildren:1}),xm._37(603979776,73,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","end_use_topup"],["placeholder","What is the End Use of the Top Up?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,15)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(12,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(14,16384,null,0,Km.s,[Km.r],null,null),xm._17(15,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,74,{options:1}),xm._37(603979776,75,{optionGroups:1}),xm._37(335544320,76,{customTrigger:0}),xm._36(2048,[[67,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,It)),xm._17(22,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"end_use_topup");l(n,15,0,"What is the End Use of the Top Up?");l(n,22,0,e.m_endUseOFTopUpList)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending,xm._32(n,15).id,xm._32(n,15).tabIndex,xm._32(n,15)._ariaLabel,xm._32(n,15).ariaLabelledby,xm._32(n,15).required.toString(),xm._32(n,15).disabled.toString(),xm._32(n,15).errorState,xm._32(n,15).panelOpen?xm._32(n,15)._optionIds:null,xm._32(n,15).multiple,xm._32(n,15)._ariaDescribedby||null,xm._32(n,15)._getAriaActiveDescendant(),xm._32(n,15).disabled,xm._32(n,15).errorState,xm._32(n,15).required])})}function kt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,77,{_control:0}),xm._37(335544320,78,{_placeholderChild:0}),xm._37(335544320,79,{_labelChild:0}),xm._37(603979776,80,{_errorChildren:1}),xm._37(603979776,81,{_hintChildren:1}),xm._37(603979776,82,{_prefixChildren:1}),xm._37(603979776,83,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_end_use_topup"],["matInput",""],["placeholder","Specify End Use of Top Up"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[77,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_end_use_topup");l(n,16,0,"Specify End Use of Top Up")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Pt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[88,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.ownContributionInWords)})}function Dt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,84,{_control:0}),xm._37(335544320,85,{_placeholderChild:0}),xm._37(335544320,86,{_labelChild:0}),xm._37(603979776,87,{_errorChildren:1}),xm._37(603979776,88,{_hintChildren:1}),xm._37(603979776,89,{_prefixChildren:1}),xm._37(603979776,90,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","own_contribution"],["matInput",""],["placeholder","Amount of Own Contribution"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,4)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(12,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(13,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[84,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Pt)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,16,0,"own_contribution");l(n,19,0,"Amount of Own Contribution","","number");l(n,23,0,""!=e.loanDetailsForm.controls.own_contribution.value)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).required?"":null,xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()])})}function Tt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[98,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ot(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,91,{_control:0}),xm._37(335544320,92,{_placeholderChild:0}),xm._37(335544320,93,{_labelChild:0}),xm._37(603979776,94,{_errorChildren:1}),xm._37(603979776,95,{_hintChildren:1}),xm._37(603979776,96,{_prefixChildren:1}),xm._37(603979776,97,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","source"],["multiple",""],["placeholder","Source of Own Contribution"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,15)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.sourceChange(e.value)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(12,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(14,16384,null,0,Km.s,[Km.r],null,null),xm._17(15,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},{selectionChange:"selectionChange"}),xm._37(603979776,98,{options:1}),xm._37(603979776,99,{optionGroups:1}),xm._37(335544320,100,{customTrigger:0}),xm._36(2048,[[91,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Tt)),xm._17(22,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"source");l(n,15,0,"Source of Own Contribution","");l(n,22,0,e.m_sourceofamount)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending,xm._32(n,15).id,xm._32(n,15).tabIndex,xm._32(n,15)._ariaLabel,xm._32(n,15).ariaLabelledby,xm._32(n,15).required.toString(),xm._32(n,15).disabled.toString(),xm._32(n,15).errorState,xm._32(n,15).panelOpen?xm._32(n,15)._optionIds:null,xm._32(n,15).multiple,xm._32(n,15)._ariaDescribedby||null,xm._32(n,15)._getAriaActiveDescendant(),xm._32(n,15).disabled,xm._32(n,15).errorState,xm._32(n,15).required])})}function Lt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,101,{_control:0}),xm._37(335544320,102,{_placeholderChild:0}),xm._37(335544320,103,{_labelChild:0}),xm._37(603979776,104,{_errorChildren:1}),xm._37(603979776,105,{_hintChildren:1}),xm._37(603979776,106,{_prefixChildren:1}),xm._37(603979776,107,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_source"],["matInput",""],["placeholder","Specify Other Sources"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[101,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_source");l(n,16,0,"Specify Other Sources")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function At(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[112,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.emiAmtInWords)})}function Vt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[122,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.mortage_property_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.property_name)})}function jt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,125,{_control:0}),xm._37(335544320,126,{_placeholderChild:0}),xm._37(335544320,127,{_labelChild:0}),xm._37(603979776,128,{_errorChildren:1}),xm._37(603979776,129,{_hintChildren:1}),xm._37(603979776,130,{_prefixChildren:1}),xm._37(603979776,131,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_type_others"],["matInput",""],["placeholder","Specify Type of Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[125,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"property_type_others");l(n,16,0,"Specify Type of Property")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Nt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[139,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Et(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,Fv.d,Fv.a)),xm._17(1,49152,[[140,4]],0,ob.s,[],{label:[0,"label"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,0,1,null,Nt)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,xm._32(n,1).disabled,xm._32(n,1).disabled.toString(),xm._32(n,1)._labelId)})}function Wt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[149,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,[""," ",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name,n.context.$implicit.id)})}function Rt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[156,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.emvAmtInWords)})}function Ut(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,131,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,128,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(8,0,null,2,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Details of Property being Mortgaged\n "])),(l()(),xm._18(10,0,null,2,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,116,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(14,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(17,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,115,{_control:0}),xm._37(335544320,116,{_placeholderChild:0}),xm._37(335544320,117,{_labelChild:0}),xm._37(603979776,118,{_errorChildren:1}),xm._37(603979776,119,{_hintChildren:1}),xm._37(603979776,120,{_prefixChildren:1}),xm._37(603979776,121,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(26,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Type of Property"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,33)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,33)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,33)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.mortage_type(e.value)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(28,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(30,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(32,16384,null,0,Km.s,[Km.r],null,null),xm._17(33,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,122,{options:1}),xm._37(603979776,123,{optionGroups:1}),xm._37(335544320,124,{customTrigger:0}),xm._36(2048,[[115,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Vt)),xm._17(40,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,jt)),xm._17(45,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(47,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(48,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,132,{_control:0}),xm._37(335544320,133,{_placeholderChild:0}),xm._37(335544320,134,{_labelChild:0}),xm._37(603979776,135,{_errorChildren:1}),xm._37(603979776,136,{_hintChildren:1}),xm._37(603979776,137,{_prefixChildren:1}),xm._37(603979776,138,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(57,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","owner_name"],["multiple",""],["placeholder","Name of Owner"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,62)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,62)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,62)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(59,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(61,16384,null,0,Km.s,[Km.r],null,null),xm._17(62,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},null),xm._37(603979776,139,{options:1}),xm._37(603979776,140,{optionGroups:1}),xm._37(335544320,141,{customTrigger:0}),xm._36(2048,[[132,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Et)),xm._17(69,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(73,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(74,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,142,{_control:0}),xm._37(335544320,143,{_placeholderChild:0}),xm._37(335544320,144,{_labelChild:0}),xm._37(603979776,145,{_errorChildren:1}),xm._37(603979776,146,{_hintChildren:1}),xm._37(603979776,147,{_prefixChildren:1}),xm._37(603979776,148,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(83,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","construction_status"],["placeholder","Status of Construction"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,90)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,90)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,90)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(85,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(87,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(89,16384,null,0,Km.s,[Km.r],null,null),xm._17(90,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,149,{options:1}),xm._37(603979776,150,{optionGroups:1}),xm._37(335544320,151,{customTrigger:0}),xm._36(2048,[[142,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Wt)),xm._17(97,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(103,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(104,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,152,{_control:0}),xm._37(335544320,153,{_placeholderChild:0}),xm._37(335544320,154,{_labelChild:0}),xm._37(603979776,155,{_errorChildren:1}),xm._37(603979776,156,{_hintChildren:1}),xm._37(603979776,157,{_prefixChildren:1}),xm._37(603979776,158,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(113,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emv_per_customer"],["matInput",""],["placeholder","Estimate Market Value as Per Customer"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,114)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,114).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,114)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,114)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,115).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,115).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,115).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,122)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,122)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,122)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,7)&&u}return u},null,null)),xm._17(114,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(115,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(116,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(119,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(121,16384,null,0,Km.s,[Km.r],null,null),xm._17(122,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[152,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Rt)),xm._17(126,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,28,0,"");l(n,30,0,"property_type");l(n,33,0,"Type of Property","");l(n,40,0,e.m_mortageTypeProperty);l(n,45,0,e.mortageAccess);l(n,59,0,"owner_name");l(n,62,0,"Name of Owner","",e.compareObjects);l(n,69,0,e.mergeCompanyApplicant);l(n,85,0,"");l(n,87,0,"construction_status");l(n,90,0,"Status of Construction","");l(n,97,0,e.m_statusofCunstruction);l(n,116,0,"");l(n,119,0,"emv_per_customer");l(n,122,0,"Estimate Market Value as Per Customer","","number");l(n,126,0,""!=e.loanDetailsForm.controls.emv_per_customer.value)},function(l,n){l(n,16,1,[xm._32(n,17)._control.errorState,xm._32(n,17)._control.errorState,xm._32(n,17)._canLabelFloat,xm._32(n,17)._shouldLabelFloat(),xm._32(n,17)._hideControlPlaceholder(),xm._32(n,17)._control.disabled,xm._32(n,17)._control.focused,"primary"==xm._32(n,17).color,"accent"==xm._32(n,17).color,"warn"==xm._32(n,17).color,xm._32(n,17)._shouldForward("untouched"),xm._32(n,17)._shouldForward("touched"),xm._32(n,17)._shouldForward("pristine"),xm._32(n,17)._shouldForward("dirty"),xm._32(n,17)._shouldForward("valid"),xm._32(n,17)._shouldForward("invalid"),xm._32(n,17)._shouldForward("pending")]);l(n,26,1,[xm._32(n,28).required?"":null,xm._32(n,32).ngClassUntouched,xm._32(n,32).ngClassTouched,xm._32(n,32).ngClassPristine,xm._32(n,32).ngClassDirty,xm._32(n,32).ngClassValid,xm._32(n,32).ngClassInvalid,xm._32(n,32).ngClassPending,xm._32(n,33).id,xm._32(n,33).tabIndex,xm._32(n,33)._ariaLabel,xm._32(n,33).ariaLabelledby,xm._32(n,33).required.toString(),xm._32(n,33).disabled.toString(),xm._32(n,33).errorState,xm._32(n,33).panelOpen?xm._32(n,33)._optionIds:null,xm._32(n,33).multiple,xm._32(n,33)._ariaDescribedby||null,xm._32(n,33)._getAriaActiveDescendant(),xm._32(n,33).disabled,xm._32(n,33).errorState,xm._32(n,33).required]);l(n,47,1,[xm._32(n,48)._control.errorState,xm._32(n,48)._control.errorState,xm._32(n,48)._canLabelFloat,xm._32(n,48)._shouldLabelFloat(),xm._32(n,48)._hideControlPlaceholder(),xm._32(n,48)._control.disabled,xm._32(n,48)._control.focused,"primary"==xm._32(n,48).color,"accent"==xm._32(n,48).color,"warn"==xm._32(n,48).color,xm._32(n,48)._shouldForward("untouched"),xm._32(n,48)._shouldForward("touched"),xm._32(n,48)._shouldForward("pristine"),xm._32(n,48)._shouldForward("dirty"),xm._32(n,48)._shouldForward("valid"),xm._32(n,48)._shouldForward("invalid"),xm._32(n,48)._shouldForward("pending")]);l(n,57,1,[xm._32(n,61).ngClassUntouched,xm._32(n,61).ngClassTouched,xm._32(n,61).ngClassPristine,xm._32(n,61).ngClassDirty,xm._32(n,61).ngClassValid,xm._32(n,61).ngClassInvalid,xm._32(n,61).ngClassPending,xm._32(n,62).id,xm._32(n,62).tabIndex,xm._32(n,62)._ariaLabel,xm._32(n,62).ariaLabelledby,xm._32(n,62).required.toString(),xm._32(n,62).disabled.toString(),xm._32(n,62).errorState,xm._32(n,62).panelOpen?xm._32(n,62)._optionIds:null,xm._32(n,62).multiple,xm._32(n,62)._ariaDescribedby||null,xm._32(n,62)._getAriaActiveDescendant(),xm._32(n,62).disabled,xm._32(n,62).errorState,xm._32(n,62).required]);l(n,73,1,[xm._32(n,74)._control.errorState,xm._32(n,74)._control.errorState,xm._32(n,74)._canLabelFloat,xm._32(n,74)._shouldLabelFloat(),xm._32(n,74)._hideControlPlaceholder(),xm._32(n,74)._control.disabled,xm._32(n,74)._control.focused,"primary"==xm._32(n,74).color,"accent"==xm._32(n,74).color,"warn"==xm._32(n,74).color,xm._32(n,74)._shouldForward("untouched"),xm._32(n,74)._shouldForward("touched"),xm._32(n,74)._shouldForward("pristine"),xm._32(n,74)._shouldForward("dirty"),xm._32(n,74)._shouldForward("valid"),xm._32(n,74)._shouldForward("invalid"),xm._32(n,74)._shouldForward("pending")]);l(n,83,1,[xm._32(n,85).required?"":null,xm._32(n,89).ngClassUntouched,xm._32(n,89).ngClassTouched,xm._32(n,89).ngClassPristine,xm._32(n,89).ngClassDirty,xm._32(n,89).ngClassValid,xm._32(n,89).ngClassInvalid,xm._32(n,89).ngClassPending,xm._32(n,90).id,xm._32(n,90).tabIndex,xm._32(n,90)._ariaLabel,xm._32(n,90).ariaLabelledby,xm._32(n,90).required.toString(),xm._32(n,90).disabled.toString(),xm._32(n,90).errorState,xm._32(n,90).panelOpen?xm._32(n,90)._optionIds:null,xm._32(n,90).multiple,xm._32(n,90)._ariaDescribedby||null,xm._32(n,90)._getAriaActiveDescendant(),xm._32(n,90).disabled,xm._32(n,90).errorState,xm._32(n,90).required]);l(n,103,1,[xm._32(n,104)._control.errorState,xm._32(n,104)._control.errorState,xm._32(n,104)._canLabelFloat,xm._32(n,104)._shouldLabelFloat(),xm._32(n,104)._hideControlPlaceholder(),xm._32(n,104)._control.disabled,xm._32(n,104)._control.focused,"primary"==xm._32(n,104).color,"accent"==xm._32(n,104).color,"warn"==xm._32(n,104).color,xm._32(n,104)._shouldForward("untouched"),xm._32(n,104)._shouldForward("touched"),xm._32(n,104)._shouldForward("pristine"),xm._32(n,104)._shouldForward("dirty"),xm._32(n,104)._shouldForward("valid"),xm._32(n,104)._shouldForward("invalid"),xm._32(n,104)._shouldForward("pending")]);l(n,113,1,[xm._32(n,116).required?"":null,xm._32(n,121).ngClassUntouched,xm._32(n,121).ngClassTouched,xm._32(n,121).ngClassPristine,xm._32(n,121).ngClassDirty,xm._32(n,121).ngClassValid,xm._32(n,121).ngClassInvalid,xm._32(n,121).ngClassPending,xm._32(n,122)._isServer,xm._32(n,122).id,xm._32(n,122).placeholder,xm._32(n,122).disabled,xm._32(n,122).required,xm._32(n,122).readonly,xm._32(n,122)._ariaDescribedby||null,xm._32(n,122).errorState,xm._32(n,122).required.toString()])})}function Bt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,ht)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,229,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n\n \n "])),(l()(),xm._18(24,0,null,1,225,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,169,"mat-card",[["class","mat-card"],["style","padding: 12px;"]],null,null,null,nb.d,nb.a)),xm._17(31,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(33,0,null,0,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_amount"],["matInput",""],["placeholder","Loan Amount Applied for ? "],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,44)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,44).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,44)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,44)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,51)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,1)&&u}if("blur"===n){u=!1!==a.loanCalc()&&u}return u},null,null)),xm._17(44,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(45,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(48,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(50,16384,null,0,Km.s,[Km.r],null,null),xm._17(51,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,gt)),xm._17(55,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(58,0,null,0,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(59,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(68,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","end_use"],["multiple",""],["placeholder","What is the end use"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,75)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.endUserChange(e.value)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(70,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(72,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(74,16384,null,0,Km.s,[Km.r],null,null),xm._17(75,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},{selectionChange:"selectionChange"}),xm._37(603979776,16,{options:1}),xm._37(603979776,17,{optionGroups:1}),xm._37(335544320,18,{customTrigger:0}),xm._36(2048,[[9,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,bt)),xm._17(82,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,vt)),xm._17(88,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(90,0,null,0,31,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(91,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(100,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","is_transfer"],["placeholder","Is there a balance transfer ? "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,106)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,106)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,106)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedBalancesTransferChanges(e)&&u}return u},xv.b,xv.a)),xm._17(101,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(103,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(105,16384,null,0,Km.s,[Km.r],null,null),xm._17(106,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,33,{options:1}),xm._37(603979776,34,{optionGroups:1}),xm._37(335544320,35,{customTrigger:0}),xm._36(2048,[[26,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(113,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,114)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,114)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(114,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(117,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,118)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,118)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(118,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._13(16777216,null,0,1,null,Ct)),xm._17(124,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,Ft)),xm._17(128,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,xt)),xm._17(131,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(133,0,null,0,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(134,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,60,{_control:0}),xm._37(335544320,61,{_placeholderChild:0}),xm._37(335544320,62,{_labelChild:0}),xm._37(603979776,63,{_errorChildren:1}),xm._37(603979776,64,{_hintChildren:1}),xm._37(603979776,65,{_prefixChildren:1}),xm._37(603979776,66,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(143,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","topup_amount"],["matInput",""],["placeholder","Top Up Amt"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,144)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,144).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,144)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,144)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,149)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,149)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,149)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,5)&&u}return u},null,null)),xm._17(144,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(146,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(148,16384,null,0,Km.s,[Km.r],null,null),xm._17(149,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[60,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,St)),xm._17(153,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,qt)),xm._17(157,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,kt)),xm._17(160,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,Dt)),xm._17(163,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._13(16777216,null,0,1,null,Ot)),xm._17(166,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._13(16777216,null,0,1,null,Lt)),xm._17(172,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(174,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(175,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,108,{_control:0}),xm._37(335544320,109,{_placeholderChild:0}),xm._37(335544320,110,{_labelChild:0}),xm._37(603979776,111,{_errorChildren:1}),xm._37(603979776,112,{_hintChildren:1}),xm._37(603979776,113,{_prefixChildren:1}),xm._37(603979776,114,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(184,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emi_level"],["matInput",""],["placeholder","EMI Comfort Level"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,185)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,185).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,185)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,185)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,186).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,186).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,186).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,193)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,193)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,193)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,6)&&u}return u},null,null)),xm._17(185,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(186,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(187,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(190,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(192,16384,null,0,Km.s,[Km.r],null,null),xm._17(193,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[108,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,At)),xm._17(197,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Ut)),xm._17(202,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(204,0,null,null,34,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(205,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(207,0,null,0,30,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(209,0,null,null,27,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(211,0,null,null,24,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(212,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,159,{_control:0}),xm._37(335544320,160,{_placeholderChild:0}),xm._37(335544320,161,{_labelChild:0}),xm._37(603979776,162,{_errorChildren:1}),xm._37(603979776,163,{_hintChildren:1}),xm._37(603979776,164,{_prefixChildren:1}),xm._37(603979776,165,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(221,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(222,16384,[[161,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(225,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loandetails_remarks"],["matInput",""],["placeholder","Remarks"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,226)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,226).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,226)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,226)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,233)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,233)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,233)._onInput()&&u}return u},null,null)),xm._17(226,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(227,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(230,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(232,16384,null,0,Km.s,[Km.r],null,null),xm._17(233,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[159,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(240,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(241,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(244,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitLoanDetails()&&u}return u},Db.b,Db.a)),xm._17(245,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.loanDetailsForm);l(n,45,0,"");l(n,48,0,"loan_amount");l(n,51,0,"Loan Amount Applied for ? ","");l(n,55,0,""!=e.loanDetailsForm.controls.loan_amount.value);l(n,70,0,"");l(n,72,0,"end_use");l(n,75,0,"What is the end use","","");l(n,82,0,e.m_endUseForLoan);l(n,88,0,e.isOtherPurpose);l(n,101,0,"");l(n,103,0,"is_transfer");l(n,106,0,"Is there a balance transfer ? ","");l(n,114,0,"yes");l(n,118,0,"no");l(n,124,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,128,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,131,0,3==e.loanDetailsForm.controls.lender.value);l(n,146,0,"topup_amount");l(n,149,0,"Top Up Amt","text");l(n,153,0,""!=e.loanDetailsForm.controls.topup_amount.value);l(n,157,0,e.loanDetailsForm.controls.topup_amount.value>0);l(n,160,0,1==e.loanDetailsForm.controls.end_use_topup.value);l(n,163,0,"no"==e.loanDetailsForm.controls.is_transfer.value);l(n,166,0,"no"==e.loanDetailsForm.controls.is_transfer.value);l(n,172,0,e.isOtherSource);l(n,187,0,"");l(n,190,0,"emi_level");l(n,193,0,"EMI Comfort Level","","number");l(n,197,0,""!=e.loanDetailsForm.controls.emi_level.value);l(n,202,0,e.mortageCardAccess);l(n,227,0,"");l(n,230,0,"loandetails_remarks");l(n,233,0,"Remarks","");l(n,245,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,45).required?"":null,xm._32(n,50).ngClassUntouched,xm._32(n,50).ngClassTouched,xm._32(n,50).ngClassPristine,xm._32(n,50).ngClassDirty,xm._32(n,50).ngClassValid,xm._32(n,50).ngClassInvalid,xm._32(n,50).ngClassPending,xm._32(n,51)._isServer,xm._32(n,51).id,xm._32(n,51).placeholder,xm._32(n,51).disabled,xm._32(n,51).required,xm._32(n,51).readonly,xm._32(n,51)._ariaDescribedby||null,xm._32(n,51).errorState,xm._32(n,51).required.toString()]);l(n,58,1,[xm._32(n,59)._control.errorState,xm._32(n,59)._control.errorState,xm._32(n,59)._canLabelFloat,xm._32(n,59)._shouldLabelFloat(),xm._32(n,59)._hideControlPlaceholder(),xm._32(n,59)._control.disabled,xm._32(n,59)._control.focused,"primary"==xm._32(n,59).color,"accent"==xm._32(n,59).color,"warn"==xm._32(n,59).color,xm._32(n,59)._shouldForward("untouched"),xm._32(n,59)._shouldForward("touched"),xm._32(n,59)._shouldForward("pristine"),xm._32(n,59)._shouldForward("dirty"),xm._32(n,59)._shouldForward("valid"),xm._32(n,59)._shouldForward("invalid"),xm._32(n,59)._shouldForward("pending")]);l(n,68,1,[xm._32(n,70).required?"":null,xm._32(n,74).ngClassUntouched,xm._32(n,74).ngClassTouched,xm._32(n,74).ngClassPristine,xm._32(n,74).ngClassDirty,xm._32(n,74).ngClassValid,xm._32(n,74).ngClassInvalid,xm._32(n,74).ngClassPending,xm._32(n,75).id,xm._32(n,75).tabIndex,xm._32(n,75)._ariaLabel,xm._32(n,75).ariaLabelledby,xm._32(n,75).required.toString(),xm._32(n,75).disabled.toString(),xm._32(n,75).errorState,xm._32(n,75).panelOpen?xm._32(n,75)._optionIds:null,xm._32(n,75).multiple,xm._32(n,75)._ariaDescribedby||null,xm._32(n,75)._getAriaActiveDescendant(),xm._32(n,75).disabled,xm._32(n,75).errorState,xm._32(n,75).required]);l(n,90,1,[xm._32(n,91)._control.errorState,xm._32(n,91)._control.errorState,xm._32(n,91)._canLabelFloat,xm._32(n,91)._shouldLabelFloat(),xm._32(n,91)._hideControlPlaceholder(),xm._32(n,91)._control.disabled,xm._32(n,91)._control.focused,"primary"==xm._32(n,91).color,"accent"==xm._32(n,91).color,"warn"==xm._32(n,91).color,xm._32(n,91)._shouldForward("untouched"),xm._32(n,91)._shouldForward("touched"),xm._32(n,91)._shouldForward("pristine"),xm._32(n,91)._shouldForward("dirty"),xm._32(n,91)._shouldForward("valid"),xm._32(n,91)._shouldForward("invalid"),xm._32(n,91)._shouldForward("pending")]);l(n,100,1,[xm._32(n,101).required?"":null,xm._32(n,105).ngClassUntouched,xm._32(n,105).ngClassTouched,xm._32(n,105).ngClassPristine,xm._32(n,105).ngClassDirty,xm._32(n,105).ngClassValid,xm._32(n,105).ngClassInvalid,xm._32(n,105).ngClassPending,xm._32(n,106).id,xm._32(n,106).tabIndex,xm._32(n,106)._ariaLabel,xm._32(n,106).ariaLabelledby,xm._32(n,106).required.toString(),xm._32(n,106).disabled.toString(),xm._32(n,106).errorState,xm._32(n,106).panelOpen?xm._32(n,106)._optionIds:null,xm._32(n,106).multiple,xm._32(n,106)._ariaDescribedby||null,xm._32(n,106)._getAriaActiveDescendant(),xm._32(n,106).disabled,xm._32(n,106).errorState,xm._32(n,106).required]);l(n,113,0,xm._32(n,114)._getTabIndex(),xm._32(n,114).selected,xm._32(n,114).multiple,xm._32(n,114).active,xm._32(n,114).id,xm._32(n,114).selected.toString(),xm._32(n,114).disabled.toString(),xm._32(n,114).disabled);l(n,117,0,xm._32(n,118)._getTabIndex(),xm._32(n,118).selected,xm._32(n,118).multiple,xm._32(n,118).active,xm._32(n,118).id,xm._32(n,118).selected.toString(),xm._32(n,118).disabled.toString(),xm._32(n,118).disabled);l(n,133,1,[xm._32(n,134)._control.errorState,xm._32(n,134)._control.errorState,xm._32(n,134)._canLabelFloat,xm._32(n,134)._shouldLabelFloat(),xm._32(n,134)._hideControlPlaceholder(),xm._32(n,134)._control.disabled,xm._32(n,134)._control.focused,"primary"==xm._32(n,134).color,"accent"==xm._32(n,134).color,"warn"==xm._32(n,134).color,xm._32(n,134)._shouldForward("untouched"),xm._32(n,134)._shouldForward("touched"),xm._32(n,134)._shouldForward("pristine"),xm._32(n,134)._shouldForward("dirty"),xm._32(n,134)._shouldForward("valid"),xm._32(n,134)._shouldForward("invalid"),xm._32(n,134)._shouldForward("pending")]);l(n,143,1,[xm._32(n,148).ngClassUntouched,xm._32(n,148).ngClassTouched,xm._32(n,148).ngClassPristine,xm._32(n,148).ngClassDirty,xm._32(n,148).ngClassValid,xm._32(n,148).ngClassInvalid,xm._32(n,148).ngClassPending,xm._32(n,149)._isServer,xm._32(n,149).id,xm._32(n,149).placeholder,xm._32(n,149).disabled,xm._32(n,149).required,xm._32(n,149).readonly,xm._32(n,149)._ariaDescribedby||null,xm._32(n,149).errorState,xm._32(n,149).required.toString()]);l(n,174,1,[xm._32(n,175)._control.errorState,xm._32(n,175)._control.errorState,xm._32(n,175)._canLabelFloat,xm._32(n,175)._shouldLabelFloat(),xm._32(n,175)._hideControlPlaceholder(),xm._32(n,175)._control.disabled,xm._32(n,175)._control.focused,"primary"==xm._32(n,175).color,"accent"==xm._32(n,175).color,"warn"==xm._32(n,175).color,xm._32(n,175)._shouldForward("untouched"),xm._32(n,175)._shouldForward("touched"),xm._32(n,175)._shouldForward("pristine"),xm._32(n,175)._shouldForward("dirty"),xm._32(n,175)._shouldForward("valid"),xm._32(n,175)._shouldForward("invalid"),xm._32(n,175)._shouldForward("pending")]);l(n,184,1,[xm._32(n,187).required?"":null,xm._32(n,192).ngClassUntouched,xm._32(n,192).ngClassTouched,xm._32(n,192).ngClassPristine,xm._32(n,192).ngClassDirty,xm._32(n,192).ngClassValid,xm._32(n,192).ngClassInvalid,xm._32(n,192).ngClassPending,xm._32(n,193)._isServer,xm._32(n,193).id,xm._32(n,193).placeholder,xm._32(n,193).disabled,xm._32(n,193).required,xm._32(n,193).readonly,xm._32(n,193)._ariaDescribedby||null,xm._32(n,193).errorState,xm._32(n,193).required.toString()]);l(n,211,1,[xm._32(n,212)._control.errorState,xm._32(n,212)._control.errorState,xm._32(n,212)._canLabelFloat,xm._32(n,212)._shouldLabelFloat(),xm._32(n,212)._hideControlPlaceholder(),xm._32(n,212)._control.disabled,xm._32(n,212)._control.focused,"primary"==xm._32(n,212).color,"accent"==xm._32(n,212).color,"warn"==xm._32(n,212).color,xm._32(n,212)._shouldForward("untouched"),xm._32(n,212)._shouldForward("touched"),xm._32(n,212)._shouldForward("pristine"),xm._32(n,212)._shouldForward("dirty"),xm._32(n,212)._shouldForward("valid"),xm._32(n,212)._shouldForward("invalid"),xm._32(n,212)._shouldForward("pending")]);l(n,225,1,[xm._32(n,227).required?"":null,xm._32(n,232).ngClassUntouched,xm._32(n,232).ngClassTouched,xm._32(n,232).ngClassPristine,xm._32(n,232).ngClassDirty,xm._32(n,232).ngClassValid,xm._32(n,232).ngClassInvalid,xm._32(n,232).ngClassPending,xm._32(n,233)._isServer,xm._32(n,233).id,xm._32(n,233).placeholder,xm._32(n,233).disabled,xm._32(n,233).required,xm._32(n,233).readonly,xm._32(n,233)._ariaDescribedby||null,xm._32(n,233).errorState,xm._32(n,233).required.toString()])})}function $t(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,49,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,11,{_control:0}),xm._37(335544320,12,{_placeholderChild:0}),xm._37(335544320,13,{_labelChild:0}),xm._37(603979776,14,{_errorChildren:1}),xm._37(603979776,15,{_hintChildren:1}),xm._37(603979776,16,{_prefixChildren:1}),xm._37(603979776,17,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(13,16384,[[13,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Enter year from Which Financials Provided"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_starting_year"],["matInput",""],["placeholder","YYYY eg.2018"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,17)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,22)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(17,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[11,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,5,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),xm._17(26,16384,[[14,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,[" Invalid year format"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(31,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,18,{_control:0}),xm._37(335544320,19,{_placeholderChild:0}),xm._37(335544320,20,{_labelChild:0}),xm._37(603979776,21,{_errorChildren:1}),xm._37(603979776,22,{_hintChildren:1}),xm._37(603979776,23,{_prefixChildren:1}),xm._37(603979776,24,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(40,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_no_of_year"],["matInput",""],["placeholder","Number of Financial Years"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,41)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,46)._onInput()&&u}if("change"===n){u=!1!==a.dynamicalFinYear(e)&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(41,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(43,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(45,16384,null,0,Km.s,[Km.r],null,null),xm._17(46,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[18,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,19,0,"financial_starting_year");l(n,22,0,"YYYY eg.2018");l(n,43,0,"financial_no_of_year");l(n,46,0,"Number of Financial Years")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,16,1,[xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22)._isServer,xm._32(n,22).id,xm._32(n,22).placeholder,xm._32(n,22).disabled,xm._32(n,22).required,xm._32(n,22).readonly,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22).errorState,xm._32(n,22).required.toString()]);l(n,25,0,xm._32(n,26).id);l(n,30,1,[xm._32(n,31)._control.errorState,xm._32(n,31)._control.errorState,xm._32(n,31)._canLabelFloat,xm._32(n,31)._shouldLabelFloat(),xm._32(n,31)._hideControlPlaceholder(),xm._32(n,31)._control.disabled,xm._32(n,31)._control.focused,"primary"==xm._32(n,31).color,"accent"==xm._32(n,31).color,"warn"==xm._32(n,31).color,xm._32(n,31)._shouldForward("untouched"),xm._32(n,31)._shouldForward("touched"),xm._32(n,31)._shouldForward("pristine"),xm._32(n,31)._shouldForward("dirty"),xm._32(n,31)._shouldForward("valid"),xm._32(n,31)._shouldForward("invalid"),xm._32(n,31)._shouldForward("pending")]);l(n,40,1,[xm._32(n,45).ngClassUntouched,xm._32(n,45).ngClassTouched,xm._32(n,45).ngClassPristine,xm._32(n,45).ngClassDirty,xm._32(n,45).ngClassValid,xm._32(n,45).ngClassInvalid,xm._32(n,45).ngClassPending,xm._32(n,46)._isServer,xm._32(n,46).id,xm._32(n,46).placeholder,xm._32(n,46).disabled,xm._32(n,46).required,xm._32(n,46).readonly,xm._32(n,46)._ariaDescribedby||null,xm._32(n,46).errorState,xm._32(n,46).required.toString()])})}function Mt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[29,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.FY_annualSalesInwords[n.parent.context.index])})}function Kt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n No difference in Sales in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Sales in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[" "," "])),(l()(),xm._39(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function Ht(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n Increase in Sales in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Sales in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[" "," "])),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),xm._39(9,null,[" "," % "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_annualsales_variation").value)})}function Gt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n Decrease in Sales in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Sales in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[""," "])),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),xm._39(9,null,[" "," % "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_annualsales_variation").value.replace("-",""))})}function Yt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"p",[["class","info"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Kt)),xm._17(3,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ht)),xm._17(6,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Gt)),xm._17(9,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,0==n.parent.parent.context.$implicit.get("financial_annualsales_variation").value);l(n,6,0,n.parent.parent.context.$implicit.get("financial_annualsales_variation").value>0);l(n,9,0,n.parent.parent.context.$implicit.get("financial_annualsales_variation").value<0)},null)}function Qt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(3,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Sale Variation from Previous Year in %"])),(l()(),xm._39(-1,null,["\n   -"])),(l()(),xm._18(6,0,null,null,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_annualsales_variation"],["matInput",""],["placeholder","Sale Variation from Previous Year in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,8)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,8).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,8)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,8)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,13)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,13)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._36(6144,null,ib.c,null,[rb.b]),xm._17(8,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(10,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(12,16384,null,0,Km.s,[Km.r],null,null),xm._17(13,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Yt)),xm._17(16,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,10,0,"financial_annualsales_variation");l(n,13,0,"Sale Variation from Previous Year in %","");l(n,16,0,""!=n.parent.context.$implicit.get("financial_annualsales_variation").value)},function(l,n){l(n,6,1,[xm._32(n,12).ngClassUntouched,xm._32(n,12).ngClassTouched,xm._32(n,12).ngClassPristine,xm._32(n,12).ngClassDirty,xm._32(n,12).ngClassValid,xm._32(n,12).ngClassInvalid,xm._32(n,12).ngClassPending,xm._32(n,13)._isServer,xm._32(n,13).id,xm._32(n,13).placeholder,xm._32(n,13).disabled,xm._32(n,13).required,xm._32(n,13).readonly,xm._32(n,13)._ariaDescribedby||null,xm._32(n,13).errorState,xm._32(n,13).required.toString()])})}function zt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[46,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.FY_netProfitAmtInwords[n.parent.parent.context.index])})}function Jt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,44,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,42,{_control:0}),xm._37(335544320,43,{_placeholderChild:0}),xm._37(335544320,44,{_labelChild:0}),xm._37(603979776,45,{_errorChildren:1}),xm._37(603979776,46,{_hintChildren:1}),xm._37(603979776,47,{_prefixChildren:1}),xm._37(603979776,48,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_net_profit"],["matInput",""],["placeholder","Net Profit Amount"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,18)._onInput()&&u}if("change"===n){u=!1!==a.calculationForFinanicalStatement()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,2)&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),xm._17(18,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[42,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,zt)),xm._17(22,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(25,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(26,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,49,{_control:0}),xm._37(335544320,50,{_placeholderChild:0}),xm._37(335544320,51,{_labelChild:0}),xm._37(603979776,52,{_errorChildren:1}),xm._37(603979776,53,{_hintChildren:1}),xm._37(603979776,54,{_prefixChildren:1}),xm._37(603979776,55,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(35,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_margin_of_profit"],["matInput",""],["placeholder","Net Profit to Sales in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,36)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,36).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,36)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,36)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,41)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,41)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,41)._onInput()&&u}return u},null,null)),xm._17(36,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(38,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(40,16384,null,0,Km.s,[Km.r],null,null),xm._17(41,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),xm._36(2048,[[49,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"financial_net_profit");l(n,18,0,"Net Profit Amount");l(n,22,0,""!=n.parent.context.$implicit.get("financial_net_profit").value);l(n,38,0,"financial_margin_of_profit");l(n,41,0,"Net Profit to Sales in %","")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending,xm._32(n,18)._isServer,xm._32(n,18).id,xm._32(n,18).placeholder,xm._32(n,18).disabled,xm._32(n,18).required,xm._32(n,18).readonly,xm._32(n,18)._ariaDescribedby||null,xm._32(n,18).errorState,xm._32(n,18).required.toString()]);l(n,25,1,[xm._32(n,26)._control.errorState,xm._32(n,26)._control.errorState,xm._32(n,26)._canLabelFloat,xm._32(n,26)._shouldLabelFloat(),xm._32(n,26)._hideControlPlaceholder(),xm._32(n,26)._control.disabled,xm._32(n,26)._control.focused,"primary"==xm._32(n,26).color,"accent"==xm._32(n,26).color,"warn"==xm._32(n,26).color,xm._32(n,26)._shouldForward("untouched"),xm._32(n,26)._shouldForward("touched"),xm._32(n,26)._shouldForward("pristine"),xm._32(n,26)._shouldForward("dirty"),xm._32(n,26)._shouldForward("valid"),xm._32(n,26)._shouldForward("invalid"),xm._32(n,26)._shouldForward("pending")]);l(n,35,1,[xm._32(n,40).ngClassUntouched,xm._32(n,40).ngClassTouched,xm._32(n,40).ngClassPristine,xm._32(n,40).ngClassDirty,xm._32(n,40).ngClassValid,xm._32(n,40).ngClassInvalid,xm._32(n,40).ngClassPending,xm._32(n,41)._isServer,xm._32(n,41).id,xm._32(n,41).placeholder,xm._32(n,41).disabled,xm._32(n,41).required,xm._32(n,41).readonly,xm._32(n,41)._ariaDescribedby||null,xm._32(n,41).errorState,xm._32(n,41).required.toString()])})}function Xt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[60,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["",""," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.FY_netLossAmtInwords[n.parent.parent.context.index])})}function Zt(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,44,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,56,{_control:0}),xm._37(335544320,57,{_placeholderChild:0}),xm._37(335544320,58,{_labelChild:0}),xm._37(603979776,59,{_errorChildren:1}),xm._37(603979776,60,{_hintChildren:1}),xm._37(603979776,61,{_prefixChildren:1}),xm._37(603979776,62,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_net_loss"],["matInput",""],["placeholder","Net Loss Amount"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,18)._onInput()&&u}if("change"===n){u=!1!==a.calculationForFinanicalStatement()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,3)&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),xm._17(18,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[56,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Xt)),xm._17(22,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(25,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(26,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,63,{_control:0}),xm._37(335544320,64,{_placeholderChild:0}),xm._37(335544320,65,{_labelChild:0}),xm._37(603979776,66,{_errorChildren:1}),xm._37(603979776,67,{_hintChildren:1}),xm._37(603979776,68,{_prefixChildren:1}),xm._37(603979776,69,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(35,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_margin_of_loss"],["matInput",""],["placeholder","Net Loss to Sale in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,36)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,36).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,36)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,36)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,41)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,41)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,41)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(36,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(38,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(40,16384,null,0,Km.s,[Km.r],null,null),xm._17(41,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),xm._36(2048,[[63,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"financial_net_loss");l(n,18,0,"Net Loss Amount");l(n,22,0,""!=n.parent.context.$implicit.get("financial_net_loss").value);l(n,38,0,"financial_margin_of_loss");l(n,41,0,"Net Loss to Sale in %","")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending,xm._32(n,18)._isServer,xm._32(n,18).id,xm._32(n,18).placeholder,xm._32(n,18).disabled,xm._32(n,18).required,xm._32(n,18).readonly,xm._32(n,18)._ariaDescribedby||null,xm._32(n,18).errorState,xm._32(n,18).required.toString()]);l(n,25,1,[xm._32(n,26)._control.errorState,xm._32(n,26)._control.errorState,xm._32(n,26)._canLabelFloat,xm._32(n,26)._shouldLabelFloat(),xm._32(n,26)._hideControlPlaceholder(),xm._32(n,26)._control.disabled,xm._32(n,26)._control.focused,"primary"==xm._32(n,26).color,"accent"==xm._32(n,26).color,"warn"==xm._32(n,26).color,xm._32(n,26)._shouldForward("untouched"),xm._32(n,26)._shouldForward("touched"),xm._32(n,26)._shouldForward("pristine"),xm._32(n,26)._shouldForward("dirty"),xm._32(n,26)._shouldForward("valid"),xm._32(n,26)._shouldForward("invalid"),xm._32(n,26)._shouldForward("pending")]);l(n,35,1,[xm._32(n,40).ngClassUntouched,xm._32(n,40).ngClassTouched,xm._32(n,40).ngClassPristine,xm._32(n,40).ngClassDirty,xm._32(n,40).ngClassValid,xm._32(n,40).ngClassInvalid,xm._32(n,40).ngClassPending,xm._32(n,41)._isServer,xm._32(n,41).id,xm._32(n,41).placeholder,xm._32(n,41).disabled,xm._32(n,41).required,xm._32(n,41).readonly,xm._32(n,41)._ariaDescribedby||null,xm._32(n,41).errorState,xm._32(n,41).required.toString()])})}function li(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n No difference in Profit in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Profit in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[" "," "])),(l()(),xm._39(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function ni(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n Increase in Profit in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Profit in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[" "," "])),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),xm._39(9,null,[" "," % "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_variation").value)})}function ei(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n Decrease in Profit in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Profit in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[" "," "])),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),xm._39(9,null,[" "," % "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_variation").value.replace("-",""))})}function ui(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,12,"p",[["class","info"]],null,null,null,null,null)),xm._17(1,278528,null,0,Df.h,[xm.B,xm.C,xm.p,xm.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),xm._34(2,{highlight:0}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,li)),xm._17(5,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ni)),xm._17(8,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ei)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"info",l(n,2,0,n.parent.parent.context.$implicit.controls.financial_variation.value>40||n.parent.parent.context.$implicit.controls.financial_variation.value<-40));l(n,5,0,0==n.parent.parent.context.$implicit.get("financial_variation").value);l(n,8,0,n.parent.parent.context.$implicit.get("financial_variation").value>0);l(n,11,0,n.parent.parent.context.$implicit.get("financial_variation").value<0)},null)}function ai(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n No difference in Profit sales % in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Profit sales % in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[" "," "])),(l()(),xm._39(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function ti(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n Increase in Profit sales % in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Profit sales % in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[" "," "])),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),xm._39(9,null,[" "," % "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value)})}function ii(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n Decrease in Profit sales % in FY "])),(l()(),xm._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,[" over Profit sales % in FY "])),(l()(),xm._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(6,null,[" "," "])),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),xm._39(9,null,[" "," % "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value.replace("-",""))})}function oi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,12,"p",[["class","info"]],null,null,null,null,null)),xm._17(1,278528,null,0,Df.h,[xm.B,xm.C,xm.p,xm.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),xm._34(2,{highlight:0}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ai)),xm._17(5,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ti)),xm._17(8,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ii)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"info",l(n,2,0,n.parent.parent.context.$implicit.controls.financial_profit_to_sale_variation.value>40||n.parent.parent.context.$implicit.controls.financial_profit_to_sale_variation.value<-40));l(n,5,0,0==n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value);l(n,8,0,n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value>0);l(n,11,0,n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value<0)},null)}function ri(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,37,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(3,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Profit Variation from Previous Year in %: "])),(l()(),xm._39(-1,null,["\n   - "])),(l()(),xm._18(6,0,null,null,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_variation"],["matInput",""],["placeholder","Profit Variation from Previous Year in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,10)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,10).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,10)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,10)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,15)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,15)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,15)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._36(6144,null,ib.c,null,[rb.b]),xm._17(8,278528,null,0,Df.h,[xm.B,xm.C,xm.p,xm.P],{ngClass:[0,"ngClass"]},null),xm._34(9,{highlight:0}),xm._17(10,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(12,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(14,16384,null,0,Km.s,[Km.r],null,null),xm._17(15,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ui)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(20,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(21,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Variation of Profit % over sales"])),(l()(),xm._39(-1,null,["\n   -"])),(l()(),xm._18(24,0,null,null,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_profit_to_sale_variation"],["matInput",""],["placeholder","Variation of Profit % over sales"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,28)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,28).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,28)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,28)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,33)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._36(6144,null,ib.c,null,[rb.b]),xm._17(26,278528,null,0,Df.h,[xm.B,xm.C,xm.p,xm.P],{ngClass:[0,"ngClass"]},null),xm._34(27,{highlight:0}),xm._17(28,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(30,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(32,16384,null,0,Km.s,[Km.r],null,null),xm._17(33,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,oi)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,8,0,l(n,9,0,n.parent.context.$implicit.controls.financial_variation.value>40||n.parent.context.$implicit.controls.financial_variation.value<-40));l(n,12,0,"financial_variation");l(n,15,0,"Profit Variation from Previous Year in %","");l(n,18,0,0!=n.parent.context.index&&""!=n.parent.context.$implicit.get("financial_variation").value);l(n,26,0,l(n,27,0,n.parent.context.$implicit.controls.financial_profit_to_sale_variation.value>40||n.parent.context.$implicit.controls.financial_profit_to_sale_variation.value<-40));l(n,30,0,"financial_profit_to_sale_variation");l(n,33,0,"Variation of Profit % over sales","");l(n,36,0,0!=n.parent.context.index&&""!=n.parent.context.$implicit.get("financial_profit_to_sale_variation").value)},function(l,n){l(n,6,1,[xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending,xm._32(n,15)._isServer,xm._32(n,15).id,xm._32(n,15).placeholder,xm._32(n,15).disabled,xm._32(n,15).required,xm._32(n,15).readonly,xm._32(n,15)._ariaDescribedby||null,xm._32(n,15).errorState,xm._32(n,15).required.toString()]);l(n,24,1,[xm._32(n,32).ngClassUntouched,xm._32(n,32).ngClassTouched,xm._32(n,32).ngClassPristine,xm._32(n,32).ngClassDirty,xm._32(n,32).ngClassValid,xm._32(n,32).ngClassInvalid,xm._32(n,32).ngClassPending,xm._32(n,33)._isServer,xm._32(n,33).id,xm._32(n,33).placeholder,xm._32(n,33).disabled,xm._32(n,33).required,xm._32(n,33).readonly,xm._32(n,33)._ariaDescribedby||null,xm._32(n,33).errorState,xm._32(n,33).required.toString()])})}function _i(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,79,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,73,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,2,"mat-label",[["style","color:blue"]],null,null,null,null,null)),xm._17(9,16384,null,0,ib.f,[],null,null),(l()(),xm._39(10,null,["Financial Year : ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._18(13,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(14,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,25,{_control:0}),xm._37(335544320,26,{_placeholderChild:0}),xm._37(335544320,27,{_labelChild:0}),xm._37(603979776,28,{_errorChildren:1}),xm._37(603979776,29,{_hintChildren:1}),xm._37(603979776,30,{_prefixChildren:1}),xm._37(603979776,31,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_annual_sale"],["matInput",""],["placeholder","Annual Sale"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,24)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,24).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,24)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,24)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,29)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,29)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,29)._onInput()&&u}if("change"===n){u=!1!==a.calculationForFinanicalStatement()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index,1)&&u}return u},null,null)),xm._17(24,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(26,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(28,16384,null,0,Km.s,[Km.r],null,null),xm._17(29,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[25,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Mt)),xm._17(33,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Qt)),xm._17(37,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(40,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,32,{_control:0}),xm._37(335544320,33,{_placeholderChild:0}),xm._37(335544320,34,{_labelChild:0}),xm._37(603979776,35,{_errorChildren:1}),xm._37(603979776,36,{_hintChildren:1}),xm._37(603979776,37,{_prefixChildren:1}),xm._37(603979776,38,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(49,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","finanical_profit_or_loss"],["placeholder","Is there Net Profit or Net Loss?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,53)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedProfitOrLossType(e,l.context.$implicit)&&u}return u},xv.b,xv.a)),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,39,{options:1}),xm._37(603979776,40,{optionGroups:1}),xm._37(335544320,41,{customTrigger:0}),xm._36(2048,[[32,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,61)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(61,8437760,[[39,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Net Profit"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(64,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,65)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(65,8437760,[[39,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Net Loss"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Jt)),xm._17(71,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Zt)),xm._17(74,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ri)),xm._17(77,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,26,0,"financial_annual_sale");l(n,29,0,"Annual Sale");l(n,33,0,""!=n.context.$implicit.get("financial_annual_sale").value);l(n,37,0,n.context.index>0);l(n,50,0,"finanical_profit_or_loss");l(n,53,0,"Is there Net Profit or Net Loss?");l(n,61,0,"1");l(n,65,0,"2");l(n,71,0,1==n.context.$implicit.get("finanical_profit_or_loss").value);l(n,74,0,2==n.context.$implicit.get("finanical_profit_or_loss").value);l(n,77,0,n.context.index>0)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,10,0,n.context.$implicit.get("financial_year").value);l(n,13,1,[xm._32(n,14)._control.errorState,xm._32(n,14)._control.errorState,xm._32(n,14)._canLabelFloat,xm._32(n,14)._shouldLabelFloat(),xm._32(n,14)._hideControlPlaceholder(),xm._32(n,14)._control.disabled,xm._32(n,14)._control.focused,"primary"==xm._32(n,14).color,"accent"==xm._32(n,14).color,"warn"==xm._32(n,14).color,xm._32(n,14)._shouldForward("untouched"),xm._32(n,14)._shouldForward("touched"),xm._32(n,14)._shouldForward("pristine"),xm._32(n,14)._shouldForward("dirty"),xm._32(n,14)._shouldForward("valid"),xm._32(n,14)._shouldForward("invalid"),xm._32(n,14)._shouldForward("pending")]);l(n,23,1,[xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending,xm._32(n,29)._isServer,xm._32(n,29).id,xm._32(n,29).placeholder,xm._32(n,29).disabled,xm._32(n,29).required,xm._32(n,29).readonly,xm._32(n,29)._ariaDescribedby||null,xm._32(n,29).errorState,xm._32(n,29).required.toString()]);l(n,39,1,[xm._32(n,40)._control.errorState,xm._32(n,40)._control.errorState,xm._32(n,40)._canLabelFloat,xm._32(n,40)._shouldLabelFloat(),xm._32(n,40)._hideControlPlaceholder(),xm._32(n,40)._control.disabled,xm._32(n,40)._control.focused,"primary"==xm._32(n,40).color,"accent"==xm._32(n,40).color,"warn"==xm._32(n,40).color,xm._32(n,40)._shouldForward("untouched"),xm._32(n,40)._shouldForward("touched"),xm._32(n,40)._shouldForward("pristine"),xm._32(n,40)._shouldForward("dirty"),xm._32(n,40)._shouldForward("valid"),xm._32(n,40)._shouldForward("invalid"),xm._32(n,40)._shouldForward("pending")]);l(n,49,1,[xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53).id,xm._32(n,53).tabIndex,xm._32(n,53)._ariaLabel,xm._32(n,53).ariaLabelledby,xm._32(n,53).required.toString(),xm._32(n,53).disabled.toString(),xm._32(n,53).errorState,xm._32(n,53).panelOpen?xm._32(n,53)._optionIds:null,xm._32(n,53).multiple,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53)._getAriaActiveDescendant(),xm._32(n,53).disabled,xm._32(n,53).errorState,xm._32(n,53).required]);l(n,60,0,xm._32(n,61)._getTabIndex(),xm._32(n,61).selected,xm._32(n,61).multiple,xm._32(n,61).active,xm._32(n,61).id,xm._32(n,61).selected.toString(),xm._32(n,61).disabled.toString(),xm._32(n,61).disabled);l(n,64,0,xm._32(n,65)._getTabIndex(),xm._32(n,65).selected,xm._32(n,65).multiple,xm._32(n,65).active,xm._32(n,65).id,xm._32(n,65).selected.toString(),xm._32(n,65).disabled.toString(),xm._32(n,65).disabled)})}function di(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,7,"div",[["formArrayName","date_per_financial"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,_i)),xm._17(6,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"date_per_financial");l(n,6,0,e.financialForm.controls.date_per_financial.controls)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending)})}function si(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,70,{_control:0}),xm._37(335544320,71,{_placeholderChild:0}),xm._37(335544320,72,{_labelChild:0}),xm._37(603979776,73,{_errorChildren:1}),xm._37(603979776,74,{_hintChildren:1}),xm._37(603979776,75,{_prefixChildren:1}),xm._37(603979776,76,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_reason"],["matInput",""],["placeholder","Comments on Financials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[70,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"financial_reason");l(n,16,0,"Comments on Financials")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function ci(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,si)),xm._17(3,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!=e.financial_no_of_year&&e.customerCommentsFlag)},null)}function mi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[91,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesFrmInwords[n.parent.context.index])})}function pi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[98,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesToInwords[n.parent.context.index])})}function fi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[105,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesInwords[n.parent.context.index])})}function hi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[153,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[" "," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_marginProfitAmtInwords[n.parent.parent.context.index])})}function gi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,88,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,128,{_control:0}),xm._37(335544320,129,{_placeholderChild:0}),xm._37(335544320,130,{_labelChild:0}),xm._37(603979776,131,{_errorChildren:1}),xm._37(603979776,132,{_hintChildren:1}),xm._37(603979776,133,{_prefixChildren:1}),xm._37(603979776,134,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_range_from"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Profit % From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}if("change"===n){u=!1!==a.calculateMarginProfit(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[128,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(24,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,135,{_control:0}),xm._37(335544320,136,{_placeholderChild:0}),xm._37(335544320,137,{_labelChild:0}),xm._37(603979776,138,{_errorChildren:1}),xm._37(603979776,139,{_hintChildren:1}),xm._37(603979776,140,{_prefixChildren:1}),xm._37(603979776,141,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_range_to"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Profit % To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,40)._onInput()&&u}if("change"===n){u=!1!==a.calculateMarginProfit(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),xm._17(34,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(35,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(37,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(39,16384,null,0,Km.s,[Km.r],null,null),xm._17(40,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[135,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(44,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(45,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,142,{_control:0}),xm._37(335544320,143,{_placeholderChild:0}),xm._37(335544320,144,{_labelChild:0}),xm._37(603979776,145,{_errorChildren:1}),xm._37(603979776,146,{_hintChildren:1}),xm._37(603979776,147,{_prefixChildren:1}),xm._37(603979776,148,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(54,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_margin_percent"],["matInput",""],["placeholder","Net Profit % Considered"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,61)._onInput()&&u}return u},null,null)),xm._17(55,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(56,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(58,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(60,16384,null,0,Km.s,[Km.r],null,null),xm._17(61,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[142,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(66,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(67,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,149,{_control:0}),xm._37(335544320,150,{_placeholderChild:0}),xm._37(335544320,151,{_labelChild:0}),xm._37(603979776,152,{_errorChildren:1}),xm._37(603979776,153,{_hintChildren:1}),xm._37(603979776,154,{_prefixChildren:1}),xm._37(603979776,155,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(76,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_margin"],["matInput",""],["placeholder","Net Profit Amount Considered"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,77)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,77).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,77)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,77)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,82)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,82)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,82)._onInput()&&u}return u},null,null)),xm._17(77,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(79,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(81,16384,null,0,Km.s,[Km.r],null,null),xm._17(82,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),xm._36(2048,[[149,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,hi)),xm._17(86,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_profit_range_from");l(n,19,0,"Net Profit % From","number");l(n,37,0,"estimate_profit_range_to");l(n,40,0,"Net Profit % To","number");l(n,58,0,"estimate_profit_margin_percent");l(n,61,0,"Net Profit % Considered","number","");l(n,79,0,"estimate_profit_margin");l(n,82,0,"Net Profit Amount Considered","");l(n,86,0,""!=n.parent.context.$implicit.get("estimate_profit_margin").value)},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,23,1,[xm._32(n,24)._control.errorState,xm._32(n,24)._control.errorState,xm._32(n,24)._canLabelFloat,xm._32(n,24)._shouldLabelFloat(),xm._32(n,24)._hideControlPlaceholder(),xm._32(n,24)._control.disabled,xm._32(n,24)._control.focused,"primary"==xm._32(n,24).color,"accent"==xm._32(n,24).color,"warn"==xm._32(n,24).color,xm._32(n,24)._shouldForward("untouched"),xm._32(n,24)._shouldForward("touched"),xm._32(n,24)._shouldForward("pristine"),xm._32(n,24)._shouldForward("dirty"),xm._32(n,24)._shouldForward("valid"),xm._32(n,24)._shouldForward("invalid"),xm._32(n,24)._shouldForward("pending")]);l(n,33,1,[xm._32(n,39).ngClassUntouched,xm._32(n,39).ngClassTouched,xm._32(n,39).ngClassPristine,xm._32(n,39).ngClassDirty,xm._32(n,39).ngClassValid,xm._32(n,39).ngClassInvalid,xm._32(n,39).ngClassPending,xm._32(n,40)._isServer,xm._32(n,40).id,xm._32(n,40).placeholder,xm._32(n,40).disabled,xm._32(n,40).required,xm._32(n,40).readonly,xm._32(n,40)._ariaDescribedby||null,xm._32(n,40).errorState,xm._32(n,40).required.toString()]);l(n,44,1,[xm._32(n,45)._control.errorState,xm._32(n,45)._control.errorState,xm._32(n,45)._canLabelFloat,xm._32(n,45)._shouldLabelFloat(),xm._32(n,45)._hideControlPlaceholder(),xm._32(n,45)._control.disabled,xm._32(n,45)._control.focused,"primary"==xm._32(n,45).color,"accent"==xm._32(n,45).color,"warn"==xm._32(n,45).color,xm._32(n,45)._shouldForward("untouched"),xm._32(n,45)._shouldForward("touched"),xm._32(n,45)._shouldForward("pristine"),xm._32(n,45)._shouldForward("dirty"),xm._32(n,45)._shouldForward("valid"),xm._32(n,45)._shouldForward("invalid"),xm._32(n,45)._shouldForward("pending")]);l(n,54,1,[xm._32(n,60).ngClassUntouched,xm._32(n,60).ngClassTouched,xm._32(n,60).ngClassPristine,xm._32(n,60).ngClassDirty,xm._32(n,60).ngClassValid,xm._32(n,60).ngClassInvalid,xm._32(n,60).ngClassPending,xm._32(n,61)._isServer,xm._32(n,61).id,xm._32(n,61).placeholder,xm._32(n,61).disabled,xm._32(n,61).required,xm._32(n,61).readonly,xm._32(n,61)._ariaDescribedby||null,xm._32(n,61).errorState,xm._32(n,61).required.toString()]);l(n,66,1,[xm._32(n,67)._control.errorState,xm._32(n,67)._control.errorState,xm._32(n,67)._canLabelFloat,xm._32(n,67)._shouldLabelFloat(),xm._32(n,67)._hideControlPlaceholder(),xm._32(n,67)._control.disabled,xm._32(n,67)._control.focused,"primary"==xm._32(n,67).color,"accent"==xm._32(n,67).color,"warn"==xm._32(n,67).color,xm._32(n,67)._shouldForward("untouched"),xm._32(n,67)._shouldForward("touched"),xm._32(n,67)._shouldForward("pristine"),xm._32(n,67)._shouldForward("dirty"),xm._32(n,67)._shouldForward("valid"),xm._32(n,67)._shouldForward("invalid"),xm._32(n,67)._shouldForward("pending")]);l(n,76,1,[xm._32(n,81).ngClassUntouched,xm._32(n,81).ngClassTouched,xm._32(n,81).ngClassPristine,xm._32(n,81).ngClassDirty,xm._32(n,81).ngClassValid,xm._32(n,81).ngClassInvalid,xm._32(n,81).ngClassPending,xm._32(n,82)._isServer,xm._32(n,82).id,xm._32(n,82).placeholder,xm._32(n,82).disabled,xm._32(n,82).required,xm._32(n,82).readonly,xm._32(n,82)._ariaDescribedby||null,xm._32(n,82).errorState,xm._32(n,82).required.toString()])})}function bi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[160,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtFrmInwords[n.parent.parent.context.index])})}function vi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[167,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtToInwords[n.parent.parent.context.index])})}function yi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[181,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtInwords[n.parent.parent.context.index])})}function Ci(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,94,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,156,{_control:0}),xm._37(335544320,157,{_placeholderChild:0}),xm._37(335544320,158,{_labelChild:0}),xm._37(603979776,159,{_errorChildren:1}),xm._37(603979776,160,{_hintChildren:1}),xm._37(603979776,161,{_prefixChildren:1}),xm._37(603979776,162,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_from"],["matInput",""],["placeholder","Net Profit Amount From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}if("change"===n){u=!1!==a.calculateProfitAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,7)&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[156,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,bi)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(27,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,163,{_control:0}),xm._37(335544320,164,{_placeholderChild:0}),xm._37(335544320,165,{_labelChild:0}),xm._37(603979776,166,{_errorChildren:1}),xm._37(603979776,167,{_hintChildren:1}),xm._37(603979776,168,{_prefixChildren:1}),xm._37(603979776,169,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(36,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_to"],["matInput",""],["placeholder","Net Profit Amount To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,43)._onInput()&&u}if("change"===n){u=!1!==a.calculateProfitAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,8)&&u}return u},null,null)),xm._17(37,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(38,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(40,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(42,16384,null,0,Km.s,[Km.r],null,null),xm._17(43,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[163,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,vi)),xm._17(47,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(51,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,170,{_control:0}),xm._37(335544320,171,{_placeholderChild:0}),xm._37(335544320,172,{_labelChild:0}),xm._37(603979776,173,{_errorChildren:1}),xm._37(603979776,174,{_hintChildren:1}),xm._37(603979776,175,{_prefixChildren:1}),xm._37(603979776,176,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(60,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_percent"],["matInput",""],["placeholder","Considered Net Profit"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,66)._onInput()&&u}return u},null,null)),xm._17(61,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(63,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(65,16384,null,0,Km.s,[Km.r],null,null),xm._17(66,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),xm._36(2048,[[170,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(71,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,177,{_control:0}),xm._37(335544320,178,{_placeholderChild:0}),xm._37(335544320,179,{_labelChild:0}),xm._37(603979776,180,{_errorChildren:1}),xm._37(603979776,181,{_hintChildren:1}),xm._37(603979776,182,{_prefixChildren:1}),xm._37(603979776,183,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(80,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit"],["matInput",""],["placeholder","Considered Profit Amount"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,87)._onInput()&&u}return u},null,null)),xm._17(81,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(82,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(84,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(86,16384,null,0,Km.s,[Km.r],null,null),xm._17(87,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[177,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,yi)),xm._17(91,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_net_profit_from");l(n,19,0,"Net Profit Amount From","number");l(n,23,0,""!=n.parent.context.$implicit.get("estimate_net_profit_from").value);l(n,40,0,"estimate_net_profit_to");l(n,43,0,"Net Profit Amount To","number");l(n,47,0,""!=n.parent.context.$implicit.get("estimate_net_profit_to").value);l(n,63,0,"estimate_net_profit_percent");l(n,66,0,"Considered Net Profit","");l(n,84,0,"estimate_net_profit");l(n,87,0,"Considered Profit Amount","number","");l(n,91,0,""!=n.parent.context.$implicit.get("estimate_net_profit").value)},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,26,1,[xm._32(n,27)._control.errorState,xm._32(n,27)._control.errorState,xm._32(n,27)._canLabelFloat,xm._32(n,27)._shouldLabelFloat(),xm._32(n,27)._hideControlPlaceholder(),xm._32(n,27)._control.disabled,xm._32(n,27)._control.focused,"primary"==xm._32(n,27).color,"accent"==xm._32(n,27).color,"warn"==xm._32(n,27).color,xm._32(n,27)._shouldForward("untouched"),xm._32(n,27)._shouldForward("touched"),xm._32(n,27)._shouldForward("pristine"),xm._32(n,27)._shouldForward("dirty"),xm._32(n,27)._shouldForward("valid"),xm._32(n,27)._shouldForward("invalid"),xm._32(n,27)._shouldForward("pending")]);l(n,36,1,[xm._32(n,42).ngClassUntouched,xm._32(n,42).ngClassTouched,xm._32(n,42).ngClassPristine,xm._32(n,42).ngClassDirty,xm._32(n,42).ngClassValid,xm._32(n,42).ngClassInvalid,xm._32(n,42).ngClassPending,xm._32(n,43)._isServer,xm._32(n,43).id,xm._32(n,43).placeholder,xm._32(n,43).disabled,xm._32(n,43).required,xm._32(n,43).readonly,xm._32(n,43)._ariaDescribedby||null,xm._32(n,43).errorState,xm._32(n,43).required.toString()]);l(n,50,1,[xm._32(n,51)._control.errorState,xm._32(n,51)._control.errorState,xm._32(n,51)._canLabelFloat,xm._32(n,51)._shouldLabelFloat(),xm._32(n,51)._hideControlPlaceholder(),xm._32(n,51)._control.disabled,xm._32(n,51)._control.focused,"primary"==xm._32(n,51).color,"accent"==xm._32(n,51).color,"warn"==xm._32(n,51).color,xm._32(n,51)._shouldForward("untouched"),xm._32(n,51)._shouldForward("touched"),xm._32(n,51)._shouldForward("pristine"),xm._32(n,51)._shouldForward("dirty"),xm._32(n,51)._shouldForward("valid"),xm._32(n,51)._shouldForward("invalid"),xm._32(n,51)._shouldForward("pending")]);l(n,60,1,[xm._32(n,65).ngClassUntouched,xm._32(n,65).ngClassTouched,xm._32(n,65).ngClassPristine,xm._32(n,65).ngClassDirty,xm._32(n,65).ngClassValid,xm._32(n,65).ngClassInvalid,xm._32(n,65).ngClassPending,xm._32(n,66)._isServer,xm._32(n,66).id,xm._32(n,66).placeholder,xm._32(n,66).disabled,xm._32(n,66).required,xm._32(n,66).readonly,xm._32(n,66)._ariaDescribedby||null,xm._32(n,66).errorState,xm._32(n,66).required.toString()]);l(n,70,1,[xm._32(n,71)._control.errorState,xm._32(n,71)._control.errorState,xm._32(n,71)._canLabelFloat,xm._32(n,71)._shouldLabelFloat(),xm._32(n,71)._hideControlPlaceholder(),xm._32(n,71)._control.disabled,xm._32(n,71)._control.focused,"primary"==xm._32(n,71).color,"accent"==xm._32(n,71).color,"warn"==xm._32(n,71).color,xm._32(n,71)._shouldForward("untouched"),xm._32(n,71)._shouldForward("touched"),xm._32(n,71)._shouldForward("pristine"),xm._32(n,71)._shouldForward("dirty"),xm._32(n,71)._shouldForward("valid"),xm._32(n,71)._shouldForward("invalid"),xm._32(n,71)._shouldForward("pending")]);l(n,80,1,[xm._32(n,86).ngClassUntouched,xm._32(n,86).ngClassTouched,xm._32(n,86).ngClassPristine,xm._32(n,86).ngClassDirty,xm._32(n,86).ngClassValid,xm._32(n,86).ngClassInvalid,xm._32(n,86).ngClassPending,xm._32(n,87)._isServer,xm._32(n,87).id,xm._32(n,87).placeholder,xm._32(n,87).disabled,xm._32(n,87).required,xm._32(n,87).readonly,xm._32(n,87)._ariaDescribedby||null,xm._32(n,87).errorState,xm._32(n,87).required.toString()])})}function wi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[209,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_marginLossAmtInwords[n.parent.parent.context.index])})}function Fi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,89,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,184,{_control:0}),xm._37(335544320,185,{_placeholderChild:0}),xm._37(335544320,186,{_labelChild:0}),xm._37(603979776,187,{_errorChildren:1}),xm._37(603979776,188,{_hintChildren:1}),xm._37(603979776,189,{_prefixChildren:1}),xm._37(603979776,190,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_range_from"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Loss % From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}if("change"===n){u=!1!==a.calculateMarginLoss(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[184,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(24,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,191,{_control:0}),xm._37(335544320,192,{_placeholderChild:0}),xm._37(335544320,193,{_labelChild:0}),xm._37(603979776,194,{_errorChildren:1}),xm._37(603979776,195,{_hintChildren:1}),xm._37(603979776,196,{_prefixChildren:1}),xm._37(603979776,197,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_range_to"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Loss % To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,40)._onInput()&&u}if("change"===n){u=!1!==a.calculateMarginLoss(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),xm._17(34,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(35,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(37,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(39,16384,null,0,Km.s,[Km.r],null,null),xm._17(40,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[191,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(44,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(45,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,198,{_control:0}),xm._37(335544320,199,{_placeholderChild:0}),xm._37(335544320,200,{_labelChild:0}),xm._37(603979776,201,{_errorChildren:1}),xm._37(603979776,202,{_hintChildren:1}),xm._37(603979776,203,{_prefixChildren:1}),xm._37(603979776,204,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(54,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_margin_percent"],["matInput",""],["placeholder","Net Profit % Considered"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,61)._onInput()&&u}return u},null,null)),xm._17(55,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(56,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(58,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(60,16384,null,0,Km.s,[Km.r],null,null),xm._17(61,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[198,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(68,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,205,{_control:0}),xm._37(335544320,206,{_placeholderChild:0}),xm._37(335544320,207,{_labelChild:0}),xm._37(603979776,208,{_errorChildren:1}),xm._37(603979776,209,{_hintChildren:1}),xm._37(603979776,210,{_prefixChildren:1}),xm._37(603979776,211,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(77,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_margin"],["matInput",""],["placeholder","Net Loss Amount Considered"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,78)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,78).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,78)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,78)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,83)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,83)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,83)._onInput()&&u}return u},null,null)),xm._17(78,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(80,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(82,16384,null,0,Km.s,[Km.r],null,null),xm._17(83,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),xm._36(2048,[[205,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,wi)),xm._17(87,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_loss_range_from");l(n,19,0,"Net Loss % From","number");l(n,37,0,"estimate_loss_range_to");l(n,40,0,"Net Loss % To","number");l(n,58,0,"estimate_loss_margin_percent");l(n,61,0,"Net Profit % Considered","number","");l(n,80,0,"estimate_loss_margin");l(n,83,0,"Net Loss Amount Considered","");l(n,87,0,""!=n.parent.context.$implicit.get("estimate_loss_margin").value)},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,23,1,[xm._32(n,24)._control.errorState,xm._32(n,24)._control.errorState,xm._32(n,24)._canLabelFloat,xm._32(n,24)._shouldLabelFloat(),xm._32(n,24)._hideControlPlaceholder(),xm._32(n,24)._control.disabled,xm._32(n,24)._control.focused,"primary"==xm._32(n,24).color,"accent"==xm._32(n,24).color,"warn"==xm._32(n,24).color,xm._32(n,24)._shouldForward("untouched"),xm._32(n,24)._shouldForward("touched"),xm._32(n,24)._shouldForward("pristine"),xm._32(n,24)._shouldForward("dirty"),xm._32(n,24)._shouldForward("valid"),xm._32(n,24)._shouldForward("invalid"),xm._32(n,24)._shouldForward("pending")]);l(n,33,1,[xm._32(n,39).ngClassUntouched,xm._32(n,39).ngClassTouched,xm._32(n,39).ngClassPristine,xm._32(n,39).ngClassDirty,xm._32(n,39).ngClassValid,xm._32(n,39).ngClassInvalid,xm._32(n,39).ngClassPending,xm._32(n,40)._isServer,xm._32(n,40).id,xm._32(n,40).placeholder,xm._32(n,40).disabled,xm._32(n,40).required,xm._32(n,40).readonly,xm._32(n,40)._ariaDescribedby||null,xm._32(n,40).errorState,xm._32(n,40).required.toString()]);l(n,44,1,[xm._32(n,45)._control.errorState,xm._32(n,45)._control.errorState,xm._32(n,45)._canLabelFloat,xm._32(n,45)._shouldLabelFloat(),xm._32(n,45)._hideControlPlaceholder(),xm._32(n,45)._control.disabled,xm._32(n,45)._control.focused,"primary"==xm._32(n,45).color,"accent"==xm._32(n,45).color,"warn"==xm._32(n,45).color,xm._32(n,45)._shouldForward("untouched"),xm._32(n,45)._shouldForward("touched"),xm._32(n,45)._shouldForward("pristine"),xm._32(n,45)._shouldForward("dirty"),xm._32(n,45)._shouldForward("valid"),xm._32(n,45)._shouldForward("invalid"),xm._32(n,45)._shouldForward("pending")]);l(n,54,1,[xm._32(n,60).ngClassUntouched,xm._32(n,60).ngClassTouched,xm._32(n,60).ngClassPristine,xm._32(n,60).ngClassDirty,xm._32(n,60).ngClassValid,xm._32(n,60).ngClassInvalid,xm._32(n,60).ngClassPending,xm._32(n,61)._isServer,xm._32(n,61).id,xm._32(n,61).placeholder,xm._32(n,61).disabled,xm._32(n,61).required,xm._32(n,61).readonly,xm._32(n,61)._ariaDescribedby||null,xm._32(n,61).errorState,xm._32(n,61).required.toString()]);l(n,67,1,[xm._32(n,68)._control.errorState,xm._32(n,68)._control.errorState,xm._32(n,68)._canLabelFloat,xm._32(n,68)._shouldLabelFloat(),xm._32(n,68)._hideControlPlaceholder(),xm._32(n,68)._control.disabled,xm._32(n,68)._control.focused,"primary"==xm._32(n,68).color,"accent"==xm._32(n,68).color,"warn"==xm._32(n,68).color,xm._32(n,68)._shouldForward("untouched"),xm._32(n,68)._shouldForward("touched"),xm._32(n,68)._shouldForward("pristine"),xm._32(n,68)._shouldForward("dirty"),xm._32(n,68)._shouldForward("valid"),xm._32(n,68)._shouldForward("invalid"),xm._32(n,68)._shouldForward("pending")]);l(n,77,1,[xm._32(n,82).ngClassUntouched,xm._32(n,82).ngClassTouched,xm._32(n,82).ngClassPristine,xm._32(n,82).ngClassDirty,xm._32(n,82).ngClassValid,xm._32(n,82).ngClassInvalid,xm._32(n,82).ngClassPending,xm._32(n,83)._isServer,xm._32(n,83).id,xm._32(n,83).placeholder,xm._32(n,83).disabled,xm._32(n,83).required,xm._32(n,83).readonly,xm._32(n,83)._ariaDescribedby||null,xm._32(n,83).errorState,xm._32(n,83).required.toString()])})}function xi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[216,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtFrmInwords[n.parent.parent.context.index])})}function Si(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[223,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtToInwords[n.parent.parent.context.index])})}function Ii(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[237,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtInwords[n.parent.parent.context.index])})}function qi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,94,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,212,{_control:0}),xm._37(335544320,213,{_placeholderChild:0}),xm._37(335544320,214,{_labelChild:0}),xm._37(603979776,215,{_errorChildren:1}),xm._37(603979776,216,{_hintChildren:1}),xm._37(603979776,217,{_prefixChildren:1}),xm._37(603979776,218,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_from"],["matInput",""],["placeholder","Net Loss Amount From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}if("change"===n){u=!1!==a.calculateLossAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,9)&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[212,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,xi)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(27,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,219,{_control:0}),xm._37(335544320,220,{_placeholderChild:0}),xm._37(335544320,221,{_labelChild:0}),xm._37(603979776,222,{_errorChildren:1}),xm._37(603979776,223,{_hintChildren:1}),xm._37(603979776,224,{_prefixChildren:1}),xm._37(603979776,225,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(36,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_to"],["matInput",""],["placeholder","Net Loss Amount To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,43)._onInput()&&u}if("change"===n){u=!1!==a.calculateLossAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,10)&&u}return u},null,null)),xm._17(37,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(38,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(40,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(42,16384,null,0,Km.s,[Km.r],null,null),xm._17(43,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[219,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Si)),xm._17(47,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(51,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,226,{_control:0}),xm._37(335544320,227,{_placeholderChild:0}),xm._37(335544320,228,{_labelChild:0}),xm._37(603979776,229,{_errorChildren:1}),xm._37(603979776,230,{_hintChildren:1}),xm._37(603979776,231,{_prefixChildren:1}),xm._37(603979776,232,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(60,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_percent"],["matInput",""],["placeholder","Considered Net Loss"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,66)._onInput()&&u}return u},null,null)),xm._17(61,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(63,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(65,16384,null,0,Km.s,[Km.r],null,null),xm._17(66,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),xm._36(2048,[[226,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(71,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,233,{_control:0}),xm._37(335544320,234,{_placeholderChild:0}),xm._37(335544320,235,{_labelChild:0}),xm._37(603979776,236,{_errorChildren:1}),xm._37(603979776,237,{_hintChildren:1}),xm._37(603979776,238,{_prefixChildren:1}),xm._37(603979776,239,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(80,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss"],["matInput",""],["placeholder","Considered Loss Amount"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,87)._onInput()&&u}return u},null,null)),xm._17(81,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(82,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(84,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(86,16384,null,0,Km.s,[Km.r],null,null),xm._17(87,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[233,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Ii)),xm._17(91,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_net_loss_from");l(n,19,0,"Net Loss Amount From","number");l(n,23,0,""!=n.parent.context.$implicit.get("estimate_net_loss_from").value);l(n,40,0,"estimate_net_loss_to");l(n,43,0,"Net Loss Amount To","number");l(n,47,0,""!=n.parent.context.$implicit.get("estimate_net_loss_to").value);l(n,63,0,"estimate_net_loss_percent");l(n,66,0,"Considered Net Loss","");l(n,84,0,"estimate_net_loss");l(n,87,0,"Considered Loss Amount","number","");l(n,91,0,""!=n.parent.context.$implicit.get("estimate_net_loss").value)},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,26,1,[xm._32(n,27)._control.errorState,xm._32(n,27)._control.errorState,xm._32(n,27)._canLabelFloat,xm._32(n,27)._shouldLabelFloat(),xm._32(n,27)._hideControlPlaceholder(),xm._32(n,27)._control.disabled,xm._32(n,27)._control.focused,"primary"==xm._32(n,27).color,"accent"==xm._32(n,27).color,"warn"==xm._32(n,27).color,xm._32(n,27)._shouldForward("untouched"),xm._32(n,27)._shouldForward("touched"),xm._32(n,27)._shouldForward("pristine"),xm._32(n,27)._shouldForward("dirty"),xm._32(n,27)._shouldForward("valid"),xm._32(n,27)._shouldForward("invalid"),xm._32(n,27)._shouldForward("pending")]);l(n,36,1,[xm._32(n,42).ngClassUntouched,xm._32(n,42).ngClassTouched,xm._32(n,42).ngClassPristine,xm._32(n,42).ngClassDirty,xm._32(n,42).ngClassValid,xm._32(n,42).ngClassInvalid,xm._32(n,42).ngClassPending,xm._32(n,43)._isServer,xm._32(n,43).id,xm._32(n,43).placeholder,xm._32(n,43).disabled,xm._32(n,43).required,xm._32(n,43).readonly,xm._32(n,43)._ariaDescribedby||null,xm._32(n,43).errorState,xm._32(n,43).required.toString()]);l(n,50,1,[xm._32(n,51)._control.errorState,xm._32(n,51)._control.errorState,xm._32(n,51)._canLabelFloat,xm._32(n,51)._shouldLabelFloat(),xm._32(n,51)._hideControlPlaceholder(),xm._32(n,51)._control.disabled,xm._32(n,51)._control.focused,"primary"==xm._32(n,51).color,"accent"==xm._32(n,51).color,"warn"==xm._32(n,51).color,xm._32(n,51)._shouldForward("untouched"),xm._32(n,51)._shouldForward("touched"),xm._32(n,51)._shouldForward("pristine"),xm._32(n,51)._shouldForward("dirty"),xm._32(n,51)._shouldForward("valid"),xm._32(n,51)._shouldForward("invalid"),xm._32(n,51)._shouldForward("pending")]);l(n,60,1,[xm._32(n,65).ngClassUntouched,xm._32(n,65).ngClassTouched,xm._32(n,65).ngClassPristine,xm._32(n,65).ngClassDirty,xm._32(n,65).ngClassValid,xm._32(n,65).ngClassInvalid,xm._32(n,65).ngClassPending,xm._32(n,66)._isServer,xm._32(n,66).id,xm._32(n,66).placeholder,xm._32(n,66).disabled,xm._32(n,66).required,xm._32(n,66).readonly,xm._32(n,66)._ariaDescribedby||null,xm._32(n,66).errorState,xm._32(n,66).required.toString()]);l(n,70,1,[xm._32(n,71)._control.errorState,xm._32(n,71)._control.errorState,xm._32(n,71)._canLabelFloat,xm._32(n,71)._shouldLabelFloat(),xm._32(n,71)._hideControlPlaceholder(),xm._32(n,71)._control.disabled,xm._32(n,71)._control.focused,"primary"==xm._32(n,71).color,"accent"==xm._32(n,71).color,"warn"==xm._32(n,71).color,xm._32(n,71)._shouldForward("untouched"),xm._32(n,71)._shouldForward("touched"),xm._32(n,71)._shouldForward("pristine"),xm._32(n,71)._shouldForward("dirty"),xm._32(n,71)._shouldForward("valid"),xm._32(n,71)._shouldForward("invalid"),xm._32(n,71)._shouldForward("pending")]);l(n,80,1,[xm._32(n,86).ngClassUntouched,xm._32(n,86).ngClassTouched,xm._32(n,86).ngClassPristine,xm._32(n,86).ngClassDirty,xm._32(n,86).ngClassValid,xm._32(n,86).ngClassInvalid,xm._32(n,86).ngClassPending,xm._32(n,87)._isServer,xm._32(n,87).id,xm._32(n,87).placeholder,xm._32(n,87).disabled,xm._32(n,87).required,xm._32(n,87).readonly,xm._32(n,87)._ariaDescribedby||null,xm._32(n,87).errorState,xm._32(n,87).required.toString()])})}function ki(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,240,{_control:0}),xm._37(335544320,241,{_placeholderChild:0}),xm._37(335544320,242,{_labelChild:0}),xm._37(603979776,243,{_errorChildren:1}),xm._37(603979776,244,{_hintChildren:1}),xm._37(603979776,245,{_prefixChildren:1}),xm._37(603979776,246,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_reason_for_loss"],["matInput",""],["placeholder","What is the reason for the Loss?"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,18)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),xm._17(18,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[240,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"estimate_reason_for_loss");l(n,18,0,"What is the reason for the Loss?")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending,xm._32(n,18)._isServer,xm._32(n,18).id,xm._32(n,18).placeholder,xm._32(n,18).disabled,xm._32(n,18).required,xm._32(n,18).readonly,xm._32(n,18)._ariaDescribedby||null,xm._32(n,18).errorState,xm._32(n,18).required.toString()])})}function Pi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,158,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,152,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(9,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,87,{_control:0}),xm._37(335544320,88,{_placeholderChild:0}),xm._37(335544320,89,{_labelChild:0}),xm._37(603979776,90,{_errorChildren:1}),xm._37(603979776,91,{_hintChildren:1}),xm._37(603979776,92,{_prefixChildren:1}),xm._37(603979776,93,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_from"],["matInput",""],["placeholder","Annual Sales From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,19)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,20).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,20).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,25)._onInput()&&u}if("change"===n){u=!1!==a.calculateSalesAverage(l.context.index,l.context.$implicit)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index,11)&&u}return u},null,null)),xm._17(19,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(20,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(22,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(24,16384,null,0,Km.s,[Km.r],null,null),xm._17(25,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[87,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,mi)),xm._17(29,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(33,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,94,{_control:0}),xm._37(335544320,95,{_placeholderChild:0}),xm._37(335544320,96,{_labelChild:0}),xm._37(603979776,97,{_errorChildren:1}),xm._37(603979776,98,{_hintChildren:1}),xm._37(603979776,99,{_prefixChildren:1}),xm._37(603979776,100,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(42,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_to"],["matInput",""],["placeholder","Annual Sales To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,49)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,49)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,49)._onInput()&&u}if("change"===n){u=!1!==a.confirmAlert(l.context.index,l.context.$implicit)&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index,12)&&u}return u},null,null)),xm._17(43,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(44,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(46,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(48,16384,null,0,Km.s,[Km.r],null,null),xm._17(49,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[94,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,pi)),xm._17(53,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(56,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(57,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,101,{_control:0}),xm._37(335544320,102,{_placeholderChild:0}),xm._37(335544320,103,{_labelChild:0}),xm._37(603979776,104,{_errorChildren:1}),xm._37(603979776,105,{_hintChildren:1}),xm._37(603979776,106,{_prefixChildren:1}),xm._37(603979776,107,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(66,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_average"],["matInput",""],["placeholder","Consider Sales Average"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,67)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,67).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,67)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,67)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,68).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,68).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,68).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,73)._onInput()&&u}return u},null,null)),xm._17(67,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(68,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(70,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(72,16384,null,0,Km.s,[Km.r],null,null),xm._17(73,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[101,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,fi)),xm._17(77,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(80,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(81,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,108,{_control:0}),xm._37(335544320,109,{_placeholderChild:0}),xm._37(335544320,110,{_labelChild:0}),xm._37(603979776,111,{_errorChildren:1}),xm._37(603979776,112,{_hintChildren:1}),xm._37(603979776,113,{_prefixChildren:1}),xm._37(603979776,114,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(90,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","estimate_profit_or_loss"],["placeholder","Was there Net Profit or Net Loss?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,94)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,94)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,94)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(91,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(93,16384,null,0,Km.s,[Km.r],null,null),xm._17(94,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,115,{options:1}),xm._37(603979776,116,{optionGroups:1}),xm._37(335544320,117,{customTrigger:0}),xm._36(2048,[[108,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,102)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(102,8437760,[[115,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Net Profit"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(105,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,106)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,106)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(106,8437760,[[115,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Net Loss"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(111,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(112,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,118,{_control:0}),xm._37(335544320,119,{_placeholderChild:0}),xm._37(335544320,120,{_labelChild:0}),xm._37(603979776,121,{_errorChildren:1}),xm._37(603979776,122,{_hintChildren:1}),xm._37(603979776,123,{_prefixChildren:1}),xm._37(603979776,124,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(121,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","estimate_net_margin_availablity"],["placeholder","Is there Net Margin information Available?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,125)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,125)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,125)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(122,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(124,16384,null,0,Km.s,[Km.r],null,null),xm._17(125,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,125,{options:1}),xm._37(603979776,126,{optionGroups:1}),xm._37(335544320,127,{customTrigger:0}),xm._36(2048,[[118,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(132,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,133)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,133)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(133,8437760,[[125,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(136,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,137)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,137)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(137,8437760,[[125,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,gi)),xm._17(143,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Ci)),xm._17(146,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Fi)),xm._17(150,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,qi)),xm._17(153,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ki)),xm._17(156,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"estimate_sales_from");l(n,25,0,"Annual Sales From","number");l(n,29,0,""!=n.context.$implicit.get("estimate_sales_from").value);l(n,46,0,"estimate_sales_to");l(n,49,0,"Annual Sales To","number");l(n,53,0,""!=n.context.$implicit.get("estimate_sales_to").value);l(n,70,0,"estimate_sales_average");l(n,73,0,"Consider Sales Average","number","");l(n,77,0,""!=n.context.$implicit.get("estimate_sales_to").value);l(n,91,0,"estimate_profit_or_loss");l(n,94,0,"Was there Net Profit or Net Loss?");l(n,102,0,"1");l(n,106,0,"2");l(n,122,0,"estimate_net_margin_availablity");l(n,125,0,"Is there Net Margin information Available?");l(n,133,0,"yes");l(n,137,0,"no");l(n,143,0,1==n.context.$implicit.get("estimate_profit_or_loss").value&&"yes"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,146,0,1==n.context.$implicit.get("estimate_profit_or_loss").value&&"no"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,150,0,2==n.context.$implicit.get("estimate_profit_or_loss").value&&"yes"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,153,0,2==n.context.$implicit.get("estimate_profit_or_loss").value&&"no"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,156,0,2==n.context.$implicit.get("estimate_profit_or_loss").value)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,8,1,[xm._32(n,9)._control.errorState,xm._32(n,9)._control.errorState,xm._32(n,9)._canLabelFloat,xm._32(n,9)._shouldLabelFloat(),xm._32(n,9)._hideControlPlaceholder(),xm._32(n,9)._control.disabled,xm._32(n,9)._control.focused,"primary"==xm._32(n,9).color,"accent"==xm._32(n,9).color,"warn"==xm._32(n,9).color,xm._32(n,9)._shouldForward("untouched"),xm._32(n,9)._shouldForward("touched"),xm._32(n,9)._shouldForward("pristine"),xm._32(n,9)._shouldForward("dirty"),xm._32(n,9)._shouldForward("valid"),xm._32(n,9)._shouldForward("invalid"),xm._32(n,9)._shouldForward("pending")]);l(n,18,1,[xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending,xm._32(n,25)._isServer,xm._32(n,25).id,xm._32(n,25).placeholder,xm._32(n,25).disabled,xm._32(n,25).required,xm._32(n,25).readonly,xm._32(n,25)._ariaDescribedby||null,xm._32(n,25).errorState,xm._32(n,25).required.toString()]);l(n,32,1,[xm._32(n,33)._control.errorState,xm._32(n,33)._control.errorState,xm._32(n,33)._canLabelFloat,xm._32(n,33)._shouldLabelFloat(),xm._32(n,33)._hideControlPlaceholder(),xm._32(n,33)._control.disabled,xm._32(n,33)._control.focused,"primary"==xm._32(n,33).color,"accent"==xm._32(n,33).color,"warn"==xm._32(n,33).color,xm._32(n,33)._shouldForward("untouched"),xm._32(n,33)._shouldForward("touched"),xm._32(n,33)._shouldForward("pristine"),xm._32(n,33)._shouldForward("dirty"),xm._32(n,33)._shouldForward("valid"),xm._32(n,33)._shouldForward("invalid"),xm._32(n,33)._shouldForward("pending")]);l(n,42,1,[xm._32(n,48).ngClassUntouched,xm._32(n,48).ngClassTouched,xm._32(n,48).ngClassPristine,xm._32(n,48).ngClassDirty,xm._32(n,48).ngClassValid,xm._32(n,48).ngClassInvalid,xm._32(n,48).ngClassPending,xm._32(n,49)._isServer,xm._32(n,49).id,xm._32(n,49).placeholder,xm._32(n,49).disabled,xm._32(n,49).required,xm._32(n,49).readonly,xm._32(n,49)._ariaDescribedby||null,xm._32(n,49).errorState,xm._32(n,49).required.toString()]);l(n,56,1,[xm._32(n,57)._control.errorState,xm._32(n,57)._control.errorState,xm._32(n,57)._canLabelFloat,xm._32(n,57)._shouldLabelFloat(),xm._32(n,57)._hideControlPlaceholder(),xm._32(n,57)._control.disabled,xm._32(n,57)._control.focused,"primary"==xm._32(n,57).color,"accent"==xm._32(n,57).color,"warn"==xm._32(n,57).color,xm._32(n,57)._shouldForward("untouched"),xm._32(n,57)._shouldForward("touched"),xm._32(n,57)._shouldForward("pristine"),xm._32(n,57)._shouldForward("dirty"),xm._32(n,57)._shouldForward("valid"),xm._32(n,57)._shouldForward("invalid"),xm._32(n,57)._shouldForward("pending")]);l(n,66,1,[xm._32(n,72).ngClassUntouched,xm._32(n,72).ngClassTouched,xm._32(n,72).ngClassPristine,xm._32(n,72).ngClassDirty,xm._32(n,72).ngClassValid,xm._32(n,72).ngClassInvalid,xm._32(n,72).ngClassPending,xm._32(n,73)._isServer,xm._32(n,73).id,xm._32(n,73).placeholder,xm._32(n,73).disabled,xm._32(n,73).required,xm._32(n,73).readonly,xm._32(n,73)._ariaDescribedby||null,xm._32(n,73).errorState,xm._32(n,73).required.toString()]);l(n,80,1,[xm._32(n,81)._control.errorState,xm._32(n,81)._control.errorState,xm._32(n,81)._canLabelFloat,xm._32(n,81)._shouldLabelFloat(),xm._32(n,81)._hideControlPlaceholder(),xm._32(n,81)._control.disabled,xm._32(n,81)._control.focused,"primary"==xm._32(n,81).color,"accent"==xm._32(n,81).color,"warn"==xm._32(n,81).color,xm._32(n,81)._shouldForward("untouched"),xm._32(n,81)._shouldForward("touched"),xm._32(n,81)._shouldForward("pristine"),xm._32(n,81)._shouldForward("dirty"),xm._32(n,81)._shouldForward("valid"),xm._32(n,81)._shouldForward("invalid"),xm._32(n,81)._shouldForward("pending")]);l(n,90,1,[xm._32(n,93).ngClassUntouched,xm._32(n,93).ngClassTouched,xm._32(n,93).ngClassPristine,xm._32(n,93).ngClassDirty,xm._32(n,93).ngClassValid,xm._32(n,93).ngClassInvalid,xm._32(n,93).ngClassPending,xm._32(n,94).id,xm._32(n,94).tabIndex,xm._32(n,94)._ariaLabel,xm._32(n,94).ariaLabelledby,xm._32(n,94).required.toString(),xm._32(n,94).disabled.toString(),xm._32(n,94).errorState,xm._32(n,94).panelOpen?xm._32(n,94)._optionIds:null,xm._32(n,94).multiple,xm._32(n,94)._ariaDescribedby||null,xm._32(n,94)._getAriaActiveDescendant(),xm._32(n,94).disabled,xm._32(n,94).errorState,xm._32(n,94).required]);l(n,101,0,xm._32(n,102)._getTabIndex(),xm._32(n,102).selected,xm._32(n,102).multiple,xm._32(n,102).active,xm._32(n,102).id,xm._32(n,102).selected.toString(),xm._32(n,102).disabled.toString(),xm._32(n,102).disabled);l(n,105,0,xm._32(n,106)._getTabIndex(),xm._32(n,106).selected,xm._32(n,106).multiple,xm._32(n,106).active,xm._32(n,106).id,xm._32(n,106).selected.toString(),xm._32(n,106).disabled.toString(),xm._32(n,106).disabled);l(n,111,1,[xm._32(n,112)._control.errorState,xm._32(n,112)._control.errorState,xm._32(n,112)._canLabelFloat,xm._32(n,112)._shouldLabelFloat(),xm._32(n,112)._hideControlPlaceholder(),xm._32(n,112)._control.disabled,xm._32(n,112)._control.focused,"primary"==xm._32(n,112).color,"accent"==xm._32(n,112).color,"warn"==xm._32(n,112).color,xm._32(n,112)._shouldForward("untouched"),xm._32(n,112)._shouldForward("touched"),xm._32(n,112)._shouldForward("pristine"),xm._32(n,112)._shouldForward("dirty"),xm._32(n,112)._shouldForward("valid"),xm._32(n,112)._shouldForward("invalid"),xm._32(n,112)._shouldForward("pending")]);l(n,121,1,[xm._32(n,124).ngClassUntouched,xm._32(n,124).ngClassTouched,xm._32(n,124).ngClassPristine,xm._32(n,124).ngClassDirty,xm._32(n,124).ngClassValid,xm._32(n,124).ngClassInvalid,xm._32(n,124).ngClassPending,xm._32(n,125).id,xm._32(n,125).tabIndex,xm._32(n,125)._ariaLabel,xm._32(n,125).ariaLabelledby,xm._32(n,125).required.toString(),xm._32(n,125).disabled.toString(),xm._32(n,125).errorState,xm._32(n,125).panelOpen?xm._32(n,125)._optionIds:null,xm._32(n,125).multiple,xm._32(n,125)._ariaDescribedby||null,xm._32(n,125)._getAriaActiveDescendant(),xm._32(n,125).disabled,xm._32(n,125).errorState,xm._32(n,125).required]);l(n,132,0,xm._32(n,133)._getTabIndex(),xm._32(n,133).selected,xm._32(n,133).multiple,xm._32(n,133).active,xm._32(n,133).id,xm._32(n,133).selected.toString(),xm._32(n,133).disabled.toString(),xm._32(n,133).disabled);l(n,136,0,xm._32(n,137)._getTabIndex(),xm._32(n,137).selected,xm._32(n,137).multiple,xm._32(n,137).active,xm._32(n,137).id,xm._32(n,137).selected.toString(),xm._32(n,137).disabled.toString(),xm._32(n,137).disabled)})}function Di(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(1,0,null,null,11,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,7,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(8,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(9,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(10,0,["",""])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(14,0,null,null,159,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(15,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,155,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,19).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,19).onReset()&&u}return u},null,null)),xm._17(18,16384,null,0,Km.B,[],null,null),xm._17(19,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(21,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,53,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(24,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(26,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(27,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(29,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(30,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Data As Per Financial Statements"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(37,0,null,0,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,1,{_control:0}),xm._37(335544320,2,{_placeholderChild:0}),xm._37(335544320,3,{_labelChild:0}),xm._37(603979776,4,{_errorChildren:1}),xm._37(603979776,5,{_hintChildren:1}),xm._37(603979776,6,{_prefixChildren:1}),xm._37(603979776,7,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(47,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_financial_statements"],["placeholder","Financial Statements Available ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,51)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,51)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,51)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedStatement(e.value)&&u}return u},xv.b,xv.a)),xm._17(48,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(50,16384,null,0,Km.s,[Km.r],null,null),xm._17(51,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,8,{options:1}),xm._37(603979776,9,{optionGroups:1}),xm._37(335544320,10,{customTrigger:0}),xm._36(2048,[[1,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(58,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,59)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(59,8437760,[[8,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,63)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,63)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(63,8437760,[[8,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,$t)),xm._17(69,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,di)),xm._17(72,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,ci)),xm._17(75,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(78,0,null,null,57,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(79,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(81,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(82,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(84,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(85,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(87,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Financial As Per Customers"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(92,0,null,0,33,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(93,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(95,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(96,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,77,{_control:0}),xm._37(335544320,78,{_placeholderChild:0}),xm._37(335544320,79,{_labelChild:0}),xm._37(603979776,80,{_errorChildren:1}),xm._37(603979776,81,{_hintChildren:1}),xm._37(603979776,82,{_prefixChildren:1}),xm._37(603979776,83,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(105,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_financial_customer"],["placeholder","Same as Financial Statements ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,109)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,109)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,109)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedFinancialCustomer(e.value)&&u}return u},xv.b,xv.a)),xm._17(106,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(108,16384,null,0,Km.s,[Km.r],null,null),xm._17(109,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,84,{options:1}),xm._37(603979776,85,{optionGroups:1}),xm._37(335544320,86,{customTrigger:0}),xm._36(2048,[[77,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(116,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,117)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,117)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(117,8437760,[[84,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(120,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,121)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,121)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(121,8437760,[[84,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(127,0,null,0,7,"div",[["formArrayName","estimated_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(128,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(130,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Pi)),xm._17(133,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n \n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(137,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(138,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(140,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(141,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,247,{_control:0}),xm._37(335544320,248,{_placeholderChild:0}),xm._37(335544320,249,{_labelChild:0}),xm._37(603979776,250,{_errorChildren:1}),xm._37(603979776,251,{_hintChildren:1}),xm._37(603979776,252,{_prefixChildren:1}),xm._37(603979776,253,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(150,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(151,16384,[[249,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(154,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,155)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,155).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,155)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,155)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,160)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,160)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,160)._onInput()&&u}return u},null,null)),xm._17(155,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(157,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(159,16384,null,0,Km.s,[Km.r],null,null),xm._17(160,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[247,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(165,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(166,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(168,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitDetails()&&u}return u},Db.b,Db.a)),xm._17(169,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,19,0,e.financialForm);l(n,48,0,"is_financial_statements");l(n,51,0,"Financial Statements Available ?");l(n,59,0,"yes");l(n,63,0,"no");l(n,69,0,e.isDisplay);l(n,72,0,""!=e.financial_no_of_year);l(n,75,0,e.isDisplay);l(n,106,0,"is_financial_customer");l(n,109,0,"Same as Financial Statements ?");l(n,117,0,"yes");l(n,121,0,"no");l(n,128,0,"estimated_value");l(n,133,0,e.financialForm.controls.estimated_value.controls);l(n,157,0,"financial_remarks");l(n,160,0,"Remarks");l(n,169,0,"optblue","")},function(l,n){var e=n.component;l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,10,0,e.formDetails.form_name);l(n,14,0,xm._32(n,15).statusbarPadding,xm._32(n,15)._hasRefresher);l(n,17,0,xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending);l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,1,[xm._32(n,50).ngClassUntouched,xm._32(n,50).ngClassTouched,xm._32(n,50).ngClassPristine,xm._32(n,50).ngClassDirty,xm._32(n,50).ngClassValid,xm._32(n,50).ngClassInvalid,xm._32(n,50).ngClassPending,xm._32(n,51).id,xm._32(n,51).tabIndex,xm._32(n,51)._ariaLabel,xm._32(n,51).ariaLabelledby,xm._32(n,51).required.toString(),xm._32(n,51).disabled.toString(),xm._32(n,51).errorState,xm._32(n,51).panelOpen?xm._32(n,51)._optionIds:null,xm._32(n,51).multiple,xm._32(n,51)._ariaDescribedby||null,xm._32(n,51)._getAriaActiveDescendant(),xm._32(n,51).disabled,xm._32(n,51).errorState,xm._32(n,51).required]);l(n,58,0,xm._32(n,59)._getTabIndex(),xm._32(n,59).selected,xm._32(n,59).multiple,xm._32(n,59).active,xm._32(n,59).id,xm._32(n,59).selected.toString(),xm._32(n,59).disabled.toString(),xm._32(n,59).disabled);l(n,62,0,xm._32(n,63)._getTabIndex(),xm._32(n,63).selected,xm._32(n,63).multiple,xm._32(n,63).active,xm._32(n,63).id,xm._32(n,63).selected.toString(),xm._32(n,63).disabled.toString(),xm._32(n,63).disabled);l(n,95,1,[xm._32(n,96)._control.errorState,xm._32(n,96)._control.errorState,xm._32(n,96)._canLabelFloat,xm._32(n,96)._shouldLabelFloat(),xm._32(n,96)._hideControlPlaceholder(),xm._32(n,96)._control.disabled,xm._32(n,96)._control.focused,"primary"==xm._32(n,96).color,"accent"==xm._32(n,96).color,"warn"==xm._32(n,96).color,xm._32(n,96)._shouldForward("untouched"),xm._32(n,96)._shouldForward("touched"),xm._32(n,96)._shouldForward("pristine"),xm._32(n,96)._shouldForward("dirty"),xm._32(n,96)._shouldForward("valid"),xm._32(n,96)._shouldForward("invalid"),xm._32(n,96)._shouldForward("pending")]);l(n,105,1,[xm._32(n,108).ngClassUntouched,xm._32(n,108).ngClassTouched,xm._32(n,108).ngClassPristine,xm._32(n,108).ngClassDirty,xm._32(n,108).ngClassValid,xm._32(n,108).ngClassInvalid,xm._32(n,108).ngClassPending,xm._32(n,109).id,xm._32(n,109).tabIndex,xm._32(n,109)._ariaLabel,xm._32(n,109).ariaLabelledby,xm._32(n,109).required.toString(),xm._32(n,109).disabled.toString(),xm._32(n,109).errorState,xm._32(n,109).panelOpen?xm._32(n,109)._optionIds:null,xm._32(n,109).multiple,xm._32(n,109)._ariaDescribedby||null,xm._32(n,109)._getAriaActiveDescendant(),xm._32(n,109).disabled,xm._32(n,109).errorState,xm._32(n,109).required]);l(n,116,0,xm._32(n,117)._getTabIndex(),xm._32(n,117).selected,xm._32(n,117).multiple,xm._32(n,117).active,xm._32(n,117).id,xm._32(n,117).selected.toString(),xm._32(n,117).disabled.toString(),xm._32(n,117).disabled);l(n,120,0,xm._32(n,121)._getTabIndex(),xm._32(n,121).selected,xm._32(n,121).multiple,xm._32(n,121).active,xm._32(n,121).id,xm._32(n,121).selected.toString(),xm._32(n,121).disabled.toString(),xm._32(n,121).disabled);l(n,127,0,xm._32(n,130).ngClassUntouched,xm._32(n,130).ngClassTouched,xm._32(n,130).ngClassPristine,xm._32(n,130).ngClassDirty,xm._32(n,130).ngClassValid,xm._32(n,130).ngClassInvalid,xm._32(n,130).ngClassPending);l(n,140,1,[xm._32(n,141)._control.errorState,xm._32(n,141)._control.errorState,xm._32(n,141)._canLabelFloat,xm._32(n,141)._shouldLabelFloat(),xm._32(n,141)._hideControlPlaceholder(),xm._32(n,141)._control.disabled,xm._32(n,141)._control.focused,"primary"==xm._32(n,141).color,"accent"==xm._32(n,141).color,"warn"==xm._32(n,141).color,xm._32(n,141)._shouldForward("untouched"),xm._32(n,141)._shouldForward("touched"),xm._32(n,141)._shouldForward("pristine"),xm._32(n,141)._shouldForward("dirty"),xm._32(n,141)._shouldForward("valid"),xm._32(n,141)._shouldForward("invalid"),xm._32(n,141)._shouldForward("pending")]);l(n,154,1,[xm._32(n,159).ngClassUntouched,xm._32(n,159).ngClassTouched,xm._32(n,159).ngClassPristine,xm._32(n,159).ngClassDirty,xm._32(n,159).ngClassValid,xm._32(n,159).ngClassInvalid,xm._32(n,159).ngClassPending,xm._32(n,160)._isServer,xm._32(n,160).id,xm._32(n,160).placeholder,xm._32(n,160).disabled,xm._32(n,160).required,xm._32(n,160).readonly,xm._32(n,160)._ariaDescribedby||null,xm._32(n,160).errorState,xm._32(n,160).required.toString()])})}function Ti(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Oi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[10,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Li(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,13,{_control:0}),xm._37(335544320,14,{_placeholderChild:0}),xm._37(335544320,15,{_labelChild:0}),xm._37(603979776,16,{_errorChildren:1}),xm._37(603979776,17,{_hintChildren:1}),xm._37(603979776,18,{_prefixChildren:1}),xm._37(603979776,19,{_suffixChildren:1}),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_source"],["matInput",""],["placeholder","Specify Others Source"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[13,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_source");l(n,16,0,"Specify Others Source")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Ai(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[27,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""])),xm._35(3,1)],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.applicant_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function Vi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,30,{_control:0}),xm._37(335544320,31,{_placeholderChild:0}),xm._37(335544320,32,{_labelChild:0}),xm._37(603979776,33,{_errorChildren:1}),xm._37(603979776,34,{_hintChildren:1}),xm._37(603979776,35,{_prefixChildren:1}),xm._37(603979776,36,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_income_earned_by"],["matInput",""],["placeholder","Specify Income Earned By"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[30,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_income_earned_by");l(n,16,0,"Specify Income Earned By")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function ji(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[41,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," ",""]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.amtInWords[n.parent.context.index])})}function Ni(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[51,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.frequency_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ei(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,54,{_control:0}),xm._37(335544320,55,{_placeholderChild:0}),xm._37(335544320,56,{_labelChild:0}),xm._37(603979776,57,{_errorChildren:1}),xm._37(603979776,58,{_hintChildren:1}),xm._37(603979776,59,{_prefixChildren:1}),xm._37(603979776,60,{_suffixChildren:1}),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_frequency"],["matInput",""],["placeholder","Specify Others Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[54,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_frequency");l(n,16,0,"Specify Others Frequency")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Wi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addIncomeDetails()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Ri(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,147,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(6,null,["Income Details ",""])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(8,0,null,null,138,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(9,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(12,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,3,{_control:0}),xm._37(335544320,4,{_placeholderChild:0}),xm._37(335544320,5,{_labelChild:0}),xm._37(603979776,6,{_errorChildren:1}),xm._37(603979776,7,{_hintChildren:1}),xm._37(603979776,8,{_prefixChildren:1}),xm._37(603979776,9,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","source"],["placeholder","Source"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,26)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(23,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(25,16384,null,0,Km.s,[Km.r],null,null),xm._17(26,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,10,{options:1}),xm._37(603979776,11,{optionGroups:1}),xm._37(335544320,12,{customTrigger:0}),xm._36(2048,[[3,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Oi)),xm._17(33,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Li)),xm._17(38,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(40,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(41,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,20,{_control:0}),xm._37(335544320,21,{_placeholderChild:0}),xm._37(335544320,22,{_labelChild:0}),xm._37(603979776,23,{_errorChildren:1}),xm._37(603979776,24,{_hintChildren:1}),xm._37(603979776,25,{_prefixChildren:1}),xm._37(603979776,26,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(50,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","income_earned_by"],["placeholder","Income Earned By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,55)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,55)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,55)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(52,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(54,16384,null,0,Km.s,[Km.r],null,null),xm._17(55,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,27,{options:1}),xm._37(603979776,28,{optionGroups:1}),xm._37(335544320,29,{customTrigger:0}),xm._36(2048,[[20,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ai)),xm._17(62,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(64,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,65)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(65,8437760,[[27,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Others"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Vi)),xm._17(71,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(73,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(74,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,37,{_control:0}),xm._37(335544320,38,{_placeholderChild:0}),xm._37(335544320,39,{_labelChild:0}),xm._37(603979776,40,{_errorChildren:1}),xm._37(603979776,41,{_hintChildren:1}),xm._37(603979776,42,{_prefixChildren:1}),xm._37(603979776,43,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(83,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount"],["matInput",""],["placeholder","Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,84)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,84).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,84)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,84)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,85).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,85).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,85).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,90)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,90)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,90)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index)&&u}return u},null,null)),xm._17(84,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(85,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(87,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(89,16384,null,0,Km.s,[Km.r],null,null),xm._17(90,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[37,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,ji)),xm._17(94,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(97,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(98,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,44,{_control:0}),xm._37(335544320,45,{_placeholderChild:0}),xm._37(335544320,46,{_labelChild:0}),xm._37(603979776,47,{_errorChildren:1}),xm._37(603979776,48,{_hintChildren:1}),xm._37(603979776,49,{_prefixChildren:1}),xm._37(603979776,50,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(107,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","frequency"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,112)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,112)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,112)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(109,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(111,16384,null,0,Km.s,[Km.r],null,null),xm._17(112,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,51,{options:1}),xm._37(603979776,52,{optionGroups:1}),xm._37(335544320,53,{customTrigger:0}),xm._36(2048,[[44,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ni)),xm._17(119,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ei)),xm._17(124,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(126,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(127,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,61,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(130,0,null,null,5,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),xm._17(131,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Wi)),xm._17(134,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(137,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(138,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(140,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteIncomeDetails(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(142,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-close"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(143,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,23,0,"source");l(n,26,0,"Source");l(n,33,0,e.sourceIncome);l(n,38,0,"1"==n.context.$implicit.get("source").value);l(n,52,0,"income_earned_by");l(n,55,0,"Income Earned By");l(n,62,0,e.incomeEarnedBy);l(n,65,0,"others");l(n,71,0,"others"==n.context.$implicit.get("income_earned_by").value);l(n,87,0,"amount");l(n,90,0,"Amount","number");l(n,94,0,""!=n.context.$implicit.get("amount").value);l(n,109,0,"frequency");l(n,112,0,"Frequency");l(n,119,0,e.frequencyData);l(n,124,0,1==n.context.$implicit.get("frequency").value);l(n,134,0,n.context.last);l(n,143,0,"optblue","md-close")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,11,1,[xm._32(n,12)._control.errorState,xm._32(n,12)._control.errorState,xm._32(n,12)._canLabelFloat,xm._32(n,12)._shouldLabelFloat(),xm._32(n,12)._hideControlPlaceholder(),xm._32(n,12)._control.disabled,xm._32(n,12)._control.focused,"primary"==xm._32(n,12).color,"accent"==xm._32(n,12).color,"warn"==xm._32(n,12).color,xm._32(n,12)._shouldForward("untouched"),xm._32(n,12)._shouldForward("touched"),xm._32(n,12)._shouldForward("pristine"),xm._32(n,12)._shouldForward("dirty"),xm._32(n,12)._shouldForward("valid"),xm._32(n,12)._shouldForward("invalid"),xm._32(n,12)._shouldForward("pending")]);l(n,21,1,[xm._32(n,25).ngClassUntouched,xm._32(n,25).ngClassTouched,xm._32(n,25).ngClassPristine,xm._32(n,25).ngClassDirty,xm._32(n,25).ngClassValid,xm._32(n,25).ngClassInvalid,xm._32(n,25).ngClassPending,xm._32(n,26).id,xm._32(n,26).tabIndex,xm._32(n,26)._ariaLabel,xm._32(n,26).ariaLabelledby,xm._32(n,26).required.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).errorState,xm._32(n,26).panelOpen?xm._32(n,26)._optionIds:null,xm._32(n,26).multiple,xm._32(n,26)._ariaDescribedby||null,xm._32(n,26)._getAriaActiveDescendant(),xm._32(n,26).disabled,xm._32(n,26).errorState,xm._32(n,26).required]);l(n,40,1,[xm._32(n,41)._control.errorState,xm._32(n,41)._control.errorState,xm._32(n,41)._canLabelFloat,xm._32(n,41)._shouldLabelFloat(),xm._32(n,41)._hideControlPlaceholder(),xm._32(n,41)._control.disabled,xm._32(n,41)._control.focused,"primary"==xm._32(n,41).color,"accent"==xm._32(n,41).color,"warn"==xm._32(n,41).color,xm._32(n,41)._shouldForward("untouched"),xm._32(n,41)._shouldForward("touched"),xm._32(n,41)._shouldForward("pristine"),xm._32(n,41)._shouldForward("dirty"),xm._32(n,41)._shouldForward("valid"),xm._32(n,41)._shouldForward("invalid"),xm._32(n,41)._shouldForward("pending")]);l(n,50,1,[xm._32(n,54).ngClassUntouched,xm._32(n,54).ngClassTouched,xm._32(n,54).ngClassPristine,xm._32(n,54).ngClassDirty,xm._32(n,54).ngClassValid,xm._32(n,54).ngClassInvalid,xm._32(n,54).ngClassPending,xm._32(n,55).id,xm._32(n,55).tabIndex,xm._32(n,55)._ariaLabel,xm._32(n,55).ariaLabelledby,xm._32(n,55).required.toString(),xm._32(n,55).disabled.toString(),xm._32(n,55).errorState,xm._32(n,55).panelOpen?xm._32(n,55)._optionIds:null,xm._32(n,55).multiple,xm._32(n,55)._ariaDescribedby||null,xm._32(n,55)._getAriaActiveDescendant(),xm._32(n,55).disabled,xm._32(n,55).errorState,xm._32(n,55).required]);l(n,64,0,xm._32(n,65)._getTabIndex(),xm._32(n,65).selected,xm._32(n,65).multiple,xm._32(n,65).active,xm._32(n,65).id,xm._32(n,65).selected.toString(),xm._32(n,65).disabled.toString(),xm._32(n,65).disabled);l(n,73,1,[xm._32(n,74)._control.errorState,xm._32(n,74)._control.errorState,xm._32(n,74)._canLabelFloat,xm._32(n,74)._shouldLabelFloat(),xm._32(n,74)._hideControlPlaceholder(),xm._32(n,74)._control.disabled,xm._32(n,74)._control.focused,"primary"==xm._32(n,74).color,"accent"==xm._32(n,74).color,"warn"==xm._32(n,74).color,xm._32(n,74)._shouldForward("untouched"),xm._32(n,74)._shouldForward("touched"),xm._32(n,74)._shouldForward("pristine"),xm._32(n,74)._shouldForward("dirty"),xm._32(n,74)._shouldForward("valid"),xm._32(n,74)._shouldForward("invalid"),xm._32(n,74)._shouldForward("pending")]);l(n,83,1,[xm._32(n,89).ngClassUntouched,xm._32(n,89).ngClassTouched,xm._32(n,89).ngClassPristine,xm._32(n,89).ngClassDirty,xm._32(n,89).ngClassValid,xm._32(n,89).ngClassInvalid,xm._32(n,89).ngClassPending,xm._32(n,90)._isServer,xm._32(n,90).id,xm._32(n,90).placeholder,xm._32(n,90).disabled,xm._32(n,90).required,xm._32(n,90).readonly,xm._32(n,90)._ariaDescribedby||null,xm._32(n,90).errorState,xm._32(n,90).required.toString()]);l(n,97,1,[xm._32(n,98)._control.errorState,xm._32(n,98)._control.errorState,xm._32(n,98)._canLabelFloat,xm._32(n,98)._shouldLabelFloat(),xm._32(n,98)._hideControlPlaceholder(),xm._32(n,98)._control.disabled,xm._32(n,98)._control.focused,"primary"==xm._32(n,98).color,"accent"==xm._32(n,98).color,"warn"==xm._32(n,98).color,xm._32(n,98)._shouldForward("untouched"),xm._32(n,98)._shouldForward("touched"),xm._32(n,98)._shouldForward("pristine"),xm._32(n,98)._shouldForward("dirty"),xm._32(n,98)._shouldForward("valid"),xm._32(n,98)._shouldForward("invalid"),xm._32(n,98)._shouldForward("pending")]);l(n,107,1,[xm._32(n,111).ngClassUntouched,xm._32(n,111).ngClassTouched,xm._32(n,111).ngClassPristine,xm._32(n,111).ngClassDirty,xm._32(n,111).ngClassValid,xm._32(n,111).ngClassInvalid,xm._32(n,111).ngClassPending,xm._32(n,112).id,xm._32(n,112).tabIndex,xm._32(n,112)._ariaLabel,xm._32(n,112).ariaLabelledby,xm._32(n,112).required.toString(),xm._32(n,112).disabled.toString(),xm._32(n,112).errorState,xm._32(n,112).panelOpen?xm._32(n,112)._optionIds:null,xm._32(n,112).multiple,xm._32(n,112)._ariaDescribedby||null,xm._32(n,112)._getAriaActiveDescendant(),xm._32(n,112).disabled,xm._32(n,112).errorState,xm._32(n,112).required]);l(n,142,0,xm._32(n,143)._hidden)})}function Ui(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(3,0,null,0,7,"div",[["formArrayName","income_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(4,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ri)),xm._17(9,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"income_details");l(n,9,0,e.otherIncomeForm.get("income_details").controls)},function(l,n){l(n,3,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending)})}function Bi(l){return xm._41(0,[xm._33(0,Df.t,[]),(l()(),xm._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,9).toggle()&&u}return u},Db.b,Db.a)),xm._17(8,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(9,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(10,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(14,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Ti)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(22,0,null,null,71,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,67,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,27).onReset()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.B,[],null,null),xm._17(27,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(29,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,22,"mat-card",[["class","mat-card"],["style","width: 100%"]],null,null,null,nb.d,nb.a)),xm._17(33,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(35,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Other Income"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(38,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","other_income"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.checkotherDetails(e.value)&&u}return u},null,null)),xm._17(39,1064960,null,1,Kb.b,[xm.i],null,{change:"change"}),xm._37(603979776,2,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(42,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(44,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(46,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","Yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,47)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(47,4440064,[[2,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n      \n "])),(l()(),xm._18(50,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","No"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,51)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(51,4440064,[[2,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ui)),xm._17(57,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(59,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(60,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(62,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(63,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,62,{_control:0}),xm._37(335544320,63,{_placeholderChild:0}),xm._37(335544320,64,{_labelChild:0}),xm._37(603979776,65,{_errorChildren:1}),xm._37(603979776,66,{_hintChildren:1}),xm._37(603979776,67,{_prefixChildren:1}),xm._37(603979776,68,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(72,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","otherincome_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,73)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,73).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,73)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,73)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,78)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,78)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,78)._onInput()&&u}return u},null,null)),xm._17(73,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(75,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(77,16384,null,0,Km.s,[Km.r],null,null),xm._17(78,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[62,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(83,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(84,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(87,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.submitOtherIncome(a.otherIncomeForm.value)&&u}return u},Db.b,Db.a)),xm._17(88,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.otherIncomeForm);l(n,42,0,"other_income");l(n,47,0,"Yes");l(n,51,0,"No");l(n,57,0,"Yes"==e.otherIncomeForm.controls.other_income.value);l(n,75,0,"otherincome_remarks");l(n,78,0,"Remarks");l(n,88,0,"optblue","")},function(l,n){l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,7,0,xm._32(n,9).isHidden);l(n,13,0,xm._32(n,14)._hidden);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,25,0,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending);l(n,38,0,xm._32(n,44).ngClassUntouched,xm._32(n,44).ngClassTouched,xm._32(n,44).ngClassPristine,xm._32(n,44).ngClassDirty,xm._32(n,44).ngClassValid,xm._32(n,44).ngClassInvalid,xm._32(n,44).ngClassPending);l(n,46,0,xm._32(n,47).checked,xm._32(n,47).disabled,xm._32(n,47).id);l(n,50,0,xm._32(n,51).checked,xm._32(n,51).disabled,xm._32(n,51).id);l(n,62,1,[xm._32(n,63)._control.errorState,xm._32(n,63)._control.errorState,xm._32(n,63)._canLabelFloat,xm._32(n,63)._shouldLabelFloat(),xm._32(n,63)._hideControlPlaceholder(),xm._32(n,63)._control.disabled,xm._32(n,63)._control.focused,"primary"==xm._32(n,63).color,"accent"==xm._32(n,63).color,"warn"==xm._32(n,63).color,xm._32(n,63)._shouldForward("untouched"),xm._32(n,63)._shouldForward("touched"),xm._32(n,63)._shouldForward("pristine"),xm._32(n,63)._shouldForward("dirty"),xm._32(n,63)._shouldForward("valid"),xm._32(n,63)._shouldForward("invalid"),xm._32(n,63)._shouldForward("pending")]);l(n,72,1,[xm._32(n,77).ngClassUntouched,xm._32(n,77).ngClassTouched,xm._32(n,77).ngClassPristine,xm._32(n,77).ngClassDirty,xm._32(n,77).ngClassValid,xm._32(n,77).ngClassInvalid,xm._32(n,77).ngClassPending,xm._32(n,78)._isServer,xm._32(n,78).id,xm._32(n,78).placeholder,xm._32(n,78).disabled,xm._32(n,78).required,xm._32(n,78).readonly,xm._32(n,78)._ariaDescribedby||null,xm._32(n,78).errorState,xm._32(n,78).required.toString()])})}function $i(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[23,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Mi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[40,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ki(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[43,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Hi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[78,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Gi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(3,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(7,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,91,{_control:0}),xm._37(335544320,92,{_placeholderChild:0}),xm._37(335544320,93,{_labelChild:0}),xm._37(603979776,94,{_errorChildren:1}),xm._37(603979776,95,{_hintChildren:1}),xm._37(603979776,96,{_prefixChildren:1}),xm._37(603979776,97,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(17,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(18,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[91,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(28,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,98,{_control:0}),xm._37(335544320,99,{_placeholderChild:0}),xm._37(335544320,100,{_labelChild:0}),xm._37(603979776,101,{_errorChildren:1}),xm._37(603979776,102,{_hintChildren:1}),xm._37(603979776,103,{_prefixChildren:1}),xm._37(603979776,104,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,44)._onInput()&&u}return u},null,null)),xm._17(38,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(39,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(41,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(43,16384,null,0,Km.s,[Km.r],null,null),xm._17(44,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[98,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"manufacturing_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"manufacturing_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[xm._32(n,7)._control.errorState,xm._32(n,7)._control.errorState,xm._32(n,7)._canLabelFloat,xm._32(n,7)._shouldLabelFloat(),xm._32(n,7)._hideControlPlaceholder(),xm._32(n,7)._control.disabled,xm._32(n,7)._control.focused,"primary"==xm._32(n,7).color,"accent"==xm._32(n,7).color,"warn"==xm._32(n,7).color,xm._32(n,7)._shouldForward("untouched"),xm._32(n,7)._shouldForward("touched"),xm._32(n,7)._shouldForward("pristine"),xm._32(n,7)._shouldForward("dirty"),xm._32(n,7)._shouldForward("valid"),xm._32(n,7)._shouldForward("invalid"),xm._32(n,7)._shouldForward("pending")]);l(n,16,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()]);l(n,27,1,[xm._32(n,28)._control.errorState,xm._32(n,28)._control.errorState,xm._32(n,28)._canLabelFloat,xm._32(n,28)._shouldLabelFloat(),xm._32(n,28)._hideControlPlaceholder(),xm._32(n,28)._control.disabled,xm._32(n,28)._control.focused,"primary"==xm._32(n,28).color,"accent"==xm._32(n,28).color,"warn"==xm._32(n,28).color,xm._32(n,28)._shouldForward("untouched"),xm._32(n,28)._shouldForward("touched"),xm._32(n,28)._shouldForward("pristine"),xm._32(n,28)._shouldForward("dirty"),xm._32(n,28)._shouldForward("valid"),xm._32(n,28)._shouldForward("invalid"),xm._32(n,28)._shouldForward("pending")]);l(n,37,1,[xm._32(n,43).ngClassUntouched,xm._32(n,43).ngClassTouched,xm._32(n,43).ngClassPristine,xm._32(n,43).ngClassDirty,xm._32(n,43).ngClassValid,xm._32(n,43).ngClassInvalid,xm._32(n,43).ngClassPending,xm._32(n,44)._isServer,xm._32(n,44).id,xm._32(n,44).placeholder,xm._32(n,44).disabled,xm._32(n,44).required,xm._32(n,44).readonly,xm._32(n,44)._ariaDescribedby||null,xm._32(n,44).errorState,xm._32(n,44).required.toString()])})}function Yi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRawMaterials(l.parent.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Qi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreRawMaterials(e);u=!1}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function zi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,292,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Raw Material #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,263,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,259,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(15,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_raw_material_name"],["matInput",""],["placeholder","Raw Material Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,25)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,25).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,25)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,25)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,30)._onInput()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(27,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(29,16384,null,0,Km.s,[Km.r],null,null),xm._17(30,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(35,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(44,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_supplier_name"],["matInput",""],["placeholder","Supplier Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,45)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,50)._onInput()&&u}return u},null,null)),xm._17(45,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[9,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(54,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(55,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,16,{_control:0}),xm._37(335544320,17,{_placeholderChild:0}),xm._37(335544320,18,{_labelChild:0}),xm._37(603979776,19,{_errorChildren:1}),xm._37(603979776,20,{_hintChildren:1}),xm._37(603979776,21,{_prefixChildren:1}),xm._37(603979776,22,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(64,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,69)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,69)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,69)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(66,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(68,16384,null,0,Km.s,[Km.r],null,null),xm._17(69,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,23,{options:1}),xm._37(603979776,24,{optionGroups:1}),xm._37(335544320,25,{customTrigger:0}),xm._36(2048,[[16,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,$i)),xm._17(76,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(80,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(81,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(90,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_name"],["matInput",""],["placeholder","Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,91)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,91).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,91)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,91)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,96)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,96)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,96)._onInput()&&u}return u},null,null)),xm._17(91,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(93,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(95,16384,null,0,Km.s,[Km.r],null,null),xm._17(96,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[26,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(100,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(101,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,33,{_control:0}),xm._37(335544320,34,{_placeholderChild:0}),xm._37(335544320,35,{_labelChild:0}),xm._37(603979776,36,{_errorChildren:1}),xm._37(603979776,37,{_hintChildren:1}),xm._37(603979776,38,{_prefixChildren:1}),xm._37(603979776,39,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(110,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,114)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,114)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,114)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedPersonDesignation(l.context.$implicit,e.value,1)&&u}return u},xv.b,xv.a)),xm._17(111,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(113,16384,null,0,Km.s,[Km.r],null,null),xm._17(114,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,40,{options:1}),xm._37(603979776,41,{optionGroups:1}),xm._37(335544320,42,{customTrigger:0}),xm._36(2048,[[33,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(121,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,122)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,122)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(122,8437760,[[40,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Mi)),xm._17(126,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ki)),xm._17(132,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(134,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(135,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,50,{_control:0}),xm._37(335544320,51,{_placeholderChild:0}),xm._37(335544320,52,{_labelChild:0}),xm._37(603979776,53,{_errorChildren:1}),xm._37(603979776,54,{_hintChildren:1}),xm._37(603979776,55,{_prefixChildren:1}),xm._37(603979776,56,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(144,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,145)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,145).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,145)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,145)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,146).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,146).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,146).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,153)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,153)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,153)._onInput()&&u}return u},null,null)),xm._17(145,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(146,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(147,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(150,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(152,16384,null,0,Km.s,[Km.r],null,null),xm._17(153,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[50,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(156,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(157,16384,[[53,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid Mobile Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(161,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(162,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,57,{_control:0}),xm._37(335544320,58,{_placeholderChild:0}),xm._37(335544320,59,{_labelChild:0}),xm._37(603979776,60,{_errorChildren:1}),xm._37(603979776,61,{_hintChildren:1}),xm._37(603979776,62,{_prefixChildren:1}),xm._37(603979776,63,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(171,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,172)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,172).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,172)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,172)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,173).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,173).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,173).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,178)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,178)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,178)._onInput()&&u}return u},null,null)),xm._17(172,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(173,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(175,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(177,16384,null,0,Km.s,[Km.r],null,null),xm._17(178,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[57,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(181,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(182,16384,[[60,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid STD Code Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(187,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(188,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,64,{_control:0}),xm._37(335544320,65,{_placeholderChild:0}),xm._37(335544320,66,{_labelChild:0}),xm._37(603979776,67,{_errorChildren:1}),xm._37(603979776,68,{_hintChildren:1}),xm._37(603979776,69,{_prefixChildren:1}),xm._37(603979776,70,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(197,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,198)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,198).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,198)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,198)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,199).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,199).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,199).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,204)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,204)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,204)._onInput()&&u}return u},null,null)),xm._17(198,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(199,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(201,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(203,16384,null,0,Km.s,[Km.r],null,null),xm._17(204,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[64,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(207,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(208,16384,[[67,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid LandLine Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(212,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(213,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,71,{_control:0}),xm._37(335544320,72,{_placeholderChild:0}),xm._37(335544320,73,{_labelChild:0}),xm._37(603979776,74,{_errorChildren:1}),xm._37(603979776,75,{_hintChildren:1}),xm._37(603979776,76,{_prefixChildren:1}),xm._37(603979776,77,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(222,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,227)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,227)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,227)._onBlur()&&u}if("selectionChange"===n){a.selectedPaymentTerms(l.context.$implicit,e.value,1);u=!1!==a.checkCard(e.value,1,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(224,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(226,16384,null,0,Km.s,[Km.r],null,null),xm._17(227,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,78,{options:1}),xm._37(603979776,79,{optionGroups:1}),xm._37(335544320,80,{customTrigger:0}),xm._36(2048,[[71,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Hi)),xm._17(234,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(238,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(239,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,81,{_control:0}),xm._37(335544320,82,{_placeholderChild:0}),xm._37(335544320,83,{_labelChild:0}),xm._37(603979776,84,{_errorChildren:1}),xm._37(603979776,85,{_hintChildren:1}),xm._37(603979776,86,{_prefixChildren:1}),xm._37(603979776,87,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(248,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,252)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,252)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,252)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(249,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(251,16384,null,0,Km.s,[Km.r],null,null),xm._17(252,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,88,{options:1}),xm._37(603979776,89,{optionGroups:1}),xm._37(335544320,90,{customTrigger:0}),xm._36(2048,[[81,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(259,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,260)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,260)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(260,8437760,[[88,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment made in Cash."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(263,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,264)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,264)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(264,8437760,[[88,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment made through Banking\n channels."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Gi)),xm._17(270,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(274,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(275,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,105,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(278,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(279,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Yi)),xm._17(282,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(285,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(286,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Qi)),xm._17(289,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,27,0,"manufacturing_raw_material_name");l(n,30,0,"Raw Material Name");l(n,47,0,"manufacturing_supplier_name");l(n,50,0,"Supplier Name");l(n,66,0,"person_title_name");l(n,69,0,"Title");l(n,76,0,e.m_titleList);l(n,93,0,"manufacturing_contact_person_name");l(n,96,0,"Contact Person Name");l(n,111,0,"person_designation");l(n,114,0,"Contact Person Designation");l(n,126,0,e.m_companyRelationShipList);l(n,132,0,1==n.context.$implicit.get("person_designation").value);l(n,147,0,"10");l(n,150,0,"manufacturing_contact_person_mobile_number");l(n,153,0,"Contact Person Mobile Number","number");l(n,175,0,"person_stdcode");l(n,178,0,"STD Code","number");l(n,201,0,"person_landline");l(n,204,0,"Contact Person Landline Number","number");l(n,224,0,"manufacturing_payment_type");l(n,227,0,"Payment Terms");l(n,234,0,e.m_paymentList);l(n,249,0,"manufacturing_payment_mode");l(n,252,0,"Payment Mode");l(n,260,0,"Payment made in Cash.");l(n,264,0,"Payment made through Banking channels.");l(n,270,0,3==n.context.$implicit.get("manufacturing_payment_type").value);l(n,282,0,n.parent.context.$implicit.controls.main_raw_materials.controls.length>1);l(n,289,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[xm._32(n,15)._control.errorState,xm._32(n,15)._control.errorState,xm._32(n,15)._canLabelFloat,xm._32(n,15)._shouldLabelFloat(),xm._32(n,15)._hideControlPlaceholder(),xm._32(n,15)._control.disabled,xm._32(n,15)._control.focused,"primary"==xm._32(n,15).color,"accent"==xm._32(n,15).color,"warn"==xm._32(n,15).color,xm._32(n,15)._shouldForward("untouched"),xm._32(n,15)._shouldForward("touched"),xm._32(n,15)._shouldForward("pristine"),xm._32(n,15)._shouldForward("dirty"),xm._32(n,15)._shouldForward("valid"),xm._32(n,15)._shouldForward("invalid"),xm._32(n,15)._shouldForward("pending")]);l(n,24,1,[xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending,xm._32(n,30)._isServer,xm._32(n,30).id,xm._32(n,30).placeholder,xm._32(n,30).disabled,xm._32(n,30).required,xm._32(n,30).readonly,xm._32(n,30)._ariaDescribedby||null,xm._32(n,30).errorState,xm._32(n,30).required.toString()]);l(n,34,1,[xm._32(n,35)._control.errorState,xm._32(n,35)._control.errorState,xm._32(n,35)._canLabelFloat,xm._32(n,35)._shouldLabelFloat(),xm._32(n,35)._hideControlPlaceholder(),xm._32(n,35)._control.disabled,xm._32(n,35)._control.focused,"primary"==xm._32(n,35).color,"accent"==xm._32(n,35).color,"warn"==xm._32(n,35).color,xm._32(n,35)._shouldForward("untouched"),xm._32(n,35)._shouldForward("touched"),xm._32(n,35)._shouldForward("pristine"),xm._32(n,35)._shouldForward("dirty"),xm._32(n,35)._shouldForward("valid"),xm._32(n,35)._shouldForward("invalid"),xm._32(n,35)._shouldForward("pending")]);l(n,44,1,[xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50)._isServer,xm._32(n,50).id,xm._32(n,50).placeholder,xm._32(n,50).disabled,xm._32(n,50).required,xm._32(n,50).readonly,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50).errorState,xm._32(n,50).required.toString()]);l(n,54,1,[xm._32(n,55)._control.errorState,xm._32(n,55)._control.errorState,xm._32(n,55)._canLabelFloat,xm._32(n,55)._shouldLabelFloat(),xm._32(n,55)._hideControlPlaceholder(),xm._32(n,55)._control.disabled,xm._32(n,55)._control.focused,"primary"==xm._32(n,55).color,"accent"==xm._32(n,55).color,"warn"==xm._32(n,55).color,xm._32(n,55)._shouldForward("untouched"),xm._32(n,55)._shouldForward("touched"),xm._32(n,55)._shouldForward("pristine"),xm._32(n,55)._shouldForward("dirty"),xm._32(n,55)._shouldForward("valid"),xm._32(n,55)._shouldForward("invalid"),xm._32(n,55)._shouldForward("pending")]);l(n,64,1,[xm._32(n,68).ngClassUntouched,xm._32(n,68).ngClassTouched,xm._32(n,68).ngClassPristine,xm._32(n,68).ngClassDirty,xm._32(n,68).ngClassValid,xm._32(n,68).ngClassInvalid,xm._32(n,68).ngClassPending,xm._32(n,69).id,xm._32(n,69).tabIndex,xm._32(n,69)._ariaLabel,xm._32(n,69).ariaLabelledby,xm._32(n,69).required.toString(),xm._32(n,69).disabled.toString(),xm._32(n,69).errorState,xm._32(n,69).panelOpen?xm._32(n,69)._optionIds:null,xm._32(n,69).multiple,xm._32(n,69)._ariaDescribedby||null,xm._32(n,69)._getAriaActiveDescendant(),xm._32(n,69).disabled,xm._32(n,69).errorState,xm._32(n,69).required]);l(n,80,1,[xm._32(n,81)._control.errorState,xm._32(n,81)._control.errorState,xm._32(n,81)._canLabelFloat,xm._32(n,81)._shouldLabelFloat(),xm._32(n,81)._hideControlPlaceholder(),xm._32(n,81)._control.disabled,xm._32(n,81)._control.focused,"primary"==xm._32(n,81).color,"accent"==xm._32(n,81).color,"warn"==xm._32(n,81).color,xm._32(n,81)._shouldForward("untouched"),xm._32(n,81)._shouldForward("touched"),xm._32(n,81)._shouldForward("pristine"),xm._32(n,81)._shouldForward("dirty"),xm._32(n,81)._shouldForward("valid"),xm._32(n,81)._shouldForward("invalid"),xm._32(n,81)._shouldForward("pending")]);l(n,90,1,[xm._32(n,95).ngClassUntouched,xm._32(n,95).ngClassTouched,xm._32(n,95).ngClassPristine,xm._32(n,95).ngClassDirty,xm._32(n,95).ngClassValid,xm._32(n,95).ngClassInvalid,xm._32(n,95).ngClassPending,xm._32(n,96)._isServer,xm._32(n,96).id,xm._32(n,96).placeholder,xm._32(n,96).disabled,xm._32(n,96).required,xm._32(n,96).readonly,xm._32(n,96)._ariaDescribedby||null,xm._32(n,96).errorState,xm._32(n,96).required.toString()]);l(n,100,1,[xm._32(n,101)._control.errorState,xm._32(n,101)._control.errorState,xm._32(n,101)._canLabelFloat,xm._32(n,101)._shouldLabelFloat(),xm._32(n,101)._hideControlPlaceholder(),xm._32(n,101)._control.disabled,xm._32(n,101)._control.focused,"primary"==xm._32(n,101).color,"accent"==xm._32(n,101).color,"warn"==xm._32(n,101).color,xm._32(n,101)._shouldForward("untouched"),xm._32(n,101)._shouldForward("touched"),xm._32(n,101)._shouldForward("pristine"),xm._32(n,101)._shouldForward("dirty"),xm._32(n,101)._shouldForward("valid"),xm._32(n,101)._shouldForward("invalid"),xm._32(n,101)._shouldForward("pending")]);l(n,110,1,[xm._32(n,113).ngClassUntouched,xm._32(n,113).ngClassTouched,xm._32(n,113).ngClassPristine,xm._32(n,113).ngClassDirty,xm._32(n,113).ngClassValid,xm._32(n,113).ngClassInvalid,xm._32(n,113).ngClassPending,xm._32(n,114).id,xm._32(n,114).tabIndex,xm._32(n,114)._ariaLabel,xm._32(n,114).ariaLabelledby,xm._32(n,114).required.toString(),xm._32(n,114).disabled.toString(),xm._32(n,114).errorState,xm._32(n,114).panelOpen?xm._32(n,114)._optionIds:null,xm._32(n,114).multiple,xm._32(n,114)._ariaDescribedby||null,xm._32(n,114)._getAriaActiveDescendant(),xm._32(n,114).disabled,xm._32(n,114).errorState,xm._32(n,114).required]);l(n,121,0,xm._32(n,122)._getTabIndex(),xm._32(n,122).selected,xm._32(n,122).multiple,xm._32(n,122).active,xm._32(n,122).id,xm._32(n,122).selected.toString(),xm._32(n,122).disabled.toString(),xm._32(n,122).disabled);l(n,134,1,[xm._32(n,135)._control.errorState,xm._32(n,135)._control.errorState,xm._32(n,135)._canLabelFloat,xm._32(n,135)._shouldLabelFloat(),xm._32(n,135)._hideControlPlaceholder(),xm._32(n,135)._control.disabled,xm._32(n,135)._control.focused,"primary"==xm._32(n,135).color,"accent"==xm._32(n,135).color,"warn"==xm._32(n,135).color,xm._32(n,135)._shouldForward("untouched"),xm._32(n,135)._shouldForward("touched"),xm._32(n,135)._shouldForward("pristine"),xm._32(n,135)._shouldForward("dirty"),xm._32(n,135)._shouldForward("valid"),xm._32(n,135)._shouldForward("invalid"),xm._32(n,135)._shouldForward("pending")]);l(n,144,1,[xm._32(n,147).maxlength?xm._32(n,147).maxlength:null,xm._32(n,152).ngClassUntouched,xm._32(n,152).ngClassTouched,xm._32(n,152).ngClassPristine,xm._32(n,152).ngClassDirty,xm._32(n,152).ngClassValid,xm._32(n,152).ngClassInvalid,xm._32(n,152).ngClassPending,xm._32(n,153)._isServer,xm._32(n,153).id,xm._32(n,153).placeholder,xm._32(n,153).disabled,xm._32(n,153).required,xm._32(n,153).readonly,xm._32(n,153)._ariaDescribedby||null,xm._32(n,153).errorState,xm._32(n,153).required.toString()]);l(n,156,0,xm._32(n,157).id);l(n,161,1,[xm._32(n,162)._control.errorState,xm._32(n,162)._control.errorState,xm._32(n,162)._canLabelFloat,xm._32(n,162)._shouldLabelFloat(),xm._32(n,162)._hideControlPlaceholder(),xm._32(n,162)._control.disabled,xm._32(n,162)._control.focused,"primary"==xm._32(n,162).color,"accent"==xm._32(n,162).color,"warn"==xm._32(n,162).color,xm._32(n,162)._shouldForward("untouched"),xm._32(n,162)._shouldForward("touched"),xm._32(n,162)._shouldForward("pristine"),xm._32(n,162)._shouldForward("dirty"),xm._32(n,162)._shouldForward("valid"),xm._32(n,162)._shouldForward("invalid"),xm._32(n,162)._shouldForward("pending")]);l(n,171,1,[xm._32(n,177).ngClassUntouched,xm._32(n,177).ngClassTouched,xm._32(n,177).ngClassPristine,xm._32(n,177).ngClassDirty,xm._32(n,177).ngClassValid,xm._32(n,177).ngClassInvalid,xm._32(n,177).ngClassPending,xm._32(n,178)._isServer,xm._32(n,178).id,xm._32(n,178).placeholder,xm._32(n,178).disabled,xm._32(n,178).required,xm._32(n,178).readonly,xm._32(n,178)._ariaDescribedby||null,xm._32(n,178).errorState,xm._32(n,178).required.toString()]);l(n,181,0,xm._32(n,182).id);l(n,187,1,[xm._32(n,188)._control.errorState,xm._32(n,188)._control.errorState,xm._32(n,188)._canLabelFloat,xm._32(n,188)._shouldLabelFloat(),xm._32(n,188)._hideControlPlaceholder(),xm._32(n,188)._control.disabled,xm._32(n,188)._control.focused,"primary"==xm._32(n,188).color,"accent"==xm._32(n,188).color,"warn"==xm._32(n,188).color,xm._32(n,188)._shouldForward("untouched"),xm._32(n,188)._shouldForward("touched"),xm._32(n,188)._shouldForward("pristine"),xm._32(n,188)._shouldForward("dirty"),xm._32(n,188)._shouldForward("valid"),xm._32(n,188)._shouldForward("invalid"),xm._32(n,188)._shouldForward("pending")]);l(n,197,1,[xm._32(n,203).ngClassUntouched,xm._32(n,203).ngClassTouched,xm._32(n,203).ngClassPristine,xm._32(n,203).ngClassDirty,xm._32(n,203).ngClassValid,xm._32(n,203).ngClassInvalid,xm._32(n,203).ngClassPending,xm._32(n,204)._isServer,xm._32(n,204).id,xm._32(n,204).placeholder,xm._32(n,204).disabled,xm._32(n,204).required,xm._32(n,204).readonly,xm._32(n,204)._ariaDescribedby||null,xm._32(n,204).errorState,xm._32(n,204).required.toString()]);l(n,207,0,xm._32(n,208).id);l(n,212,1,[xm._32(n,213)._control.errorState,xm._32(n,213)._control.errorState,xm._32(n,213)._canLabelFloat,xm._32(n,213)._shouldLabelFloat(),xm._32(n,213)._hideControlPlaceholder(),xm._32(n,213)._control.disabled,xm._32(n,213)._control.focused,"primary"==xm._32(n,213).color,"accent"==xm._32(n,213).color,"warn"==xm._32(n,213).color,xm._32(n,213)._shouldForward("untouched"),xm._32(n,213)._shouldForward("touched"),xm._32(n,213)._shouldForward("pristine"),xm._32(n,213)._shouldForward("dirty"),xm._32(n,213)._shouldForward("valid"),xm._32(n,213)._shouldForward("invalid"),xm._32(n,213)._shouldForward("pending")]);l(n,222,1,[xm._32(n,226).ngClassUntouched,xm._32(n,226).ngClassTouched,xm._32(n,226).ngClassPristine,xm._32(n,226).ngClassDirty,xm._32(n,226).ngClassValid,xm._32(n,226).ngClassInvalid,xm._32(n,226).ngClassPending,xm._32(n,227).id,xm._32(n,227).tabIndex,xm._32(n,227)._ariaLabel,xm._32(n,227).ariaLabelledby,xm._32(n,227).required.toString(),xm._32(n,227).disabled.toString(),xm._32(n,227).errorState,xm._32(n,227).panelOpen?xm._32(n,227)._optionIds:null,xm._32(n,227).multiple,xm._32(n,227)._ariaDescribedby||null,xm._32(n,227)._getAriaActiveDescendant(),xm._32(n,227).disabled,xm._32(n,227).errorState,xm._32(n,227).required]);l(n,238,1,[xm._32(n,239)._control.errorState,xm._32(n,239)._control.errorState,xm._32(n,239)._canLabelFloat,xm._32(n,239)._shouldLabelFloat(),xm._32(n,239)._hideControlPlaceholder(),xm._32(n,239)._control.disabled,xm._32(n,239)._control.focused,"primary"==xm._32(n,239).color,"accent"==xm._32(n,239).color,"warn"==xm._32(n,239).color,xm._32(n,239)._shouldForward("untouched"),xm._32(n,239)._shouldForward("touched"),xm._32(n,239)._shouldForward("pristine"),xm._32(n,239)._shouldForward("dirty"),xm._32(n,239)._shouldForward("valid"),xm._32(n,239)._shouldForward("invalid"),xm._32(n,239)._shouldForward("pending")]);l(n,248,1,[xm._32(n,251).ngClassUntouched,xm._32(n,251).ngClassTouched,xm._32(n,251).ngClassPristine,xm._32(n,251).ngClassDirty,xm._32(n,251).ngClassValid,xm._32(n,251).ngClassInvalid,xm._32(n,251).ngClassPending,xm._32(n,252).id,xm._32(n,252).tabIndex,xm._32(n,252)._ariaLabel,xm._32(n,252).ariaLabelledby,xm._32(n,252).required.toString(),xm._32(n,252).disabled.toString(),xm._32(n,252).errorState,xm._32(n,252).panelOpen?xm._32(n,252)._optionIds:null,xm._32(n,252).multiple,xm._32(n,252)._ariaDescribedby||null,xm._32(n,252)._getAriaActiveDescendant(),xm._32(n,252).disabled,xm._32(n,252).errorState,xm._32(n,252).required]);l(n,259,0,xm._32(n,260)._getTabIndex(),xm._32(n,260).selected,xm._32(n,260).multiple,xm._32(n,260).active,xm._32(n,260).id,xm._32(n,260).selected.toString(),xm._32(n,260).disabled.toString(),xm._32(n,260).disabled);l(n,263,0,xm._32(n,264)._getTabIndex(),xm._32(n,264).selected,xm._32(n,264).multiple,xm._32(n,264).active,xm._32(n,264).id,xm._32(n,264).selected.toString(),xm._32(n,264).disabled.toString(),xm._32(n,264).disabled)})}function Ji(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,106,{_control:0}),xm._37(335544320,107,{_placeholderChild:0}),xm._37(335544320,108,{_labelChild:0}),xm._37(603979776,109,{_errorChildren:1}),xm._37(603979776,110,{_hintChildren:1}),xm._37(603979776,111,{_prefixChildren:1}),xm._37(603979776,112,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_raw_materials_total_payments_percent_on_credit"],["matInput",""],["maxlength","3"],["placeholder","What % of Total Purchase is Done on Credit?"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,21)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(15,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(18,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(20,16384,null,0,Km.s,[Km.r],null,null),xm._17(21,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[106,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"3");l(n,18,0,"main_raw_materials_total_payments_percent_on_credit");l(n,21,0,"What % of Total Purchase is Done on Credit?","number")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,15).maxlength?xm._32(n,15).maxlength:null,xm._32(n,20).ngClassUntouched,xm._32(n,20).ngClassTouched,xm._32(n,20).ngClassPristine,xm._32(n,20).ngClassDirty,xm._32(n,20).ngClassValid,xm._32(n,20).ngClassInvalid,xm._32(n,20).ngClassPending,xm._32(n,21)._isServer,xm._32(n,21).id,xm._32(n,21).placeholder,xm._32(n,21).disabled,xm._32(n,21).required,xm._32(n,21).readonly,xm._32(n,21)._ariaDescribedby||null,xm._32(n,21).errorState,xm._32(n,21).required.toString()])})}function Xi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,7,"div",[["formArrayName","main_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,zi)),xm._17(11,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ji)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"main_raw_materials");l(n,11,0,n.context.$implicit.controls.main_raw_materials.controls);l(n,15,0,e.mfgCreditCardFlag)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending)})}function Zi(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Manufacturing Product Details"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(10,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(11,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(13,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Xi)),xm._17(16,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"manufacturing_details");l(n,16,0,e.supplierInfoForm.controls.manufacturing_details.controls)},function(l,n){l(n,10,0,xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending)})}function lo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[120,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function no(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[137,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function eo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[154,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function uo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,157,{_control:0}),xm._37(335544320,158,{_placeholderChild:0}),xm._37(335544320,159,{_labelChild:0}),xm._37(603979776,160,{_errorChildren:1}),xm._37(603979776,161,{_hintChildren:1}),xm._37(603979776,162,{_prefixChildren:1}),xm._37(603979776,163,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[157,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function ao(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[192,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function to(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(3,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(7,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,205,{_control:0}),xm._37(335544320,206,{_placeholderChild:0}),xm._37(335544320,207,{_labelChild:0}),xm._37(603979776,208,{_errorChildren:1}),xm._37(603979776,209,{_hintChildren:1}),xm._37(603979776,210,{_prefixChildren:1}),xm._37(603979776,211,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(17,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(18,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[205,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(28,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,212,{_control:0}),xm._37(335544320,213,{_placeholderChild:0}),xm._37(335544320,214,{_labelChild:0}),xm._37(603979776,215,{_errorChildren:1}),xm._37(603979776,216,{_hintChildren:1}),xm._37(603979776,217,{_prefixChildren:1}),xm._37(603979776,218,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,44)._onInput()&&u}return u},null,null)),xm._17(38,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(39,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(41,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(43,16384,null,0,Km.s,[Km.r],null,null),xm._17(44,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[212,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"trade_product_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"trade_product_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[xm._32(n,7)._control.errorState,xm._32(n,7)._control.errorState,xm._32(n,7)._canLabelFloat,xm._32(n,7)._shouldLabelFloat(),xm._32(n,7)._hideControlPlaceholder(),xm._32(n,7)._control.disabled,xm._32(n,7)._control.focused,"primary"==xm._32(n,7).color,"accent"==xm._32(n,7).color,"warn"==xm._32(n,7).color,xm._32(n,7)._shouldForward("untouched"),xm._32(n,7)._shouldForward("touched"),xm._32(n,7)._shouldForward("pristine"),xm._32(n,7)._shouldForward("dirty"),xm._32(n,7)._shouldForward("valid"),xm._32(n,7)._shouldForward("invalid"),xm._32(n,7)._shouldForward("pending")]);l(n,16,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()]);l(n,27,1,[xm._32(n,28)._control.errorState,xm._32(n,28)._control.errorState,xm._32(n,28)._canLabelFloat,xm._32(n,28)._shouldLabelFloat(),xm._32(n,28)._hideControlPlaceholder(),xm._32(n,28)._control.disabled,xm._32(n,28)._control.focused,"primary"==xm._32(n,28).color,"accent"==xm._32(n,28).color,"warn"==xm._32(n,28).color,xm._32(n,28)._shouldForward("untouched"),xm._32(n,28)._shouldForward("touched"),xm._32(n,28)._shouldForward("pristine"),xm._32(n,28)._shouldForward("dirty"),xm._32(n,28)._shouldForward("valid"),xm._32(n,28)._shouldForward("invalid"),xm._32(n,28)._shouldForward("pending")]);l(n,37,1,[xm._32(n,43).ngClassUntouched,xm._32(n,43).ngClassTouched,xm._32(n,43).ngClassPristine,xm._32(n,43).ngClassDirty,xm._32(n,43).ngClassValid,xm._32(n,43).ngClassInvalid,xm._32(n,43).ngClassPending,xm._32(n,44)._isServer,xm._32(n,44).id,xm._32(n,44).placeholder,xm._32(n,44).disabled,xm._32(n,44).required,xm._32(n,44).readonly,xm._32(n,44)._ariaDescribedby||null,xm._32(n,44).errorState,xm._32(n,44).required.toString()])})}function io(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeTradingProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function oo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoretradeProduct(e);u=!1}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function ro(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,300,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Trading Product #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,271,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,267,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(15,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,113,{_control:0}),xm._37(335544320,114,{_placeholderChild:0}),xm._37(335544320,115,{_labelChild:0}),xm._37(603979776,116,{_errorChildren:1}),xm._37(603979776,117,{_hintChildren:1}),xm._37(603979776,118,{_prefixChildren:1}),xm._37(603979776,119,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","trade_product_name"],["placeholder","Trading Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,29)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(26,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(28,16384,null,0,Km.s,[Km.r],null,null),xm._17(29,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,120,{options:1}),xm._37(603979776,121,{optionGroups:1}),xm._37(335544320,122,{customTrigger:0}),xm._36(2048,[[113,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,lo)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(40,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(41,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,123,{_control:0}),xm._37(335544320,124,{_placeholderChild:0}),xm._37(335544320,125,{_labelChild:0}),xm._37(603979776,126,{_errorChildren:1}),xm._37(603979776,127,{_hintChildren:1}),xm._37(603979776,128,{_prefixChildren:1}),xm._37(603979776,129,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(50,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_supplier_name"],["matInput",""],["placeholder","Supplier Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,56)._onInput()&&u}return u},null,null)),xm._17(51,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(53,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(55,16384,null,0,Km.s,[Km.r],null,null),xm._17(56,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[123,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(61,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,130,{_control:0}),xm._37(335544320,131,{_placeholderChild:0}),xm._37(335544320,132,{_labelChild:0}),xm._37(603979776,133,{_errorChildren:1}),xm._37(603979776,134,{_hintChildren:1}),xm._37(603979776,135,{_prefixChildren:1}),xm._37(603979776,136,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,75)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(72,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(74,16384,null,0,Km.s,[Km.r],null,null),xm._17(75,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,137,{options:1}),xm._37(603979776,138,{optionGroups:1}),xm._37(335544320,139,{customTrigger:0}),xm._36(2048,[[130,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,no)),xm._17(82,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(86,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(87,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,140,{_control:0}),xm._37(335544320,141,{_placeholderChild:0}),xm._37(335544320,142,{_labelChild:0}),xm._37(603979776,143,{_errorChildren:1}),xm._37(603979776,144,{_hintChildren:1}),xm._37(603979776,145,{_prefixChildren:1}),xm._37(603979776,146,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(96,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_name"],["matInput",""],["maxlength","10"],["placeholder","Contact Person Name"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,104)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,104)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,104)._onInput()&&u}return u},null,null)),xm._17(97,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(98,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.n]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(101,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(103,16384,null,0,Km.s,[Km.r],null,null),xm._17(104,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[140,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(108,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(109,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,147,{_control:0}),xm._37(335544320,148,{_placeholderChild:0}),xm._37(335544320,149,{_labelChild:0}),xm._37(603979776,150,{_errorChildren:1}),xm._37(603979776,151,{_hintChildren:1}),xm._37(603979776,152,{_prefixChildren:1}),xm._37(603979776,153,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(118,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,122)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,122)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,122)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedPersonDesignation(l.context.$implicit,e.value,2)&&u}return u},xv.b,xv.a)),xm._17(119,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(121,16384,null,0,Km.s,[Km.r],null,null),xm._17(122,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,154,{options:1}),xm._37(603979776,155,{optionGroups:1}),xm._37(335544320,156,{customTrigger:0}),xm._36(2048,[[147,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(129,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,130)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,130)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(130,8437760,[[154,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,eo)),xm._17(134,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,uo)),xm._17(140,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(142,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(143,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,164,{_control:0}),xm._37(335544320,165,{_placeholderChild:0}),xm._37(335544320,166,{_labelChild:0}),xm._37(603979776,167,{_errorChildren:1}),xm._37(603979776,168,{_hintChildren:1}),xm._37(603979776,169,{_prefixChildren:1}),xm._37(603979776,170,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(152,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,153)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,153).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,153)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,153)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,154).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,154).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,154).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,161)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,161)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,161)._onInput()&&u}return u},null,null)),xm._17(153,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(154,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(155,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(158,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(160,16384,null,0,Km.s,[Km.r],null,null),xm._17(161,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[164,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(164,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(165,16384,[[167,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid Mobile Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(169,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(170,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,171,{_control:0}),xm._37(335544320,172,{_placeholderChild:0}),xm._37(335544320,173,{_labelChild:0}),xm._37(603979776,174,{_errorChildren:1}),xm._37(603979776,175,{_hintChildren:1}),xm._37(603979776,176,{_prefixChildren:1}),xm._37(603979776,177,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(179,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,180)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,180).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,180)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,180)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,181).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,181).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,181).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,186)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,186)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,186)._onInput()&&u}return u},null,null)),xm._17(180,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(181,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(183,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(185,16384,null,0,Km.s,[Km.r],null,null),xm._17(186,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[171,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(189,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(190,16384,[[174,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid STD Code Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(195,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(196,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,178,{_control:0}),xm._37(335544320,179,{_placeholderChild:0}),xm._37(335544320,180,{_labelChild:0}),xm._37(603979776,181,{_errorChildren:1}),xm._37(603979776,182,{_hintChildren:1}),xm._37(603979776,183,{_prefixChildren:1}),xm._37(603979776,184,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(205,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,206)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,206).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,206)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,206)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,207).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,207).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,207).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,212)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,212)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,212)._onInput()&&u}return u},null,null)),xm._17(206,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(207,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(209,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(211,16384,null,0,Km.s,[Km.r],null,null),xm._17(212,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[178,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(215,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(216,16384,[[181,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid LandLine Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(220,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(221,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,185,{_control:0}),xm._37(335544320,186,{_placeholderChild:0}),xm._37(335544320,187,{_labelChild:0}),xm._37(603979776,188,{_errorChildren:1}),xm._37(603979776,189,{_hintChildren:1}),xm._37(603979776,190,{_prefixChildren:1}),xm._37(603979776,191,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(230,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,235)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,235)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,235)._onBlur()&&u}if("selectionChange"===n){a.selectedPaymentTerms(l.context.$implicit,e.value,2);u=!1!==a.checkCard(e.value,2,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(232,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(234,16384,null,0,Km.s,[Km.r],null,null),xm._17(235,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,192,{options:1}),xm._37(603979776,193,{optionGroups:1}),xm._37(335544320,194,{customTrigger:0}),xm._36(2048,[[185,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ao)),xm._17(242,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(246,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(247,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,195,{_control:0}),xm._37(335544320,196,{_placeholderChild:0}),xm._37(335544320,197,{_labelChild:0}),xm._37(603979776,198,{_errorChildren:1}),xm._37(603979776,199,{_hintChildren:1}),xm._37(603979776,200,{_prefixChildren:1}),xm._37(603979776,201,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(256,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,260)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,260)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,260)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(257,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(259,16384,null,0,Km.s,[Km.r],null,null),xm._17(260,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,202,{options:1}),xm._37(603979776,203,{optionGroups:1}),xm._37(335544320,204,{customTrigger:0}),xm._36(2048,[[195,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(267,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,268)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,268)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(268,8437760,[[202,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment received in Cash."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(271,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,272)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,272)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(272,8437760,[[202,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment received through\n Banking\n channels."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,to)),xm._17(278,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(282,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(283,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,219,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(286,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(287,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,io)),xm._17(290,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(293,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(294,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,oo)),xm._17(297,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,26,0,"trade_product_name");l(n,29,0,"Trading Product Name");l(n,36,0,e.business_tradingProducts);l(n,53,0,"trade_supplier_name");l(n,56,0,"Supplier Name");l(n,72,0,"person_title_name");l(n,75,0,"Title");l(n,82,0,e.m_titleList);l(n,98,0,"10");l(n,101,0,"trade_product_contact_person_name");l(n,104,0,"Contact Person Name");l(n,119,0,"person_designation");l(n,122,0,"Contact Person Designation");l(n,134,0,e.m_companyRelationShipList);l(n,140,0,1==n.context.$implicit.get("person_designation").value);l(n,155,0,"10");l(n,158,0,"trade_product_contact_person_mobile_number");l(n,161,0,"Contact Person Mobile Number","number");l(n,183,0,"person_stdcode");l(n,186,0,"STD Code","number");l(n,209,0,"person_landline");l(n,212,0,"Contact Person Landline Number","number");l(n,232,0,"trade_product_payment_type");l(n,235,0,"Payment Terms");l(n,242,0,e.m_paymentList);l(n,257,0,"trade_product_payment_mode");l(n,260,0,"Payment Mode");l(n,268,0,"Payment received in Cash.");l(n,272,0,"Payment received through Banking channels.");l(n,278,0,3==n.context.$implicit.get("trade_product_payment_type").value);l(n,290,0,n.parent.context.$implicit.controls.trading_products.controls.length>1);l(n,297,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[xm._32(n,15)._control.errorState,xm._32(n,15)._control.errorState,xm._32(n,15)._canLabelFloat,xm._32(n,15)._shouldLabelFloat(),xm._32(n,15)._hideControlPlaceholder(),xm._32(n,15)._control.disabled,xm._32(n,15)._control.focused,"primary"==xm._32(n,15).color,"accent"==xm._32(n,15).color,"warn"==xm._32(n,15).color,xm._32(n,15)._shouldForward("untouched"),xm._32(n,15)._shouldForward("touched"),xm._32(n,15)._shouldForward("pristine"),xm._32(n,15)._shouldForward("dirty"),xm._32(n,15)._shouldForward("valid"),xm._32(n,15)._shouldForward("invalid"),xm._32(n,15)._shouldForward("pending")]);l(n,24,1,[xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending,xm._32(n,29).id,xm._32(n,29).tabIndex,xm._32(n,29)._ariaLabel,xm._32(n,29).ariaLabelledby,xm._32(n,29).required.toString(),xm._32(n,29).disabled.toString(),xm._32(n,29).errorState,xm._32(n,29).panelOpen?xm._32(n,29)._optionIds:null,xm._32(n,29).multiple,xm._32(n,29)._ariaDescribedby||null,xm._32(n,29)._getAriaActiveDescendant(),xm._32(n,29).disabled,xm._32(n,29).errorState,xm._32(n,29).required]);l(n,40,1,[xm._32(n,41)._control.errorState,xm._32(n,41)._control.errorState,xm._32(n,41)._canLabelFloat,xm._32(n,41)._shouldLabelFloat(),xm._32(n,41)._hideControlPlaceholder(),xm._32(n,41)._control.disabled,xm._32(n,41)._control.focused,"primary"==xm._32(n,41).color,"accent"==xm._32(n,41).color,"warn"==xm._32(n,41).color,xm._32(n,41)._shouldForward("untouched"),xm._32(n,41)._shouldForward("touched"),xm._32(n,41)._shouldForward("pristine"),xm._32(n,41)._shouldForward("dirty"),xm._32(n,41)._shouldForward("valid"),xm._32(n,41)._shouldForward("invalid"),xm._32(n,41)._shouldForward("pending")]);l(n,50,1,[xm._32(n,55).ngClassUntouched,xm._32(n,55).ngClassTouched,xm._32(n,55).ngClassPristine,xm._32(n,55).ngClassDirty,xm._32(n,55).ngClassValid,xm._32(n,55).ngClassInvalid,xm._32(n,55).ngClassPending,xm._32(n,56)._isServer,xm._32(n,56).id,xm._32(n,56).placeholder,xm._32(n,56).disabled,xm._32(n,56).required,xm._32(n,56).readonly,xm._32(n,56)._ariaDescribedby||null,xm._32(n,56).errorState,xm._32(n,56).required.toString()]);l(n,60,1,[xm._32(n,61)._control.errorState,xm._32(n,61)._control.errorState,xm._32(n,61)._canLabelFloat,xm._32(n,61)._shouldLabelFloat(),xm._32(n,61)._hideControlPlaceholder(),xm._32(n,61)._control.disabled,xm._32(n,61)._control.focused,"primary"==xm._32(n,61).color,"accent"==xm._32(n,61).color,"warn"==xm._32(n,61).color,xm._32(n,61)._shouldForward("untouched"),xm._32(n,61)._shouldForward("touched"),xm._32(n,61)._shouldForward("pristine"),xm._32(n,61)._shouldForward("dirty"),xm._32(n,61)._shouldForward("valid"),xm._32(n,61)._shouldForward("invalid"),xm._32(n,61)._shouldForward("pending")]);l(n,70,1,[xm._32(n,74).ngClassUntouched,xm._32(n,74).ngClassTouched,xm._32(n,74).ngClassPristine,xm._32(n,74).ngClassDirty,xm._32(n,74).ngClassValid,xm._32(n,74).ngClassInvalid,xm._32(n,74).ngClassPending,xm._32(n,75).id,xm._32(n,75).tabIndex,xm._32(n,75)._ariaLabel,xm._32(n,75).ariaLabelledby,xm._32(n,75).required.toString(),xm._32(n,75).disabled.toString(),xm._32(n,75).errorState,xm._32(n,75).panelOpen?xm._32(n,75)._optionIds:null,xm._32(n,75).multiple,xm._32(n,75)._ariaDescribedby||null,xm._32(n,75)._getAriaActiveDescendant(),xm._32(n,75).disabled,xm._32(n,75).errorState,xm._32(n,75).required]);l(n,86,1,[xm._32(n,87)._control.errorState,xm._32(n,87)._control.errorState,xm._32(n,87)._canLabelFloat,xm._32(n,87)._shouldLabelFloat(),xm._32(n,87)._hideControlPlaceholder(),xm._32(n,87)._control.disabled,xm._32(n,87)._control.focused,"primary"==xm._32(n,87).color,"accent"==xm._32(n,87).color,"warn"==xm._32(n,87).color,xm._32(n,87)._shouldForward("untouched"),xm._32(n,87)._shouldForward("touched"),xm._32(n,87)._shouldForward("pristine"),xm._32(n,87)._shouldForward("dirty"),xm._32(n,87)._shouldForward("valid"),xm._32(n,87)._shouldForward("invalid"),xm._32(n,87)._shouldForward("pending")]);l(n,96,1,[xm._32(n,98).maxlength?xm._32(n,98).maxlength:null,xm._32(n,103).ngClassUntouched,xm._32(n,103).ngClassTouched,xm._32(n,103).ngClassPristine,xm._32(n,103).ngClassDirty,xm._32(n,103).ngClassValid,xm._32(n,103).ngClassInvalid,xm._32(n,103).ngClassPending,xm._32(n,104)._isServer,xm._32(n,104).id,xm._32(n,104).placeholder,xm._32(n,104).disabled,xm._32(n,104).required,xm._32(n,104).readonly,xm._32(n,104)._ariaDescribedby||null,xm._32(n,104).errorState,xm._32(n,104).required.toString()]);l(n,108,1,[xm._32(n,109)._control.errorState,xm._32(n,109)._control.errorState,xm._32(n,109)._canLabelFloat,xm._32(n,109)._shouldLabelFloat(),xm._32(n,109)._hideControlPlaceholder(),xm._32(n,109)._control.disabled,xm._32(n,109)._control.focused,"primary"==xm._32(n,109).color,"accent"==xm._32(n,109).color,"warn"==xm._32(n,109).color,xm._32(n,109)._shouldForward("untouched"),xm._32(n,109)._shouldForward("touched"),xm._32(n,109)._shouldForward("pristine"),xm._32(n,109)._shouldForward("dirty"),xm._32(n,109)._shouldForward("valid"),xm._32(n,109)._shouldForward("invalid"),xm._32(n,109)._shouldForward("pending")]);l(n,118,1,[xm._32(n,121).ngClassUntouched,xm._32(n,121).ngClassTouched,xm._32(n,121).ngClassPristine,xm._32(n,121).ngClassDirty,xm._32(n,121).ngClassValid,xm._32(n,121).ngClassInvalid,xm._32(n,121).ngClassPending,xm._32(n,122).id,xm._32(n,122).tabIndex,xm._32(n,122)._ariaLabel,xm._32(n,122).ariaLabelledby,xm._32(n,122).required.toString(),xm._32(n,122).disabled.toString(),xm._32(n,122).errorState,xm._32(n,122).panelOpen?xm._32(n,122)._optionIds:null,xm._32(n,122).multiple,xm._32(n,122)._ariaDescribedby||null,xm._32(n,122)._getAriaActiveDescendant(),xm._32(n,122).disabled,xm._32(n,122).errorState,xm._32(n,122).required]);l(n,129,0,xm._32(n,130)._getTabIndex(),xm._32(n,130).selected,xm._32(n,130).multiple,xm._32(n,130).active,xm._32(n,130).id,xm._32(n,130).selected.toString(),xm._32(n,130).disabled.toString(),xm._32(n,130).disabled);l(n,142,1,[xm._32(n,143)._control.errorState,xm._32(n,143)._control.errorState,xm._32(n,143)._canLabelFloat,xm._32(n,143)._shouldLabelFloat(),xm._32(n,143)._hideControlPlaceholder(),xm._32(n,143)._control.disabled,xm._32(n,143)._control.focused,"primary"==xm._32(n,143).color,"accent"==xm._32(n,143).color,"warn"==xm._32(n,143).color,xm._32(n,143)._shouldForward("untouched"),xm._32(n,143)._shouldForward("touched"),xm._32(n,143)._shouldForward("pristine"),xm._32(n,143)._shouldForward("dirty"),xm._32(n,143)._shouldForward("valid"),xm._32(n,143)._shouldForward("invalid"),xm._32(n,143)._shouldForward("pending")]);l(n,152,1,[xm._32(n,155).maxlength?xm._32(n,155).maxlength:null,xm._32(n,160).ngClassUntouched,xm._32(n,160).ngClassTouched,xm._32(n,160).ngClassPristine,xm._32(n,160).ngClassDirty,xm._32(n,160).ngClassValid,xm._32(n,160).ngClassInvalid,xm._32(n,160).ngClassPending,xm._32(n,161)._isServer,xm._32(n,161).id,xm._32(n,161).placeholder,xm._32(n,161).disabled,xm._32(n,161).required,xm._32(n,161).readonly,xm._32(n,161)._ariaDescribedby||null,xm._32(n,161).errorState,xm._32(n,161).required.toString()]);l(n,164,0,xm._32(n,165).id);l(n,169,1,[xm._32(n,170)._control.errorState,xm._32(n,170)._control.errorState,xm._32(n,170)._canLabelFloat,xm._32(n,170)._shouldLabelFloat(),xm._32(n,170)._hideControlPlaceholder(),xm._32(n,170)._control.disabled,xm._32(n,170)._control.focused,"primary"==xm._32(n,170).color,"accent"==xm._32(n,170).color,"warn"==xm._32(n,170).color,xm._32(n,170)._shouldForward("untouched"),xm._32(n,170)._shouldForward("touched"),xm._32(n,170)._shouldForward("pristine"),xm._32(n,170)._shouldForward("dirty"),xm._32(n,170)._shouldForward("valid"),xm._32(n,170)._shouldForward("invalid"),xm._32(n,170)._shouldForward("pending")]);l(n,179,1,[xm._32(n,185).ngClassUntouched,xm._32(n,185).ngClassTouched,xm._32(n,185).ngClassPristine,xm._32(n,185).ngClassDirty,xm._32(n,185).ngClassValid,xm._32(n,185).ngClassInvalid,xm._32(n,185).ngClassPending,xm._32(n,186)._isServer,xm._32(n,186).id,xm._32(n,186).placeholder,xm._32(n,186).disabled,xm._32(n,186).required,xm._32(n,186).readonly,xm._32(n,186)._ariaDescribedby||null,xm._32(n,186).errorState,xm._32(n,186).required.toString()]);l(n,189,0,xm._32(n,190).id);l(n,195,1,[xm._32(n,196)._control.errorState,xm._32(n,196)._control.errorState,xm._32(n,196)._canLabelFloat,xm._32(n,196)._shouldLabelFloat(),xm._32(n,196)._hideControlPlaceholder(),xm._32(n,196)._control.disabled,xm._32(n,196)._control.focused,"primary"==xm._32(n,196).color,"accent"==xm._32(n,196).color,"warn"==xm._32(n,196).color,xm._32(n,196)._shouldForward("untouched"),xm._32(n,196)._shouldForward("touched"),xm._32(n,196)._shouldForward("pristine"),xm._32(n,196)._shouldForward("dirty"),xm._32(n,196)._shouldForward("valid"),xm._32(n,196)._shouldForward("invalid"),xm._32(n,196)._shouldForward("pending")]);l(n,205,1,[xm._32(n,211).ngClassUntouched,xm._32(n,211).ngClassTouched,xm._32(n,211).ngClassPristine,xm._32(n,211).ngClassDirty,xm._32(n,211).ngClassValid,xm._32(n,211).ngClassInvalid,xm._32(n,211).ngClassPending,xm._32(n,212)._isServer,xm._32(n,212).id,xm._32(n,212).placeholder,xm._32(n,212).disabled,xm._32(n,212).required,xm._32(n,212).readonly,xm._32(n,212)._ariaDescribedby||null,xm._32(n,212).errorState,xm._32(n,212).required.toString()]);l(n,215,0,xm._32(n,216).id);l(n,220,1,[xm._32(n,221)._control.errorState,xm._32(n,221)._control.errorState,xm._32(n,221)._canLabelFloat,xm._32(n,221)._shouldLabelFloat(),xm._32(n,221)._hideControlPlaceholder(),xm._32(n,221)._control.disabled,xm._32(n,221)._control.focused,"primary"==xm._32(n,221).color,"accent"==xm._32(n,221).color,"warn"==xm._32(n,221).color,xm._32(n,221)._shouldForward("untouched"),xm._32(n,221)._shouldForward("touched"),xm._32(n,221)._shouldForward("pristine"),xm._32(n,221)._shouldForward("dirty"),xm._32(n,221)._shouldForward("valid"),xm._32(n,221)._shouldForward("invalid"),xm._32(n,221)._shouldForward("pending")]);l(n,230,1,[xm._32(n,234).ngClassUntouched,xm._32(n,234).ngClassTouched,xm._32(n,234).ngClassPristine,xm._32(n,234).ngClassDirty,xm._32(n,234).ngClassValid,xm._32(n,234).ngClassInvalid,xm._32(n,234).ngClassPending,xm._32(n,235).id,xm._32(n,235).tabIndex,xm._32(n,235)._ariaLabel,xm._32(n,235).ariaLabelledby,xm._32(n,235).required.toString(),xm._32(n,235).disabled.toString(),xm._32(n,235).errorState,xm._32(n,235).panelOpen?xm._32(n,235)._optionIds:null,xm._32(n,235).multiple,xm._32(n,235)._ariaDescribedby||null,xm._32(n,235)._getAriaActiveDescendant(),xm._32(n,235).disabled,xm._32(n,235).errorState,xm._32(n,235).required]);l(n,246,1,[xm._32(n,247)._control.errorState,xm._32(n,247)._control.errorState,xm._32(n,247)._canLabelFloat,xm._32(n,247)._shouldLabelFloat(),xm._32(n,247)._hideControlPlaceholder(),xm._32(n,247)._control.disabled,xm._32(n,247)._control.focused,"primary"==xm._32(n,247).color,"accent"==xm._32(n,247).color,"warn"==xm._32(n,247).color,xm._32(n,247)._shouldForward("untouched"),xm._32(n,247)._shouldForward("touched"),xm._32(n,247)._shouldForward("pristine"),xm._32(n,247)._shouldForward("dirty"),xm._32(n,247)._shouldForward("valid"),xm._32(n,247)._shouldForward("invalid"),xm._32(n,247)._shouldForward("pending")]);l(n,256,1,[xm._32(n,259).ngClassUntouched,xm._32(n,259).ngClassTouched,xm._32(n,259).ngClassPristine,xm._32(n,259).ngClassDirty,xm._32(n,259).ngClassValid,xm._32(n,259).ngClassInvalid,xm._32(n,259).ngClassPending,xm._32(n,260).id,xm._32(n,260).tabIndex,xm._32(n,260)._ariaLabel,xm._32(n,260).ariaLabelledby,xm._32(n,260).required.toString(),xm._32(n,260).disabled.toString(),xm._32(n,260).errorState,xm._32(n,260).panelOpen?xm._32(n,260)._optionIds:null,xm._32(n,260).multiple,xm._32(n,260)._ariaDescribedby||null,xm._32(n,260)._getAriaActiveDescendant(),xm._32(n,260).disabled,xm._32(n,260).errorState,xm._32(n,260).required]);l(n,267,0,xm._32(n,268)._getTabIndex(),xm._32(n,268).selected,xm._32(n,268).multiple,xm._32(n,268).active,xm._32(n,268).id,xm._32(n,268).selected.toString(),xm._32(n,268).disabled.toString(),xm._32(n,268).disabled);l(n,271,0,xm._32(n,272)._getTabIndex(),xm._32(n,272).selected,xm._32(n,272).multiple,xm._32(n,272).active,xm._32(n,272).id,xm._32(n,272).selected.toString(),xm._32(n,272).disabled.toString(),xm._32(n,272).disabled)})}function _o(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,220,{_control:0}),xm._37(335544320,221,{_placeholderChild:0}),xm._37(335544320,222,{_labelChild:0}),xm._37(603979776,223,{_errorChildren:1}),xm._37(603979776,224,{_hintChildren:1}),xm._37(603979776,225,{_prefixChildren:1}),xm._37(603979776,226,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trading_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What % of Total Trade is done on Credit?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[220,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"trading_products_total_payments_percent_on_credit");l(n,19,0,"What % of Total Trade is done on Credit?","number")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()])})}function so(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,7,"div",[["formArrayName","trading_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ro)),xm._17(11,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,_o)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"trading_products");l(n,11,0,n.context.$implicit.controls.trading_products.controls);l(n,15,0,e.trdCreditCardFlag)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending)})}function co(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Trading Product Details"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(10,0,null,0,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(11,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(13,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,so)),xm._17(16,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"trade_details");l(n,16,0,e.supplierInfoForm.controls.trade_details.controls)},function(l,n){l(n,10,0,xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending)})}function mo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Service Provider Product Details"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(10,0,null,0,1,"div",[["style","text-align: center; margin: 12px;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Service Provider Details Not applicable here !!"])),(l()(),xm._39(-1,0,["\n "]))],null,null)}function po(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,53,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,4).onReset()&&u}return u},null,null)),xm._17(3,16384,null,0,Km.B,[],null,null),xm._17(4,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,46,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Zi)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,co)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,mo)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(19,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(20,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(22,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(23,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,227,{_control:0}),xm._37(335544320,228,{_placeholderChild:0}),xm._37(335544320,229,{_labelChild:0}),xm._37(603979776,230,{_errorChildren:1}),xm._37(603979776,231,{_hintChildren:1}),xm._37(603979776,232,{_prefixChildren:1}),xm._37(603979776,233,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(32,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(33,16384,[[229,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(36,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","supplier_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,42)._onInput()&&u}return u},null,null)),xm._17(37,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(39,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(41,16384,null,0,Km.s,[Km.r],null,null),xm._17(42,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[227,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(47,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(48,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveSupplierInfo(a.supplierInfoForm.value)&&u}return u},Db.b,Db.a)),xm._17(51,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.supplierInfoForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.tradingForm);l(n,17,0,e.serviceProviderForm);l(n,39,0,"supplier_info_form_remark");l(n,42,0,"Remarks");l(n,51,0,"optblue","")},function(l,n){l(n,2,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending);l(n,22,1,[xm._32(n,23)._control.errorState,xm._32(n,23)._control.errorState,xm._32(n,23)._canLabelFloat,xm._32(n,23)._shouldLabelFloat(),xm._32(n,23)._hideControlPlaceholder(),xm._32(n,23)._control.disabled,xm._32(n,23)._control.focused,"primary"==xm._32(n,23).color,"accent"==xm._32(n,23).color,"warn"==xm._32(n,23).color,xm._32(n,23)._shouldForward("untouched"),xm._32(n,23)._shouldForward("touched"),xm._32(n,23)._shouldForward("pristine"),xm._32(n,23)._shouldForward("dirty"),xm._32(n,23)._shouldForward("valid"),xm._32(n,23)._shouldForward("invalid"),xm._32(n,23)._shouldForward("pending")]);l(n,36,1,[xm._32(n,41).ngClassUntouched,xm._32(n,41).ngClassTouched,xm._32(n,41).ngClassPristine,xm._32(n,41).ngClassDirty,xm._32(n,41).ngClassValid,xm._32(n,41).ngClassInvalid,xm._32(n,41).ngClassPending,xm._32(n,42)._isServer,xm._32(n,42).id,xm._32(n,42).placeholder,xm._32(n,42).disabled,xm._32(n,42).required,xm._32(n,42).readonly,xm._32(n,42)._ariaDescribedby||null,xm._32(n,42).errorState,xm._32(n,42).required.toString()])})}function fo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),xm._39(8,null,[" "," "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.component.errorMessage)})}function ho(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(16,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(17,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(18,0,["",""])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(22,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,po)),xm._17(26,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,fo)),xm._17(29,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,26,0,e.noRecordsFound);l(n,29,0,!e.noRecordsFound)},function(l,n){var e=n.component;l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher)})}function go(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Personal Info Category"]))],null,null)}function bo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[30,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function vo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[40,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function yo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,132,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,126,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,6).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,6).onReset()&&u}return u},null,null)),xm._17(6,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(10,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(11,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(20,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_ans"],["matInput",""],["placeholder","Name"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,21)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,21).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,21)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,21)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,28)._onInput()&&u}return u},null,null)),xm._17(21,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(22,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(25,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(27,16384,null,0,Km.s,[Km.r],null,null),xm._17(28,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(33,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(42,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age_ans"],["matInput",""],["placeholder","Age"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,43)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,50)._onInput()&&u}return u},null,null)),xm._17(43,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(44,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[9,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(54,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(55,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,16,{_control:0}),xm._37(335544320,17,{_placeholderChild:0}),xm._37(335544320,18,{_labelChild:0}),xm._37(603979776,19,{_errorChildren:1}),xm._37(603979776,20,{_hintChildren:1}),xm._37(603979776,21,{_prefixChildren:1}),xm._37(603979776,22,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(64,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","entity_ans"],["matInput",""],["placeholder","Entity"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,65)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,72)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,72)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,72)._onInput()&&u}return u},null,null)),xm._17(65,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(66,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(69,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(71,16384,null,0,Km.s,[Km.r],null,null),xm._17(72,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[16,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(76,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(77,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,23,{_control:0}),xm._37(335544320,24,{_placeholderChild:0}),xm._37(335544320,25,{_labelChild:0}),xm._37(603979776,26,{_errorChildren:1}),xm._37(603979776,27,{_hintChildren:1}),xm._37(603979776,28,{_prefixChildren:1}),xm._37(603979776,29,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(86,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","qualification_ans"],["placeholder","Educational Qualification"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,93)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(88,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(90,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(92,16384,null,0,Km.s,[Km.r],null,null),xm._17(93,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,30,{options:1}),xm._37(603979776,31,{optionGroups:1}),xm._37(335544320,32,{customTrigger:0}),xm._36(2048,[[23,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,bo)),xm._17(100,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(104,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(105,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,33,{_control:0}),xm._37(335544320,34,{_placeholderChild:0}),xm._37(335544320,35,{_labelChild:0}),xm._37(603979776,36,{_errorChildren:1}),xm._37(603979776,37,{_hintChildren:1}),xm._37(603979776,38,{_prefixChildren:1}),xm._37(603979776,39,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(114,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","earning_ans"],["placeholder","Earning Status"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,121)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(116,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(118,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(120,16384,null,0,Km.s,[Km.r],null,null),xm._17(121,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,40,{options:1}),xm._37(603979776,41,{optionGroups:1}),xm._37(335544320,42,{customTrigger:0}),xm._36(2048,[[33,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,vo)),xm._17(128,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "]))],function(l,n){var e=n.component;l(n,1,0,"mainItem");l(n,6,0,n.context.$implicit);l(n,22,0,"");l(n,25,0,"name_ans");l(n,28,0,"Name","","text");l(n,44,0,"");l(n,47,0,"age_ans");l(n,50,0,"Age","","text");l(n,66,0,"");l(n,69,0,"entity_ans");l(n,72,0,"Entity","","text");l(n,88,0,"");l(n,90,0,"qualification_ans");l(n,93,0,"Educational Qualification","");l(n,100,0,e.qualifications);l(n,116,0,"");l(n,118,0,"earning_ans");l(n,121,0,"Earning Status","");l(n,128,0,e.earningStatus)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending);l(n,10,1,[xm._32(n,11)._control.errorState,xm._32(n,11)._control.errorState,xm._32(n,11)._canLabelFloat,xm._32(n,11)._shouldLabelFloat(),xm._32(n,11)._hideControlPlaceholder(),xm._32(n,11)._control.disabled,xm._32(n,11)._control.focused,"primary"==xm._32(n,11).color,"accent"==xm._32(n,11).color,"warn"==xm._32(n,11).color,xm._32(n,11)._shouldForward("untouched"),xm._32(n,11)._shouldForward("touched"),xm._32(n,11)._shouldForward("pristine"),xm._32(n,11)._shouldForward("dirty"),xm._32(n,11)._shouldForward("valid"),xm._32(n,11)._shouldForward("invalid"),xm._32(n,11)._shouldForward("pending")]);l(n,20,1,[xm._32(n,22).required?"":null,xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending,xm._32(n,28)._isServer,xm._32(n,28).id,xm._32(n,28).placeholder,xm._32(n,28).disabled,xm._32(n,28).required,xm._32(n,28).readonly,xm._32(n,28)._ariaDescribedby||null,xm._32(n,28).errorState,xm._32(n,28).required.toString()]);l(n,32,1,[xm._32(n,33)._control.errorState,xm._32(n,33)._control.errorState,xm._32(n,33)._canLabelFloat,xm._32(n,33)._shouldLabelFloat(),xm._32(n,33)._hideControlPlaceholder(),xm._32(n,33)._control.disabled,xm._32(n,33)._control.focused,"primary"==xm._32(n,33).color,"accent"==xm._32(n,33).color,"warn"==xm._32(n,33).color,xm._32(n,33)._shouldForward("untouched"),xm._32(n,33)._shouldForward("touched"),xm._32(n,33)._shouldForward("pristine"),xm._32(n,33)._shouldForward("dirty"),xm._32(n,33)._shouldForward("valid"),xm._32(n,33)._shouldForward("invalid"),xm._32(n,33)._shouldForward("pending")]);l(n,42,1,[xm._32(n,44).required?"":null,xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50)._isServer,xm._32(n,50).id,xm._32(n,50).placeholder,xm._32(n,50).disabled,xm._32(n,50).required,xm._32(n,50).readonly,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50).errorState,xm._32(n,50).required.toString()]);l(n,54,1,[xm._32(n,55)._control.errorState,xm._32(n,55)._control.errorState,xm._32(n,55)._canLabelFloat,xm._32(n,55)._shouldLabelFloat(),xm._32(n,55)._hideControlPlaceholder(),xm._32(n,55)._control.disabled,xm._32(n,55)._control.focused,"primary"==xm._32(n,55).color,"accent"==xm._32(n,55).color,"warn"==xm._32(n,55).color,xm._32(n,55)._shouldForward("untouched"),xm._32(n,55)._shouldForward("touched"),xm._32(n,55)._shouldForward("pristine"),xm._32(n,55)._shouldForward("dirty"),xm._32(n,55)._shouldForward("valid"),xm._32(n,55)._shouldForward("invalid"),xm._32(n,55)._shouldForward("pending")]);l(n,64,1,[xm._32(n,66).required?"":null,xm._32(n,71).ngClassUntouched,xm._32(n,71).ngClassTouched,xm._32(n,71).ngClassPristine,xm._32(n,71).ngClassDirty,xm._32(n,71).ngClassValid,xm._32(n,71).ngClassInvalid,xm._32(n,71).ngClassPending,xm._32(n,72)._isServer,xm._32(n,72).id,xm._32(n,72).placeholder,xm._32(n,72).disabled,xm._32(n,72).required,xm._32(n,72).readonly,xm._32(n,72)._ariaDescribedby||null,xm._32(n,72).errorState,xm._32(n,72).required.toString()]);l(n,76,1,[xm._32(n,77)._control.errorState,xm._32(n,77)._control.errorState,xm._32(n,77)._canLabelFloat,xm._32(n,77)._shouldLabelFloat(),xm._32(n,77)._hideControlPlaceholder(),xm._32(n,77)._control.disabled,xm._32(n,77)._control.focused,"primary"==xm._32(n,77).color,"accent"==xm._32(n,77).color,"warn"==xm._32(n,77).color,xm._32(n,77)._shouldForward("untouched"),xm._32(n,77)._shouldForward("touched"),xm._32(n,77)._shouldForward("pristine"),xm._32(n,77)._shouldForward("dirty"),xm._32(n,77)._shouldForward("valid"),xm._32(n,77)._shouldForward("invalid"),xm._32(n,77)._shouldForward("pending")]);l(n,86,1,[xm._32(n,88).required?"":null,xm._32(n,92).ngClassUntouched,xm._32(n,92).ngClassTouched,xm._32(n,92).ngClassPristine,xm._32(n,92).ngClassDirty,xm._32(n,92).ngClassValid,xm._32(n,92).ngClassInvalid,xm._32(n,92).ngClassPending,xm._32(n,93).id,xm._32(n,93).tabIndex,xm._32(n,93)._ariaLabel,xm._32(n,93).ariaLabelledby,xm._32(n,93).required.toString(),xm._32(n,93).disabled.toString(),xm._32(n,93).errorState,xm._32(n,93).panelOpen?xm._32(n,93)._optionIds:null,xm._32(n,93).multiple,xm._32(n,93)._ariaDescribedby||null,xm._32(n,93)._getAriaActiveDescendant(),xm._32(n,93).disabled,xm._32(n,93).errorState,xm._32(n,93).required]);l(n,104,1,[xm._32(n,105)._control.errorState,xm._32(n,105)._control.errorState,xm._32(n,105)._canLabelFloat,xm._32(n,105)._shouldLabelFloat(),xm._32(n,105)._hideControlPlaceholder(),xm._32(n,105)._control.disabled,xm._32(n,105)._control.focused,"primary"==xm._32(n,105).color,"accent"==xm._32(n,105).color,"warn"==xm._32(n,105).color,xm._32(n,105)._shouldForward("untouched"),xm._32(n,105)._shouldForward("touched"),xm._32(n,105)._shouldForward("pristine"),xm._32(n,105)._shouldForward("dirty"),xm._32(n,105)._shouldForward("valid"),xm._32(n,105)._shouldForward("invalid"),xm._32(n,105)._shouldForward("pending")]);l(n,114,1,[xm._32(n,116).required?"":null,xm._32(n,120).ngClassUntouched,xm._32(n,120).ngClassTouched,xm._32(n,120).ngClassPristine,xm._32(n,120).ngClassDirty,xm._32(n,120).ngClassValid,xm._32(n,120).ngClassInvalid,xm._32(n,120).ngClassPending,xm._32(n,121).id,xm._32(n,121).tabIndex,xm._32(n,121)._ariaLabel,xm._32(n,121).ariaLabelledby,xm._32(n,121).required.toString(),xm._32(n,121).disabled.toString(),xm._32(n,121).errorState,xm._32(n,121).panelOpen?xm._32(n,121)._optionIds:null,xm._32(n,121).multiple,xm._32(n,121)._ariaDescribedby||null,xm._32(n,121)._getAriaActiveDescendant(),xm._32(n,121).disabled,xm._32(n,121).errorState,xm._32(n,121).required])})}function Co(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[71,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function wo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[81,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function Fo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[91,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function xo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,181,"div",[["class","text-xs-left"],["fxFlex","50"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(5,0,null,null,175,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(9,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["Co Applicant"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,167,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(13,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(15,0,null,null,163,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,160,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,18).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,18).onReset()&&u}return u},null,null)),xm._17(18,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(20,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(22,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(23,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_ans"],["matInput",""],["placeholder","Name"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,34)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,41)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,41)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,41)._onInput()&&u}return u},null,null)),xm._17(34,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(35,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(38,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(40,16384,null,0,Km.s,[Km.r],null,null),xm._17(41,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[43,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(45,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(46,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,50,{_control:0}),xm._37(335544320,51,{_placeholderChild:0}),xm._37(335544320,52,{_labelChild:0}),xm._37(603979776,53,{_errorChildren:1}),xm._37(603979776,54,{_hintChildren:1}),xm._37(603979776,55,{_prefixChildren:1}),xm._37(603979776,56,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(56,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age_ans"],["matInput",""],["placeholder","Age"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,57)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,57).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,57)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,57)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,64)._onInput()&&u}return u},null,null)),xm._17(57,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(58,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(61,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(63,16384,null,0,Km.s,[Km.r],null,null),xm._17(64,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[50,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(68,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(69,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,57,{_control:0}),xm._37(335544320,58,{_placeholderChild:0}),xm._37(335544320,59,{_labelChild:0}),xm._37(603979776,60,{_errorChildren:1}),xm._37(603979776,61,{_hintChildren:1}),xm._37(603979776,62,{_prefixChildren:1}),xm._37(603979776,63,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(79,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","entity_ans"],["matInput",""],["placeholder","Entity"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,80)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,80).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,80)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,80)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,87)._onInput()&&u}return u},null,null)),xm._17(80,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(81,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(84,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(86,16384,null,0,Km.s,[Km.r],null,null),xm._17(87,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[57,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(91,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(92,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,64,{_control:0}),xm._37(335544320,65,{_placeholderChild:0}),xm._37(335544320,66,{_labelChild:0}),xm._37(603979776,67,{_errorChildren:1}),xm._37(603979776,68,{_hintChildren:1}),xm._37(603979776,69,{_prefixChildren:1}),xm._37(603979776,70,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(102,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","qualification_ans"],["placeholder","Educational Qualification"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,109)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,109)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,109)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(104,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(106,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(108,16384,null,0,Km.s,[Km.r],null,null),xm._17(109,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,71,{options:1}),xm._37(603979776,72,{optionGroups:1}),xm._37(335544320,73,{customTrigger:0}),xm._36(2048,[[64,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Co)),xm._17(116,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(120,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(121,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,74,{_control:0}),xm._37(335544320,75,{_placeholderChild:0}),xm._37(335544320,76,{_labelChild:0}),xm._37(603979776,77,{_errorChildren:1}),xm._37(603979776,78,{_hintChildren:1}),xm._37(603979776,79,{_prefixChildren:1}),xm._37(603979776,80,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(131,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","earning_ans"],["placeholder","Earning Status"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,138)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,138)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,138)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(133,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(135,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(137,16384,null,0,Km.s,[Km.r],null,null),xm._17(138,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,81,{options:1}),xm._37(603979776,82,{optionGroups:1}),xm._37(335544320,83,{customTrigger:0}),xm._36(2048,[[74,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,wo)),xm._17(145,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(149,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(150,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,84,{_control:0}),xm._37(335544320,85,{_placeholderChild:0}),xm._37(335544320,86,{_labelChild:0}),xm._37(603979776,87,{_errorChildren:1}),xm._37(603979776,88,{_hintChildren:1}),xm._37(603979776,89,{_prefixChildren:1}),xm._37(603979776,90,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(160,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","relation_ans"],["placeholder","Relationship"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,167)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,167)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,167)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(162,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(164,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(166,16384,null,0,Km.s,[Km.r],null,null),xm._17(167,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,91,{options:1}),xm._37(603979776,92,{optionGroups:1}),xm._37(335544320,93,{customTrigger:0}),xm._36(2048,[[84,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Fo)),xm._17(174,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._39(-1,null,["\n \n \n "]))],function(l,n){var e=n.component;l(n,1,0,"coItem");l(n,18,0,n.context.$implicit);l(n,35,0,"");l(n,38,0,"name_ans");l(n,41,0,"Name","","text");l(n,58,0,"");l(n,61,0,"age_ans");l(n,64,0,"Age","","text");l(n,81,0,"");l(n,84,0,"entity_ans");l(n,87,0,"Entity","","text");l(n,104,0,"");l(n,106,0,"qualification_ans");l(n,109,0,"Educational Qualification","");l(n,116,0,e.qualifications);l(n,133,0,"");l(n,135,0,"earning_ans");l(n,138,0,"Earning Status","");l(n,145,0,e.earningStatus);l(n,162,0,"");l(n,164,0,"relation_ans");l(n,167,0,"Relationship","");l(n,174,0,e.relationShipList)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,17,0,xm._32(n,20).ngClassUntouched,xm._32(n,20).ngClassTouched,xm._32(n,20).ngClassPristine,xm._32(n,20).ngClassDirty,xm._32(n,20).ngClassValid,xm._32(n,20).ngClassInvalid,xm._32(n,20).ngClassPending);l(n,22,1,[xm._32(n,23)._control.errorState,xm._32(n,23)._control.errorState,xm._32(n,23)._canLabelFloat,xm._32(n,23)._shouldLabelFloat(),xm._32(n,23)._hideControlPlaceholder(),xm._32(n,23)._control.disabled,xm._32(n,23)._control.focused,"primary"==xm._32(n,23).color,"accent"==xm._32(n,23).color,"warn"==xm._32(n,23).color,xm._32(n,23)._shouldForward("untouched"),xm._32(n,23)._shouldForward("touched"),xm._32(n,23)._shouldForward("pristine"),xm._32(n,23)._shouldForward("dirty"),xm._32(n,23)._shouldForward("valid"),xm._32(n,23)._shouldForward("invalid"),xm._32(n,23)._shouldForward("pending")]);l(n,33,1,[xm._32(n,35).required?"":null,xm._32(n,40).ngClassUntouched,xm._32(n,40).ngClassTouched,xm._32(n,40).ngClassPristine,xm._32(n,40).ngClassDirty,xm._32(n,40).ngClassValid,xm._32(n,40).ngClassInvalid,xm._32(n,40).ngClassPending,xm._32(n,41)._isServer,xm._32(n,41).id,xm._32(n,41).placeholder,xm._32(n,41).disabled,xm._32(n,41).required,xm._32(n,41).readonly,xm._32(n,41)._ariaDescribedby||null,xm._32(n,41).errorState,xm._32(n,41).required.toString()]);l(n,45,1,[xm._32(n,46)._control.errorState,xm._32(n,46)._control.errorState,xm._32(n,46)._canLabelFloat,xm._32(n,46)._shouldLabelFloat(),xm._32(n,46)._hideControlPlaceholder(),xm._32(n,46)._control.disabled,xm._32(n,46)._control.focused,"primary"==xm._32(n,46).color,"accent"==xm._32(n,46).color,"warn"==xm._32(n,46).color,xm._32(n,46)._shouldForward("untouched"),xm._32(n,46)._shouldForward("touched"),xm._32(n,46)._shouldForward("pristine"),xm._32(n,46)._shouldForward("dirty"),xm._32(n,46)._shouldForward("valid"),xm._32(n,46)._shouldForward("invalid"),xm._32(n,46)._shouldForward("pending")]);l(n,56,1,[xm._32(n,58).required?"":null,xm._32(n,63).ngClassUntouched,xm._32(n,63).ngClassTouched,xm._32(n,63).ngClassPristine,xm._32(n,63).ngClassDirty,xm._32(n,63).ngClassValid,xm._32(n,63).ngClassInvalid,xm._32(n,63).ngClassPending,xm._32(n,64)._isServer,xm._32(n,64).id,xm._32(n,64).placeholder,xm._32(n,64).disabled,xm._32(n,64).required,xm._32(n,64).readonly,xm._32(n,64)._ariaDescribedby||null,xm._32(n,64).errorState,xm._32(n,64).required.toString()]);l(n,68,1,[xm._32(n,69)._control.errorState,xm._32(n,69)._control.errorState,xm._32(n,69)._canLabelFloat,xm._32(n,69)._shouldLabelFloat(),xm._32(n,69)._hideControlPlaceholder(),xm._32(n,69)._control.disabled,xm._32(n,69)._control.focused,"primary"==xm._32(n,69).color,"accent"==xm._32(n,69).color,"warn"==xm._32(n,69).color,xm._32(n,69)._shouldForward("untouched"),xm._32(n,69)._shouldForward("touched"),xm._32(n,69)._shouldForward("pristine"),xm._32(n,69)._shouldForward("dirty"),xm._32(n,69)._shouldForward("valid"),xm._32(n,69)._shouldForward("invalid"),xm._32(n,69)._shouldForward("pending")]);l(n,79,1,[xm._32(n,81).required?"":null,xm._32(n,86).ngClassUntouched,xm._32(n,86).ngClassTouched,xm._32(n,86).ngClassPristine,xm._32(n,86).ngClassDirty,xm._32(n,86).ngClassValid,xm._32(n,86).ngClassInvalid,xm._32(n,86).ngClassPending,xm._32(n,87)._isServer,xm._32(n,87).id,xm._32(n,87).placeholder,xm._32(n,87).disabled,xm._32(n,87).required,xm._32(n,87).readonly,xm._32(n,87)._ariaDescribedby||null,xm._32(n,87).errorState,xm._32(n,87).required.toString()]);l(n,91,1,[xm._32(n,92)._control.errorState,xm._32(n,92)._control.errorState,xm._32(n,92)._canLabelFloat,xm._32(n,92)._shouldLabelFloat(),xm._32(n,92)._hideControlPlaceholder(),xm._32(n,92)._control.disabled,xm._32(n,92)._control.focused,"primary"==xm._32(n,92).color,"accent"==xm._32(n,92).color,"warn"==xm._32(n,92).color,xm._32(n,92)._shouldForward("untouched"),xm._32(n,92)._shouldForward("touched"),xm._32(n,92)._shouldForward("pristine"),xm._32(n,92)._shouldForward("dirty"),xm._32(n,92)._shouldForward("valid"),xm._32(n,92)._shouldForward("invalid"),xm._32(n,92)._shouldForward("pending")]);l(n,102,1,[xm._32(n,104).required?"":null,xm._32(n,108).ngClassUntouched,xm._32(n,108).ngClassTouched,xm._32(n,108).ngClassPristine,xm._32(n,108).ngClassDirty,xm._32(n,108).ngClassValid,xm._32(n,108).ngClassInvalid,xm._32(n,108).ngClassPending,xm._32(n,109).id,xm._32(n,109).tabIndex,xm._32(n,109)._ariaLabel,xm._32(n,109).ariaLabelledby,xm._32(n,109).required.toString(),xm._32(n,109).disabled.toString(),xm._32(n,109).errorState,xm._32(n,109).panelOpen?xm._32(n,109)._optionIds:null,xm._32(n,109).multiple,xm._32(n,109)._ariaDescribedby||null,xm._32(n,109)._getAriaActiveDescendant(),xm._32(n,109).disabled,xm._32(n,109).errorState,xm._32(n,109).required]);l(n,120,1,[xm._32(n,121)._control.errorState,xm._32(n,121)._control.errorState,xm._32(n,121)._canLabelFloat,xm._32(n,121)._shouldLabelFloat(),xm._32(n,121)._hideControlPlaceholder(),xm._32(n,121)._control.disabled,xm._32(n,121)._control.focused,"primary"==xm._32(n,121).color,"accent"==xm._32(n,121).color,"warn"==xm._32(n,121).color,xm._32(n,121)._shouldForward("untouched"),xm._32(n,121)._shouldForward("touched"),xm._32(n,121)._shouldForward("pristine"),xm._32(n,121)._shouldForward("dirty"),xm._32(n,121)._shouldForward("valid"),xm._32(n,121)._shouldForward("invalid"),xm._32(n,121)._shouldForward("pending")]);l(n,131,1,[xm._32(n,133).required?"":null,xm._32(n,137).ngClassUntouched,xm._32(n,137).ngClassTouched,xm._32(n,137).ngClassPristine,xm._32(n,137).ngClassDirty,xm._32(n,137).ngClassValid,xm._32(n,137).ngClassInvalid,xm._32(n,137).ngClassPending,xm._32(n,138).id,xm._32(n,138).tabIndex,xm._32(n,138)._ariaLabel,xm._32(n,138).ariaLabelledby,xm._32(n,138).required.toString(),xm._32(n,138).disabled.toString(),xm._32(n,138).errorState,xm._32(n,138).panelOpen?xm._32(n,138)._optionIds:null,xm._32(n,138).multiple,xm._32(n,138)._ariaDescribedby||null,xm._32(n,138)._getAriaActiveDescendant(),xm._32(n,138).disabled,xm._32(n,138).errorState,xm._32(n,138).required]);l(n,149,1,[xm._32(n,150)._control.errorState,xm._32(n,150)._control.errorState,xm._32(n,150)._canLabelFloat,xm._32(n,150)._shouldLabelFloat(),xm._32(n,150)._hideControlPlaceholder(),xm._32(n,150)._control.disabled,xm._32(n,150)._control.focused,"primary"==xm._32(n,150).color,"accent"==xm._32(n,150).color,"warn"==xm._32(n,150).color,xm._32(n,150)._shouldForward("untouched"),xm._32(n,150)._shouldForward("touched"),xm._32(n,150)._shouldForward("pristine"),xm._32(n,150)._shouldForward("dirty"),xm._32(n,150)._shouldForward("valid"),xm._32(n,150)._shouldForward("invalid"),xm._32(n,150)._shouldForward("pending")]);l(n,160,1,[xm._32(n,162).required?"":null,xm._32(n,166).ngClassUntouched,xm._32(n,166).ngClassTouched,xm._32(n,166).ngClassPristine,xm._32(n,166).ngClassDirty,xm._32(n,166).ngClassValid,xm._32(n,166).ngClassInvalid,xm._32(n,166).ngClassPending,xm._32(n,167).id,xm._32(n,167).tabIndex,xm._32(n,167)._ariaLabel,xm._32(n,167).ariaLabelledby,xm._32(n,167).required.toString(),xm._32(n,167).disabled.toString(),xm._32(n,167).errorState,xm._32(n,167).panelOpen?xm._32(n,167)._optionIds:null,xm._32(n,167).multiple,xm._32(n,167)._ariaDescribedby||null,xm._32(n,167)._getAriaActiveDescendant(),xm._32(n,167).disabled,xm._32(n,167).errorState,xm._32(n,167).required])})}function So(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,87,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,2).onReset()&&u}return u},null,null)),xm._17(1,16384,null,0,Km.B,[],null,null),xm._17(2,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(4,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(6,0,null,null,66,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(7,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(10,0,null,null,24,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(12,0,null,null,16,"div",[["class","text-xs-left"],["fxFlex","50"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(14,0,null,null,13,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(15,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(17,0,null,0,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(18,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["Main Applicant"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(21,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(22,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,yo)),xm._17(25,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,xo)),xm._17(33,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(36,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(38,0,null,null,32,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(39,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(41,0,null,0,28,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,25,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(45,0,null,null,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(46,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,94,{_control:0}),xm._37(335544320,95,{_placeholderChild:0}),xm._37(335544320,96,{_labelChild:0}),xm._37(603979776,97,{_errorChildren:1}),xm._37(603979776,98,{_hintChildren:1}),xm._37(603979776,99,{_prefixChildren:1}),xm._37(603979776,100,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(55,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(56,16384,[[96,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(59,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","personal_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,60)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,60).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,60)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,60)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,65)._onInput()&&u}return u},null,null)),xm._17(60,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(62,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(64,16384,null,0,Km.s,[Km.r],null,null),xm._17(65,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[94,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(74,0,null,null,12,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(75,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(77,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(78,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(81,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.submitPersonalForm(a._personalForm.value)&&u}return u},Db.b,Db.a)),xm._17(82,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e._personalForm);l(n,25,0,e.pdMainapplicant.controls);l(n,33,0,e.pdCoapplicant.controls);l(n,62,0,"personal_info_form_remark");l(n,65,0,"Remarks");l(n,82,0,"optblue","")},function(l,n){l(n,0,0,xm._32(n,4).ngClassUntouched,xm._32(n,4).ngClassTouched,xm._32(n,4).ngClassPristine,xm._32(n,4).ngClassDirty,xm._32(n,4).ngClassValid,xm._32(n,4).ngClassInvalid,xm._32(n,4).ngClassPending);l(n,45,1,[xm._32(n,46)._control.errorState,xm._32(n,46)._control.errorState,xm._32(n,46)._canLabelFloat,xm._32(n,46)._shouldLabelFloat(),xm._32(n,46)._hideControlPlaceholder(),xm._32(n,46)._control.disabled,xm._32(n,46)._control.focused,"primary"==xm._32(n,46).color,"accent"==xm._32(n,46).color,"warn"==xm._32(n,46).color,xm._32(n,46)._shouldForward("untouched"),xm._32(n,46)._shouldForward("touched"),xm._32(n,46)._shouldForward("pristine"),xm._32(n,46)._shouldForward("dirty"),xm._32(n,46)._shouldForward("valid"),xm._32(n,46)._shouldForward("invalid"),xm._32(n,46)._shouldForward("pending")]);l(n,59,1,[xm._32(n,64).ngClassUntouched,xm._32(n,64).ngClassTouched,xm._32(n,64).ngClassPristine,xm._32(n,64).ngClassDirty,xm._32(n,64).ngClassValid,xm._32(n,64).ngClassInvalid,xm._32(n,64).ngClassPending,xm._32(n,65)._isServer,xm._32(n,65).id,xm._32(n,65).placeholder,xm._32(n,65).disabled,xm._32(n,65).required,xm._32(n,65).readonly,xm._32(n,65)._ariaDescribedby||null,xm._32(n,65).errorState,xm._32(n,65).required.toString()]);l(n,74,0,"end"===xm._32(n,75).align)})}function Io(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,go)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._13(16777216,null,1,1,null,So)),xm._17(25,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,e.loadDataStatus)},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher)})}function qo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ko(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[36,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Po(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[47,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.M_rawValueInWords[n.parent.parent.context.index])})}function Do(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,60,{_control:0}),xm._37(335544320,61,{_placeholderChild:0}),xm._37(335544320,62,{_labelChild:0}),xm._37(603979776,63,{_errorChildren:1}),xm._37(603979776,64,{_hintChildren:1}),xm._37(603979776,65,{_prefixChildren:1}),xm._37(603979776,66,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[62,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Please comment on the stock level observed?"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rawmaterial_remarks"],["matInput",""],["placeholder","Please comment on the stock level observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(18,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[60,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,20,0,"rawmaterial_remarks");l(n,23,0,"Please comment on the stock level observed")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,17,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()])})}function To(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,109,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[19,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(24,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","raw_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,38)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(35,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(37,16384,null,0,Km.s,[Km.r],null,null),xm._17(38,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,33,{options:1}),xm._37(603979776,34,{optionGroups:1}),xm._37(335544320,35,{customTrigger:0}),xm._36(2048,[[26,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,qo)),xm._17(45,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ko)),xm._17(50,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(52,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(53,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,63)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,64).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,64).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,64).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,69)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e.target.value,1,l.parent.context.index)&&u}return u},null,null)),xm._17(63,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(64,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(66,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(68,16384,null,0,Km.s,[Km.r],null,null),xm._17(69,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[43,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,6,1,null,Po)),xm._17(73,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(76,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(77,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,50,{_control:0}),xm._37(335544320,51,{_placeholderChild:0}),xm._37(335544320,52,{_labelChild:0}),xm._37(603979776,53,{_errorChildren:1}),xm._37(603979776,54,{_hintChildren:1}),xm._37(603979776,55,{_prefixChildren:1}),xm._37(603979776,56,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(86,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_raw"],["placeholder","Is the stock of Raw Materials observed, sufficient considering the size of operations"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,90)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,90)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,90)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.checkComments(e.value,1,l.parent.context.index)&&u}return u},xv.b,xv.a)),xm._17(87,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(89,16384,null,0,Km.s,[Km.r],null,null),xm._17(90,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,57,{options:1}),xm._37(603979776,58,{optionGroups:1}),xm._37(335544320,59,{customTrigger:0}),xm._36(2048,[[50,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(97,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,98)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,98)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(98,8437760,[[57,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,102)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(102,8437760,[[57,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Do)),xm._17(108,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"raw_quantity");l(n,19,0,"Estimated Quantity","number");l(n,35,0,"raw_uom");l(n,38,0,"Unit of Mearsurement");l(n,45,0,e.uomData);l(n,50,0,1==n.parent.context.$implicit.get("raw_uom").value);l(n,66,0,"raw_value");l(n,69,0,"Estimated Value of Stock Observed","number");l(n,73,0,""!=n.parent.context.$implicit.get("raw_value").value);l(n,87,0,"is_sufficiant_raw");l(n,90,0,"Is the stock of Raw Materials observed, sufficient considering the size of operations");l(n,98,0,"yes");l(n,102,0,"no");l(n,108,0,e.mrmCommentFlag[n.parent.context.index])},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,23,1,[xm._32(n,24)._control.errorState,xm._32(n,24)._control.errorState,xm._32(n,24)._canLabelFloat,xm._32(n,24)._shouldLabelFloat(),xm._32(n,24)._hideControlPlaceholder(),xm._32(n,24)._control.disabled,xm._32(n,24)._control.focused,"primary"==xm._32(n,24).color,"accent"==xm._32(n,24).color,"warn"==xm._32(n,24).color,xm._32(n,24)._shouldForward("untouched"),xm._32(n,24)._shouldForward("touched"),xm._32(n,24)._shouldForward("pristine"),xm._32(n,24)._shouldForward("dirty"),xm._32(n,24)._shouldForward("valid"),xm._32(n,24)._shouldForward("invalid"),xm._32(n,24)._shouldForward("pending")]);l(n,33,1,[xm._32(n,37).ngClassUntouched,xm._32(n,37).ngClassTouched,xm._32(n,37).ngClassPristine,xm._32(n,37).ngClassDirty,xm._32(n,37).ngClassValid,xm._32(n,37).ngClassInvalid,xm._32(n,37).ngClassPending,xm._32(n,38).id,xm._32(n,38).tabIndex,xm._32(n,38)._ariaLabel,xm._32(n,38).ariaLabelledby,xm._32(n,38).required.toString(),xm._32(n,38).disabled.toString(),xm._32(n,38).errorState,xm._32(n,38).panelOpen?xm._32(n,38)._optionIds:null,xm._32(n,38).multiple,xm._32(n,38)._ariaDescribedby||null,xm._32(n,38)._getAriaActiveDescendant(),xm._32(n,38).disabled,xm._32(n,38).errorState,xm._32(n,38).required]);l(n,52,1,[xm._32(n,53)._control.errorState,xm._32(n,53)._control.errorState,xm._32(n,53)._canLabelFloat,xm._32(n,53)._shouldLabelFloat(),xm._32(n,53)._hideControlPlaceholder(),xm._32(n,53)._control.disabled,xm._32(n,53)._control.focused,"primary"==xm._32(n,53).color,"accent"==xm._32(n,53).color,"warn"==xm._32(n,53).color,xm._32(n,53)._shouldForward("untouched"),xm._32(n,53)._shouldForward("touched"),xm._32(n,53)._shouldForward("pristine"),xm._32(n,53)._shouldForward("dirty"),xm._32(n,53)._shouldForward("valid"),xm._32(n,53)._shouldForward("invalid"),xm._32(n,53)._shouldForward("pending")]);l(n,62,1,[xm._32(n,68).ngClassUntouched,xm._32(n,68).ngClassTouched,xm._32(n,68).ngClassPristine,xm._32(n,68).ngClassDirty,xm._32(n,68).ngClassValid,xm._32(n,68).ngClassInvalid,xm._32(n,68).ngClassPending,xm._32(n,69)._isServer,xm._32(n,69).id,xm._32(n,69).placeholder,xm._32(n,69).disabled,xm._32(n,69).required,xm._32(n,69).readonly,xm._32(n,69)._ariaDescribedby||null,xm._32(n,69).errorState,xm._32(n,69).required.toString()]);l(n,76,1,[xm._32(n,77)._control.errorState,xm._32(n,77)._control.errorState,xm._32(n,77)._canLabelFloat,xm._32(n,77)._shouldLabelFloat(),xm._32(n,77)._hideControlPlaceholder(),xm._32(n,77)._control.disabled,xm._32(n,77)._control.focused,"primary"==xm._32(n,77).color,"accent"==xm._32(n,77).color,"warn"==xm._32(n,77).color,xm._32(n,77)._shouldForward("untouched"),xm._32(n,77)._shouldForward("touched"),xm._32(n,77)._shouldForward("pristine"),xm._32(n,77)._shouldForward("dirty"),xm._32(n,77)._shouldForward("valid"),xm._32(n,77)._shouldForward("invalid"),xm._32(n,77)._shouldForward("pending")]);l(n,86,1,[xm._32(n,89).ngClassUntouched,xm._32(n,89).ngClassTouched,xm._32(n,89).ngClassPristine,xm._32(n,89).ngClassDirty,xm._32(n,89).ngClassValid,xm._32(n,89).ngClassInvalid,xm._32(n,89).ngClassPending,xm._32(n,90).id,xm._32(n,90).tabIndex,xm._32(n,90)._ariaLabel,xm._32(n,90).ariaLabelledby,xm._32(n,90).required.toString(),xm._32(n,90).disabled.toString(),xm._32(n,90).errorState,xm._32(n,90).panelOpen?xm._32(n,90)._optionIds:null,xm._32(n,90).multiple,xm._32(n,90)._ariaDescribedby||null,xm._32(n,90)._getAriaActiveDescendant(),xm._32(n,90).disabled,xm._32(n,90).errorState,xm._32(n,90).required]);l(n,97,0,xm._32(n,98)._getTabIndex(),xm._32(n,98).selected,xm._32(n,98).multiple,xm._32(n,98).active,xm._32(n,98).id,xm._32(n,98).selected.toString(),xm._32(n,98).disabled.toString(),xm._32(n,98).disabled);l(n,101,0,xm._32(n,102)._getTabIndex(),xm._32(n,102).selected,xm._32(n,102).multiple,xm._32(n,102).active,xm._32(n,102).id,xm._32(n,102).selected.toString(),xm._32(n,102).disabled.toString(),xm._32(n,102).disabled)})}function Oo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteRawMaterials(l.parent.context.index,1)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Lo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRawMaterials(1)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Ao(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,90,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Raw Material #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,57,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(13,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,28)._onInput()&&u}return u},null,null)),xm._17(23,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(25,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(27,16384,null,0,Km.s,[Km.r],null,null),xm._17(28,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(33,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","stock_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,47)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,47)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,47)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(44,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(46,16384,null,0,Km.s,[Km.r],null,null),xm._17(47,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,16,{options:1}),xm._37(603979776,17,{optionGroups:1}),xm._37(335544320,18,{customTrigger:0}),xm._36(2048,[[9,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,55)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(55,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Add Stock Details"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(58,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,59)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(59,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No Stock Observed"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,To)),xm._17(65,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(68,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(69,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(71,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(72,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,67,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(75,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(76,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Oo)),xm._17(79,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(82,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(83,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Lo)),xm._17(86,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"raw_name");l(n,28,0,"Name");l(n,44,0,"stock_observed");l(n,47,0,"Stock");l(n,55,0,"yes");l(n,59,0,"no");l(n,65,0,"yes"==n.context.$implicit.get("stock_observed").value);l(n,79,0,n.parent.context.$implicit.controls.manufacturing_raw_materials.controls.length>1);l(n,86,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[xm._32(n,13)._control.errorState,xm._32(n,13)._control.errorState,xm._32(n,13)._canLabelFloat,xm._32(n,13)._shouldLabelFloat(),xm._32(n,13)._hideControlPlaceholder(),xm._32(n,13)._control.disabled,xm._32(n,13)._control.focused,"primary"==xm._32(n,13).color,"accent"==xm._32(n,13).color,"warn"==xm._32(n,13).color,xm._32(n,13)._shouldForward("untouched"),xm._32(n,13)._shouldForward("touched"),xm._32(n,13)._shouldForward("pristine"),xm._32(n,13)._shouldForward("dirty"),xm._32(n,13)._shouldForward("valid"),xm._32(n,13)._shouldForward("invalid"),xm._32(n,13)._shouldForward("pending")]);l(n,22,1,[xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending,xm._32(n,28)._isServer,xm._32(n,28).id,xm._32(n,28).placeholder,xm._32(n,28).disabled,xm._32(n,28).required,xm._32(n,28).readonly,xm._32(n,28)._ariaDescribedby||null,xm._32(n,28).errorState,xm._32(n,28).required.toString()]);l(n,32,1,[xm._32(n,33)._control.errorState,xm._32(n,33)._control.errorState,xm._32(n,33)._canLabelFloat,xm._32(n,33)._shouldLabelFloat(),xm._32(n,33)._hideControlPlaceholder(),xm._32(n,33)._control.disabled,xm._32(n,33)._control.focused,"primary"==xm._32(n,33).color,"accent"==xm._32(n,33).color,"warn"==xm._32(n,33).color,xm._32(n,33)._shouldForward("untouched"),xm._32(n,33)._shouldForward("touched"),xm._32(n,33)._shouldForward("pristine"),xm._32(n,33)._shouldForward("dirty"),xm._32(n,33)._shouldForward("valid"),xm._32(n,33)._shouldForward("invalid"),xm._32(n,33)._shouldForward("pending")]);l(n,43,1,[xm._32(n,46).ngClassUntouched,xm._32(n,46).ngClassTouched,xm._32(n,46).ngClassPristine,xm._32(n,46).ngClassDirty,xm._32(n,46).ngClassValid,xm._32(n,46).ngClassInvalid,xm._32(n,46).ngClassPending,xm._32(n,47).id,xm._32(n,47).tabIndex,xm._32(n,47)._ariaLabel,xm._32(n,47).ariaLabelledby,xm._32(n,47).required.toString(),xm._32(n,47).disabled.toString(),xm._32(n,47).errorState,xm._32(n,47).panelOpen?xm._32(n,47)._optionIds:null,xm._32(n,47).multiple,xm._32(n,47)._ariaDescribedby||null,xm._32(n,47)._getAriaActiveDescendant(),xm._32(n,47).disabled,xm._32(n,47).errorState,xm._32(n,47).required]);l(n,54,0,xm._32(n,55)._getTabIndex(),xm._32(n,55).selected,xm._32(n,55).multiple,xm._32(n,55).active,xm._32(n,55).id,xm._32(n,55).selected.toString(),xm._32(n,55).disabled.toString(),xm._32(n,55).disabled);l(n,58,0,xm._32(n,59)._getTabIndex(),xm._32(n,59).selected,xm._32(n,59).multiple,xm._32(n,59).active,xm._32(n,59).id,xm._32(n,59).selected.toString(),xm._32(n,59).disabled.toString(),xm._32(n,59).disabled);l(n,68,0,"end"===xm._32(n,69).align)})}function Vo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[99,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function jo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,102,{_control:0}),xm._37(335544320,103,{_placeholderChild:0}),xm._37(335544320,104,{_labelChild:0}),xm._37(603979776,105,{_errorChildren:1}),xm._37(603979776,106,{_hintChildren:1}),xm._37(603979776,107,{_prefixChildren:1}),xm._37(603979776,108,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[102,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function No(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[113,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.M_goodsValueInWords[n.parent.parent.context.index])})}function Eo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,126,{_control:0}),xm._37(335544320,127,{_placeholderChild:0}),xm._37(335544320,128,{_labelChild:0}),xm._37(603979776,129,{_errorChildren:1}),xm._37(603979776,130,{_hintChildren:1}),xm._37(603979776,131,{_prefixChildren:1}),xm._37(603979776,132,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,5,"mat-label",[["class","highlight"]],null,null,null,null,null)),xm._17(11,16384,[[128,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Please comment on the finished goods\n stock level observed?"])),(l()(),xm._39(-1,null,[" "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","finishedgoods_remarks"],["matInput",""],["placeholder","Please comment on the finished goods observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(18,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[126,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,20,0,"finishedgoods_remarks");l(n,23,0,"Please comment on the finished goods observed")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,17,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()])})}function Wo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,109,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,85,{_control:0}),xm._37(335544320,86,{_placeholderChild:0}),xm._37(335544320,87,{_labelChild:0}),xm._37(603979776,88,{_errorChildren:1}),xm._37(603979776,89,{_hintChildren:1}),xm._37(603979776,90,{_prefixChildren:1}),xm._37(603979776,91,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[85,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(24,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,92,{_control:0}),xm._37(335544320,93,{_placeholderChild:0}),xm._37(335544320,94,{_labelChild:0}),xm._37(603979776,95,{_errorChildren:1}),xm._37(603979776,96,{_hintChildren:1}),xm._37(603979776,97,{_prefixChildren:1}),xm._37(603979776,98,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,38)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(35,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(37,16384,null,0,Km.s,[Km.r],null,null),xm._17(38,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,99,{options:1}),xm._37(603979776,100,{optionGroups:1}),xm._37(335544320,101,{customTrigger:0}),xm._36(2048,[[92,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Vo)),xm._17(45,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,jo)),xm._17(50,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(52,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(53,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,109,{_control:0}),xm._37(335544320,110,{_placeholderChild:0}),xm._37(335544320,111,{_labelChild:0}),xm._37(603979776,112,{_errorChildren:1}),xm._37(603979776,113,{_hintChildren:1}),xm._37(603979776,114,{_prefixChildren:1}),xm._37(603979776,115,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,63)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,64).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,64).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,64).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,69)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e.target.value,2,l.parent.context.index)&&u}return u},null,null)),xm._17(63,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(64,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(66,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(68,16384,null,0,Km.s,[Km.r],null,null),xm._17(69,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[109,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,6,1,null,No)),xm._17(73,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(76,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(77,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,116,{_control:0}),xm._37(335544320,117,{_placeholderChild:0}),xm._37(335544320,118,{_labelChild:0}),xm._37(603979776,119,{_errorChildren:1}),xm._37(603979776,120,{_hintChildren:1}),xm._37(603979776,121,{_prefixChildren:1}),xm._37(603979776,122,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(86,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_goods"],["placeholder","Is the stock of Finished Goods Observed sufficient considering the size of operations?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,90)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,90)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,90)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.checkComments(e.value,2,l.parent.context.index)&&u}return u},xv.b,xv.a)),xm._17(87,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(89,16384,null,0,Km.s,[Km.r],null,null),xm._17(90,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,123,{options:1}),xm._37(603979776,124,{optionGroups:1}),xm._37(335544320,125,{customTrigger:0}),xm._36(2048,[[116,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(97,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,98)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,98)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(98,8437760,[[123,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,102)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(102,8437760,[[123,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Eo)),xm._17(108,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,35,0,"goods_uom");l(n,38,0,"Unit of Mearsurement");l(n,45,0,e.uomData);l(n,50,0,1==n.parent.context.$implicit.get("goods_uom").value);l(n,66,0,"goods_value");l(n,69,0,"Estimated Value of Stock Observed","number");l(n,73,0,""!=n.parent.context.$implicit.get("goods_value").value);l(n,87,0,"is_sufficiant_goods");l(n,90,0,"Is the stock of Finished Goods Observed sufficient considering the size of operations?");l(n,98,0,"yes");l(n,102,0,"no");l(n,108,0,e.mfgCommentFlag[n.parent.context.index])},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,23,1,[xm._32(n,24)._control.errorState,xm._32(n,24)._control.errorState,xm._32(n,24)._canLabelFloat,xm._32(n,24)._shouldLabelFloat(),xm._32(n,24)._hideControlPlaceholder(),xm._32(n,24)._control.disabled,xm._32(n,24)._control.focused,"primary"==xm._32(n,24).color,"accent"==xm._32(n,24).color,"warn"==xm._32(n,24).color,xm._32(n,24)._shouldForward("untouched"),xm._32(n,24)._shouldForward("touched"),xm._32(n,24)._shouldForward("pristine"),xm._32(n,24)._shouldForward("dirty"),xm._32(n,24)._shouldForward("valid"),xm._32(n,24)._shouldForward("invalid"),xm._32(n,24)._shouldForward("pending")]);l(n,33,1,[xm._32(n,37).ngClassUntouched,xm._32(n,37).ngClassTouched,xm._32(n,37).ngClassPristine,xm._32(n,37).ngClassDirty,xm._32(n,37).ngClassValid,xm._32(n,37).ngClassInvalid,xm._32(n,37).ngClassPending,xm._32(n,38).id,xm._32(n,38).tabIndex,xm._32(n,38)._ariaLabel,xm._32(n,38).ariaLabelledby,xm._32(n,38).required.toString(),xm._32(n,38).disabled.toString(),xm._32(n,38).errorState,xm._32(n,38).panelOpen?xm._32(n,38)._optionIds:null,xm._32(n,38).multiple,xm._32(n,38)._ariaDescribedby||null,xm._32(n,38)._getAriaActiveDescendant(),xm._32(n,38).disabled,xm._32(n,38).errorState,xm._32(n,38).required]);l(n,52,1,[xm._32(n,53)._control.errorState,xm._32(n,53)._control.errorState,xm._32(n,53)._canLabelFloat,xm._32(n,53)._shouldLabelFloat(),xm._32(n,53)._hideControlPlaceholder(),xm._32(n,53)._control.disabled,xm._32(n,53)._control.focused,"primary"==xm._32(n,53).color,"accent"==xm._32(n,53).color,"warn"==xm._32(n,53).color,xm._32(n,53)._shouldForward("untouched"),xm._32(n,53)._shouldForward("touched"),xm._32(n,53)._shouldForward("pristine"),xm._32(n,53)._shouldForward("dirty"),xm._32(n,53)._shouldForward("valid"),xm._32(n,53)._shouldForward("invalid"),xm._32(n,53)._shouldForward("pending")]);l(n,62,1,[xm._32(n,68).ngClassUntouched,xm._32(n,68).ngClassTouched,xm._32(n,68).ngClassPristine,xm._32(n,68).ngClassDirty,xm._32(n,68).ngClassValid,xm._32(n,68).ngClassInvalid,xm._32(n,68).ngClassPending,xm._32(n,69)._isServer,xm._32(n,69).id,xm._32(n,69).placeholder,xm._32(n,69).disabled,xm._32(n,69).required,xm._32(n,69).readonly,xm._32(n,69)._ariaDescribedby||null,xm._32(n,69).errorState,xm._32(n,69).required.toString()]);l(n,76,1,[xm._32(n,77)._control.errorState,xm._32(n,77)._control.errorState,xm._32(n,77)._canLabelFloat,xm._32(n,77)._shouldLabelFloat(),xm._32(n,77)._hideControlPlaceholder(),xm._32(n,77)._control.disabled,xm._32(n,77)._control.focused,"primary"==xm._32(n,77).color,"accent"==xm._32(n,77).color,"warn"==xm._32(n,77).color,xm._32(n,77)._shouldForward("untouched"),xm._32(n,77)._shouldForward("touched"),xm._32(n,77)._shouldForward("pristine"),xm._32(n,77)._shouldForward("dirty"),xm._32(n,77)._shouldForward("valid"),xm._32(n,77)._shouldForward("invalid"),xm._32(n,77)._shouldForward("pending")]);l(n,86,1,[xm._32(n,89).ngClassUntouched,xm._32(n,89).ngClassTouched,xm._32(n,89).ngClassPristine,xm._32(n,89).ngClassDirty,xm._32(n,89).ngClassValid,xm._32(n,89).ngClassInvalid,xm._32(n,89).ngClassPending,xm._32(n,90).id,xm._32(n,90).tabIndex,xm._32(n,90)._ariaLabel,xm._32(n,90).ariaLabelledby,xm._32(n,90).required.toString(),xm._32(n,90).disabled.toString(),xm._32(n,90).errorState,xm._32(n,90).panelOpen?xm._32(n,90)._optionIds:null,xm._32(n,90).multiple,xm._32(n,90)._ariaDescribedby||null,xm._32(n,90)._getAriaActiveDescendant(),xm._32(n,90).disabled,xm._32(n,90).errorState,xm._32(n,90).required]);l(n,97,0,xm._32(n,98)._getTabIndex(),xm._32(n,98).selected,xm._32(n,98).multiple,xm._32(n,98).active,xm._32(n,98).id,xm._32(n,98).selected.toString(),xm._32(n,98).disabled.toString(),xm._32(n,98).disabled);l(n,101,0,xm._32(n,102)._getTabIndex(),xm._32(n,102).selected,xm._32(n,102).multiple,xm._32(n,102).active,xm._32(n,102).id,xm._32(n,102).selected.toString(),xm._32(n,102).disabled.toString(),xm._32(n,102).disabled)})}function Ro(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteGoods(l.parent.context.index,1)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Uo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addGoods(1)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Bo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,89,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Finished Goods #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,56,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(13,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,68,{_control:0}),xm._37(335544320,69,{_placeholderChild:0}),xm._37(335544320,70,{_labelChild:0}),xm._37(603979776,71,{_errorChildren:1}),xm._37(603979776,72,{_hintChildren:1}),xm._37(603979776,73,{_prefixChildren:1}),xm._37(603979776,74,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,28)._onInput()&&u}return u},null,null)),xm._17(23,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(25,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(27,16384,null,0,Km.s,[Km.r],null,null),xm._17(28,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[68,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(33,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,75,{_control:0}),xm._37(335544320,76,{_placeholderChild:0}),xm._37(335544320,77,{_labelChild:0}),xm._37(603979776,78,{_errorChildren:1}),xm._37(603979776,79,{_hintChildren:1}),xm._37(603979776,80,{_prefixChildren:1}),xm._37(603979776,81,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(42,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,46)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(43,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(45,16384,null,0,Km.s,[Km.r],null,null),xm._17(46,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,82,{options:1}),xm._37(603979776,83,{optionGroups:1}),xm._37(335544320,84,{customTrigger:0}),xm._36(2048,[[75,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,54)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(54,8437760,[[82,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Add Stock Details"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,58)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(58,8437760,[[82,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No Stock Observed"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Wo)),xm._17(64,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(68,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(71,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,133,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(74,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(75,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ro)),xm._17(78,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(82,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Uo)),xm._17(85,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"goods_name");l(n,28,0,"Name");l(n,43,0,"goods_observed");l(n,46,0,"Stock");l(n,54,0,"yes");l(n,58,0,"no");l(n,64,0,"yes"==n.context.$implicit.get("goods_observed").value);l(n,78,0,n.parent.context.$implicit.controls.manufacturing_finished_goods.controls.length>1);l(n,85,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[xm._32(n,13)._control.errorState,xm._32(n,13)._control.errorState,xm._32(n,13)._canLabelFloat,xm._32(n,13)._shouldLabelFloat(),xm._32(n,13)._hideControlPlaceholder(),xm._32(n,13)._control.disabled,xm._32(n,13)._control.focused,"primary"==xm._32(n,13).color,"accent"==xm._32(n,13).color,"warn"==xm._32(n,13).color,xm._32(n,13)._shouldForward("untouched"),xm._32(n,13)._shouldForward("touched"),xm._32(n,13)._shouldForward("pristine"),xm._32(n,13)._shouldForward("dirty"),xm._32(n,13)._shouldForward("valid"),xm._32(n,13)._shouldForward("invalid"),xm._32(n,13)._shouldForward("pending")]);l(n,22,1,[xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending,xm._32(n,28)._isServer,xm._32(n,28).id,xm._32(n,28).placeholder,xm._32(n,28).disabled,xm._32(n,28).required,xm._32(n,28).readonly,xm._32(n,28)._ariaDescribedby||null,xm._32(n,28).errorState,xm._32(n,28).required.toString()]);l(n,32,1,[xm._32(n,33)._control.errorState,xm._32(n,33)._control.errorState,xm._32(n,33)._canLabelFloat,xm._32(n,33)._shouldLabelFloat(),xm._32(n,33)._hideControlPlaceholder(),xm._32(n,33)._control.disabled,xm._32(n,33)._control.focused,"primary"==xm._32(n,33).color,"accent"==xm._32(n,33).color,"warn"==xm._32(n,33).color,xm._32(n,33)._shouldForward("untouched"),xm._32(n,33)._shouldForward("touched"),xm._32(n,33)._shouldForward("pristine"),xm._32(n,33)._shouldForward("dirty"),xm._32(n,33)._shouldForward("valid"),xm._32(n,33)._shouldForward("invalid"),xm._32(n,33)._shouldForward("pending")]);l(n,42,1,[xm._32(n,45).ngClassUntouched,xm._32(n,45).ngClassTouched,xm._32(n,45).ngClassPristine,xm._32(n,45).ngClassDirty,xm._32(n,45).ngClassValid,xm._32(n,45).ngClassInvalid,xm._32(n,45).ngClassPending,xm._32(n,46).id,xm._32(n,46).tabIndex,xm._32(n,46)._ariaLabel,xm._32(n,46).ariaLabelledby,xm._32(n,46).required.toString(),xm._32(n,46).disabled.toString(),xm._32(n,46).errorState,xm._32(n,46).panelOpen?xm._32(n,46)._optionIds:null,xm._32(n,46).multiple,xm._32(n,46)._ariaDescribedby||null,xm._32(n,46)._getAriaActiveDescendant(),xm._32(n,46).disabled,xm._32(n,46).errorState,xm._32(n,46).required]);l(n,53,0,xm._32(n,54)._getTabIndex(),xm._32(n,54).selected,xm._32(n,54).multiple,xm._32(n,54).active,xm._32(n,54).id,xm._32(n,54).selected.toString(),xm._32(n,54).disabled.toString(),xm._32(n,54).disabled);l(n,57,0,xm._32(n,58)._getTabIndex(),xm._32(n,58).selected,xm._32(n,58).multiple,xm._32(n,58).active,xm._32(n,58).id,xm._32(n,58).selected.toString(),xm._32(n,58).disabled.toString(),xm._32(n,58).disabled);l(n,67,0,"end"===xm._32(n,68).align)})}function $o(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,22,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,7,"div",[["formArrayName","manufacturing_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ao)),xm._17(11,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,7,"div",[["formArrayName","manufacturing_finished_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(15,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(17,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Bo)),xm._17(20,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"manufacturing_raw_materials");l(n,11,0,n.context.$implicit.controls.manufacturing_raw_materials.controls);l(n,15,0,"manufacturing_finished_goods");l(n,20,0,n.context.$implicit.controls.manufacturing_finished_goods.controls)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending);l(n,14,0,xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending)})}function Mo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Manufacturing Stock Details"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(9,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(11,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,$o)),xm._17(14,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"manufacturing_details");l(n,14,0,e.stockForm.controls.manufacturing_details.controls)},function(l,n){l(n,8,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending)})}function Ko(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[165,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ho(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,168,{_control:0}),xm._37(335544320,169,{_placeholderChild:0}),xm._37(335544320,170,{_labelChild:0}),xm._37(603979776,171,{_errorChildren:1}),xm._37(603979776,172,{_hintChildren:1}),xm._37(603979776,173,{_prefixChildren:1}),xm._37(603979776,174,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[168,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"traded_goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Go(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[179,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.R_tradedGoodsValueInWords[n.parent.parent.context.index])})}function Yo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,192,{_control:0}),xm._37(335544320,193,{_placeholderChild:0}),xm._37(335544320,194,{_labelChild:0}),xm._37(603979776,195,{_errorChildren:1}),xm._37(603979776,196,{_hintChildren:1}),xm._37(603979776,197,{_prefixChildren:1}),xm._37(603979776,198,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[194,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Please comment on the Traded Goods stock level observed?"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_remarks"],["matInput",""],["placeholder","Please comment on the traded goods stock level observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(18,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[192,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,20,0,"traded_goods_remarks");l(n,23,0,"Please comment on the traded goods stock level observed")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,17,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()])})}function Qo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,109,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,151,{_control:0}),xm._37(335544320,152,{_placeholderChild:0}),xm._37(335544320,153,{_labelChild:0}),xm._37(603979776,154,{_errorChildren:1}),xm._37(603979776,155,{_hintChildren:1}),xm._37(603979776,156,{_prefixChildren:1}),xm._37(603979776,157,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[151,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(24,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,158,{_control:0}),xm._37(335544320,159,{_placeholderChild:0}),xm._37(335544320,160,{_labelChild:0}),xm._37(603979776,161,{_errorChildren:1}),xm._37(603979776,162,{_hintChildren:1}),xm._37(603979776,163,{_prefixChildren:1}),xm._37(603979776,164,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","traded_goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,38)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(35,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(37,16384,null,0,Km.s,[Km.r],null,null),xm._17(38,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,165,{options:1}),xm._37(603979776,166,{optionGroups:1}),xm._37(335544320,167,{customTrigger:0}),xm._36(2048,[[158,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ko)),xm._17(45,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ho)),xm._17(50,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(52,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(53,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,175,{_control:0}),xm._37(335544320,176,{_placeholderChild:0}),xm._37(335544320,177,{_labelChild:0}),xm._37(603979776,178,{_errorChildren:1}),xm._37(603979776,179,{_hintChildren:1}),xm._37(603979776,180,{_prefixChildren:1}),xm._37(603979776,181,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_traded_goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,63)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,64).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,64).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,64).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,69)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e.target.value,3,l.parent.context.index)&&u}return u},null,null)),xm._17(63,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(64,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(66,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(68,16384,null,0,Km.s,[Km.r],null,null),xm._17(69,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[175,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,6,1,null,Go)),xm._17(73,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(76,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(77,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,182,{_control:0}),xm._37(335544320,183,{_placeholderChild:0}),xm._37(335544320,184,{_labelChild:0}),xm._37(603979776,185,{_errorChildren:1}),xm._37(603979776,186,{_hintChildren:1}),xm._37(603979776,187,{_prefixChildren:1}),xm._37(603979776,188,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(86,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_traded_goods"],["placeholder","Is the stock of Traded goods observed ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,90)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,90)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,90)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.checkComments(e.value,3,l.parent.context.index)&&u}return u},xv.b,xv.a)),xm._17(87,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(89,16384,null,0,Km.s,[Km.r],null,null),xm._17(90,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,189,{options:1}),xm._37(603979776,190,{optionGroups:1}),xm._37(335544320,191,{customTrigger:0}),xm._36(2048,[[182,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(97,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,98)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,98)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(98,8437760,[[189,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,102)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(102,8437760,[[189,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Yo)),xm._17(108,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"traded_goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,35,0,"traded_goods_uom");l(n,38,0,"Unit of Mearsurement");l(n,45,0,e.uomData);l(n,50,0,1==n.parent.context.$implicit.get("traded_goods_uom").value);l(n,66,0,"estimated_traded_goods_value");l(n,69,0,"Estimated Value of Stock Observed","number");l(n,73,0,""!=n.parent.context.$implicit.get("estimated_traded_goods_value").value);l(n,87,0,"is_sufficiant_traded_goods");l(n,90,0,"Is the stock of Traded goods observed ?");l(n,98,0,"yes");l(n,102,0,"no");l(n,108,0,e.rtrdCommentFlag[n.parent.context.index])},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,23,1,[xm._32(n,24)._control.errorState,xm._32(n,24)._control.errorState,xm._32(n,24)._canLabelFloat,xm._32(n,24)._shouldLabelFloat(),xm._32(n,24)._hideControlPlaceholder(),xm._32(n,24)._control.disabled,xm._32(n,24)._control.focused,"primary"==xm._32(n,24).color,"accent"==xm._32(n,24).color,"warn"==xm._32(n,24).color,xm._32(n,24)._shouldForward("untouched"),xm._32(n,24)._shouldForward("touched"),xm._32(n,24)._shouldForward("pristine"),xm._32(n,24)._shouldForward("dirty"),xm._32(n,24)._shouldForward("valid"),xm._32(n,24)._shouldForward("invalid"),xm._32(n,24)._shouldForward("pending")]);l(n,33,1,[xm._32(n,37).ngClassUntouched,xm._32(n,37).ngClassTouched,xm._32(n,37).ngClassPristine,xm._32(n,37).ngClassDirty,xm._32(n,37).ngClassValid,xm._32(n,37).ngClassInvalid,xm._32(n,37).ngClassPending,xm._32(n,38).id,xm._32(n,38).tabIndex,xm._32(n,38)._ariaLabel,xm._32(n,38).ariaLabelledby,xm._32(n,38).required.toString(),xm._32(n,38).disabled.toString(),xm._32(n,38).errorState,xm._32(n,38).panelOpen?xm._32(n,38)._optionIds:null,xm._32(n,38).multiple,xm._32(n,38)._ariaDescribedby||null,xm._32(n,38)._getAriaActiveDescendant(),xm._32(n,38).disabled,xm._32(n,38).errorState,xm._32(n,38).required]);l(n,52,1,[xm._32(n,53)._control.errorState,xm._32(n,53)._control.errorState,xm._32(n,53)._canLabelFloat,xm._32(n,53)._shouldLabelFloat(),xm._32(n,53)._hideControlPlaceholder(),xm._32(n,53)._control.disabled,xm._32(n,53)._control.focused,"primary"==xm._32(n,53).color,"accent"==xm._32(n,53).color,"warn"==xm._32(n,53).color,xm._32(n,53)._shouldForward("untouched"),xm._32(n,53)._shouldForward("touched"),xm._32(n,53)._shouldForward("pristine"),xm._32(n,53)._shouldForward("dirty"),xm._32(n,53)._shouldForward("valid"),xm._32(n,53)._shouldForward("invalid"),xm._32(n,53)._shouldForward("pending")]);l(n,62,1,[xm._32(n,68).ngClassUntouched,xm._32(n,68).ngClassTouched,xm._32(n,68).ngClassPristine,xm._32(n,68).ngClassDirty,xm._32(n,68).ngClassValid,xm._32(n,68).ngClassInvalid,xm._32(n,68).ngClassPending,xm._32(n,69)._isServer,xm._32(n,69).id,xm._32(n,69).placeholder,xm._32(n,69).disabled,xm._32(n,69).required,xm._32(n,69).readonly,xm._32(n,69)._ariaDescribedby||null,xm._32(n,69).errorState,xm._32(n,69).required.toString()]);l(n,76,1,[xm._32(n,77)._control.errorState,xm._32(n,77)._control.errorState,xm._32(n,77)._canLabelFloat,xm._32(n,77)._shouldLabelFloat(),xm._32(n,77)._hideControlPlaceholder(),xm._32(n,77)._control.disabled,xm._32(n,77)._control.focused,"primary"==xm._32(n,77).color,"accent"==xm._32(n,77).color,"warn"==xm._32(n,77).color,xm._32(n,77)._shouldForward("untouched"),xm._32(n,77)._shouldForward("touched"),xm._32(n,77)._shouldForward("pristine"),xm._32(n,77)._shouldForward("dirty"),xm._32(n,77)._shouldForward("valid"),xm._32(n,77)._shouldForward("invalid"),xm._32(n,77)._shouldForward("pending")]);l(n,86,1,[xm._32(n,89).ngClassUntouched,xm._32(n,89).ngClassTouched,xm._32(n,89).ngClassPristine,xm._32(n,89).ngClassDirty,xm._32(n,89).ngClassValid,xm._32(n,89).ngClassInvalid,xm._32(n,89).ngClassPending,xm._32(n,90).id,xm._32(n,90).tabIndex,xm._32(n,90)._ariaLabel,xm._32(n,90).ariaLabelledby,xm._32(n,90).required.toString(),xm._32(n,90).disabled.toString(),xm._32(n,90).errorState,xm._32(n,90).panelOpen?xm._32(n,90)._optionIds:null,xm._32(n,90).multiple,xm._32(n,90)._ariaDescribedby||null,xm._32(n,90)._getAriaActiveDescendant(),xm._32(n,90).disabled,xm._32(n,90).errorState,xm._32(n,90).required]);l(n,97,0,xm._32(n,98)._getTabIndex(),xm._32(n,98).selected,xm._32(n,98).multiple,xm._32(n,98).active,xm._32(n,98).id,xm._32(n,98).selected.toString(),xm._32(n,98).disabled.toString(),xm._32(n,98).disabled);l(n,101,0,xm._32(n,102)._getTabIndex(),xm._32(n,102).selected,xm._32(n,102).multiple,xm._32(n,102).active,xm._32(n,102).id,xm._32(n,102).selected.toString(),xm._32(n,102).disabled.toString(),xm._32(n,102).disabled)})}function zo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTradedGoods(l.parent.context.index,1)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Jo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTradedGoods(1)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Xo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,89,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Traded Goods #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,56,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(13,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,134,{_control:0}),xm._37(335544320,135,{_placeholderChild:0}),xm._37(335544320,136,{_labelChild:0}),xm._37(603979776,137,{_errorChildren:1}),xm._37(603979776,138,{_hintChildren:1}),xm._37(603979776,139,{_prefixChildren:1}),xm._37(603979776,140,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,28)._onInput()&&u}return u},null,null)),xm._17(23,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(25,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(27,16384,null,0,Km.s,[Km.r],null,null),xm._17(28,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[134,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(33,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,141,{_control:0}),xm._37(335544320,142,{_placeholderChild:0}),xm._37(335544320,143,{_labelChild:0}),xm._37(603979776,144,{_errorChildren:1}),xm._37(603979776,145,{_hintChildren:1}),xm._37(603979776,146,{_prefixChildren:1}),xm._37(603979776,147,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(42,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","traded_goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,46)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(43,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(45,16384,null,0,Km.s,[Km.r],null,null),xm._17(46,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,148,{options:1}),xm._37(603979776,149,{optionGroups:1}),xm._37(335544320,150,{customTrigger:0}),xm._36(2048,[[141,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,54)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(54,8437760,[[148,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Add Stock Details"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,58)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(58,8437760,[[148,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No Stock Observed"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Qo)),xm._17(64,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(68,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(71,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,199,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(74,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(75,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,zo)),xm._17(78,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(82,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Jo)),xm._17(85,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"traded_goods_name");l(n,28,0,"Name");l(n,43,0,"traded_goods_observed");l(n,46,0,"Stock");l(n,54,0,"yes");l(n,58,0,"no");l(n,64,0,"yes"==n.context.$implicit.get("traded_goods_observed").value);l(n,78,0,n.parent.context.$implicit.controls.retail_traded_goods.controls.length>1);l(n,85,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[xm._32(n,13)._control.errorState,xm._32(n,13)._control.errorState,xm._32(n,13)._canLabelFloat,xm._32(n,13)._shouldLabelFloat(),xm._32(n,13)._hideControlPlaceholder(),xm._32(n,13)._control.disabled,xm._32(n,13)._control.focused,"primary"==xm._32(n,13).color,"accent"==xm._32(n,13).color,"warn"==xm._32(n,13).color,xm._32(n,13)._shouldForward("untouched"),xm._32(n,13)._shouldForward("touched"),xm._32(n,13)._shouldForward("pristine"),xm._32(n,13)._shouldForward("dirty"),xm._32(n,13)._shouldForward("valid"),xm._32(n,13)._shouldForward("invalid"),xm._32(n,13)._shouldForward("pending")]);l(n,22,1,[xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending,xm._32(n,28)._isServer,xm._32(n,28).id,xm._32(n,28).placeholder,xm._32(n,28).disabled,xm._32(n,28).required,xm._32(n,28).readonly,xm._32(n,28)._ariaDescribedby||null,xm._32(n,28).errorState,xm._32(n,28).required.toString()]);l(n,32,1,[xm._32(n,33)._control.errorState,xm._32(n,33)._control.errorState,xm._32(n,33)._canLabelFloat,xm._32(n,33)._shouldLabelFloat(),xm._32(n,33)._hideControlPlaceholder(),xm._32(n,33)._control.disabled,xm._32(n,33)._control.focused,"primary"==xm._32(n,33).color,"accent"==xm._32(n,33).color,"warn"==xm._32(n,33).color,xm._32(n,33)._shouldForward("untouched"),xm._32(n,33)._shouldForward("touched"),xm._32(n,33)._shouldForward("pristine"),xm._32(n,33)._shouldForward("dirty"),xm._32(n,33)._shouldForward("valid"),xm._32(n,33)._shouldForward("invalid"),xm._32(n,33)._shouldForward("pending")]);l(n,42,1,[xm._32(n,45).ngClassUntouched,xm._32(n,45).ngClassTouched,xm._32(n,45).ngClassPristine,xm._32(n,45).ngClassDirty,xm._32(n,45).ngClassValid,xm._32(n,45).ngClassInvalid,xm._32(n,45).ngClassPending,xm._32(n,46).id,xm._32(n,46).tabIndex,xm._32(n,46)._ariaLabel,xm._32(n,46).ariaLabelledby,xm._32(n,46).required.toString(),xm._32(n,46).disabled.toString(),xm._32(n,46).errorState,xm._32(n,46).panelOpen?xm._32(n,46)._optionIds:null,xm._32(n,46).multiple,xm._32(n,46)._ariaDescribedby||null,xm._32(n,46)._getAriaActiveDescendant(),xm._32(n,46).disabled,xm._32(n,46).errorState,xm._32(n,46).required]);l(n,53,0,xm._32(n,54)._getTabIndex(),xm._32(n,54).selected,xm._32(n,54).multiple,xm._32(n,54).active,xm._32(n,54).id,xm._32(n,54).selected.toString(),xm._32(n,54).disabled.toString(),xm._32(n,54).disabled);l(n,57,0,xm._32(n,58)._getTabIndex(),xm._32(n,58).selected,xm._32(n,58).multiple,xm._32(n,58).active,xm._32(n,58).id,xm._32(n,58).selected.toString(),xm._32(n,58).disabled.toString(),xm._32(n,58).disabled);l(n,67,0,"end"===xm._32(n,68).align)})}function Zo(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,7,"div",[["formArrayName","retail_traded_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Xo)),xm._17(11,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"retail_traded_goods");l(n,11,0,n.context.$implicit.controls.retail_traded_goods.controls)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending)})}function lr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Retail Trading Details"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,7,"div",[["formArrayName","retail_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(9,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(11,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Zo)),xm._17(14,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"retail_details");l(n,14,0,e.stockForm.controls.retail_details.controls)},function(l,n){l(n,8,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending)})}function nr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[231,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,xm._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function er(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,234,{_control:0}),xm._37(335544320,235,{_placeholderChild:0}),xm._37(335544320,236,{_labelChild:0}),xm._37(603979776,237,{_errorChildren:1}),xm._37(603979776,238,{_hintChildren:1}),xm._37(603979776,239,{_prefixChildren:1}),xm._37(603979776,240,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[234,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"traded_goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function ur(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[245,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.T_tradedGoodsValueInWords[n.parent.parent.context.index])})}function ar(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,258,{_control:0}),xm._37(335544320,259,{_placeholderChild:0}),xm._37(335544320,260,{_labelChild:0}),xm._37(603979776,261,{_errorChildren:1}),xm._37(603979776,262,{_hintChildren:1}),xm._37(603979776,263,{_prefixChildren:1}),xm._37(603979776,264,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),xm._17(11,16384,[[260,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Please comment on the Traded Goods stock level observed?"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_remarks"],["matInput",""],["placeholder","Please comment on the traded goods stock level observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(18,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[258,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,20,0,"traded_goods_remarks");l(n,23,0,"Please comment on the traded goods stock level observed")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,17,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()])})}function tr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,109,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,217,{_control:0}),xm._37(335544320,218,{_placeholderChild:0}),xm._37(335544320,219,{_labelChild:0}),xm._37(603979776,220,{_errorChildren:1}),xm._37(603979776,221,{_hintChildren:1}),xm._37(603979776,222,{_prefixChildren:1}),xm._37(603979776,223,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[217,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(24,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,224,{_control:0}),xm._37(335544320,225,{_placeholderChild:0}),xm._37(335544320,226,{_labelChild:0}),xm._37(603979776,227,{_errorChildren:1}),xm._37(603979776,228,{_hintChildren:1}),xm._37(603979776,229,{_prefixChildren:1}),xm._37(603979776,230,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","traded_goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,38)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(35,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(37,16384,null,0,Km.s,[Km.r],null,null),xm._17(38,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,231,{options:1}),xm._37(603979776,232,{optionGroups:1}),xm._37(335544320,233,{customTrigger:0}),xm._36(2048,[[224,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,nr)),xm._17(45,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,er)),xm._17(50,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(52,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(53,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,241,{_control:0}),xm._37(335544320,242,{_placeholderChild:0}),xm._37(335544320,243,{_labelChild:0}),xm._37(603979776,244,{_errorChildren:1}),xm._37(603979776,245,{_hintChildren:1}),xm._37(603979776,246,{_prefixChildren:1}),xm._37(603979776,247,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_traded_goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,63)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,64).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,64).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,64).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,69)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e.target.value,4,l.parent.context.index)&&u}return u},null,null)),xm._17(63,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(64,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(66,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(68,16384,null,0,Km.s,[Km.r],null,null),xm._17(69,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[241,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,6,1,null,ur)),xm._17(73,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(76,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(77,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,248,{_control:0}),xm._37(335544320,249,{_placeholderChild:0}),xm._37(335544320,250,{_labelChild:0}),xm._37(603979776,251,{_errorChildren:1}),xm._37(603979776,252,{_hintChildren:1}),xm._37(603979776,253,{_prefixChildren:1}),xm._37(603979776,254,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(86,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_traded_goods"],["placeholder","Is the stock of Traded goods observed ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,90)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,90)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,90)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.checkComments(e.value,4,l.parent.context.index)&&u}return u},xv.b,xv.a)),xm._17(87,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(89,16384,null,0,Km.s,[Km.r],null,null),xm._17(90,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,255,{options:1}),xm._37(603979776,256,{optionGroups:1}),xm._37(335544320,257,{customTrigger:0}),xm._36(2048,[[248,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(97,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,98)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,98)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(98,8437760,[[255,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,102)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(102,8437760,[[255,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ar)),xm._17(108,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"traded_goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,35,0,"traded_goods_uom");l(n,38,0,"Unit of Mearsurement");l(n,45,0,e.uomData);l(n,50,0,1==n.parent.context.$implicit.get("traded_goods_uom").value);l(n,66,0,"estimated_traded_goods_value");l(n,69,0,"Estimated Value of Stock Observed","number");l(n,73,0,""!=n.parent.context.$implicit.get("estimated_traded_goods_value").value);l(n,87,0,"is_sufficiant_traded_goods");l(n,90,0,"Is the stock of Traded goods observed ?");l(n,98,0,"yes");l(n,102,0,"no");l(n,108,0,e.wtrdCommentFlag[n.parent.context.index])},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,23,1,[xm._32(n,24)._control.errorState,xm._32(n,24)._control.errorState,xm._32(n,24)._canLabelFloat,xm._32(n,24)._shouldLabelFloat(),xm._32(n,24)._hideControlPlaceholder(),xm._32(n,24)._control.disabled,xm._32(n,24)._control.focused,"primary"==xm._32(n,24).color,"accent"==xm._32(n,24).color,"warn"==xm._32(n,24).color,xm._32(n,24)._shouldForward("untouched"),xm._32(n,24)._shouldForward("touched"),xm._32(n,24)._shouldForward("pristine"),xm._32(n,24)._shouldForward("dirty"),xm._32(n,24)._shouldForward("valid"),xm._32(n,24)._shouldForward("invalid"),xm._32(n,24)._shouldForward("pending")]);l(n,33,1,[xm._32(n,37).ngClassUntouched,xm._32(n,37).ngClassTouched,xm._32(n,37).ngClassPristine,xm._32(n,37).ngClassDirty,xm._32(n,37).ngClassValid,xm._32(n,37).ngClassInvalid,xm._32(n,37).ngClassPending,xm._32(n,38).id,xm._32(n,38).tabIndex,xm._32(n,38)._ariaLabel,xm._32(n,38).ariaLabelledby,xm._32(n,38).required.toString(),xm._32(n,38).disabled.toString(),xm._32(n,38).errorState,xm._32(n,38).panelOpen?xm._32(n,38)._optionIds:null,xm._32(n,38).multiple,xm._32(n,38)._ariaDescribedby||null,xm._32(n,38)._getAriaActiveDescendant(),xm._32(n,38).disabled,xm._32(n,38).errorState,xm._32(n,38).required]);l(n,52,1,[xm._32(n,53)._control.errorState,xm._32(n,53)._control.errorState,xm._32(n,53)._canLabelFloat,xm._32(n,53)._shouldLabelFloat(),xm._32(n,53)._hideControlPlaceholder(),xm._32(n,53)._control.disabled,xm._32(n,53)._control.focused,"primary"==xm._32(n,53).color,"accent"==xm._32(n,53).color,"warn"==xm._32(n,53).color,xm._32(n,53)._shouldForward("untouched"),xm._32(n,53)._shouldForward("touched"),xm._32(n,53)._shouldForward("pristine"),xm._32(n,53)._shouldForward("dirty"),xm._32(n,53)._shouldForward("valid"),xm._32(n,53)._shouldForward("invalid"),xm._32(n,53)._shouldForward("pending")]);l(n,62,1,[xm._32(n,68).ngClassUntouched,xm._32(n,68).ngClassTouched,xm._32(n,68).ngClassPristine,xm._32(n,68).ngClassDirty,xm._32(n,68).ngClassValid,xm._32(n,68).ngClassInvalid,xm._32(n,68).ngClassPending,xm._32(n,69)._isServer,xm._32(n,69).id,xm._32(n,69).placeholder,xm._32(n,69).disabled,xm._32(n,69).required,xm._32(n,69).readonly,xm._32(n,69)._ariaDescribedby||null,xm._32(n,69).errorState,xm._32(n,69).required.toString()]);l(n,76,1,[xm._32(n,77)._control.errorState,xm._32(n,77)._control.errorState,xm._32(n,77)._canLabelFloat,xm._32(n,77)._shouldLabelFloat(),xm._32(n,77)._hideControlPlaceholder(),xm._32(n,77)._control.disabled,xm._32(n,77)._control.focused,"primary"==xm._32(n,77).color,"accent"==xm._32(n,77).color,"warn"==xm._32(n,77).color,xm._32(n,77)._shouldForward("untouched"),xm._32(n,77)._shouldForward("touched"),xm._32(n,77)._shouldForward("pristine"),xm._32(n,77)._shouldForward("dirty"),xm._32(n,77)._shouldForward("valid"),xm._32(n,77)._shouldForward("invalid"),xm._32(n,77)._shouldForward("pending")]);l(n,86,1,[xm._32(n,89).ngClassUntouched,xm._32(n,89).ngClassTouched,xm._32(n,89).ngClassPristine,xm._32(n,89).ngClassDirty,xm._32(n,89).ngClassValid,xm._32(n,89).ngClassInvalid,xm._32(n,89).ngClassPending,xm._32(n,90).id,xm._32(n,90).tabIndex,xm._32(n,90)._ariaLabel,xm._32(n,90).ariaLabelledby,xm._32(n,90).required.toString(),xm._32(n,90).disabled.toString(),xm._32(n,90).errorState,xm._32(n,90).panelOpen?xm._32(n,90)._optionIds:null,xm._32(n,90).multiple,xm._32(n,90)._ariaDescribedby||null,xm._32(n,90)._getAriaActiveDescendant(),xm._32(n,90).disabled,xm._32(n,90).errorState,xm._32(n,90).required]);l(n,97,0,xm._32(n,98)._getTabIndex(),xm._32(n,98).selected,xm._32(n,98).multiple,xm._32(n,98).active,xm._32(n,98).id,xm._32(n,98).selected.toString(),xm._32(n,98).disabled.toString(),xm._32(n,98).disabled);l(n,101,0,xm._32(n,102)._getTabIndex(),xm._32(n,102).selected,xm._32(n,102).multiple,xm._32(n,102).active,xm._32(n,102).id,xm._32(n,102).selected.toString(),xm._32(n,102).disabled.toString(),xm._32(n,102).disabled)})}function ir(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTradedGoods(l.parent.context.index,2)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function or(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTradedGoods(2)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function rr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,89,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Traded Goods #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,56,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(13,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,200,{_control:0}),xm._37(335544320,201,{_placeholderChild:0}),xm._37(335544320,202,{_labelChild:0}),xm._37(603979776,203,{_errorChildren:1}),xm._37(603979776,204,{_hintChildren:1}),xm._37(603979776,205,{_prefixChildren:1}),xm._37(603979776,206,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,28)._onInput()&&u}return u},null,null)),xm._17(23,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(25,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(27,16384,null,0,Km.s,[Km.r],null,null),xm._17(28,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[200,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(33,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,207,{_control:0}),xm._37(335544320,208,{_placeholderChild:0}),xm._37(335544320,209,{_labelChild:0}),xm._37(603979776,210,{_errorChildren:1}),xm._37(603979776,211,{_hintChildren:1}),xm._37(603979776,212,{_prefixChildren:1}),xm._37(603979776,213,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(42,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","traded_goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,46)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(43,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(45,16384,null,0,Km.s,[Km.r],null,null),xm._17(46,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,214,{options:1}),xm._37(603979776,215,{optionGroups:1}),xm._37(335544320,216,{customTrigger:0}),xm._36(2048,[[207,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,54)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(54,8437760,[[214,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Add Stock Details"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,58)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(58,8437760,[[214,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No stock observed"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,tr)),xm._17(64,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),xm._17(68,16384,null,0,eb.b,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(71,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,265,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(74,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(75,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ir)),xm._17(78,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(82,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,or)),xm._17(85,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"traded_goods_name");l(n,28,0,"Name");l(n,43,0,"traded_goods_observed");l(n,46,0,"Stock");l(n,54,0,"yes");l(n,58,0,"no");l(n,64,0,"yes"==n.context.$implicit.get("traded_goods_observed").value);l(n,78,0,n.parent.context.$implicit.controls.trading_traded_goods.controls.length>1);l(n,85,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[xm._32(n,13)._control.errorState,xm._32(n,13)._control.errorState,xm._32(n,13)._canLabelFloat,xm._32(n,13)._shouldLabelFloat(),xm._32(n,13)._hideControlPlaceholder(),xm._32(n,13)._control.disabled,xm._32(n,13)._control.focused,"primary"==xm._32(n,13).color,"accent"==xm._32(n,13).color,"warn"==xm._32(n,13).color,xm._32(n,13)._shouldForward("untouched"),xm._32(n,13)._shouldForward("touched"),xm._32(n,13)._shouldForward("pristine"),xm._32(n,13)._shouldForward("dirty"),xm._32(n,13)._shouldForward("valid"),xm._32(n,13)._shouldForward("invalid"),xm._32(n,13)._shouldForward("pending")]);l(n,22,1,[xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending,xm._32(n,28)._isServer,xm._32(n,28).id,xm._32(n,28).placeholder,xm._32(n,28).disabled,xm._32(n,28).required,xm._32(n,28).readonly,xm._32(n,28)._ariaDescribedby||null,xm._32(n,28).errorState,xm._32(n,28).required.toString()]);l(n,32,1,[xm._32(n,33)._control.errorState,xm._32(n,33)._control.errorState,xm._32(n,33)._canLabelFloat,xm._32(n,33)._shouldLabelFloat(),xm._32(n,33)._hideControlPlaceholder(),xm._32(n,33)._control.disabled,xm._32(n,33)._control.focused,"primary"==xm._32(n,33).color,"accent"==xm._32(n,33).color,"warn"==xm._32(n,33).color,xm._32(n,33)._shouldForward("untouched"),xm._32(n,33)._shouldForward("touched"),xm._32(n,33)._shouldForward("pristine"),xm._32(n,33)._shouldForward("dirty"),xm._32(n,33)._shouldForward("valid"),xm._32(n,33)._shouldForward("invalid"),xm._32(n,33)._shouldForward("pending")]);l(n,42,1,[xm._32(n,45).ngClassUntouched,xm._32(n,45).ngClassTouched,xm._32(n,45).ngClassPristine,xm._32(n,45).ngClassDirty,xm._32(n,45).ngClassValid,xm._32(n,45).ngClassInvalid,xm._32(n,45).ngClassPending,xm._32(n,46).id,xm._32(n,46).tabIndex,xm._32(n,46)._ariaLabel,xm._32(n,46).ariaLabelledby,xm._32(n,46).required.toString(),xm._32(n,46).disabled.toString(),xm._32(n,46).errorState,xm._32(n,46).panelOpen?xm._32(n,46)._optionIds:null,xm._32(n,46).multiple,xm._32(n,46)._ariaDescribedby||null,xm._32(n,46)._getAriaActiveDescendant(),xm._32(n,46).disabled,xm._32(n,46).errorState,xm._32(n,46).required]);l(n,53,0,xm._32(n,54)._getTabIndex(),xm._32(n,54).selected,xm._32(n,54).multiple,xm._32(n,54).active,xm._32(n,54).id,xm._32(n,54).selected.toString(),xm._32(n,54).disabled.toString(),xm._32(n,54).disabled);l(n,57,0,xm._32(n,58)._getTabIndex(),xm._32(n,58).selected,xm._32(n,58).multiple,xm._32(n,58).active,xm._32(n,58).id,xm._32(n,58).selected.toString(),xm._32(n,58).disabled.toString(),xm._32(n,58).disabled);l(n,67,0,"end"===xm._32(n,68).align)})}function _r(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,7,"div",[["formArrayName","trading_traded_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,rr)),xm._17(11,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"trading_traded_goods");l(n,11,0,n.context.$implicit.controls.trading_traded_goods.controls)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending)})}function dr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Wholesale Trading Details"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(9,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(11,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,_r)),xm._17(14,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"trade_details");l(n,14,0,e.stockForm.controls.trade_details.controls)},function(l,n){l(n,8,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending)})}function sr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Service Provider Details"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,1,"div",[["style","text-align: center; margin: 12px;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Service Provider Details Not applicable here !!"])),(l()(),xm._39(-1,0,["\n "]))],null,null)}function cr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,63,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,60,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,4).onReset()&&u}return u},null,null)),xm._17(3,16384,null,0,Km.B,[],null,null),xm._17(4,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,53,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Mo)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,lr)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,dr)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,sr)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(22,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(23,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(25,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(26,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,266,{_control:0}),xm._37(335544320,267,{_placeholderChild:0}),xm._37(335544320,268,{_labelChild:0}),xm._37(603979776,269,{_errorChildren:1}),xm._37(603979776,270,{_hintChildren:1}),xm._37(603979776,271,{_prefixChildren:1}),xm._37(603979776,272,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(35,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(36,16384,[[268,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(39,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","stock_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,40)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,45)._onInput()&&u}return u},null,null)),xm._17(40,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(42,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(44,16384,null,0,Km.s,[Km.r],null,null),xm._17(45,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[266,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,10,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),xm._17(51,16384,null,0,fb.e,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(53,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(54,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(56,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveStockInfo(a.stockForm.value)&&u}return u},Db.b,Db.a)),xm._17(57,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.stockForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.retailForm);l(n,17,0,e.tradingForm);l(n,20,0,e.serviceProviderForm);l(n,42,0,"stock_remarks");l(n,45,0,"Remarks");l(n,57,0,"optblue","")},function(l,n){l(n,2,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending);l(n,25,1,[xm._32(n,26)._control.errorState,xm._32(n,26)._control.errorState,xm._32(n,26)._canLabelFloat,xm._32(n,26)._shouldLabelFloat(),xm._32(n,26)._hideControlPlaceholder(),xm._32(n,26)._control.disabled,xm._32(n,26)._control.focused,"primary"==xm._32(n,26).color,"accent"==xm._32(n,26).color,"warn"==xm._32(n,26).color,xm._32(n,26)._shouldForward("untouched"),xm._32(n,26)._shouldForward("touched"),xm._32(n,26)._shouldForward("pristine"),xm._32(n,26)._shouldForward("dirty"),xm._32(n,26)._shouldForward("valid"),xm._32(n,26)._shouldForward("invalid"),xm._32(n,26)._shouldForward("pending")]);l(n,39,1,[xm._32(n,44).ngClassUntouched,xm._32(n,44).ngClassTouched,xm._32(n,44).ngClassPristine,xm._32(n,44).ngClassDirty,xm._32(n,44).ngClassValid,xm._32(n,44).ngClassInvalid,xm._32(n,44).ngClassPending,xm._32(n,45)._isServer,xm._32(n,45).id,xm._32(n,45).placeholder,xm._32(n,45).disabled,xm._32(n,45).required,xm._32(n,45).readonly,xm._32(n,45)._ariaDescribedby||null,xm._32(n,45).errorState,xm._32(n,45).required.toString()])})}function mr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),xm._39(3,null,[" "," "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,3,0,n.component.errorMessage)})}function pr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,mr)),xm._17(4,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,4,0,!n.component.noRecordsFound)},null)}function fr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,pr)),xm._17(3,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,!n.component.noRecordsFound)},null)}function hr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(16,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(17,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(18,0,["",""])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(22,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,cr)),xm._17(26,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,fr)),xm._17(29,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,26,0,e.noRecordsFound);l(n,29,0,!e.noRecordsFound)},function(l,n){var e=n.component;l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher)})}function gr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formDetails.form_name)})}function br(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function vr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function yr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[43,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Cr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,46,{_control:0}),xm._37(335544320,47,{_placeholderChild:0}),xm._37(335544320,48,{_labelChild:0}),xm._37(603979776,49,{_errorChildren:1}),xm._37(603979776,50,{_hintChildren:1}),xm._37(603979776,51,{_prefixChildren:1}),xm._37(603979776,52,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[46,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function wr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[81,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Fr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(3,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(7,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,94,{_control:0}),xm._37(335544320,95,{_placeholderChild:0}),xm._37(335544320,96,{_labelChild:0}),xm._37(603979776,97,{_errorChildren:1}),xm._37(603979776,98,{_hintChildren:1}),xm._37(603979776,99,{_prefixChildren:1}),xm._37(603979776,100,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(17,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(18,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[94,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(28,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,101,{_control:0}),xm._37(335544320,102,{_placeholderChild:0}),xm._37(335544320,103,{_labelChild:0}),xm._37(603979776,104,{_errorChildren:1}),xm._37(603979776,105,{_hintChildren:1}),xm._37(603979776,106,{_prefixChildren:1}),xm._37(603979776,107,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,44)._onInput()&&u}return u},null,null)),xm._17(38,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(39,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(41,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(43,16384,null,0,Km.s,[Km.r],null,null),xm._17(44,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[101,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"manufacturing_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"manufacturing_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[xm._32(n,7)._control.errorState,xm._32(n,7)._control.errorState,xm._32(n,7)._canLabelFloat,xm._32(n,7)._shouldLabelFloat(),xm._32(n,7)._hideControlPlaceholder(),xm._32(n,7)._control.disabled,xm._32(n,7)._control.focused,"primary"==xm._32(n,7).color,"accent"==xm._32(n,7).color,"warn"==xm._32(n,7).color,xm._32(n,7)._shouldForward("untouched"),xm._32(n,7)._shouldForward("touched"),xm._32(n,7)._shouldForward("pristine"),xm._32(n,7)._shouldForward("dirty"),xm._32(n,7)._shouldForward("valid"),xm._32(n,7)._shouldForward("invalid"),xm._32(n,7)._shouldForward("pending")]);l(n,16,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()]);l(n,27,1,[xm._32(n,28)._control.errorState,xm._32(n,28)._control.errorState,xm._32(n,28)._canLabelFloat,xm._32(n,28)._shouldLabelFloat(),xm._32(n,28)._hideControlPlaceholder(),xm._32(n,28)._control.disabled,xm._32(n,28)._control.focused,"primary"==xm._32(n,28).color,"accent"==xm._32(n,28).color,"warn"==xm._32(n,28).color,xm._32(n,28)._shouldForward("untouched"),xm._32(n,28)._shouldForward("touched"),xm._32(n,28)._shouldForward("pristine"),xm._32(n,28)._shouldForward("dirty"),xm._32(n,28)._shouldForward("valid"),xm._32(n,28)._shouldForward("invalid"),xm._32(n,28)._shouldForward("pending")]);l(n,37,1,[xm._32(n,43).ngClassUntouched,xm._32(n,43).ngClassTouched,xm._32(n,43).ngClassPristine,xm._32(n,43).ngClassDirty,xm._32(n,43).ngClassValid,xm._32(n,43).ngClassInvalid,xm._32(n,43).ngClassPending,xm._32(n,44)._isServer,xm._32(n,44).id,xm._32(n,44).placeholder,xm._32(n,44).disabled,xm._32(n,44).required,xm._32(n,44).readonly,xm._32(n,44)._ariaDescribedby||null,xm._32(n,44).errorState,xm._32(n,44).required.toString()])})}function xr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRawMaterials(l.parent.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Sr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreRawMaterials(e);u=!1}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Ir(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,298,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Product #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,288,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,265,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(15,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","manufacturing_product_name"],["placeholder","Manufacturing Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,29)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(26,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(28,16384,null,0,Km.s,[Km.r],null,null),xm._17(29,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,br)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(40,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(41,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(50,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,56)._onInput()&&u}return u},null,null)),xm._17(51,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(53,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(55,16384,null,0,Km.s,[Km.r],null,null),xm._17(56,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(61,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,75)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(72,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(74,16384,null,0,Km.s,[Km.r],null,null),xm._17(75,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,26,{options:1}),xm._37(603979776,27,{optionGroups:1}),xm._37(335544320,28,{customTrigger:0}),xm._36(2048,[[19,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,vr)),xm._17(82,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(86,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(87,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,29,{_control:0}),xm._37(335544320,30,{_placeholderChild:0}),xm._37(335544320,31,{_labelChild:0}),xm._37(603979776,32,{_errorChildren:1}),xm._37(603979776,33,{_hintChildren:1}),xm._37(603979776,34,{_prefixChildren:1}),xm._37(603979776,35,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(96,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,102)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,102)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,102)._onInput()&&u}return u},null,null)),xm._17(97,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(99,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(101,16384,null,0,Km.s,[Km.r],null,null),xm._17(102,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[29,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(106,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(107,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(116,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,120)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,120)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,120)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedPersonDesignation(l.context.$implicit,e.value,1)&&u}return u},xv.b,xv.a)),xm._17(117,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(119,16384,null,0,Km.s,[Km.r],null,null),xm._17(120,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,43,{options:1}),xm._37(603979776,44,{optionGroups:1}),xm._37(335544320,45,{customTrigger:0}),xm._36(2048,[[36,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(127,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,128)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,128)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(128,8437760,[[43,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,yr)),xm._17(132,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Cr)),xm._17(138,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(140,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(141,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,53,{_control:0}),xm._37(335544320,54,{_placeholderChild:0}),xm._37(335544320,55,{_labelChild:0}),xm._37(603979776,56,{_errorChildren:1}),xm._37(603979776,57,{_hintChildren:1}),xm._37(603979776,58,{_prefixChildren:1}),xm._37(603979776,59,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(150,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,151)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,152).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,152).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,152).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,159)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,159)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,159)._onInput()&&u}return u},null,null)),xm._17(151,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(152,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(153,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(156,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(158,16384,null,0,Km.s,[Km.r],null,null),xm._17(159,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[53,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(162,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(163,16384,[[56,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid Mobile Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(167,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(168,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,60,{_control:0}),xm._37(335544320,61,{_placeholderChild:0}),xm._37(335544320,62,{_labelChild:0}),xm._37(603979776,63,{_errorChildren:1}),xm._37(603979776,64,{_hintChildren:1}),xm._37(603979776,65,{_prefixChildren:1}),xm._37(603979776,66,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(177,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,178)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,178).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,178)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,178)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,179).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,179).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,179).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,184)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,184)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,184)._onInput()&&u}return u},null,null)),xm._17(178,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(179,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(181,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(183,16384,null,0,Km.s,[Km.r],null,null),xm._17(184,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[60,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(187,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(188,16384,[[63,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid STD Code Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(193,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(194,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,67,{_control:0}),xm._37(335544320,68,{_placeholderChild:0}),xm._37(335544320,69,{_labelChild:0}),xm._37(603979776,70,{_errorChildren:1}),xm._37(603979776,71,{_hintChildren:1}),xm._37(603979776,72,{_prefixChildren:1}),xm._37(603979776,73,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(203,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Client Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,204)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,204).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,204)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,204)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,205).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,205).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,205).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,210)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,210)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,210)._onInput()&&u}return u},null,null)),xm._17(204,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(205,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(207,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(209,16384,null,0,Km.s,[Km.r],null,null),xm._17(210,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[67,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(213,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(214,16384,[[70,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid LandLine Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(218,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(219,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,74,{_control:0}),xm._37(335544320,75,{_placeholderChild:0}),xm._37(335544320,76,{_labelChild:0}),xm._37(603979776,77,{_errorChildren:1}),xm._37(603979776,78,{_hintChildren:1}),xm._37(603979776,79,{_prefixChildren:1}),xm._37(603979776,80,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(228,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,233)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,233)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,233)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.checkCard(e.value,1,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(230,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(232,16384,null,0,Km.s,[Km.r],null,null),xm._17(233,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,81,{options:1}),xm._37(603979776,82,{optionGroups:1}),xm._37(335544320,83,{customTrigger:0}),xm._36(2048,[[74,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,wr)),xm._17(240,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(244,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(245,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,84,{_control:0}),xm._37(335544320,85,{_placeholderChild:0}),xm._37(335544320,86,{_labelChild:0}),xm._37(603979776,87,{_errorChildren:1}),xm._37(603979776,88,{_hintChildren:1}),xm._37(603979776,89,{_prefixChildren:1}),xm._37(603979776,90,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(254,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,258)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,258)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,258)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(255,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(257,16384,null,0,Km.s,[Km.r],null,null),xm._17(258,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,91,{options:1}),xm._37(603979776,92,{optionGroups:1}),xm._37(335544320,93,{customTrigger:0}),xm._36(2048,[[84,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(265,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,266)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,266)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(266,8437760,[[91,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment received in\n Cash."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(269,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,270)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,270)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(270,8437760,[[91,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment\n received through Banking channels."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Fr)),xm._17(276,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(279,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(280,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,108,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(283,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(284,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,xr)),xm._17(287,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(290,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(291,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Sr)),xm._17(294,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,26,0,"manufacturing_product_name");l(n,29,0,"Manufacturing Product Name");l(n,36,0,e.m_manufacturingProducts[0]);l(n,53,0,"manufacturing_client_name");l(n,56,0,"Client Name");l(n,72,0,"person_title_name");l(n,75,0,"Title");l(n,82,0,e.titleList);l(n,99,0,"manufacturing_contact_person_name");l(n,102,0,"Client Contact Person Name");l(n,117,0,"person_designation");l(n,120,0,"Contact Person Designation");l(n,132,0,e.companyRelationShipList);l(n,138,0,1==n.context.$implicit.get("person_designation").value);l(n,153,0,"10");l(n,156,0,"manufacturing_contact_person_mobile_number");l(n,159,0,"Client Contact Person Mobile Number","number");l(n,181,0,"person_stdcode");l(n,184,0,"STD Code","number");l(n,207,0,"person_landline");l(n,210,0,"Client Contact Person Landline Number","number");l(n,230,0,"manufacturing_payment_type");l(n,233,0,"Payment Terms");l(n,240,0,e.m_paymentType);l(n,255,0,"manufacturing_payment_mode");l(n,258,0,"Payment Mode");l(n,266,0,"Payment received in Cash.");l(n,270,0,"Payment received through Banking channels.");l(n,276,0,3==n.context.$implicit.get("manufacturing_payment_type").value);l(n,287,0,n.parent.context.$implicit.controls.main_raw_materials.controls.length>1);l(n,294,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[xm._32(n,15)._control.errorState,xm._32(n,15)._control.errorState,xm._32(n,15)._canLabelFloat,xm._32(n,15)._shouldLabelFloat(),xm._32(n,15)._hideControlPlaceholder(),xm._32(n,15)._control.disabled,xm._32(n,15)._control.focused,"primary"==xm._32(n,15).color,"accent"==xm._32(n,15).color,"warn"==xm._32(n,15).color,xm._32(n,15)._shouldForward("untouched"),xm._32(n,15)._shouldForward("touched"),xm._32(n,15)._shouldForward("pristine"),xm._32(n,15)._shouldForward("dirty"),xm._32(n,15)._shouldForward("valid"),xm._32(n,15)._shouldForward("invalid"),xm._32(n,15)._shouldForward("pending")]);l(n,24,1,[xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending,xm._32(n,29).id,xm._32(n,29).tabIndex,xm._32(n,29)._ariaLabel,xm._32(n,29).ariaLabelledby,xm._32(n,29).required.toString(),xm._32(n,29).disabled.toString(),xm._32(n,29).errorState,xm._32(n,29).panelOpen?xm._32(n,29)._optionIds:null,xm._32(n,29).multiple,xm._32(n,29)._ariaDescribedby||null,xm._32(n,29)._getAriaActiveDescendant(),xm._32(n,29).disabled,xm._32(n,29).errorState,xm._32(n,29).required]);l(n,40,1,[xm._32(n,41)._control.errorState,xm._32(n,41)._control.errorState,xm._32(n,41)._canLabelFloat,xm._32(n,41)._shouldLabelFloat(),xm._32(n,41)._hideControlPlaceholder(),xm._32(n,41)._control.disabled,xm._32(n,41)._control.focused,"primary"==xm._32(n,41).color,"accent"==xm._32(n,41).color,"warn"==xm._32(n,41).color,xm._32(n,41)._shouldForward("untouched"),xm._32(n,41)._shouldForward("touched"),xm._32(n,41)._shouldForward("pristine"),xm._32(n,41)._shouldForward("dirty"),xm._32(n,41)._shouldForward("valid"),xm._32(n,41)._shouldForward("invalid"),xm._32(n,41)._shouldForward("pending")]);l(n,50,1,[xm._32(n,55).ngClassUntouched,xm._32(n,55).ngClassTouched,xm._32(n,55).ngClassPristine,xm._32(n,55).ngClassDirty,xm._32(n,55).ngClassValid,xm._32(n,55).ngClassInvalid,xm._32(n,55).ngClassPending,xm._32(n,56)._isServer,xm._32(n,56).id,xm._32(n,56).placeholder,xm._32(n,56).disabled,xm._32(n,56).required,xm._32(n,56).readonly,xm._32(n,56)._ariaDescribedby||null,xm._32(n,56).errorState,xm._32(n,56).required.toString()]);l(n,60,1,[xm._32(n,61)._control.errorState,xm._32(n,61)._control.errorState,xm._32(n,61)._canLabelFloat,xm._32(n,61)._shouldLabelFloat(),xm._32(n,61)._hideControlPlaceholder(),xm._32(n,61)._control.disabled,xm._32(n,61)._control.focused,"primary"==xm._32(n,61).color,"accent"==xm._32(n,61).color,"warn"==xm._32(n,61).color,xm._32(n,61)._shouldForward("untouched"),xm._32(n,61)._shouldForward("touched"),xm._32(n,61)._shouldForward("pristine"),xm._32(n,61)._shouldForward("dirty"),xm._32(n,61)._shouldForward("valid"),xm._32(n,61)._shouldForward("invalid"),xm._32(n,61)._shouldForward("pending")]);l(n,70,1,[xm._32(n,74).ngClassUntouched,xm._32(n,74).ngClassTouched,xm._32(n,74).ngClassPristine,xm._32(n,74).ngClassDirty,xm._32(n,74).ngClassValid,xm._32(n,74).ngClassInvalid,xm._32(n,74).ngClassPending,xm._32(n,75).id,xm._32(n,75).tabIndex,xm._32(n,75)._ariaLabel,xm._32(n,75).ariaLabelledby,xm._32(n,75).required.toString(),xm._32(n,75).disabled.toString(),xm._32(n,75).errorState,xm._32(n,75).panelOpen?xm._32(n,75)._optionIds:null,xm._32(n,75).multiple,xm._32(n,75)._ariaDescribedby||null,xm._32(n,75)._getAriaActiveDescendant(),xm._32(n,75).disabled,xm._32(n,75).errorState,xm._32(n,75).required]);l(n,86,1,[xm._32(n,87)._control.errorState,xm._32(n,87)._control.errorState,xm._32(n,87)._canLabelFloat,xm._32(n,87)._shouldLabelFloat(),xm._32(n,87)._hideControlPlaceholder(),xm._32(n,87)._control.disabled,xm._32(n,87)._control.focused,"primary"==xm._32(n,87).color,"accent"==xm._32(n,87).color,"warn"==xm._32(n,87).color,xm._32(n,87)._shouldForward("untouched"),xm._32(n,87)._shouldForward("touched"),xm._32(n,87)._shouldForward("pristine"),xm._32(n,87)._shouldForward("dirty"),xm._32(n,87)._shouldForward("valid"),xm._32(n,87)._shouldForward("invalid"),xm._32(n,87)._shouldForward("pending")]);l(n,96,1,[xm._32(n,101).ngClassUntouched,xm._32(n,101).ngClassTouched,xm._32(n,101).ngClassPristine,xm._32(n,101).ngClassDirty,xm._32(n,101).ngClassValid,xm._32(n,101).ngClassInvalid,xm._32(n,101).ngClassPending,xm._32(n,102)._isServer,xm._32(n,102).id,xm._32(n,102).placeholder,xm._32(n,102).disabled,xm._32(n,102).required,xm._32(n,102).readonly,xm._32(n,102)._ariaDescribedby||null,xm._32(n,102).errorState,xm._32(n,102).required.toString()]);l(n,106,1,[xm._32(n,107)._control.errorState,xm._32(n,107)._control.errorState,xm._32(n,107)._canLabelFloat,xm._32(n,107)._shouldLabelFloat(),xm._32(n,107)._hideControlPlaceholder(),xm._32(n,107)._control.disabled,xm._32(n,107)._control.focused,"primary"==xm._32(n,107).color,"accent"==xm._32(n,107).color,"warn"==xm._32(n,107).color,xm._32(n,107)._shouldForward("untouched"),xm._32(n,107)._shouldForward("touched"),xm._32(n,107)._shouldForward("pristine"),xm._32(n,107)._shouldForward("dirty"),xm._32(n,107)._shouldForward("valid"),xm._32(n,107)._shouldForward("invalid"),xm._32(n,107)._shouldForward("pending")]);l(n,116,1,[xm._32(n,119).ngClassUntouched,xm._32(n,119).ngClassTouched,xm._32(n,119).ngClassPristine,xm._32(n,119).ngClassDirty,xm._32(n,119).ngClassValid,xm._32(n,119).ngClassInvalid,xm._32(n,119).ngClassPending,xm._32(n,120).id,xm._32(n,120).tabIndex,xm._32(n,120)._ariaLabel,xm._32(n,120).ariaLabelledby,xm._32(n,120).required.toString(),xm._32(n,120).disabled.toString(),xm._32(n,120).errorState,xm._32(n,120).panelOpen?xm._32(n,120)._optionIds:null,xm._32(n,120).multiple,xm._32(n,120)._ariaDescribedby||null,xm._32(n,120)._getAriaActiveDescendant(),xm._32(n,120).disabled,xm._32(n,120).errorState,xm._32(n,120).required]);l(n,127,0,xm._32(n,128)._getTabIndex(),xm._32(n,128).selected,xm._32(n,128).multiple,xm._32(n,128).active,xm._32(n,128).id,xm._32(n,128).selected.toString(),xm._32(n,128).disabled.toString(),xm._32(n,128).disabled);l(n,140,1,[xm._32(n,141)._control.errorState,xm._32(n,141)._control.errorState,xm._32(n,141)._canLabelFloat,xm._32(n,141)._shouldLabelFloat(),xm._32(n,141)._hideControlPlaceholder(),xm._32(n,141)._control.disabled,xm._32(n,141)._control.focused,"primary"==xm._32(n,141).color,"accent"==xm._32(n,141).color,"warn"==xm._32(n,141).color,xm._32(n,141)._shouldForward("untouched"),xm._32(n,141)._shouldForward("touched"),xm._32(n,141)._shouldForward("pristine"),xm._32(n,141)._shouldForward("dirty"),xm._32(n,141)._shouldForward("valid"),xm._32(n,141)._shouldForward("invalid"),xm._32(n,141)._shouldForward("pending")]);l(n,150,1,[xm._32(n,153).maxlength?xm._32(n,153).maxlength:null,xm._32(n,158).ngClassUntouched,xm._32(n,158).ngClassTouched,xm._32(n,158).ngClassPristine,xm._32(n,158).ngClassDirty,xm._32(n,158).ngClassValid,xm._32(n,158).ngClassInvalid,xm._32(n,158).ngClassPending,xm._32(n,159)._isServer,xm._32(n,159).id,xm._32(n,159).placeholder,xm._32(n,159).disabled,xm._32(n,159).required,xm._32(n,159).readonly,xm._32(n,159)._ariaDescribedby||null,xm._32(n,159).errorState,xm._32(n,159).required.toString()]);l(n,162,0,xm._32(n,163).id);l(n,167,1,[xm._32(n,168)._control.errorState,xm._32(n,168)._control.errorState,xm._32(n,168)._canLabelFloat,xm._32(n,168)._shouldLabelFloat(),xm._32(n,168)._hideControlPlaceholder(),xm._32(n,168)._control.disabled,xm._32(n,168)._control.focused,"primary"==xm._32(n,168).color,"accent"==xm._32(n,168).color,"warn"==xm._32(n,168).color,xm._32(n,168)._shouldForward("untouched"),xm._32(n,168)._shouldForward("touched"),xm._32(n,168)._shouldForward("pristine"),xm._32(n,168)._shouldForward("dirty"),xm._32(n,168)._shouldForward("valid"),xm._32(n,168)._shouldForward("invalid"),xm._32(n,168)._shouldForward("pending")]);l(n,177,1,[xm._32(n,183).ngClassUntouched,xm._32(n,183).ngClassTouched,xm._32(n,183).ngClassPristine,xm._32(n,183).ngClassDirty,xm._32(n,183).ngClassValid,xm._32(n,183).ngClassInvalid,xm._32(n,183).ngClassPending,xm._32(n,184)._isServer,xm._32(n,184).id,xm._32(n,184).placeholder,xm._32(n,184).disabled,xm._32(n,184).required,xm._32(n,184).readonly,xm._32(n,184)._ariaDescribedby||null,xm._32(n,184).errorState,xm._32(n,184).required.toString()]);l(n,187,0,xm._32(n,188).id);l(n,193,1,[xm._32(n,194)._control.errorState,xm._32(n,194)._control.errorState,xm._32(n,194)._canLabelFloat,xm._32(n,194)._shouldLabelFloat(),xm._32(n,194)._hideControlPlaceholder(),xm._32(n,194)._control.disabled,xm._32(n,194)._control.focused,"primary"==xm._32(n,194).color,"accent"==xm._32(n,194).color,"warn"==xm._32(n,194).color,xm._32(n,194)._shouldForward("untouched"),xm._32(n,194)._shouldForward("touched"),xm._32(n,194)._shouldForward("pristine"),xm._32(n,194)._shouldForward("dirty"),xm._32(n,194)._shouldForward("valid"),xm._32(n,194)._shouldForward("invalid"),xm._32(n,194)._shouldForward("pending")]);l(n,203,1,[xm._32(n,209).ngClassUntouched,xm._32(n,209).ngClassTouched,xm._32(n,209).ngClassPristine,xm._32(n,209).ngClassDirty,xm._32(n,209).ngClassValid,xm._32(n,209).ngClassInvalid,xm._32(n,209).ngClassPending,xm._32(n,210)._isServer,xm._32(n,210).id,xm._32(n,210).placeholder,xm._32(n,210).disabled,xm._32(n,210).required,xm._32(n,210).readonly,xm._32(n,210)._ariaDescribedby||null,xm._32(n,210).errorState,xm._32(n,210).required.toString()]);l(n,213,0,xm._32(n,214).id);l(n,218,1,[xm._32(n,219)._control.errorState,xm._32(n,219)._control.errorState,xm._32(n,219)._canLabelFloat,xm._32(n,219)._shouldLabelFloat(),xm._32(n,219)._hideControlPlaceholder(),xm._32(n,219)._control.disabled,xm._32(n,219)._control.focused,"primary"==xm._32(n,219).color,"accent"==xm._32(n,219).color,"warn"==xm._32(n,219).color,xm._32(n,219)._shouldForward("untouched"),xm._32(n,219)._shouldForward("touched"),xm._32(n,219)._shouldForward("pristine"),xm._32(n,219)._shouldForward("dirty"),xm._32(n,219)._shouldForward("valid"),xm._32(n,219)._shouldForward("invalid"),xm._32(n,219)._shouldForward("pending")]);l(n,228,1,[xm._32(n,232).ngClassUntouched,xm._32(n,232).ngClassTouched,xm._32(n,232).ngClassPristine,xm._32(n,232).ngClassDirty,xm._32(n,232).ngClassValid,xm._32(n,232).ngClassInvalid,xm._32(n,232).ngClassPending,xm._32(n,233).id,xm._32(n,233).tabIndex,xm._32(n,233)._ariaLabel,xm._32(n,233).ariaLabelledby,xm._32(n,233).required.toString(),xm._32(n,233).disabled.toString(),xm._32(n,233).errorState,xm._32(n,233).panelOpen?xm._32(n,233)._optionIds:null,xm._32(n,233).multiple,xm._32(n,233)._ariaDescribedby||null,xm._32(n,233)._getAriaActiveDescendant(),xm._32(n,233).disabled,xm._32(n,233).errorState,xm._32(n,233).required]);l(n,244,1,[xm._32(n,245)._control.errorState,xm._32(n,245)._control.errorState,xm._32(n,245)._canLabelFloat,xm._32(n,245)._shouldLabelFloat(),xm._32(n,245)._hideControlPlaceholder(),xm._32(n,245)._control.disabled,xm._32(n,245)._control.focused,"primary"==xm._32(n,245).color,"accent"==xm._32(n,245).color,"warn"==xm._32(n,245).color,xm._32(n,245)._shouldForward("untouched"),xm._32(n,245)._shouldForward("touched"),xm._32(n,245)._shouldForward("pristine"),xm._32(n,245)._shouldForward("dirty"),xm._32(n,245)._shouldForward("valid"),xm._32(n,245)._shouldForward("invalid"),xm._32(n,245)._shouldForward("pending")]);l(n,254,1,[xm._32(n,257).ngClassUntouched,xm._32(n,257).ngClassTouched,xm._32(n,257).ngClassPristine,xm._32(n,257).ngClassDirty,xm._32(n,257).ngClassValid,xm._32(n,257).ngClassInvalid,xm._32(n,257).ngClassPending,xm._32(n,258).id,xm._32(n,258).tabIndex,xm._32(n,258)._ariaLabel,xm._32(n,258).ariaLabelledby,xm._32(n,258).required.toString(),xm._32(n,258).disabled.toString(),xm._32(n,258).errorState,xm._32(n,258).panelOpen?xm._32(n,258)._optionIds:null,xm._32(n,258).multiple,xm._32(n,258)._ariaDescribedby||null,xm._32(n,258)._getAriaActiveDescendant(),xm._32(n,258).disabled,xm._32(n,258).errorState,xm._32(n,258).required]);l(n,265,0,xm._32(n,266)._getTabIndex(),xm._32(n,266).selected,xm._32(n,266).multiple,xm._32(n,266).active,xm._32(n,266).id,xm._32(n,266).selected.toString(),xm._32(n,266).disabled.toString(),xm._32(n,266).disabled);l(n,269,0,xm._32(n,270)._getTabIndex(),xm._32(n,270).selected,xm._32(n,270).multiple,xm._32(n,270).active,xm._32(n,270).id,xm._32(n,270).selected.toString(),xm._32(n,270).disabled.toString(),xm._32(n,270).disabled)})}function qr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,109,{_control:0}),xm._37(335544320,110,{_placeholderChild:0}),xm._37(335544320,111,{_labelChild:0}),xm._37(603979776,112,{_errorChildren:1}),xm._37(603979776,113,{_hintChildren:1}),xm._37(603979776,114,{_prefixChildren:1}),xm._37(603979776,115,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_raw_materials_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[109,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"main_raw_materials_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()])})}function kr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,7,"div",[["formArrayName","main_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ir)),xm._17(11,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,qr)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"main_raw_materials");l(n,11,0,n.context.$implicit.controls.main_raw_materials.controls);l(n,15,0,e.mfgCreditCardFlag)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending)})}function Pr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Manufacturing Product Details"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(9,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(11,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,kr)),xm._17(14,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"manufacturing_details");l(n,14,0,e.clientInfoForm.controls.manufacturing_details.controls)},function(l,n){l(n,8,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending)})}function Dr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[123,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Tr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[140,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Or(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[157,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Lr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,160,{_control:0}),xm._37(335544320,161,{_placeholderChild:0}),xm._37(335544320,162,{_labelChild:0}),xm._37(603979776,163,{_errorChildren:1}),xm._37(603979776,164,{_hintChildren:1}),xm._37(603979776,165,{_prefixChildren:1}),xm._37(603979776,166,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[160,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Ar(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[195,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Vr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeTradingProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function jr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoretradeProduct(e);u=!1}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Nr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,343,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Trading Product #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,333,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,310,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(15,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,116,{_control:0}),xm._37(335544320,117,{_placeholderChild:0}),xm._37(335544320,118,{_labelChild:0}),xm._37(603979776,119,{_errorChildren:1}),xm._37(603979776,120,{_hintChildren:1}),xm._37(603979776,121,{_prefixChildren:1}),xm._37(603979776,122,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","trade_product_name"],["placeholder","Trading Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,30)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,30)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,30)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(27,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(29,16384,null,0,Km.s,[Km.r],null,null),xm._17(30,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,123,{options:1}),xm._37(603979776,124,{optionGroups:1}),xm._37(335544320,125,{customTrigger:0}),xm._36(2048,[[116,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Dr)),xm._17(37,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(41,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(42,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,126,{_control:0}),xm._37(335544320,127,{_placeholderChild:0}),xm._37(335544320,128,{_labelChild:0}),xm._37(603979776,129,{_errorChildren:1}),xm._37(603979776,130,{_hintChildren:1}),xm._37(603979776,131,{_prefixChildren:1}),xm._37(603979776,132,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,52)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,52).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,52)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,52)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,57)._onInput()&&u}return u},null,null)),xm._17(52,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(54,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(56,16384,null,0,Km.s,[Km.r],null,null),xm._17(57,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[126,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(61,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(62,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,133,{_control:0}),xm._37(335544320,134,{_placeholderChild:0}),xm._37(335544320,135,{_labelChild:0}),xm._37(603979776,136,{_errorChildren:1}),xm._37(603979776,137,{_hintChildren:1}),xm._37(603979776,138,{_prefixChildren:1}),xm._37(603979776,139,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(71,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,76)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,76)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,76)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(73,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(75,16384,null,0,Km.s,[Km.r],null,null),xm._17(76,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,140,{options:1}),xm._37(603979776,141,{optionGroups:1}),xm._37(335544320,142,{customTrigger:0}),xm._36(2048,[[133,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Tr)),xm._17(83,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(87,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(88,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,143,{_control:0}),xm._37(335544320,144,{_placeholderChild:0}),xm._37(335544320,145,{_labelChild:0}),xm._37(603979776,146,{_errorChildren:1}),xm._37(603979776,147,{_hintChildren:1}),xm._37(603979776,148,{_prefixChildren:1}),xm._37(603979776,149,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(97,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,98)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,98).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,98)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,98)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,103)._onInput()&&u}return u},null,null)),xm._17(98,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(100,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(102,16384,null,0,Km.s,[Km.r],null,null),xm._17(103,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[143,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(107,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(108,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,150,{_control:0}),xm._37(335544320,151,{_placeholderChild:0}),xm._37(335544320,152,{_labelChild:0}),xm._37(603979776,153,{_errorChildren:1}),xm._37(603979776,154,{_hintChildren:1}),xm._37(603979776,155,{_prefixChildren:1}),xm._37(603979776,156,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(117,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,121)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedPersonDesignation(l.context.$implicit,e.value,2)&&u}return u},xv.b,xv.a)),xm._17(118,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(120,16384,null,0,Km.s,[Km.r],null,null),xm._17(121,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,157,{options:1}),xm._37(603979776,158,{optionGroups:1}),xm._37(335544320,159,{customTrigger:0}),xm._36(2048,[[150,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(128,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,129)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,129)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(129,8437760,[[157,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Or)),xm._17(133,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Lr)),xm._17(139,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(141,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(142,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,167,{_control:0}),xm._37(335544320,168,{_placeholderChild:0}),xm._37(335544320,169,{_labelChild:0}),xm._37(603979776,170,{_errorChildren:1}),xm._37(603979776,171,{_hintChildren:1}),xm._37(603979776,172,{_prefixChildren:1}),xm._37(603979776,173,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(151,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,152)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,152).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,152)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,152)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,153).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,153).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,153).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,160)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,160)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,160)._onInput()&&u}return u},null,null)),xm._17(152,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(153,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(154,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(157,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(159,16384,null,0,Km.s,[Km.r],null,null),xm._17(160,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[167,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(163,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(164,16384,[[170,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid Mobile Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(168,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(169,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,174,{_control:0}),xm._37(335544320,175,{_placeholderChild:0}),xm._37(335544320,176,{_labelChild:0}),xm._37(603979776,177,{_errorChildren:1}),xm._37(603979776,178,{_hintChildren:1}),xm._37(603979776,179,{_prefixChildren:1}),xm._37(603979776,180,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(178,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,179)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,179).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,179)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,179)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,180).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,180).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,180).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,185)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,185)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,185)._onInput()&&u}return u},null,null)),xm._17(179,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(180,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(182,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(184,16384,null,0,Km.s,[Km.r],null,null),xm._17(185,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[174,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(188,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(189,16384,[[177,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid STD Code Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(194,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(195,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,181,{_control:0}),xm._37(335544320,182,{_placeholderChild:0}),xm._37(335544320,183,{_labelChild:0}),xm._37(603979776,184,{_errorChildren:1}),xm._37(603979776,185,{_hintChildren:1}),xm._37(603979776,186,{_prefixChildren:1}),xm._37(603979776,187,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(204,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Client Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,205)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,205).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,205)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,205)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,206).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,206).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,206).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,211)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,211)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,211)._onInput()&&u}return u},null,null)),xm._17(205,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(206,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(208,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(210,16384,null,0,Km.s,[Km.r],null,null),xm._17(211,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[181,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(214,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(215,16384,[[184,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid LandLine Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(219,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(220,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,188,{_control:0}),xm._37(335544320,189,{_placeholderChild:0}),xm._37(335544320,190,{_labelChild:0}),xm._37(603979776,191,{_errorChildren:1}),xm._37(603979776,192,{_hintChildren:1}),xm._37(603979776,193,{_prefixChildren:1}),xm._37(603979776,194,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(229,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,234)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,234)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,234)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.checkCard(e.value,2,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(231,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(233,16384,null,0,Km.s,[Km.r],null,null),xm._17(234,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,195,{options:1}),xm._37(603979776,196,{optionGroups:1}),xm._37(335544320,197,{customTrigger:0}),xm._36(2048,[[188,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ar)),xm._17(241,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(245,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(246,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,198,{_control:0}),xm._37(335544320,199,{_placeholderChild:0}),xm._37(335544320,200,{_labelChild:0}),xm._37(603979776,201,{_errorChildren:1}),xm._37(603979776,202,{_hintChildren:1}),xm._37(603979776,203,{_prefixChildren:1}),xm._37(603979776,204,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(255,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,259)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,259)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,259)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(256,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(258,16384,null,0,Km.s,[Km.r],null,null),xm._17(259,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,205,{options:1}),xm._37(603979776,206,{optionGroups:1}),xm._37(335544320,207,{customTrigger:0}),xm._36(2048,[[198,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(266,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,267)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,267)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(267,8437760,[[205,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment received in\n Cash."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(270,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,271)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,271)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(271,8437760,[[205,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment\n received through Banking channels."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(277,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(278,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(281,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(282,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,208,{_control:0}),xm._37(335544320,209,{_placeholderChild:0}),xm._37(335544320,210,{_labelChild:0}),xm._37(603979776,211,{_errorChildren:1}),xm._37(603979776,212,{_hintChildren:1}),xm._37(603979776,213,{_prefixChildren:1}),xm._37(603979776,214,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(291,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,292)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,292).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,292)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,292)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,293).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,293).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,293).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,298)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,298)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,298)._onInput()&&u}return u},null,null)),xm._17(292,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(293,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(295,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(297,16384,null,0,Km.s,[Km.r],null,null),xm._17(298,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[208,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(302,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(303,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,215,{_control:0}),xm._37(335544320,216,{_placeholderChild:0}),xm._37(335544320,217,{_labelChild:0}),xm._37(603979776,218,{_errorChildren:1}),xm._37(603979776,219,{_hintChildren:1}),xm._37(603979776,220,{_prefixChildren:1}),xm._37(603979776,221,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(312,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,313)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,313).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,313)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,313)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,314).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,314).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,314).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,319)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,319)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,319)._onInput()&&u}return u},null,null)),xm._17(313,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(314,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(316,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(318,16384,null,0,Km.s,[Km.r],null,null),xm._17(319,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[215,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(324,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(325,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,222,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(328,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(329,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Vr)),xm._17(332,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(335,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(336,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,jr)),xm._17(339,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,27,0,"trade_product_name");l(n,30,0,"Trading Product Name");l(n,37,0,e.m_tradingProducts);l(n,54,0,"trade_client_name");l(n,57,0,"Client Name");l(n,73,0,"person_title_name");l(n,76,0,"Title");l(n,83,0,e.titleList);l(n,100,0,"trade_product_contact_person_name");l(n,103,0,"Client Contact Person Name");l(n,118,0,"person_designation");l(n,121,0,"Contact Person Designation");l(n,133,0,e.companyRelationShipList);l(n,139,0,1==n.context.$implicit.get("person_designation").value);l(n,154,0,"10");l(n,157,0,"trade_product_contact_person_mobile_number");l(n,160,0,"Client Contact Person Mobile Number","number");l(n,182,0,"person_stdcode");l(n,185,0,"STD Code","number");l(n,208,0,"person_landline");l(n,211,0,"Client Contact Person Landline Number","number");l(n,231,0,"trade_product_payment_type");l(n,234,0,"Payment Terms");l(n,241,0,e.m_paymentType);l(n,256,0,"trade_product_payment_mode");l(n,259,0,"Payment Mode");l(n,267,0,"Payment received in Cash.");l(n,271,0,"Payment received through Banking channels.");l(n,295,0,"trade_product_credit_days_from");l(n,298,0,"Days From","number");l(n,316,0,"trade_product_credit_days_to");l(n,319,0,"Days To","number");l(n,332,0,n.parent.context.$implicit.controls.trading_products.controls.length>1);l(n,339,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[xm._32(n,15)._control.errorState,xm._32(n,15)._control.errorState,xm._32(n,15)._canLabelFloat,xm._32(n,15)._shouldLabelFloat(),xm._32(n,15)._hideControlPlaceholder(),xm._32(n,15)._control.disabled,xm._32(n,15)._control.focused,"primary"==xm._32(n,15).color,"accent"==xm._32(n,15).color,"warn"==xm._32(n,15).color,xm._32(n,15)._shouldForward("untouched"),xm._32(n,15)._shouldForward("touched"),xm._32(n,15)._shouldForward("pristine"),xm._32(n,15)._shouldForward("dirty"),xm._32(n,15)._shouldForward("valid"),xm._32(n,15)._shouldForward("invalid"),xm._32(n,15)._shouldForward("pending")]);l(n,25,1,[xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending,xm._32(n,30).id,xm._32(n,30).tabIndex,xm._32(n,30)._ariaLabel,xm._32(n,30).ariaLabelledby,xm._32(n,30).required.toString(),xm._32(n,30).disabled.toString(),xm._32(n,30).errorState,xm._32(n,30).panelOpen?xm._32(n,30)._optionIds:null,xm._32(n,30).multiple,xm._32(n,30)._ariaDescribedby||null,xm._32(n,30)._getAriaActiveDescendant(),xm._32(n,30).disabled,xm._32(n,30).errorState,xm._32(n,30).required]);l(n,41,1,[xm._32(n,42)._control.errorState,xm._32(n,42)._control.errorState,xm._32(n,42)._canLabelFloat,xm._32(n,42)._shouldLabelFloat(),xm._32(n,42)._hideControlPlaceholder(),xm._32(n,42)._control.disabled,xm._32(n,42)._control.focused,"primary"==xm._32(n,42).color,"accent"==xm._32(n,42).color,"warn"==xm._32(n,42).color,xm._32(n,42)._shouldForward("untouched"),xm._32(n,42)._shouldForward("touched"),xm._32(n,42)._shouldForward("pristine"),xm._32(n,42)._shouldForward("dirty"),xm._32(n,42)._shouldForward("valid"),xm._32(n,42)._shouldForward("invalid"),xm._32(n,42)._shouldForward("pending")]);l(n,51,1,[xm._32(n,56).ngClassUntouched,xm._32(n,56).ngClassTouched,xm._32(n,56).ngClassPristine,xm._32(n,56).ngClassDirty,xm._32(n,56).ngClassValid,xm._32(n,56).ngClassInvalid,xm._32(n,56).ngClassPending,xm._32(n,57)._isServer,xm._32(n,57).id,xm._32(n,57).placeholder,xm._32(n,57).disabled,xm._32(n,57).required,xm._32(n,57).readonly,xm._32(n,57)._ariaDescribedby||null,xm._32(n,57).errorState,xm._32(n,57).required.toString()]);l(n,61,1,[xm._32(n,62)._control.errorState,xm._32(n,62)._control.errorState,xm._32(n,62)._canLabelFloat,xm._32(n,62)._shouldLabelFloat(),xm._32(n,62)._hideControlPlaceholder(),xm._32(n,62)._control.disabled,xm._32(n,62)._control.focused,"primary"==xm._32(n,62).color,"accent"==xm._32(n,62).color,"warn"==xm._32(n,62).color,xm._32(n,62)._shouldForward("untouched"),xm._32(n,62)._shouldForward("touched"),xm._32(n,62)._shouldForward("pristine"),xm._32(n,62)._shouldForward("dirty"),xm._32(n,62)._shouldForward("valid"),xm._32(n,62)._shouldForward("invalid"),xm._32(n,62)._shouldForward("pending")]);l(n,71,1,[xm._32(n,75).ngClassUntouched,xm._32(n,75).ngClassTouched,xm._32(n,75).ngClassPristine,xm._32(n,75).ngClassDirty,xm._32(n,75).ngClassValid,xm._32(n,75).ngClassInvalid,xm._32(n,75).ngClassPending,xm._32(n,76).id,xm._32(n,76).tabIndex,xm._32(n,76)._ariaLabel,xm._32(n,76).ariaLabelledby,xm._32(n,76).required.toString(),xm._32(n,76).disabled.toString(),xm._32(n,76).errorState,xm._32(n,76).panelOpen?xm._32(n,76)._optionIds:null,xm._32(n,76).multiple,xm._32(n,76)._ariaDescribedby||null,xm._32(n,76)._getAriaActiveDescendant(),xm._32(n,76).disabled,xm._32(n,76).errorState,xm._32(n,76).required]);l(n,87,1,[xm._32(n,88)._control.errorState,xm._32(n,88)._control.errorState,xm._32(n,88)._canLabelFloat,xm._32(n,88)._shouldLabelFloat(),xm._32(n,88)._hideControlPlaceholder(),xm._32(n,88)._control.disabled,xm._32(n,88)._control.focused,"primary"==xm._32(n,88).color,"accent"==xm._32(n,88).color,"warn"==xm._32(n,88).color,xm._32(n,88)._shouldForward("untouched"),xm._32(n,88)._shouldForward("touched"),xm._32(n,88)._shouldForward("pristine"),xm._32(n,88)._shouldForward("dirty"),xm._32(n,88)._shouldForward("valid"),xm._32(n,88)._shouldForward("invalid"),xm._32(n,88)._shouldForward("pending")]);l(n,97,1,[xm._32(n,102).ngClassUntouched,xm._32(n,102).ngClassTouched,xm._32(n,102).ngClassPristine,xm._32(n,102).ngClassDirty,xm._32(n,102).ngClassValid,xm._32(n,102).ngClassInvalid,xm._32(n,102).ngClassPending,xm._32(n,103)._isServer,xm._32(n,103).id,xm._32(n,103).placeholder,xm._32(n,103).disabled,xm._32(n,103).required,xm._32(n,103).readonly,xm._32(n,103)._ariaDescribedby||null,xm._32(n,103).errorState,xm._32(n,103).required.toString()]);l(n,107,1,[xm._32(n,108)._control.errorState,xm._32(n,108)._control.errorState,xm._32(n,108)._canLabelFloat,xm._32(n,108)._shouldLabelFloat(),xm._32(n,108)._hideControlPlaceholder(),xm._32(n,108)._control.disabled,xm._32(n,108)._control.focused,"primary"==xm._32(n,108).color,"accent"==xm._32(n,108).color,"warn"==xm._32(n,108).color,xm._32(n,108)._shouldForward("untouched"),xm._32(n,108)._shouldForward("touched"),xm._32(n,108)._shouldForward("pristine"),xm._32(n,108)._shouldForward("dirty"),xm._32(n,108)._shouldForward("valid"),xm._32(n,108)._shouldForward("invalid"),xm._32(n,108)._shouldForward("pending")]);l(n,117,1,[xm._32(n,120).ngClassUntouched,xm._32(n,120).ngClassTouched,xm._32(n,120).ngClassPristine,xm._32(n,120).ngClassDirty,xm._32(n,120).ngClassValid,xm._32(n,120).ngClassInvalid,xm._32(n,120).ngClassPending,xm._32(n,121).id,xm._32(n,121).tabIndex,xm._32(n,121)._ariaLabel,xm._32(n,121).ariaLabelledby,xm._32(n,121).required.toString(),xm._32(n,121).disabled.toString(),xm._32(n,121).errorState,xm._32(n,121).panelOpen?xm._32(n,121)._optionIds:null,xm._32(n,121).multiple,xm._32(n,121)._ariaDescribedby||null,xm._32(n,121)._getAriaActiveDescendant(),xm._32(n,121).disabled,xm._32(n,121).errorState,xm._32(n,121).required]);l(n,128,0,xm._32(n,129)._getTabIndex(),xm._32(n,129).selected,xm._32(n,129).multiple,xm._32(n,129).active,xm._32(n,129).id,xm._32(n,129).selected.toString(),xm._32(n,129).disabled.toString(),xm._32(n,129).disabled);l(n,141,1,[xm._32(n,142)._control.errorState,xm._32(n,142)._control.errorState,xm._32(n,142)._canLabelFloat,xm._32(n,142)._shouldLabelFloat(),xm._32(n,142)._hideControlPlaceholder(),xm._32(n,142)._control.disabled,xm._32(n,142)._control.focused,"primary"==xm._32(n,142).color,"accent"==xm._32(n,142).color,"warn"==xm._32(n,142).color,xm._32(n,142)._shouldForward("untouched"),xm._32(n,142)._shouldForward("touched"),xm._32(n,142)._shouldForward("pristine"),xm._32(n,142)._shouldForward("dirty"),xm._32(n,142)._shouldForward("valid"),xm._32(n,142)._shouldForward("invalid"),xm._32(n,142)._shouldForward("pending")]);l(n,151,1,[xm._32(n,154).maxlength?xm._32(n,154).maxlength:null,xm._32(n,159).ngClassUntouched,xm._32(n,159).ngClassTouched,xm._32(n,159).ngClassPristine,xm._32(n,159).ngClassDirty,xm._32(n,159).ngClassValid,xm._32(n,159).ngClassInvalid,xm._32(n,159).ngClassPending,xm._32(n,160)._isServer,xm._32(n,160).id,xm._32(n,160).placeholder,xm._32(n,160).disabled,xm._32(n,160).required,xm._32(n,160).readonly,xm._32(n,160)._ariaDescribedby||null,xm._32(n,160).errorState,xm._32(n,160).required.toString()]);l(n,163,0,xm._32(n,164).id);l(n,168,1,[xm._32(n,169)._control.errorState,xm._32(n,169)._control.errorState,xm._32(n,169)._canLabelFloat,xm._32(n,169)._shouldLabelFloat(),xm._32(n,169)._hideControlPlaceholder(),xm._32(n,169)._control.disabled,xm._32(n,169)._control.focused,"primary"==xm._32(n,169).color,"accent"==xm._32(n,169).color,"warn"==xm._32(n,169).color,xm._32(n,169)._shouldForward("untouched"),xm._32(n,169)._shouldForward("touched"),xm._32(n,169)._shouldForward("pristine"),xm._32(n,169)._shouldForward("dirty"),xm._32(n,169)._shouldForward("valid"),xm._32(n,169)._shouldForward("invalid"),xm._32(n,169)._shouldForward("pending")]);l(n,178,1,[xm._32(n,184).ngClassUntouched,xm._32(n,184).ngClassTouched,xm._32(n,184).ngClassPristine,xm._32(n,184).ngClassDirty,xm._32(n,184).ngClassValid,xm._32(n,184).ngClassInvalid,xm._32(n,184).ngClassPending,xm._32(n,185)._isServer,xm._32(n,185).id,xm._32(n,185).placeholder,xm._32(n,185).disabled,xm._32(n,185).required,xm._32(n,185).readonly,xm._32(n,185)._ariaDescribedby||null,xm._32(n,185).errorState,xm._32(n,185).required.toString()]);l(n,188,0,xm._32(n,189).id);l(n,194,1,[xm._32(n,195)._control.errorState,xm._32(n,195)._control.errorState,xm._32(n,195)._canLabelFloat,xm._32(n,195)._shouldLabelFloat(),xm._32(n,195)._hideControlPlaceholder(),xm._32(n,195)._control.disabled,xm._32(n,195)._control.focused,"primary"==xm._32(n,195).color,"accent"==xm._32(n,195).color,"warn"==xm._32(n,195).color,xm._32(n,195)._shouldForward("untouched"),xm._32(n,195)._shouldForward("touched"),xm._32(n,195)._shouldForward("pristine"),xm._32(n,195)._shouldForward("dirty"),xm._32(n,195)._shouldForward("valid"),xm._32(n,195)._shouldForward("invalid"),xm._32(n,195)._shouldForward("pending")]);l(n,204,1,[xm._32(n,210).ngClassUntouched,xm._32(n,210).ngClassTouched,xm._32(n,210).ngClassPristine,xm._32(n,210).ngClassDirty,xm._32(n,210).ngClassValid,xm._32(n,210).ngClassInvalid,xm._32(n,210).ngClassPending,xm._32(n,211)._isServer,xm._32(n,211).id,xm._32(n,211).placeholder,xm._32(n,211).disabled,xm._32(n,211).required,xm._32(n,211).readonly,xm._32(n,211)._ariaDescribedby||null,xm._32(n,211).errorState,xm._32(n,211).required.toString()]);l(n,214,0,xm._32(n,215).id);l(n,219,1,[xm._32(n,220)._control.errorState,xm._32(n,220)._control.errorState,xm._32(n,220)._canLabelFloat,xm._32(n,220)._shouldLabelFloat(),xm._32(n,220)._hideControlPlaceholder(),xm._32(n,220)._control.disabled,xm._32(n,220)._control.focused,"primary"==xm._32(n,220).color,"accent"==xm._32(n,220).color,"warn"==xm._32(n,220).color,xm._32(n,220)._shouldForward("untouched"),xm._32(n,220)._shouldForward("touched"),xm._32(n,220)._shouldForward("pristine"),xm._32(n,220)._shouldForward("dirty"),xm._32(n,220)._shouldForward("valid"),xm._32(n,220)._shouldForward("invalid"),xm._32(n,220)._shouldForward("pending")]);l(n,229,1,[xm._32(n,233).ngClassUntouched,xm._32(n,233).ngClassTouched,xm._32(n,233).ngClassPristine,xm._32(n,233).ngClassDirty,xm._32(n,233).ngClassValid,xm._32(n,233).ngClassInvalid,xm._32(n,233).ngClassPending,xm._32(n,234).id,xm._32(n,234).tabIndex,xm._32(n,234)._ariaLabel,xm._32(n,234).ariaLabelledby,xm._32(n,234).required.toString(),xm._32(n,234).disabled.toString(),xm._32(n,234).errorState,xm._32(n,234).panelOpen?xm._32(n,234)._optionIds:null,xm._32(n,234).multiple,xm._32(n,234)._ariaDescribedby||null,xm._32(n,234)._getAriaActiveDescendant(),xm._32(n,234).disabled,xm._32(n,234).errorState,xm._32(n,234).required]);l(n,245,1,[xm._32(n,246)._control.errorState,xm._32(n,246)._control.errorState,xm._32(n,246)._canLabelFloat,xm._32(n,246)._shouldLabelFloat(),xm._32(n,246)._hideControlPlaceholder(),xm._32(n,246)._control.disabled,xm._32(n,246)._control.focused,"primary"==xm._32(n,246).color,"accent"==xm._32(n,246).color,"warn"==xm._32(n,246).color,xm._32(n,246)._shouldForward("untouched"),xm._32(n,246)._shouldForward("touched"),xm._32(n,246)._shouldForward("pristine"),xm._32(n,246)._shouldForward("dirty"),xm._32(n,246)._shouldForward("valid"),xm._32(n,246)._shouldForward("invalid"),xm._32(n,246)._shouldForward("pending")]);l(n,255,1,[xm._32(n,258).ngClassUntouched,xm._32(n,258).ngClassTouched,xm._32(n,258).ngClassPristine,xm._32(n,258).ngClassDirty,xm._32(n,258).ngClassValid,xm._32(n,258).ngClassInvalid,xm._32(n,258).ngClassPending,xm._32(n,259).id,xm._32(n,259).tabIndex,xm._32(n,259)._ariaLabel,xm._32(n,259).ariaLabelledby,xm._32(n,259).required.toString(),xm._32(n,259).disabled.toString(),xm._32(n,259).errorState,xm._32(n,259).panelOpen?xm._32(n,259)._optionIds:null,xm._32(n,259).multiple,xm._32(n,259)._ariaDescribedby||null,xm._32(n,259)._getAriaActiveDescendant(),xm._32(n,259).disabled,xm._32(n,259).errorState,xm._32(n,259).required]);l(n,266,0,xm._32(n,267)._getTabIndex(),xm._32(n,267).selected,xm._32(n,267).multiple,xm._32(n,267).active,xm._32(n,267).id,xm._32(n,267).selected.toString(),xm._32(n,267).disabled.toString(),xm._32(n,267).disabled);l(n,270,0,xm._32(n,271)._getTabIndex(),xm._32(n,271).selected,xm._32(n,271).multiple,xm._32(n,271).active,xm._32(n,271).id,xm._32(n,271).selected.toString(),xm._32(n,271).disabled.toString(),xm._32(n,271).disabled);l(n,281,1,[xm._32(n,282)._control.errorState,xm._32(n,282)._control.errorState,xm._32(n,282)._canLabelFloat,xm._32(n,282)._shouldLabelFloat(),xm._32(n,282)._hideControlPlaceholder(),xm._32(n,282)._control.disabled,xm._32(n,282)._control.focused,"primary"==xm._32(n,282).color,"accent"==xm._32(n,282).color,"warn"==xm._32(n,282).color,xm._32(n,282)._shouldForward("untouched"),xm._32(n,282)._shouldForward("touched"),xm._32(n,282)._shouldForward("pristine"),xm._32(n,282)._shouldForward("dirty"),xm._32(n,282)._shouldForward("valid"),xm._32(n,282)._shouldForward("invalid"),xm._32(n,282)._shouldForward("pending")]);l(n,291,1,[xm._32(n,297).ngClassUntouched,xm._32(n,297).ngClassTouched,xm._32(n,297).ngClassPristine,xm._32(n,297).ngClassDirty,xm._32(n,297).ngClassValid,xm._32(n,297).ngClassInvalid,xm._32(n,297).ngClassPending,xm._32(n,298)._isServer,xm._32(n,298).id,xm._32(n,298).placeholder,xm._32(n,298).disabled,xm._32(n,298).required,xm._32(n,298).readonly,xm._32(n,298)._ariaDescribedby||null,xm._32(n,298).errorState,xm._32(n,298).required.toString()]);l(n,302,1,[xm._32(n,303)._control.errorState,xm._32(n,303)._control.errorState,xm._32(n,303)._canLabelFloat,xm._32(n,303)._shouldLabelFloat(),xm._32(n,303)._hideControlPlaceholder(),xm._32(n,303)._control.disabled,xm._32(n,303)._control.focused,"primary"==xm._32(n,303).color,"accent"==xm._32(n,303).color,"warn"==xm._32(n,303).color,xm._32(n,303)._shouldForward("untouched"),xm._32(n,303)._shouldForward("touched"),xm._32(n,303)._shouldForward("pristine"),xm._32(n,303)._shouldForward("dirty"),xm._32(n,303)._shouldForward("valid"),xm._32(n,303)._shouldForward("invalid"),xm._32(n,303)._shouldForward("pending")]);l(n,312,1,[xm._32(n,318).ngClassUntouched,xm._32(n,318).ngClassTouched,xm._32(n,318).ngClassPristine,xm._32(n,318).ngClassDirty,xm._32(n,318).ngClassValid,xm._32(n,318).ngClassInvalid,xm._32(n,318).ngClassPending,xm._32(n,319)._isServer,xm._32(n,319).id,xm._32(n,319).placeholder,xm._32(n,319).disabled,xm._32(n,319).required,xm._32(n,319).readonly,xm._32(n,319)._ariaDescribedby||null,xm._32(n,319).errorState,xm._32(n,319).required.toString()])})}function Er(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,223,{_control:0}),xm._37(335544320,224,{_placeholderChild:0}),xm._37(335544320,225,{_labelChild:0}),xm._37(603979776,226,{_errorChildren:1}),xm._37(603979776,227,{_hintChildren:1}),xm._37(603979776,228,{_prefixChildren:1}),xm._37(603979776,229,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trading_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[223,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"trading_products_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()])})}function Wr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,7,"div",[["formArrayName","trading_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Nr)),xm._17(11,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Er)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"trading_products");l(n,11,0,n.context.$implicit.controls.trading_products.controls);l(n,15,0,e.trdCreditCardFlag)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending)})}function Rr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Trading Product Details"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(9,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(11,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Wr)),xm._17(14,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"trade_details");l(n,14,0,e.clientInfoForm.controls.trade_details.controls)},function(l,n){l(n,8,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending)})}function Ur(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[237,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Br(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[254,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function $r(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[271,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Mr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,274,{_control:0}),xm._37(335544320,275,{_placeholderChild:0}),xm._37(335544320,276,{_labelChild:0}),xm._37(603979776,277,{_errorChildren:1}),xm._37(603979776,278,{_hintChildren:1}),xm._37(603979776,279,{_prefixChildren:1}),xm._37(603979776,280,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[274,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Kr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[309,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Hr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(3,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(7,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,322,{_control:0}),xm._37(335544320,323,{_placeholderChild:0}),xm._37(335544320,324,{_labelChild:0}),xm._37(603979776,325,{_errorChildren:1}),xm._37(603979776,326,{_hintChildren:1}),xm._37(603979776,327,{_prefixChildren:1}),xm._37(603979776,328,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(17,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(18,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[322,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(28,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,329,{_control:0}),xm._37(335544320,330,{_placeholderChild:0}),xm._37(335544320,331,{_labelChild:0}),xm._37(603979776,332,{_errorChildren:1}),xm._37(603979776,333,{_hintChildren:1}),xm._37(603979776,334,{_prefixChildren:1}),xm._37(603979776,335,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,44)._onInput()&&u}return u},null,null)),xm._17(38,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(39,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(41,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(43,16384,null,0,Km.s,[Km.r],null,null),xm._17(44,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[329,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"service_provider_product_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"service_provider_product_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[xm._32(n,7)._control.errorState,xm._32(n,7)._control.errorState,xm._32(n,7)._canLabelFloat,xm._32(n,7)._shouldLabelFloat(),xm._32(n,7)._hideControlPlaceholder(),xm._32(n,7)._control.disabled,xm._32(n,7)._control.focused,"primary"==xm._32(n,7).color,"accent"==xm._32(n,7).color,"warn"==xm._32(n,7).color,xm._32(n,7)._shouldForward("untouched"),xm._32(n,7)._shouldForward("touched"),xm._32(n,7)._shouldForward("pristine"),xm._32(n,7)._shouldForward("dirty"),xm._32(n,7)._shouldForward("valid"),xm._32(n,7)._shouldForward("invalid"),xm._32(n,7)._shouldForward("pending")]);l(n,16,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()]);l(n,27,1,[xm._32(n,28)._control.errorState,xm._32(n,28)._control.errorState,xm._32(n,28)._canLabelFloat,xm._32(n,28)._shouldLabelFloat(),xm._32(n,28)._hideControlPlaceholder(),xm._32(n,28)._control.disabled,xm._32(n,28)._control.focused,"primary"==xm._32(n,28).color,"accent"==xm._32(n,28).color,"warn"==xm._32(n,28).color,xm._32(n,28)._shouldForward("untouched"),xm._32(n,28)._shouldForward("touched"),xm._32(n,28)._shouldForward("pristine"),xm._32(n,28)._shouldForward("dirty"),xm._32(n,28)._shouldForward("valid"),xm._32(n,28)._shouldForward("invalid"),xm._32(n,28)._shouldForward("pending")]);l(n,37,1,[xm._32(n,43).ngClassUntouched,xm._32(n,43).ngClassTouched,xm._32(n,43).ngClassPristine,xm._32(n,43).ngClassDirty,xm._32(n,43).ngClassValid,xm._32(n,43).ngClassInvalid,xm._32(n,43).ngClassPending,xm._32(n,44)._isServer,xm._32(n,44).id,xm._32(n,44).placeholder,xm._32(n,44).disabled,xm._32(n,44).required,xm._32(n,44).readonly,xm._32(n,44)._ariaDescribedby||null,xm._32(n,44).errorState,xm._32(n,44).required.toString()])})}function Gr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Yr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreServiceProduct(e);u=!1}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Qr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,299,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.g,[],null,null),(l()(),xm._39(7,null,["Service Provided #",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(9,0,null,null,289,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(10,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,263,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(15,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,230,{_control:0}),xm._37(335544320,231,{_placeholderChild:0}),xm._37(335544320,232,{_labelChild:0}),xm._37(603979776,233,{_errorChildren:1}),xm._37(603979776,234,{_hintChildren:1}),xm._37(603979776,235,{_prefixChildren:1}),xm._37(603979776,236,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_name"],["placeholder","Select the Service Provided"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,29)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(26,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(28,16384,null,0,Km.s,[Km.r],null,null),xm._17(29,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,237,{options:1}),xm._37(603979776,238,{optionGroups:1}),xm._37(335544320,239,{customTrigger:0}),xm._36(2048,[[230,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ur)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(40,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(41,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,240,{_control:0}),xm._37(335544320,241,{_placeholderChild:0}),xm._37(335544320,242,{_labelChild:0}),xm._37(603979776,243,{_errorChildren:1}),xm._37(603979776,244,{_hintChildren:1}),xm._37(603979776,245,{_prefixChildren:1}),xm._37(603979776,246,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(50,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,56)._onInput()&&u}return u},null,null)),xm._17(51,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(53,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(55,16384,null,0,Km.s,[Km.r],null,null),xm._17(56,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[240,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(61,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,247,{_control:0}),xm._37(335544320,248,{_placeholderChild:0}),xm._37(335544320,249,{_labelChild:0}),xm._37(603979776,250,{_errorChildren:1}),xm._37(603979776,251,{_hintChildren:1}),xm._37(603979776,252,{_prefixChildren:1}),xm._37(603979776,253,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,75)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(72,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(74,16384,null,0,Km.s,[Km.r],null,null),xm._17(75,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,254,{options:1}),xm._37(603979776,255,{optionGroups:1}),xm._37(335544320,256,{customTrigger:0}),xm._36(2048,[[247,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Br)),xm._17(82,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(86,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(87,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,257,{_control:0}),xm._37(335544320,258,{_placeholderChild:0}),xm._37(335544320,259,{_labelChild:0}),xm._37(603979776,260,{_errorChildren:1}),xm._37(603979776,261,{_hintChildren:1}),xm._37(603979776,262,{_prefixChildren:1}),xm._37(603979776,263,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(96,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,102)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,102)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,102)._onInput()&&u}return u},null,null)),xm._17(97,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(99,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(101,16384,null,0,Km.s,[Km.r],null,null),xm._17(102,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[257,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(106,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(107,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,264,{_control:0}),xm._37(335544320,265,{_placeholderChild:0}),xm._37(335544320,266,{_labelChild:0}),xm._37(603979776,267,{_errorChildren:1}),xm._37(603979776,268,{_hintChildren:1}),xm._37(603979776,269,{_prefixChildren:1}),xm._37(603979776,270,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(116,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,120)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,120)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,120)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedPersonDesignation(l.context.$implicit,e.value,3)&&u}return u},xv.b,xv.a)),xm._17(117,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(119,16384,null,0,Km.s,[Km.r],null,null),xm._17(120,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,271,{options:1}),xm._37(603979776,272,{optionGroups:1}),xm._37(335544320,273,{customTrigger:0}),xm._36(2048,[[264,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(127,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,128)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,128)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(128,8437760,[[271,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,$r)),xm._17(132,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Mr)),xm._17(138,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(140,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(141,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,281,{_control:0}),xm._37(335544320,282,{_placeholderChild:0}),xm._37(335544320,283,{_labelChild:0}),xm._37(603979776,284,{_errorChildren:1}),xm._37(603979776,285,{_hintChildren:1}),xm._37(603979776,286,{_prefixChildren:1}),xm._37(603979776,287,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(150,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,151)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,152).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,152).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,152).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,159)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,159)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,159)._onInput()&&u}return u},null,null)),xm._17(151,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(152,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(153,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(156,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(158,16384,null,0,Km.s,[Km.r],null,null),xm._17(159,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[281,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(162,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(163,16384,[[284,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid Mobile Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(167,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(168,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,288,{_control:0}),xm._37(335544320,289,{_placeholderChild:0}),xm._37(335544320,290,{_labelChild:0}),xm._37(603979776,291,{_errorChildren:1}),xm._37(603979776,292,{_hintChildren:1}),xm._37(603979776,293,{_prefixChildren:1}),xm._37(603979776,294,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(177,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,178)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,178).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,178)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,178)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,179).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,179).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,179).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,184)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,184)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,184)._onInput()&&u}return u},null,null)),xm._17(178,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(179,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(181,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(183,16384,null,0,Km.s,[Km.r],null,null),xm._17(184,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[288,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(187,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(188,16384,[[291,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid STD Code Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(193,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(194,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,295,{_control:0}),xm._37(335544320,296,{_placeholderChild:0}),xm._37(335544320,297,{_labelChild:0}),xm._37(603979776,298,{_errorChildren:1}),xm._37(603979776,299,{_hintChildren:1}),xm._37(603979776,300,{_prefixChildren:1}),xm._37(603979776,301,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(203,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Client Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,204)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,204).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,204)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,204)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,205).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,205).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,205).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,210)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,210)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,210)._onInput()&&u}return u},null,null)),xm._17(204,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(205,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(207,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(209,16384,null,0,Km.s,[Km.r],null,null),xm._17(210,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[295,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(213,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(214,16384,[[298,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid LandLine Number."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(218,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(219,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,302,{_control:0}),xm._37(335544320,303,{_placeholderChild:0}),xm._37(335544320,304,{_labelChild:0}),xm._37(603979776,305,{_errorChildren:1}),xm._37(603979776,306,{_hintChildren:1}),xm._37(603979776,307,{_prefixChildren:1}),xm._37(603979776,308,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(228,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,233)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,233)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,233)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.checkCard(e.value,3,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(230,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(232,16384,null,0,Km.s,[Km.r],null,null),xm._17(233,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,309,{options:1}),xm._37(603979776,310,{optionGroups:1}),xm._37(335544320,311,{customTrigger:0}),xm._36(2048,[[302,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Kr)),xm._17(240,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(244,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(245,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,312,{_control:0}),xm._37(335544320,313,{_placeholderChild:0}),xm._37(335544320,314,{_labelChild:0}),xm._37(603979776,315,{_errorChildren:1}),xm._37(603979776,316,{_hintChildren:1}),xm._37(603979776,317,{_prefixChildren:1}),xm._37(603979776,318,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(254,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,258)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,258)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,258)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(255,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(257,16384,null,0,Km.s,[Km.r],null,null),xm._17(258,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,319,{options:1}),xm._37(603979776,320,{optionGroups:1}),xm._37(335544320,321,{customTrigger:0}),xm._36(2048,[[312,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(265,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,266)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,266)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(266,8437760,[[319,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment received in\n Cash."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(269,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,270)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,270)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(270,8437760,[[319,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Payment\n received through Banking channels."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Hr)),xm._17(278,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(280,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(281,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,336,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(284,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(285,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Gr)),xm._17(288,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(291,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(292,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Yr)),xm._17(295,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,26,0,"service_provider_product_name");l(n,29,0,"Select the Service Provided");l(n,36,0,e.m_suplierProducts[0]);l(n,53,0,"service_provider_client_name");l(n,56,0,"Client Name");l(n,72,0,"person_title_name");l(n,75,0,"Title");l(n,82,0,e.titleList);l(n,99,0,"service_provider_product_contact_person_name");l(n,102,0,"Client Contact Person Name");l(n,117,0,"person_designation");l(n,120,0,"Contact Person Designation");l(n,132,0,e.companyRelationShipList);l(n,138,0,1==n.context.$implicit.get("person_designation").value);l(n,153,0,"10");l(n,156,0,"service_provider_product_contact_person_mobile_number");l(n,159,0,"Client Contact Person Mobile Number","number");l(n,181,0,"person_stdcode");l(n,184,0,"STD Code","number");l(n,207,0,"person_landline");l(n,210,0,"Client Contact Person Landline Number","number");l(n,230,0,"service_provider_product_payment_type");l(n,233,0,"Payment Terms");l(n,240,0,e.m_paymentType);l(n,255,0,"service_provider_product_payment_mode");l(n,258,0,"Payment Mode");l(n,266,0,"Payment received in Cash.");l(n,270,0,"Payment received through Banking channels.");l(n,278,0,3==n.context.$implicit.get("service_provider_product_payment_type").value);l(n,288,0,n.parent.context.$implicit.controls.service_products.controls.length>1);l(n,295,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[xm._32(n,15)._control.errorState,xm._32(n,15)._control.errorState,xm._32(n,15)._canLabelFloat,xm._32(n,15)._shouldLabelFloat(),xm._32(n,15)._hideControlPlaceholder(),xm._32(n,15)._control.disabled,xm._32(n,15)._control.focused,"primary"==xm._32(n,15).color,"accent"==xm._32(n,15).color,"warn"==xm._32(n,15).color,xm._32(n,15)._shouldForward("untouched"),xm._32(n,15)._shouldForward("touched"),xm._32(n,15)._shouldForward("pristine"),xm._32(n,15)._shouldForward("dirty"),xm._32(n,15)._shouldForward("valid"),xm._32(n,15)._shouldForward("invalid"),xm._32(n,15)._shouldForward("pending")]);l(n,24,1,[xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending,xm._32(n,29).id,xm._32(n,29).tabIndex,xm._32(n,29)._ariaLabel,xm._32(n,29).ariaLabelledby,xm._32(n,29).required.toString(),xm._32(n,29).disabled.toString(),xm._32(n,29).errorState,xm._32(n,29).panelOpen?xm._32(n,29)._optionIds:null,xm._32(n,29).multiple,xm._32(n,29)._ariaDescribedby||null,xm._32(n,29)._getAriaActiveDescendant(),xm._32(n,29).disabled,xm._32(n,29).errorState,xm._32(n,29).required]);l(n,40,1,[xm._32(n,41)._control.errorState,xm._32(n,41)._control.errorState,xm._32(n,41)._canLabelFloat,xm._32(n,41)._shouldLabelFloat(),xm._32(n,41)._hideControlPlaceholder(),xm._32(n,41)._control.disabled,xm._32(n,41)._control.focused,"primary"==xm._32(n,41).color,"accent"==xm._32(n,41).color,"warn"==xm._32(n,41).color,xm._32(n,41)._shouldForward("untouched"),xm._32(n,41)._shouldForward("touched"),xm._32(n,41)._shouldForward("pristine"),xm._32(n,41)._shouldForward("dirty"),xm._32(n,41)._shouldForward("valid"),xm._32(n,41)._shouldForward("invalid"),xm._32(n,41)._shouldForward("pending")]);l(n,50,1,[xm._32(n,55).ngClassUntouched,xm._32(n,55).ngClassTouched,xm._32(n,55).ngClassPristine,xm._32(n,55).ngClassDirty,xm._32(n,55).ngClassValid,xm._32(n,55).ngClassInvalid,xm._32(n,55).ngClassPending,xm._32(n,56)._isServer,xm._32(n,56).id,xm._32(n,56).placeholder,xm._32(n,56).disabled,xm._32(n,56).required,xm._32(n,56).readonly,xm._32(n,56)._ariaDescribedby||null,xm._32(n,56).errorState,xm._32(n,56).required.toString()]);l(n,60,1,[xm._32(n,61)._control.errorState,xm._32(n,61)._control.errorState,xm._32(n,61)._canLabelFloat,xm._32(n,61)._shouldLabelFloat(),xm._32(n,61)._hideControlPlaceholder(),xm._32(n,61)._control.disabled,xm._32(n,61)._control.focused,"primary"==xm._32(n,61).color,"accent"==xm._32(n,61).color,"warn"==xm._32(n,61).color,xm._32(n,61)._shouldForward("untouched"),xm._32(n,61)._shouldForward("touched"),xm._32(n,61)._shouldForward("pristine"),xm._32(n,61)._shouldForward("dirty"),xm._32(n,61)._shouldForward("valid"),xm._32(n,61)._shouldForward("invalid"),xm._32(n,61)._shouldForward("pending")]);l(n,70,1,[xm._32(n,74).ngClassUntouched,xm._32(n,74).ngClassTouched,xm._32(n,74).ngClassPristine,xm._32(n,74).ngClassDirty,xm._32(n,74).ngClassValid,xm._32(n,74).ngClassInvalid,xm._32(n,74).ngClassPending,xm._32(n,75).id,xm._32(n,75).tabIndex,xm._32(n,75)._ariaLabel,xm._32(n,75).ariaLabelledby,xm._32(n,75).required.toString(),xm._32(n,75).disabled.toString(),xm._32(n,75).errorState,xm._32(n,75).panelOpen?xm._32(n,75)._optionIds:null,xm._32(n,75).multiple,xm._32(n,75)._ariaDescribedby||null,xm._32(n,75)._getAriaActiveDescendant(),xm._32(n,75).disabled,xm._32(n,75).errorState,xm._32(n,75).required]);l(n,86,1,[xm._32(n,87)._control.errorState,xm._32(n,87)._control.errorState,xm._32(n,87)._canLabelFloat,xm._32(n,87)._shouldLabelFloat(),xm._32(n,87)._hideControlPlaceholder(),xm._32(n,87)._control.disabled,xm._32(n,87)._control.focused,"primary"==xm._32(n,87).color,"accent"==xm._32(n,87).color,"warn"==xm._32(n,87).color,xm._32(n,87)._shouldForward("untouched"),xm._32(n,87)._shouldForward("touched"),xm._32(n,87)._shouldForward("pristine"),xm._32(n,87)._shouldForward("dirty"),xm._32(n,87)._shouldForward("valid"),xm._32(n,87)._shouldForward("invalid"),xm._32(n,87)._shouldForward("pending")]);l(n,96,1,[xm._32(n,101).ngClassUntouched,xm._32(n,101).ngClassTouched,xm._32(n,101).ngClassPristine,xm._32(n,101).ngClassDirty,xm._32(n,101).ngClassValid,xm._32(n,101).ngClassInvalid,xm._32(n,101).ngClassPending,xm._32(n,102)._isServer,xm._32(n,102).id,xm._32(n,102).placeholder,xm._32(n,102).disabled,xm._32(n,102).required,xm._32(n,102).readonly,xm._32(n,102)._ariaDescribedby||null,xm._32(n,102).errorState,xm._32(n,102).required.toString()]);l(n,106,1,[xm._32(n,107)._control.errorState,xm._32(n,107)._control.errorState,xm._32(n,107)._canLabelFloat,xm._32(n,107)._shouldLabelFloat(),xm._32(n,107)._hideControlPlaceholder(),xm._32(n,107)._control.disabled,xm._32(n,107)._control.focused,"primary"==xm._32(n,107).color,"accent"==xm._32(n,107).color,"warn"==xm._32(n,107).color,xm._32(n,107)._shouldForward("untouched"),xm._32(n,107)._shouldForward("touched"),xm._32(n,107)._shouldForward("pristine"),xm._32(n,107)._shouldForward("dirty"),xm._32(n,107)._shouldForward("valid"),xm._32(n,107)._shouldForward("invalid"),xm._32(n,107)._shouldForward("pending")]);l(n,116,1,[xm._32(n,119).ngClassUntouched,xm._32(n,119).ngClassTouched,xm._32(n,119).ngClassPristine,xm._32(n,119).ngClassDirty,xm._32(n,119).ngClassValid,xm._32(n,119).ngClassInvalid,xm._32(n,119).ngClassPending,xm._32(n,120).id,xm._32(n,120).tabIndex,xm._32(n,120)._ariaLabel,xm._32(n,120).ariaLabelledby,xm._32(n,120).required.toString(),xm._32(n,120).disabled.toString(),xm._32(n,120).errorState,xm._32(n,120).panelOpen?xm._32(n,120)._optionIds:null,xm._32(n,120).multiple,xm._32(n,120)._ariaDescribedby||null,xm._32(n,120)._getAriaActiveDescendant(),xm._32(n,120).disabled,xm._32(n,120).errorState,xm._32(n,120).required]);l(n,127,0,xm._32(n,128)._getTabIndex(),xm._32(n,128).selected,xm._32(n,128).multiple,xm._32(n,128).active,xm._32(n,128).id,xm._32(n,128).selected.toString(),xm._32(n,128).disabled.toString(),xm._32(n,128).disabled);l(n,140,1,[xm._32(n,141)._control.errorState,xm._32(n,141)._control.errorState,xm._32(n,141)._canLabelFloat,xm._32(n,141)._shouldLabelFloat(),xm._32(n,141)._hideControlPlaceholder(),xm._32(n,141)._control.disabled,xm._32(n,141)._control.focused,"primary"==xm._32(n,141).color,"accent"==xm._32(n,141).color,"warn"==xm._32(n,141).color,xm._32(n,141)._shouldForward("untouched"),xm._32(n,141)._shouldForward("touched"),xm._32(n,141)._shouldForward("pristine"),xm._32(n,141)._shouldForward("dirty"),xm._32(n,141)._shouldForward("valid"),xm._32(n,141)._shouldForward("invalid"),xm._32(n,141)._shouldForward("pending")]);l(n,150,1,[xm._32(n,153).maxlength?xm._32(n,153).maxlength:null,xm._32(n,158).ngClassUntouched,xm._32(n,158).ngClassTouched,xm._32(n,158).ngClassPristine,xm._32(n,158).ngClassDirty,xm._32(n,158).ngClassValid,xm._32(n,158).ngClassInvalid,xm._32(n,158).ngClassPending,xm._32(n,159)._isServer,xm._32(n,159).id,xm._32(n,159).placeholder,xm._32(n,159).disabled,xm._32(n,159).required,xm._32(n,159).readonly,xm._32(n,159)._ariaDescribedby||null,xm._32(n,159).errorState,xm._32(n,159).required.toString()]);l(n,162,0,xm._32(n,163).id);l(n,167,1,[xm._32(n,168)._control.errorState,xm._32(n,168)._control.errorState,xm._32(n,168)._canLabelFloat,xm._32(n,168)._shouldLabelFloat(),xm._32(n,168)._hideControlPlaceholder(),xm._32(n,168)._control.disabled,xm._32(n,168)._control.focused,"primary"==xm._32(n,168).color,"accent"==xm._32(n,168).color,"warn"==xm._32(n,168).color,xm._32(n,168)._shouldForward("untouched"),xm._32(n,168)._shouldForward("touched"),xm._32(n,168)._shouldForward("pristine"),xm._32(n,168)._shouldForward("dirty"),xm._32(n,168)._shouldForward("valid"),xm._32(n,168)._shouldForward("invalid"),xm._32(n,168)._shouldForward("pending")]);l(n,177,1,[xm._32(n,183).ngClassUntouched,xm._32(n,183).ngClassTouched,xm._32(n,183).ngClassPristine,xm._32(n,183).ngClassDirty,xm._32(n,183).ngClassValid,xm._32(n,183).ngClassInvalid,xm._32(n,183).ngClassPending,xm._32(n,184)._isServer,xm._32(n,184).id,xm._32(n,184).placeholder,xm._32(n,184).disabled,xm._32(n,184).required,xm._32(n,184).readonly,xm._32(n,184)._ariaDescribedby||null,xm._32(n,184).errorState,xm._32(n,184).required.toString()]);l(n,187,0,xm._32(n,188).id);l(n,193,1,[xm._32(n,194)._control.errorState,xm._32(n,194)._control.errorState,xm._32(n,194)._canLabelFloat,xm._32(n,194)._shouldLabelFloat(),xm._32(n,194)._hideControlPlaceholder(),xm._32(n,194)._control.disabled,xm._32(n,194)._control.focused,"primary"==xm._32(n,194).color,"accent"==xm._32(n,194).color,"warn"==xm._32(n,194).color,xm._32(n,194)._shouldForward("untouched"),xm._32(n,194)._shouldForward("touched"),xm._32(n,194)._shouldForward("pristine"),xm._32(n,194)._shouldForward("dirty"),xm._32(n,194)._shouldForward("valid"),xm._32(n,194)._shouldForward("invalid"),xm._32(n,194)._shouldForward("pending")]);l(n,203,1,[xm._32(n,209).ngClassUntouched,xm._32(n,209).ngClassTouched,xm._32(n,209).ngClassPristine,xm._32(n,209).ngClassDirty,xm._32(n,209).ngClassValid,xm._32(n,209).ngClassInvalid,xm._32(n,209).ngClassPending,xm._32(n,210)._isServer,xm._32(n,210).id,xm._32(n,210).placeholder,xm._32(n,210).disabled,xm._32(n,210).required,xm._32(n,210).readonly,xm._32(n,210)._ariaDescribedby||null,xm._32(n,210).errorState,xm._32(n,210).required.toString()]);l(n,213,0,xm._32(n,214).id);l(n,218,1,[xm._32(n,219)._control.errorState,xm._32(n,219)._control.errorState,xm._32(n,219)._canLabelFloat,xm._32(n,219)._shouldLabelFloat(),xm._32(n,219)._hideControlPlaceholder(),xm._32(n,219)._control.disabled,xm._32(n,219)._control.focused,"primary"==xm._32(n,219).color,"accent"==xm._32(n,219).color,"warn"==xm._32(n,219).color,xm._32(n,219)._shouldForward("untouched"),xm._32(n,219)._shouldForward("touched"),xm._32(n,219)._shouldForward("pristine"),xm._32(n,219)._shouldForward("dirty"),xm._32(n,219)._shouldForward("valid"),xm._32(n,219)._shouldForward("invalid"),xm._32(n,219)._shouldForward("pending")]);l(n,228,1,[xm._32(n,232).ngClassUntouched,xm._32(n,232).ngClassTouched,xm._32(n,232).ngClassPristine,xm._32(n,232).ngClassDirty,xm._32(n,232).ngClassValid,xm._32(n,232).ngClassInvalid,xm._32(n,232).ngClassPending,xm._32(n,233).id,xm._32(n,233).tabIndex,xm._32(n,233)._ariaLabel,xm._32(n,233).ariaLabelledby,xm._32(n,233).required.toString(),xm._32(n,233).disabled.toString(),xm._32(n,233).errorState,xm._32(n,233).panelOpen?xm._32(n,233)._optionIds:null,xm._32(n,233).multiple,xm._32(n,233)._ariaDescribedby||null,xm._32(n,233)._getAriaActiveDescendant(),xm._32(n,233).disabled,xm._32(n,233).errorState,xm._32(n,233).required]);l(n,244,1,[xm._32(n,245)._control.errorState,xm._32(n,245)._control.errorState,xm._32(n,245)._canLabelFloat,xm._32(n,245)._shouldLabelFloat(),xm._32(n,245)._hideControlPlaceholder(),xm._32(n,245)._control.disabled,xm._32(n,245)._control.focused,"primary"==xm._32(n,245).color,"accent"==xm._32(n,245).color,"warn"==xm._32(n,245).color,xm._32(n,245)._shouldForward("untouched"),xm._32(n,245)._shouldForward("touched"),xm._32(n,245)._shouldForward("pristine"),xm._32(n,245)._shouldForward("dirty"),xm._32(n,245)._shouldForward("valid"),xm._32(n,245)._shouldForward("invalid"),xm._32(n,245)._shouldForward("pending")]);l(n,254,1,[xm._32(n,257).ngClassUntouched,xm._32(n,257).ngClassTouched,xm._32(n,257).ngClassPristine,xm._32(n,257).ngClassDirty,xm._32(n,257).ngClassValid,xm._32(n,257).ngClassInvalid,xm._32(n,257).ngClassPending,xm._32(n,258).id,xm._32(n,258).tabIndex,xm._32(n,258)._ariaLabel,xm._32(n,258).ariaLabelledby,xm._32(n,258).required.toString(),xm._32(n,258).disabled.toString(),xm._32(n,258).errorState,xm._32(n,258).panelOpen?xm._32(n,258)._optionIds:null,xm._32(n,258).multiple,xm._32(n,258)._ariaDescribedby||null,xm._32(n,258)._getAriaActiveDescendant(),xm._32(n,258).disabled,xm._32(n,258).errorState,xm._32(n,258).required]);l(n,265,0,xm._32(n,266)._getTabIndex(),xm._32(n,266).selected,xm._32(n,266).multiple,xm._32(n,266).active,xm._32(n,266).id,xm._32(n,266).selected.toString(),xm._32(n,266).disabled.toString(),xm._32(n,266).disabled);l(n,269,0,xm._32(n,270)._getTabIndex(),xm._32(n,270).selected,xm._32(n,270).multiple,xm._32(n,270).active,xm._32(n,270).id,xm._32(n,270).selected.toString(),xm._32(n,270).disabled.toString(),xm._32(n,270).disabled)})}function zr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,337,{_control:0}),xm._37(335544320,338,{_placeholderChild:0}),xm._37(335544320,339,{_labelChild:0}),xm._37(603979776,340,{_errorChildren:1}),xm._37(603979776,341,{_hintChildren:1}),xm._37(603979776,342,{_prefixChildren:1}),xm._37(603979776,343,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[337,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"service_products_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()])})}function Jr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,7,"div",[["formArrayName","service_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(8,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Qr)),xm._17(11,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,zr)),xm._17(15,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"service_products");l(n,11,0,n.context.$implicit.controls.service_products.controls);l(n,15,0,e.spCreditCardFlag)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,0,xm._32(n,8).ngClassUntouched,xm._32(n,8).ngClassTouched,xm._32(n,8).ngClassPristine,xm._32(n,8).ngClassDirty,xm._32(n,8).ngClassValid,xm._32(n,8).ngClassInvalid,xm._32(n,8).ngClassPending)})}function Xr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Service Provider Product Details"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(9,0,null,0,7,"div",[["formArrayName","service_provider_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(10,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(12,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Jr)),xm._17(15,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,10,0,"service_provider_details");l(n,15,0,e.clientInfoForm.controls.service_provider_details.controls)},function(l,n){l(n,9,0,xm._32(n,12).ngClassUntouched,xm._32(n,12).ngClassTouched,xm._32(n,12).ngClassPristine,xm._32(n,12).ngClassDirty,xm._32(n,12).ngClassValid,xm._32(n,12).ngClassInvalid,xm._32(n,12).ngClassPending)})}function Zr(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,57,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,54,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,4).onReset()&&u}return u},null,null)),xm._17(3,16384,null,0,Km.B,[],null,null),xm._17(4,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,47,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Pr)),xm._17(11,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Rr)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Xr)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(19,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(20,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(22,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(23,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,344,{_control:0}),xm._37(335544320,345,{_placeholderChild:0}),xm._37(335544320,346,{_labelChild:0}),xm._37(603979776,347,{_errorChildren:1}),xm._37(603979776,348,{_hintChildren:1}),xm._37(603979776,349,{_prefixChildren:1}),xm._37(603979776,350,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(32,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(33,16384,[[346,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(36,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","supplier_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,42)._onInput()&&u}return u},null,null)),xm._17(37,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(39,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(41,16384,null,0,Km.s,[Km.r],null,null),xm._17(42,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[344,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(48,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(49,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(51,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveClientInfo(a.clientInfoForm.value)&&u}return u},Db.b,Db.a)),xm._17(52,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.clientInfoForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.tradingForm);l(n,17,0,e.serviceProviderForm);l(n,39,0,"supplier_info_form_remark");l(n,42,0,"Remarks");l(n,52,0,"optblue","")},function(l,n){l(n,2,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending);l(n,22,1,[xm._32(n,23)._control.errorState,xm._32(n,23)._control.errorState,xm._32(n,23)._canLabelFloat,xm._32(n,23)._shouldLabelFloat(),xm._32(n,23)._hideControlPlaceholder(),xm._32(n,23)._control.disabled,xm._32(n,23)._control.focused,"primary"==xm._32(n,23).color,"accent"==xm._32(n,23).color,"warn"==xm._32(n,23).color,xm._32(n,23)._shouldForward("untouched"),xm._32(n,23)._shouldForward("touched"),xm._32(n,23)._shouldForward("pristine"),xm._32(n,23)._shouldForward("dirty"),xm._32(n,23)._shouldForward("valid"),xm._32(n,23)._shouldForward("invalid"),xm._32(n,23)._shouldForward("pending")]);l(n,36,1,[xm._32(n,41).ngClassUntouched,xm._32(n,41).ngClassTouched,xm._32(n,41).ngClassPristine,xm._32(n,41).ngClassDirty,xm._32(n,41).ngClassValid,xm._32(n,41).ngClassInvalid,xm._32(n,41).ngClassPending,xm._32(n,42)._isServer,xm._32(n,42).id,xm._32(n,42).placeholder,xm._32(n,42).disabled,xm._32(n,42).required,xm._32(n,42).readonly,xm._32(n,42)._ariaDescribedby||null,xm._32(n,42).errorState,xm._32(n,42).required.toString()])})}function l_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),xm._39(8,null,[" "," "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.component.errorMessage)})}function n_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,gr)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(21,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Zr)),xm._17(25,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,l_)),xm._17(28,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,e.noRecordsFound);l(n,28,0,!e.noRecordsFound)},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher)})}function e_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function u_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,29,{_control:0}),xm._37(335544320,30,{_placeholderChild:0}),xm._37(335544320,31,{_labelChild:0}),xm._37(603979776,32,{_errorChildren:1}),xm._37(603979776,33,{_hintChildren:1}),xm._37(603979776,34,{_prefixChildren:1}),xm._37(603979776,35,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nature_others"],["matInput",""],["placeholder","Nature property other"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[29,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"nature_others");l(n,16,0,"Nature property other")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function a_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,107,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,65,{_control:0}),xm._37(335544320,66,{_placeholderChild:0}),xm._37(335544320,67,{_labelChild:0}),xm._37(603979776,68,{_errorChildren:1}),xm._37(603979776,69,{_hintChildren:1}),xm._37(603979776,70,{_prefixChildren:1}),xm._37(603979776,71,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","date_agreement"],["matInput",""],["name","date_agreement"],["placeholder","Date of Agreement"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,18)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),xm._17(18,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[65,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(22,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(23,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,72,{_control:0}),xm._37(335544320,73,{_placeholderChild:0}),xm._37(335544320,74,{_labelChild:0}),xm._37(603979776,75,{_errorChildren:1}),xm._37(603979776,76,{_hintChildren:1}),xm._37(603979776,77,{_prefixChildren:1}),xm._37(603979776,78,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","date_validity"],["matInput",""],["name","date_validity"],["placeholder","Validity"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,33)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,33).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,33)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,33)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,38)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,38)._onInput()&&u}return u},null,null)),xm._17(33,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(35,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(37,16384,null,0,Km.s,[Km.r],null,null),xm._17(38,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[72,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(42,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(43,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,79,{_control:0}),xm._37(335544320,80,{_placeholderChild:0}),xm._37(335544320,81,{_labelChild:0}),xm._37(603979776,82,{_errorChildren:1}),xm._37(603979776,83,{_hintChildren:1}),xm._37(603979776,84,{_prefixChildren:1}),xm._37(603979776,85,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(52,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_agreement"],["matInput",""],["name","rent_agreement"],["placeholder","Rent as per Agreement"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,53)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,53)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,53)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,54).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,54).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,54).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,59)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,59)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,59)._onInput()&&u}return u},null,null)),xm._17(53,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(54,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(56,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(58,16384,null,0,Km.s,[Km.r],null,null),xm._17(59,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[79,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(63,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(64,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,86,{_control:0}),xm._37(335544320,87,{_placeholderChild:0}),xm._37(335544320,88,{_labelChild:0}),xm._37(603979776,89,{_errorChildren:1}),xm._37(603979776,90,{_hintChildren:1}),xm._37(603979776,91,{_prefixChildren:1}),xm._37(603979776,92,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(73,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","actual_rent"],["matInput",""],["name","actual_rent"],["placeholder","Actual Rent"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,74)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,74).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,74)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,74)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,75).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,75).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,75).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,80)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,80)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,80)._onInput()&&u}return u},null,null)),xm._17(74,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(75,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(77,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(79,16384,null,0,Km.s,[Km.r],null,null),xm._17(80,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[86,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(84,0,null,null,22,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(85,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(87,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Photo of agreement taken ?"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(90,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","photo_areegment"],["name","photo_areegment"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(91,1064960,null,1,Kb.b,[xm.i],{name:[0,"name"]},null),xm._37(603979776,93,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(94,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(96,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(98,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,99)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(99,4440064,[[93,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(102,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,103)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(103,4440064,[[93,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"date_agreement");l(n,18,0,"Date of Agreement","date");l(n,35,0,"date_validity");l(n,38,0,"Validity","text");l(n,56,0,"rent_agreement");l(n,59,0,"Rent as per Agreement","number");l(n,77,0,"actual_rent");l(n,80,0,"Actual Rent","number");l(n,91,0,"photo_areegment");l(n,94,0,"photo_areegment");l(n,99,0,"yes");l(n,103,0,"no")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending,xm._32(n,18)._isServer,xm._32(n,18).id,xm._32(n,18).placeholder,xm._32(n,18).disabled,xm._32(n,18).required,xm._32(n,18).readonly,xm._32(n,18)._ariaDescribedby||null,xm._32(n,18).errorState,xm._32(n,18).required.toString()]);l(n,22,1,[xm._32(n,23)._control.errorState,xm._32(n,23)._control.errorState,xm._32(n,23)._canLabelFloat,xm._32(n,23)._shouldLabelFloat(),xm._32(n,23)._hideControlPlaceholder(),xm._32(n,23)._control.disabled,xm._32(n,23)._control.focused,"primary"==xm._32(n,23).color,"accent"==xm._32(n,23).color,"warn"==xm._32(n,23).color,xm._32(n,23)._shouldForward("untouched"),xm._32(n,23)._shouldForward("touched"),xm._32(n,23)._shouldForward("pristine"),xm._32(n,23)._shouldForward("dirty"),xm._32(n,23)._shouldForward("valid"),xm._32(n,23)._shouldForward("invalid"),xm._32(n,23)._shouldForward("pending")]);l(n,32,1,[xm._32(n,37).ngClassUntouched,xm._32(n,37).ngClassTouched,xm._32(n,37).ngClassPristine,xm._32(n,37).ngClassDirty,xm._32(n,37).ngClassValid,xm._32(n,37).ngClassInvalid,xm._32(n,37).ngClassPending,xm._32(n,38)._isServer,xm._32(n,38).id,xm._32(n,38).placeholder,xm._32(n,38).disabled,xm._32(n,38).required,xm._32(n,38).readonly,xm._32(n,38)._ariaDescribedby||null,xm._32(n,38).errorState,xm._32(n,38).required.toString()]);l(n,42,1,[xm._32(n,43)._control.errorState,xm._32(n,43)._control.errorState,xm._32(n,43)._canLabelFloat,xm._32(n,43)._shouldLabelFloat(),xm._32(n,43)._hideControlPlaceholder(),xm._32(n,43)._control.disabled,xm._32(n,43)._control.focused,"primary"==xm._32(n,43).color,"accent"==xm._32(n,43).color,"warn"==xm._32(n,43).color,xm._32(n,43)._shouldForward("untouched"),xm._32(n,43)._shouldForward("touched"),xm._32(n,43)._shouldForward("pristine"),xm._32(n,43)._shouldForward("dirty"),xm._32(n,43)._shouldForward("valid"),xm._32(n,43)._shouldForward("invalid"),xm._32(n,43)._shouldForward("pending")]);l(n,52,1,[xm._32(n,58).ngClassUntouched,xm._32(n,58).ngClassTouched,xm._32(n,58).ngClassPristine,xm._32(n,58).ngClassDirty,xm._32(n,58).ngClassValid,xm._32(n,58).ngClassInvalid,xm._32(n,58).ngClassPending,xm._32(n,59)._isServer,xm._32(n,59).id,xm._32(n,59).placeholder,xm._32(n,59).disabled,xm._32(n,59).required,xm._32(n,59).readonly,xm._32(n,59)._ariaDescribedby||null,xm._32(n,59).errorState,xm._32(n,59).required.toString()]);l(n,63,1,[xm._32(n,64)._control.errorState,xm._32(n,64)._control.errorState,xm._32(n,64)._canLabelFloat,xm._32(n,64)._shouldLabelFloat(),xm._32(n,64)._hideControlPlaceholder(),xm._32(n,64)._control.disabled,xm._32(n,64)._control.focused,"primary"==xm._32(n,64).color,"accent"==xm._32(n,64).color,"warn"==xm._32(n,64).color,xm._32(n,64)._shouldForward("untouched"),xm._32(n,64)._shouldForward("touched"),xm._32(n,64)._shouldForward("pristine"),xm._32(n,64)._shouldForward("dirty"),xm._32(n,64)._shouldForward("valid"),xm._32(n,64)._shouldForward("invalid"),xm._32(n,64)._shouldForward("pending")]);l(n,73,1,[xm._32(n,79).ngClassUntouched,xm._32(n,79).ngClassTouched,xm._32(n,79).ngClassPristine,xm._32(n,79).ngClassDirty,xm._32(n,79).ngClassValid,xm._32(n,79).ngClassInvalid,xm._32(n,79).ngClassPending,xm._32(n,80)._isServer,xm._32(n,80).id,xm._32(n,80).placeholder,xm._32(n,80).disabled,xm._32(n,80).required,xm._32(n,80).readonly,xm._32(n,80)._ariaDescribedby||null,xm._32(n,80).errorState,xm._32(n,80).required.toString()]);l(n,90,0,xm._32(n,96).ngClassUntouched,xm._32(n,96).ngClassTouched,xm._32(n,96).ngClassPristine,xm._32(n,96).ngClassDirty,xm._32(n,96).ngClassValid,xm._32(n,96).ngClassInvalid,xm._32(n,96).ngClassPending);l(n,98,0,xm._32(n,99).checked,xm._32(n,99).disabled,xm._32(n,99).id);l(n,102,0,xm._32(n,103).checked,xm._32(n,103).disabled,xm._32(n,103).id)})}function t_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,139,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),xm._39(6,null,["Details of the tenants ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(9,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,136,{_control:0}),xm._37(335544320,137,{_placeholderChild:0}),xm._37(335544320,138,{_labelChild:0}),xm._37(603979776,139,{_errorChildren:1}),xm._37(603979776,140,{_hintChildren:1}),xm._37(603979776,141,{_prefixChildren:1}),xm._37(603979776,142,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["name","name"],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,24)._onInput()&&u}return u},null,null)),xm._17(19,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[136,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(28,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(29,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,143,{_control:0}),xm._37(335544320,144,{_placeholderChild:0}),xm._37(335544320,145,{_labelChild:0}),xm._37(603979776,146,{_errorChildren:1}),xm._37(603979776,147,{_hintChildren:1}),xm._37(603979776,148,{_prefixChildren:1}),xm._37(603979776,149,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(38,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mobile_no"],["matInput",""],["maxlength","10"],["name","mobile_no"],["placeholder","Mobile No"],["type","tel"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,39)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,46)._onInput()&&u}return u},null,null)),xm._17(39,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(40,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.n]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(43,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(45,16384,null,0,Km.s,[Km.r],null,null),xm._17(46,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[143,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(51,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,150,{_control:0}),xm._37(335544320,151,{_placeholderChild:0}),xm._37(335544320,152,{_labelChild:0}),xm._37(603979776,153,{_errorChildren:1}),xm._37(603979776,154,{_hintChildren:1}),xm._37(603979776,155,{_prefixChildren:1}),xm._37(603979776,156,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(60,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tenants_seen"],["matInput",""],["name","tenants_seen"],["placeholder","Tenant Seen"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,66)._onInput()&&u}return u},null,null)),xm._17(61,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(63,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(65,16384,null,0,Km.s,[Km.r],null,null),xm._17(66,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[150,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(71,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,157,{_control:0}),xm._37(335544320,158,{_placeholderChild:0}),xm._37(335544320,159,{_labelChild:0}),xm._37(603979776,160,{_errorChildren:1}),xm._37(603979776,161,{_hintChildren:1}),xm._37(603979776,162,{_prefixChildren:1}),xm._37(603979776,163,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(80,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tenants_con_owner"],["matInput",""],["name","tenants_con_owner"],["placeholder","Tenant confirmed owner"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,81)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,86)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,86)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,86)._onInput()&&u}return u},null,null)),xm._17(81,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(83,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(85,16384,null,0,Km.s,[Km.r],null,null),xm._17(86,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[157,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(90,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(91,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,164,{_control:0}),xm._37(335544320,165,{_placeholderChild:0}),xm._37(335544320,166,{_labelChild:0}),xm._37(603979776,167,{_errorChildren:1}),xm._37(603979776,168,{_hintChildren:1}),xm._37(603979776,169,{_prefixChildren:1}),xm._37(603979776,170,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(100,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_paid"],["matInput",""],["name","rent_paid"],["placeholder","Rent Paid"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,101)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,101).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,101)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,101)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,106)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,106)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,106)._onInput()&&u}return u},null,null)),xm._17(101,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(103,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(105,16384,null,0,Km.s,[Km.r],null,null),xm._17(106,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[164,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(110,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(111,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,171,{_control:0}),xm._37(335544320,172,{_placeholderChild:0}),xm._37(335544320,173,{_labelChild:0}),xm._37(603979776,174,{_errorChildren:1}),xm._37(603979776,175,{_hintChildren:1}),xm._37(603979776,176,{_prefixChildren:1}),xm._37(603979776,177,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(120,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","staying_since"],["matInput",""],["name","staying_since"],["placeholder","Staying since"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,121)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,121).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,121)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,121)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,126)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,126)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,126)._onInput()&&u}return u},null,null)),xm._17(121,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(123,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(125,16384,null,0,Km.s,[Km.r],null,null),xm._17(126,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[171,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(130,0,null,null,8,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),xm._17(131,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(133,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTenantsDetails(l.parent.context.index,l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(135,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-close"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(136,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,21,0,"name");l(n,24,0,"Name","text");l(n,40,0,"10");l(n,43,0,"mobile_no");l(n,46,0,"Mobile No","tel");l(n,63,0,"tenants_seen");l(n,66,0,"Tenant Seen","text");l(n,83,0,"tenants_con_owner");l(n,86,0,"Tenant confirmed owner","text");l(n,103,0,"rent_paid");l(n,106,0,"Rent Paid","text");l(n,123,0,"staying_since");l(n,126,0,"Staying since","text");l(n,136,0,"optblue","md-close")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[xm._32(n,9)._control.errorState,xm._32(n,9)._control.errorState,xm._32(n,9)._canLabelFloat,xm._32(n,9)._shouldLabelFloat(),xm._32(n,9)._hideControlPlaceholder(),xm._32(n,9)._control.disabled,xm._32(n,9)._control.focused,"primary"==xm._32(n,9).color,"accent"==xm._32(n,9).color,"warn"==xm._32(n,9).color,xm._32(n,9)._shouldForward("untouched"),xm._32(n,9)._shouldForward("touched"),xm._32(n,9)._shouldForward("pristine"),xm._32(n,9)._shouldForward("dirty"),xm._32(n,9)._shouldForward("valid"),xm._32(n,9)._shouldForward("invalid"),xm._32(n,9)._shouldForward("pending")]);l(n,18,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24)._isServer,xm._32(n,24).id,xm._32(n,24).placeholder,xm._32(n,24).disabled,xm._32(n,24).required,xm._32(n,24).readonly,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24).errorState,xm._32(n,24).required.toString()]);l(n,28,1,[xm._32(n,29)._control.errorState,xm._32(n,29)._control.errorState,xm._32(n,29)._canLabelFloat,xm._32(n,29)._shouldLabelFloat(),xm._32(n,29)._hideControlPlaceholder(),xm._32(n,29)._control.disabled,xm._32(n,29)._control.focused,"primary"==xm._32(n,29).color,"accent"==xm._32(n,29).color,"warn"==xm._32(n,29).color,xm._32(n,29)._shouldForward("untouched"),xm._32(n,29)._shouldForward("touched"),xm._32(n,29)._shouldForward("pristine"),xm._32(n,29)._shouldForward("dirty"),xm._32(n,29)._shouldForward("valid"),xm._32(n,29)._shouldForward("invalid"),xm._32(n,29)._shouldForward("pending")]);l(n,38,1,[xm._32(n,40).maxlength?xm._32(n,40).maxlength:null,xm._32(n,45).ngClassUntouched,xm._32(n,45).ngClassTouched,xm._32(n,45).ngClassPristine,xm._32(n,45).ngClassDirty,xm._32(n,45).ngClassValid,xm._32(n,45).ngClassInvalid,xm._32(n,45).ngClassPending,xm._32(n,46)._isServer,xm._32(n,46).id,xm._32(n,46).placeholder,xm._32(n,46).disabled,xm._32(n,46).required,xm._32(n,46).readonly,xm._32(n,46)._ariaDescribedby||null,xm._32(n,46).errorState,xm._32(n,46).required.toString()]);l(n,50,1,[xm._32(n,51)._control.errorState,xm._32(n,51)._control.errorState,xm._32(n,51)._canLabelFloat,xm._32(n,51)._shouldLabelFloat(),xm._32(n,51)._hideControlPlaceholder(),xm._32(n,51)._control.disabled,xm._32(n,51)._control.focused,"primary"==xm._32(n,51).color,"accent"==xm._32(n,51).color,"warn"==xm._32(n,51).color,xm._32(n,51)._shouldForward("untouched"),xm._32(n,51)._shouldForward("touched"),xm._32(n,51)._shouldForward("pristine"),xm._32(n,51)._shouldForward("dirty"),xm._32(n,51)._shouldForward("valid"),xm._32(n,51)._shouldForward("invalid"),xm._32(n,51)._shouldForward("pending")]);l(n,60,1,[xm._32(n,65).ngClassUntouched,xm._32(n,65).ngClassTouched,xm._32(n,65).ngClassPristine,xm._32(n,65).ngClassDirty,xm._32(n,65).ngClassValid,xm._32(n,65).ngClassInvalid,xm._32(n,65).ngClassPending,xm._32(n,66)._isServer,xm._32(n,66).id,xm._32(n,66).placeholder,xm._32(n,66).disabled,xm._32(n,66).required,xm._32(n,66).readonly,xm._32(n,66)._ariaDescribedby||null,xm._32(n,66).errorState,xm._32(n,66).required.toString()]);l(n,70,1,[xm._32(n,71)._control.errorState,xm._32(n,71)._control.errorState,xm._32(n,71)._canLabelFloat,xm._32(n,71)._shouldLabelFloat(),xm._32(n,71)._hideControlPlaceholder(),xm._32(n,71)._control.disabled,xm._32(n,71)._control.focused,"primary"==xm._32(n,71).color,"accent"==xm._32(n,71).color,"warn"==xm._32(n,71).color,xm._32(n,71)._shouldForward("untouched"),xm._32(n,71)._shouldForward("touched"),xm._32(n,71)._shouldForward("pristine"),xm._32(n,71)._shouldForward("dirty"),xm._32(n,71)._shouldForward("valid"),xm._32(n,71)._shouldForward("invalid"),xm._32(n,71)._shouldForward("pending")]);l(n,80,1,[xm._32(n,85).ngClassUntouched,xm._32(n,85).ngClassTouched,xm._32(n,85).ngClassPristine,xm._32(n,85).ngClassDirty,xm._32(n,85).ngClassValid,xm._32(n,85).ngClassInvalid,xm._32(n,85).ngClassPending,xm._32(n,86)._isServer,xm._32(n,86).id,xm._32(n,86).placeholder,xm._32(n,86).disabled,xm._32(n,86).required,xm._32(n,86).readonly,xm._32(n,86)._ariaDescribedby||null,xm._32(n,86).errorState,xm._32(n,86).required.toString()]);l(n,90,1,[xm._32(n,91)._control.errorState,xm._32(n,91)._control.errorState,xm._32(n,91)._canLabelFloat,xm._32(n,91)._shouldLabelFloat(),xm._32(n,91)._hideControlPlaceholder(),xm._32(n,91)._control.disabled,xm._32(n,91)._control.focused,"primary"==xm._32(n,91).color,"accent"==xm._32(n,91).color,"warn"==xm._32(n,91).color,xm._32(n,91)._shouldForward("untouched"),xm._32(n,91)._shouldForward("touched"),xm._32(n,91)._shouldForward("pristine"),xm._32(n,91)._shouldForward("dirty"),xm._32(n,91)._shouldForward("valid"),xm._32(n,91)._shouldForward("invalid"),xm._32(n,91)._shouldForward("pending")]);l(n,100,1,[xm._32(n,105).ngClassUntouched,xm._32(n,105).ngClassTouched,xm._32(n,105).ngClassPristine,xm._32(n,105).ngClassDirty,xm._32(n,105).ngClassValid,xm._32(n,105).ngClassInvalid,xm._32(n,105).ngClassPending,xm._32(n,106)._isServer,xm._32(n,106).id,xm._32(n,106).placeholder,xm._32(n,106).disabled,xm._32(n,106).required,xm._32(n,106).readonly,xm._32(n,106)._ariaDescribedby||null,xm._32(n,106).errorState,xm._32(n,106).required.toString()]);l(n,110,1,[xm._32(n,111)._control.errorState,xm._32(n,111)._control.errorState,xm._32(n,111)._canLabelFloat,xm._32(n,111)._shouldLabelFloat(),xm._32(n,111)._hideControlPlaceholder(),xm._32(n,111)._control.disabled,xm._32(n,111)._control.focused,"primary"==xm._32(n,111).color,"accent"==xm._32(n,111).color,"warn"==xm._32(n,111).color,xm._32(n,111)._shouldForward("untouched"),xm._32(n,111)._shouldForward("touched"),xm._32(n,111)._shouldForward("pristine"),xm._32(n,111)._shouldForward("dirty"),xm._32(n,111)._shouldForward("valid"),xm._32(n,111)._shouldForward("invalid"),xm._32(n,111)._shouldForward("pending")]);l(n,120,1,[xm._32(n,125).ngClassUntouched,xm._32(n,125).ngClassTouched,xm._32(n,125).ngClassPristine,xm._32(n,125).ngClassDirty,xm._32(n,125).ngClassValid,xm._32(n,125).ngClassInvalid,xm._32(n,125).ngClassPending,xm._32(n,126)._isServer,xm._32(n,126).id,xm._32(n,126).placeholder,xm._32(n,126).disabled,xm._32(n,126).required,xm._32(n,126).readonly,xm._32(n,126)._ariaDescribedby||null,xm._32(n,126).errorState,xm._32(n,126).required.toString()]);l(n,135,0,xm._32(n,136)._hidden)})}function i_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTenantsDetails(l.parent.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function o_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addrentalHome()&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add More"]))],function(l,n){l(n,1,0,"primary")},null)}function r_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,287,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,235,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(9,49152,null,0,eb.e,[],null,null),(l()(),xm._39(10,2,["Rentel Home Details ",""])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(13,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","complete_add"],["matInput",""],["name","complete_add"],["placeholder","Complete address of the property"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,28)._onInput()&&u}return u},null,null)),xm._17(23,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(25,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(27,16384,null,0,Km.s,[Km.r],null,null),xm._17(28,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[36,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(32,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(33,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(42,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","area_of_property"],["matInput",""],["name","area_of_property"],["placeholder","Area of the Property\n (in sq yd or Sq ft)"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,43)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,48)._onInput()&&u}return u},null,null)),xm._17(43,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(45,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(47,16384,null,0,Km.s,[Km.r],null,null),xm._17(48,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[43,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(52,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(53,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,50,{_control:0}),xm._37(335544320,51,{_placeholderChild:0}),xm._37(335544320,52,{_labelChild:0}),xm._37(603979776,53,{_errorChildren:1}),xm._37(603979776,54,{_hintChildren:1}),xm._37(603979776,55,{_prefixChildren:1}),xm._37(603979776,56,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","structure_property"],["matInput",""],["name","structure_property"],["placeholder","Structure of the let out property"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,63)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,68)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,68)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,68)._onInput()&&u}return u},null,null)),xm._17(63,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(65,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(67,16384,null,0,Km.s,[Km.r],null,null),xm._17(68,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[50,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(72,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(73,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,57,{_control:0}),xm._37(335544320,58,{_placeholderChild:0}),xm._37(335544320,59,{_labelChild:0}),xm._37(603979776,60,{_errorChildren:1}),xm._37(603979776,61,{_hintChildren:1}),xm._37(603979776,62,{_prefixChildren:1}),xm._37(603979776,63,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(82,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_room"],["matInput",""],["name","total_room"],["placeholder","Total rooms let out"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,83)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,83).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,83)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,83)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,88)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,88)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,88)._onInput()&&u}return u},null,null)),xm._17(83,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(85,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(87,16384,null,0,Km.s,[Km.r],null,null),xm._17(88,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[57,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n\n\n \n \n "])),(l()(),xm._18(92,0,null,0,22,"mat-list",[["class","mat-list"]],null,null,null,Bb.d,Bb.a)),xm._17(93,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(95,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Is Rent agreement available"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(98,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","is_rent"],["name","is_rent"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(99,1064960,null,1,Kb.b,[xm.i],{name:[0,"name"]},null),xm._37(603979776,64,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(102,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(104,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(106,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,107)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(107,4440064,[[64,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(110,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,111)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(111,4440064,[[64,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._13(16777216,null,0,1,null,a_)),xm._17(117,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(119,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(120,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,94,{_control:0}),xm._37(335544320,95,{_placeholderChild:0}),xm._37(335544320,96,{_labelChild:0}),xm._37(603979776,97,{_errorChildren:1}),xm._37(603979776,98,{_hintChildren:1}),xm._37(603979776,99,{_prefixChildren:1}),xm._37(603979776,100,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(129,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bank"],["matInput",""],["name","bank"],["placeholder","Bank"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,130)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,130).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,130)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,130)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,131).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,131).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,131).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,136)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,136)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,136)._onInput()&&u}return u},null,null)),xm._17(130,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(131,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(133,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(135,16384,null,0,Km.s,[Km.r],null,null),xm._17(136,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[94,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(140,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(141,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,101,{_control:0}),xm._37(335544320,102,{_placeholderChild:0}),xm._37(335544320,103,{_labelChild:0}),xm._37(603979776,104,{_errorChildren:1}),xm._37(603979776,105,{_hintChildren:1}),xm._37(603979776,106,{_prefixChildren:1}),xm._37(603979776,107,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(150,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","cash"],["matInput",""],["name","cash"],["placeholder","Cash"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,151)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,152).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,152).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,152).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,157)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,157)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,157)._onInput()&&u}return u},null,null)),xm._17(151,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(152,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(154,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(156,16384,null,0,Km.s,[Km.r],null,null),xm._17(157,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[101,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(161,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(162,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,108,{_control:0}),xm._37(335544320,109,{_placeholderChild:0}),xm._37(335544320,110,{_labelChild:0}),xm._37(603979776,111,{_errorChildren:1}),xm._37(603979776,112,{_hintChildren:1}),xm._37(603979776,113,{_prefixChildren:1}),xm._37(603979776,114,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(171,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_each_floor"],["matInput",""],["name","rent_each_floor"],["placeholder","Rent received from each floor and or Rooms"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,172)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,172).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,172)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,172)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,177)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,177)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,177)._onInput()&&u}return u},null,null)),xm._17(172,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(174,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(176,16384,null,0,Km.s,[Km.r],null,null),xm._17(177,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[108,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(181,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(182,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,115,{_control:0}),xm._37(335544320,116,{_placeholderChild:0}),xm._37(335544320,117,{_labelChild:0}),xm._37(603979776,118,{_errorChildren:1}),xm._37(603979776,119,{_hintChildren:1}),xm._37(603979776,120,{_prefixChildren:1}),xm._37(603979776,121,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(191,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_rent"],["matInput",""],["name","total_rent"],["placeholder","Total rent received"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,192)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,192).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,192)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,192)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,197)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,197)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,197)._onInput()&&u}return u},null,null)),xm._17(192,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(194,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(196,16384,null,0,Km.s,[Km.r],null,null),xm._17(197,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[115,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(201,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(202,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,122,{_control:0}),xm._37(335544320,123,{_placeholderChild:0}),xm._37(335544320,124,{_labelChild:0}),xm._37(603979776,125,{_errorChildren:1}),xm._37(603979776,126,{_hintChildren:1}),xm._37(603979776,127,{_prefixChildren:1}),xm._37(603979776,128,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(211,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","related_doc_owner"],["matInput",""],["name","related_doc_owner"],["placeholder","Property Paper or other related document to prove ownership"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,212)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,212).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,212)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,212)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,217)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,217)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,217)._onInput()&&u}return u},null,null)),xm._17(212,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(214,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(216,16384,null,0,Km.s,[Km.r],null,null),xm._17(217,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[122,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(221,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(222,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,129,{_control:0}),xm._37(335544320,130,{_placeholderChild:0}),xm._37(335544320,131,{_labelChild:0}),xm._37(603979776,132,{_errorChildren:1}),xm._37(603979776,133,{_hintChildren:1}),xm._37(603979776,134,{_prefixChildren:1}),xm._37(603979776,135,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(231,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","third_party_check"],["matInput",""],["name","third_party_check"],["placeholder","Third party check of prevailing rent in the neighbour hood"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,232)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,232).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,232)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,232)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,237)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,237)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,237)._onInput()&&u}return u},null,null)),xm._17(232,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(234,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(236,16384,null,0,Km.s,[Km.r],null,null),xm._17(237,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[129,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(242,0,null,null,23,"div",[["formArrayName","details_tenants"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(243,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(245,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(247,0,null,null,17,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(248,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n\n \n "])),(l()(),xm._13(16777216,null,0,1,null,t_)),xm._17(251,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(253,0,null,0,10,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(254,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,178,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(257,0,null,null,5,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),xm._17(258,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,i_)),xm._17(261,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(267,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(268,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(270,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(271,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,o_)),xm._17(275,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(278,0,null,null,7,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(279,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(282,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleterentalHome(l.context.index)&&u}return u},Db.b,Db.a)),xm._17(283,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Remove"])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,[" \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"complete_add");l(n,28,0,"Complete address of the property","text");l(n,45,0,"area_of_property");l(n,48,0,"Area of the Property\n (in sq yd or Sq ft)","text");l(n,65,0,"structure_property");l(n,68,0,"Structure of the let out property","text");l(n,85,0,"total_room");l(n,88,0,"Total rooms let out","text");l(n,99,0,"is_rent");l(n,102,0,"is_rent");l(n,107,0,"yes");l(n,111,0,"no");l(n,117,0,"yes"==n.context.$implicit.get("is_rent").value);l(n,133,0,"bank");l(n,136,0,"Bank","number");l(n,154,0,"cash");l(n,157,0,"Cash","number");l(n,174,0,"rent_each_floor");l(n,177,0,"Rent received from each floor and or Rooms","text");l(n,194,0,"total_rent");l(n,197,0,"Total rent received","text");l(n,214,0,"related_doc_owner");l(n,217,0,"Property Paper or other related document to prove ownership","text");l(n,234,0,"third_party_check");l(n,237,0,"Third party check of prevailing rent in the neighbour hood","text");l(n,243,0,"details_tenants");l(n,251,0,n.context.$implicit.controls.details_tenants.controls);l(n,261,0,n.context.last);l(n,275,0,n.context.last);l(n,283,0,"primary")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,10,0,n.context.index+1);l(n,12,1,[xm._32(n,13)._control.errorState,xm._32(n,13)._control.errorState,xm._32(n,13)._canLabelFloat,xm._32(n,13)._shouldLabelFloat(),xm._32(n,13)._hideControlPlaceholder(),xm._32(n,13)._control.disabled,xm._32(n,13)._control.focused,"primary"==xm._32(n,13).color,"accent"==xm._32(n,13).color,"warn"==xm._32(n,13).color,xm._32(n,13)._shouldForward("untouched"),xm._32(n,13)._shouldForward("touched"),xm._32(n,13)._shouldForward("pristine"),xm._32(n,13)._shouldForward("dirty"),xm._32(n,13)._shouldForward("valid"),xm._32(n,13)._shouldForward("invalid"),xm._32(n,13)._shouldForward("pending")]);l(n,22,1,[xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending,xm._32(n,28)._isServer,xm._32(n,28).id,xm._32(n,28).placeholder,xm._32(n,28).disabled,xm._32(n,28).required,xm._32(n,28).readonly,xm._32(n,28)._ariaDescribedby||null,xm._32(n,28).errorState,xm._32(n,28).required.toString()]);l(n,32,1,[xm._32(n,33)._control.errorState,xm._32(n,33)._control.errorState,xm._32(n,33)._canLabelFloat,xm._32(n,33)._shouldLabelFloat(),xm._32(n,33)._hideControlPlaceholder(),xm._32(n,33)._control.disabled,xm._32(n,33)._control.focused,"primary"==xm._32(n,33).color,"accent"==xm._32(n,33).color,"warn"==xm._32(n,33).color,xm._32(n,33)._shouldForward("untouched"),xm._32(n,33)._shouldForward("touched"),xm._32(n,33)._shouldForward("pristine"),xm._32(n,33)._shouldForward("dirty"),xm._32(n,33)._shouldForward("valid"),xm._32(n,33)._shouldForward("invalid"),xm._32(n,33)._shouldForward("pending")]);l(n,42,1,[xm._32(n,47).ngClassUntouched,xm._32(n,47).ngClassTouched,xm._32(n,47).ngClassPristine,xm._32(n,47).ngClassDirty,xm._32(n,47).ngClassValid,xm._32(n,47).ngClassInvalid,xm._32(n,47).ngClassPending,xm._32(n,48)._isServer,xm._32(n,48).id,xm._32(n,48).placeholder,xm._32(n,48).disabled,xm._32(n,48).required,xm._32(n,48).readonly,xm._32(n,48)._ariaDescribedby||null,xm._32(n,48).errorState,xm._32(n,48).required.toString()]);l(n,52,1,[xm._32(n,53)._control.errorState,xm._32(n,53)._control.errorState,xm._32(n,53)._canLabelFloat,xm._32(n,53)._shouldLabelFloat(),xm._32(n,53)._hideControlPlaceholder(),xm._32(n,53)._control.disabled,xm._32(n,53)._control.focused,"primary"==xm._32(n,53).color,"accent"==xm._32(n,53).color,"warn"==xm._32(n,53).color,xm._32(n,53)._shouldForward("untouched"),xm._32(n,53)._shouldForward("touched"),xm._32(n,53)._shouldForward("pristine"),xm._32(n,53)._shouldForward("dirty"),xm._32(n,53)._shouldForward("valid"),xm._32(n,53)._shouldForward("invalid"),xm._32(n,53)._shouldForward("pending")]);l(n,62,1,[xm._32(n,67).ngClassUntouched,xm._32(n,67).ngClassTouched,xm._32(n,67).ngClassPristine,xm._32(n,67).ngClassDirty,xm._32(n,67).ngClassValid,xm._32(n,67).ngClassInvalid,xm._32(n,67).ngClassPending,xm._32(n,68)._isServer,xm._32(n,68).id,xm._32(n,68).placeholder,xm._32(n,68).disabled,xm._32(n,68).required,xm._32(n,68).readonly,xm._32(n,68)._ariaDescribedby||null,xm._32(n,68).errorState,xm._32(n,68).required.toString()]);l(n,72,1,[xm._32(n,73)._control.errorState,xm._32(n,73)._control.errorState,xm._32(n,73)._canLabelFloat,xm._32(n,73)._shouldLabelFloat(),xm._32(n,73)._hideControlPlaceholder(),xm._32(n,73)._control.disabled,xm._32(n,73)._control.focused,"primary"==xm._32(n,73).color,"accent"==xm._32(n,73).color,"warn"==xm._32(n,73).color,xm._32(n,73)._shouldForward("untouched"),xm._32(n,73)._shouldForward("touched"),xm._32(n,73)._shouldForward("pristine"),xm._32(n,73)._shouldForward("dirty"),xm._32(n,73)._shouldForward("valid"),xm._32(n,73)._shouldForward("invalid"),xm._32(n,73)._shouldForward("pending")]);l(n,82,1,[xm._32(n,87).ngClassUntouched,xm._32(n,87).ngClassTouched,xm._32(n,87).ngClassPristine,xm._32(n,87).ngClassDirty,xm._32(n,87).ngClassValid,xm._32(n,87).ngClassInvalid,xm._32(n,87).ngClassPending,xm._32(n,88)._isServer,xm._32(n,88).id,xm._32(n,88).placeholder,xm._32(n,88).disabled,xm._32(n,88).required,xm._32(n,88).readonly,xm._32(n,88)._ariaDescribedby||null,xm._32(n,88).errorState,xm._32(n,88).required.toString()]);l(n,98,0,xm._32(n,104).ngClassUntouched,xm._32(n,104).ngClassTouched,xm._32(n,104).ngClassPristine,xm._32(n,104).ngClassDirty,xm._32(n,104).ngClassValid,xm._32(n,104).ngClassInvalid,xm._32(n,104).ngClassPending);l(n,106,0,xm._32(n,107).checked,xm._32(n,107).disabled,xm._32(n,107).id);l(n,110,0,xm._32(n,111).checked,xm._32(n,111).disabled,xm._32(n,111).id);l(n,119,1,[xm._32(n,120)._control.errorState,xm._32(n,120)._control.errorState,xm._32(n,120)._canLabelFloat,xm._32(n,120)._shouldLabelFloat(),xm._32(n,120)._hideControlPlaceholder(),xm._32(n,120)._control.disabled,xm._32(n,120)._control.focused,"primary"==xm._32(n,120).color,"accent"==xm._32(n,120).color,"warn"==xm._32(n,120).color,xm._32(n,120)._shouldForward("untouched"),xm._32(n,120)._shouldForward("touched"),xm._32(n,120)._shouldForward("pristine"),xm._32(n,120)._shouldForward("dirty"),xm._32(n,120)._shouldForward("valid"),xm._32(n,120)._shouldForward("invalid"),xm._32(n,120)._shouldForward("pending")]);l(n,129,1,[xm._32(n,135).ngClassUntouched,xm._32(n,135).ngClassTouched,xm._32(n,135).ngClassPristine,xm._32(n,135).ngClassDirty,xm._32(n,135).ngClassValid,xm._32(n,135).ngClassInvalid,xm._32(n,135).ngClassPending,xm._32(n,136)._isServer,xm._32(n,136).id,xm._32(n,136).placeholder,xm._32(n,136).disabled,xm._32(n,136).required,xm._32(n,136).readonly,xm._32(n,136)._ariaDescribedby||null,xm._32(n,136).errorState,xm._32(n,136).required.toString()]);l(n,140,1,[xm._32(n,141)._control.errorState,xm._32(n,141)._control.errorState,xm._32(n,141)._canLabelFloat,xm._32(n,141)._shouldLabelFloat(),xm._32(n,141)._hideControlPlaceholder(),xm._32(n,141)._control.disabled,xm._32(n,141)._control.focused,"primary"==xm._32(n,141).color,"accent"==xm._32(n,141).color,"warn"==xm._32(n,141).color,xm._32(n,141)._shouldForward("untouched"),xm._32(n,141)._shouldForward("touched"),xm._32(n,141)._shouldForward("pristine"),xm._32(n,141)._shouldForward("dirty"),xm._32(n,141)._shouldForward("valid"),xm._32(n,141)._shouldForward("invalid"),xm._32(n,141)._shouldForward("pending")]);l(n,150,1,[xm._32(n,156).ngClassUntouched,xm._32(n,156).ngClassTouched,xm._32(n,156).ngClassPristine,xm._32(n,156).ngClassDirty,xm._32(n,156).ngClassValid,xm._32(n,156).ngClassInvalid,xm._32(n,156).ngClassPending,xm._32(n,157)._isServer,xm._32(n,157).id,xm._32(n,157).placeholder,xm._32(n,157).disabled,xm._32(n,157).required,xm._32(n,157).readonly,xm._32(n,157)._ariaDescribedby||null,xm._32(n,157).errorState,xm._32(n,157).required.toString()]);l(n,161,1,[xm._32(n,162)._control.errorState,xm._32(n,162)._control.errorState,xm._32(n,162)._canLabelFloat,xm._32(n,162)._shouldLabelFloat(),xm._32(n,162)._hideControlPlaceholder(),xm._32(n,162)._control.disabled,xm._32(n,162)._control.focused,"primary"==xm._32(n,162).color,"accent"==xm._32(n,162).color,"warn"==xm._32(n,162).color,xm._32(n,162)._shouldForward("untouched"),xm._32(n,162)._shouldForward("touched"),xm._32(n,162)._shouldForward("pristine"),xm._32(n,162)._shouldForward("dirty"),xm._32(n,162)._shouldForward("valid"),xm._32(n,162)._shouldForward("invalid"),xm._32(n,162)._shouldForward("pending")]);l(n,171,1,[xm._32(n,176).ngClassUntouched,xm._32(n,176).ngClassTouched,xm._32(n,176).ngClassPristine,xm._32(n,176).ngClassDirty,xm._32(n,176).ngClassValid,xm._32(n,176).ngClassInvalid,xm._32(n,176).ngClassPending,xm._32(n,177)._isServer,xm._32(n,177).id,xm._32(n,177).placeholder,xm._32(n,177).disabled,xm._32(n,177).required,xm._32(n,177).readonly,xm._32(n,177)._ariaDescribedby||null,xm._32(n,177).errorState,xm._32(n,177).required.toString()]);l(n,181,1,[xm._32(n,182)._control.errorState,xm._32(n,182)._control.errorState,xm._32(n,182)._canLabelFloat,xm._32(n,182)._shouldLabelFloat(),xm._32(n,182)._hideControlPlaceholder(),xm._32(n,182)._control.disabled,xm._32(n,182)._control.focused,"primary"==xm._32(n,182).color,"accent"==xm._32(n,182).color,"warn"==xm._32(n,182).color,xm._32(n,182)._shouldForward("untouched"),xm._32(n,182)._shouldForward("touched"),xm._32(n,182)._shouldForward("pristine"),xm._32(n,182)._shouldForward("dirty"),xm._32(n,182)._shouldForward("valid"),xm._32(n,182)._shouldForward("invalid"),xm._32(n,182)._shouldForward("pending")]);l(n,191,1,[xm._32(n,196).ngClassUntouched,xm._32(n,196).ngClassTouched,xm._32(n,196).ngClassPristine,xm._32(n,196).ngClassDirty,xm._32(n,196).ngClassValid,xm._32(n,196).ngClassInvalid,xm._32(n,196).ngClassPending,xm._32(n,197)._isServer,xm._32(n,197).id,xm._32(n,197).placeholder,xm._32(n,197).disabled,xm._32(n,197).required,xm._32(n,197).readonly,xm._32(n,197)._ariaDescribedby||null,xm._32(n,197).errorState,xm._32(n,197).required.toString()]);l(n,201,1,[xm._32(n,202)._control.errorState,xm._32(n,202)._control.errorState,xm._32(n,202)._canLabelFloat,xm._32(n,202)._shouldLabelFloat(),xm._32(n,202)._hideControlPlaceholder(),xm._32(n,202)._control.disabled,xm._32(n,202)._control.focused,"primary"==xm._32(n,202).color,"accent"==xm._32(n,202).color,"warn"==xm._32(n,202).color,xm._32(n,202)._shouldForward("untouched"),xm._32(n,202)._shouldForward("touched"),xm._32(n,202)._shouldForward("pristine"),xm._32(n,202)._shouldForward("dirty"),xm._32(n,202)._shouldForward("valid"),xm._32(n,202)._shouldForward("invalid"),xm._32(n,202)._shouldForward("pending")]);l(n,211,1,[xm._32(n,216).ngClassUntouched,xm._32(n,216).ngClassTouched,xm._32(n,216).ngClassPristine,xm._32(n,216).ngClassDirty,xm._32(n,216).ngClassValid,xm._32(n,216).ngClassInvalid,xm._32(n,216).ngClassPending,xm._32(n,217)._isServer,xm._32(n,217).id,xm._32(n,217).placeholder,xm._32(n,217).disabled,xm._32(n,217).required,xm._32(n,217).readonly,xm._32(n,217)._ariaDescribedby||null,xm._32(n,217).errorState,xm._32(n,217).required.toString()]);l(n,221,1,[xm._32(n,222)._control.errorState,xm._32(n,222)._control.errorState,xm._32(n,222)._canLabelFloat,xm._32(n,222)._shouldLabelFloat(),xm._32(n,222)._hideControlPlaceholder(),xm._32(n,222)._control.disabled,xm._32(n,222)._control.focused,"primary"==xm._32(n,222).color,"accent"==xm._32(n,222).color,"warn"==xm._32(n,222).color,xm._32(n,222)._shouldForward("untouched"),xm._32(n,222)._shouldForward("touched"),xm._32(n,222)._shouldForward("pristine"),xm._32(n,222)._shouldForward("dirty"),xm._32(n,222)._shouldForward("valid"),xm._32(n,222)._shouldForward("invalid"),xm._32(n,222)._shouldForward("pending")]);l(n,231,1,[xm._32(n,236).ngClassUntouched,xm._32(n,236).ngClassTouched,xm._32(n,236).ngClassPristine,xm._32(n,236).ngClassDirty,xm._32(n,236).ngClassValid,xm._32(n,236).ngClassInvalid,xm._32(n,236).ngClassPending,xm._32(n,237)._isServer,xm._32(n,237).id,xm._32(n,237).placeholder,xm._32(n,237).disabled,xm._32(n,237).required,xm._32(n,237).readonly,xm._32(n,237)._ariaDescribedby||null,xm._32(n,237).errorState,xm._32(n,237).required.toString()]);l(n,242,0,xm._32(n,245).ngClassUntouched,xm._32(n,245).ngClassTouched,xm._32(n,245).ngClassPristine,xm._32(n,245).ngClassDirty,xm._32(n,245).ngClassValid,xm._32(n,245).ngClassInvalid,xm._32(n,245).ngClassPending)})}function __(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,e_)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,123,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,119,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,91,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(31,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(33,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_met"],["matInput",""],["name","complete_add"],["placeholder","Person Met"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,44)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,44).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,44)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,44)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,49)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,49)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,49)._onInput()&&u}return u},null,null)),xm._17(44,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(46,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(48,16384,null,0,Km.s,[Km.r],null,null),xm._17(49,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(53,0,null,0,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(54,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(63,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","property_own"],["placeholder","Property Owner"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,67)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(64,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(66,16384,null,0,Km.s,[Km.r],null,null),xm._17(67,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,16,{options:1}),xm._37(603979776,17,{optionGroups:1}),xm._37(335544320,18,{customTrigger:0}),xm._36(2048,[[9,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(74,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","applicant"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,75)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(75,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Applicant"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(78,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","co-applicant"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,79)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(79,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Co-Applicant"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(82,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","parental"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,83)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,83)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(83,8437760,[[16,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Parental"])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(88,0,null,0,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(89,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(98,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","nature_property"],["placeholder","Nature of the let out property"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,102)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,102)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,102)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(99,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(101,16384,null,0,Km.s,[Km.r],null,null),xm._17(102,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,26,{options:1}),xm._37(603979776,27,{optionGroups:1}),xm._37(335544320,28,{customTrigger:0}),xm._36(2048,[[19,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(109,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","residential/commercial"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,110)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,110)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(110,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Residential/commercial"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(113,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,114)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,114)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(114,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Others"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,u_)),xm._17(120,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(123,0,null,null,9,"div",[["formArrayName","rental_home"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(124,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(126,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,r_)),xm._17(129,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(131,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(134,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(135,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n\n\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(138,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveRentalDetails(a.rentalForms.value)&&u}return u},Db.b,Db.a)),xm._17(139,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.rentalForms);l(n,46,0,"person_met");l(n,49,0,"Person Met","text");l(n,64,0,"property_own");l(n,67,0,"Property Owner");l(n,75,0,"applicant");l(n,79,0,"co-applicant");l(n,83,0,"parental");l(n,99,0,"nature_property");l(n,102,0,"Nature of the let out property");l(n,110,0,"residential/commercial");l(n,114,0,"others");l(n,120,0,"others"==e.rentalForms.get("nature_property").value);l(n,124,0,"rental_home");l(n,129,0,e.rentalForms.get("rental_home").controls);l(n,139,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,48).ngClassUntouched,xm._32(n,48).ngClassTouched,xm._32(n,48).ngClassPristine,xm._32(n,48).ngClassDirty,xm._32(n,48).ngClassValid,xm._32(n,48).ngClassInvalid,xm._32(n,48).ngClassPending,xm._32(n,49)._isServer,xm._32(n,49).id,xm._32(n,49).placeholder,xm._32(n,49).disabled,xm._32(n,49).required,xm._32(n,49).readonly,xm._32(n,49)._ariaDescribedby||null,xm._32(n,49).errorState,xm._32(n,49).required.toString()]);l(n,53,1,[xm._32(n,54)._control.errorState,xm._32(n,54)._control.errorState,xm._32(n,54)._canLabelFloat,xm._32(n,54)._shouldLabelFloat(),xm._32(n,54)._hideControlPlaceholder(),xm._32(n,54)._control.disabled,xm._32(n,54)._control.focused,"primary"==xm._32(n,54).color,"accent"==xm._32(n,54).color,"warn"==xm._32(n,54).color,xm._32(n,54)._shouldForward("untouched"),xm._32(n,54)._shouldForward("touched"),xm._32(n,54)._shouldForward("pristine"),xm._32(n,54)._shouldForward("dirty"),xm._32(n,54)._shouldForward("valid"),xm._32(n,54)._shouldForward("invalid"),xm._32(n,54)._shouldForward("pending")]);l(n,63,1,[xm._32(n,66).ngClassUntouched,xm._32(n,66).ngClassTouched,xm._32(n,66).ngClassPristine,xm._32(n,66).ngClassDirty,xm._32(n,66).ngClassValid,xm._32(n,66).ngClassInvalid,xm._32(n,66).ngClassPending,xm._32(n,67).id,xm._32(n,67).tabIndex,xm._32(n,67)._ariaLabel,xm._32(n,67).ariaLabelledby,xm._32(n,67).required.toString(),xm._32(n,67).disabled.toString(),xm._32(n,67).errorState,xm._32(n,67).panelOpen?xm._32(n,67)._optionIds:null,xm._32(n,67).multiple,xm._32(n,67)._ariaDescribedby||null,xm._32(n,67)._getAriaActiveDescendant(),xm._32(n,67).disabled,xm._32(n,67).errorState,xm._32(n,67).required]);l(n,74,0,xm._32(n,75)._getTabIndex(),xm._32(n,75).selected,xm._32(n,75).multiple,xm._32(n,75).active,xm._32(n,75).id,xm._32(n,75).selected.toString(),xm._32(n,75).disabled.toString(),xm._32(n,75).disabled);l(n,78,0,xm._32(n,79)._getTabIndex(),xm._32(n,79).selected,xm._32(n,79).multiple,xm._32(n,79).active,xm._32(n,79).id,xm._32(n,79).selected.toString(),xm._32(n,79).disabled.toString(),xm._32(n,79).disabled);l(n,82,0,xm._32(n,83)._getTabIndex(),xm._32(n,83).selected,xm._32(n,83).multiple,xm._32(n,83).active,xm._32(n,83).id,xm._32(n,83).selected.toString(),xm._32(n,83).disabled.toString(),xm._32(n,83).disabled);l(n,88,1,[xm._32(n,89)._control.errorState,xm._32(n,89)._control.errorState,xm._32(n,89)._canLabelFloat,xm._32(n,89)._shouldLabelFloat(),xm._32(n,89)._hideControlPlaceholder(),xm._32(n,89)._control.disabled,xm._32(n,89)._control.focused,"primary"==xm._32(n,89).color,"accent"==xm._32(n,89).color,"warn"==xm._32(n,89).color,xm._32(n,89)._shouldForward("untouched"),xm._32(n,89)._shouldForward("touched"),xm._32(n,89)._shouldForward("pristine"),xm._32(n,89)._shouldForward("dirty"),xm._32(n,89)._shouldForward("valid"),xm._32(n,89)._shouldForward("invalid"),xm._32(n,89)._shouldForward("pending")]);l(n,98,1,[xm._32(n,101).ngClassUntouched,xm._32(n,101).ngClassTouched,xm._32(n,101).ngClassPristine,xm._32(n,101).ngClassDirty,xm._32(n,101).ngClassValid,xm._32(n,101).ngClassInvalid,xm._32(n,101).ngClassPending,xm._32(n,102).id,xm._32(n,102).tabIndex,xm._32(n,102)._ariaLabel,xm._32(n,102).ariaLabelledby,xm._32(n,102).required.toString(),xm._32(n,102).disabled.toString(),xm._32(n,102).errorState,xm._32(n,102).panelOpen?xm._32(n,102)._optionIds:null,xm._32(n,102).multiple,xm._32(n,102)._ariaDescribedby||null,xm._32(n,102)._getAriaActiveDescendant(),xm._32(n,102).disabled,xm._32(n,102).errorState,xm._32(n,102).required]);l(n,109,0,xm._32(n,110)._getTabIndex(),xm._32(n,110).selected,xm._32(n,110).multiple,xm._32(n,110).active,xm._32(n,110).id,xm._32(n,110).selected.toString(),xm._32(n,110).disabled.toString(),xm._32(n,110).disabled);l(n,113,0,xm._32(n,114)._getTabIndex(),xm._32(n,114).selected,xm._32(n,114).multiple,xm._32(n,114).active,xm._32(n,114).id,xm._32(n,114).selected.toString(),xm._32(n,114).disabled.toString(),xm._32(n,114).disabled);l(n,123,0,xm._32(n,126).ngClassUntouched,xm._32(n,126).ngClassTouched,xm._32(n,126).ngClassPristine,xm._32(n,126).ngClassDirty,xm._32(n,126).ngClassValid,xm._32(n,126).ngClassInvalid,xm._32(n,126).ngClassPending)})}function d_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormName)})}function s_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,43,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,10,{_control:0}),xm._37(335544320,11,{_placeholderChild:0}),xm._37(335544320,12,{_labelChild:0}),xm._37(603979776,13,{_errorChildren:1}),xm._37(603979776,14,{_hintChildren:1}),xm._37(603979776,15,{_prefixChildren:1}),xm._37(603979776,16,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Margin percentage %"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}if("blur"===n){u=!1!==a.getMarginCalc()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[10,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(24,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,17,{_control:0}),xm._37(335544320,18,{_placeholderChild:0}),xm._37(335544320,19,{_labelChild:0}),xm._37(603979776,20,{_errorChildren:1}),xm._37(603979776,21,{_hintChildren:1}),xm._37(603979776,22,{_prefixChildren:1}),xm._37(603979776,23,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_value"],["matInput",""],["name","margin_value"],["placeholder","Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,40)._onInput()&&u}return u},null,null)),xm._17(34,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(35,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(37,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(39,16384,null,0,Km.s,[Km.r],null,null),xm._17(40,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[17,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"margin_per");l(n,19,0,"Margin percentage %","number");l(n,37,0,"margin_value");l(n,40,0,"Value","number")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,23,1,[xm._32(n,24)._control.errorState,xm._32(n,24)._control.errorState,xm._32(n,24)._canLabelFloat,xm._32(n,24)._shouldLabelFloat(),xm._32(n,24)._hideControlPlaceholder(),xm._32(n,24)._control.disabled,xm._32(n,24)._control.focused,"primary"==xm._32(n,24).color,"accent"==xm._32(n,24).color,"warn"==xm._32(n,24).color,xm._32(n,24)._shouldForward("untouched"),xm._32(n,24)._shouldForward("touched"),xm._32(n,24)._shouldForward("pristine"),xm._32(n,24)._shouldForward("dirty"),xm._32(n,24)._shouldForward("valid"),xm._32(n,24)._shouldForward("invalid"),xm._32(n,24)._shouldForward("pending")]);l(n,33,1,[xm._32(n,39).ngClassUntouched,xm._32(n,39).ngClassTouched,xm._32(n,39).ngClassPristine,xm._32(n,39).ngClassDirty,xm._32(n,39).ngClassValid,xm._32(n,39).ngClassInvalid,xm._32(n,39).ngClassPending,xm._32(n,40)._isServer,xm._32(n,40).id,xm._32(n,40).placeholder,xm._32(n,40).disabled,xm._32(n,40).required,xm._32(n,40).readonly,xm._32(n,40)._ariaDescribedby||null,xm._32(n,40).errorState,xm._32(n,40).required.toString()])})}function c_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,8,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.editAllDetails(a.sales_item_value)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(6,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,6,0,"✎")})}function m_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"ion-list",[],null,null,null,null,null)),xm._17(1,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,20,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editDetails(l.context.$implicit.sci_id)&&u}return u},qg.b,qg.a)),xm._17(4,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,25,{contentLabel:0}),xm._37(603979776,26,{_buttons:1}),xm._37(603979776,27,{_icons:1}),xm._17(8,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(10,0,null,2,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(11,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(14,16384,null,0,ab.a,[],null,null),(l()(),xm._39(15,null,["\n ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(18,16384,null,0,ab.a,[],null,null),(l()(),xm._39(19,null,["\n "," ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(22,0,null,2,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],null,function(l,n){l(n,15,0,n.context.$implicit.sales_item);l(n,19,0,"₹",n.context.$implicit.annual_sale_value)})}function p_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,15,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),xm._17(3,16384,null,0,eb.g,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(6,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,3,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(9,16384,null,0,ab.a,[],null,null),(l()(),xm._39(10,null,["\n ","\n "])),xm._35(11,2),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(14,16384,null,0,ab.a,[],null,null),(l()(),xm._39(15,null,["\n "," ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){l(n,10,0,xm._40(n,10,0,l(n,11,0,xm._32(n.parent.parent.parent.parent,1),n.context.$implicit.sales_date,"dd-MM-yyyy")));l(n,15,0,"₹",n.context.$implicit.sales_value)})}function f_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,9,"ion-col",[["class","col"],["col-12",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(4,16384,null,0,eb.h,[],null,null),(l()(),xm._39(5,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,p_)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,8,0,n.context.$implicit.value)},function(l,n){l(n,5,0,n.context.$implicit.header)})}function h_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,20,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editAssessedDailyForm(l.context.$implicit.simId)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,2,"h3",[["text-center",""]],null,null,null,null,null)),(l()(),xm._39(5,null,["",""])),xm._35(6,1),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(9,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,f_)),xm._17(12,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(15,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(16,16384,null,0,ub.a,[],null,null),(l()(),xm._39(17,null,["\n ",""])),(l()(),xm._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(19,null,["\n ","\n "])),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(24,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,12,0,n.context.$implicit.expandElements)},function(l,n){l(n,5,0,xm._40(n,5,0,l(n,6,0,xm._32(n.parent.parent,0),n.context.$implicit.salesItem)));l(n,17,0,n.context.$implicit.footerMessage[0].month_message);l(n,19,0,n.context.$implicit.footerMessage[0].year_message)})}function g_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,152,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,149,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),xm._17(3,16384,null,0,Bv.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,16777216,null,null,59,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,$v.d,$v.a)),xm._36(6144,null,ob.F,null,[Bv.c]),xm._17(7,1753088,null,1,Bv.c,[[2,Bv.a],xm.i,Hb.d,xm._1],{expanded:[0,"expanded"]},null),xm._37(335544320,2,{_lazyContent:0}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,11)._toggle()&&u}if("keydown"===n){u=!1!==xm._32(l,11)._keydown(e)&&u}return u},$v.c,$v.b)),xm._17(11,180224,null,0,Bv.e,[Bv.c,xm.p,sb.j,xm.i],null,null),xm._34(12,{collapsedHeight:0,expandedHeight:1}),xm._34(13,{value:0,params:1}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(15,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),xm._17(16,16384,null,0,Bv.f,[],null,null),(l()(),xm._39(-1,null,["\n Sales Calculation\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(20,0,null,1,43,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,22).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,22).onReset()&&u}return u},null,null)),xm._17(21,16384,null,0,Km.B,[],null,null),xm._17(22,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(24,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Sales declared by the customer as the annual sales actually done."])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(30,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,3,{_control:0}),xm._37(335544320,4,{_placeholderChild:0}),xm._37(335544320,5,{_labelChild:0}),xm._37(603979776,6,{_errorChildren:1}),xm._37(603979776,7,{_hintChildren:1}),xm._37(603979776,8,{_prefixChildren:1}),xm._37(603979776,9,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(39,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_declared_by_customer"],["matInput",""],["name","sales_declared_by_customer"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,40)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,45)._onInput()&&u}if("blur"===n){u=!1!==a.getMarginCalc()&&u}return u},null,null)),xm._17(40,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(42,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(44,16384,null,0,Km.s,[Km.r],null,null),xm._17(45,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[3,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,s_)),xm._17(50,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(52,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(53,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n\n\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(56,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveData(a.assessedForm.value)&&u}return u},Db.b,Db.a)),xm._17(57,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(62,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(66,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(69,16777216,null,null,39,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,$v.d,$v.a)),xm._36(6144,null,ob.F,null,[Bv.c]),xm._17(71,1753088,null,1,Bv.c,[[2,Bv.a],xm.i,Hb.d,xm._1],null,null),xm._37(335544320,24,{_lazyContent:0}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(74,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,75)._toggle()&&u}if("keydown"===n){u=!1!==xm._32(l,75)._keydown(e)&&u}return u},$v.c,$v.b)),xm._17(75,180224,null,0,Bv.e,[Bv.c,xm.p,sb.j,xm.i],null,null),xm._34(76,{collapsedHeight:0,expandedHeight:1}),xm._34(77,{value:0,params:1}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(79,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),xm._17(80,16384,null,0,Bv.f,[],null,null),(l()(),xm._39(-1,null,["\n Sales Details\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(84,0,null,1,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(85,49152,null,0,eb.e,[],null,null),(l()(),xm._18(86,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Sales Details"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(89,0,null,1,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(90,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,c_)),xm._17(93,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(95,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),xm._17(96,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,[" \n\n\n "])),(l()(),xm._18(98,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddAssessedForm()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(100,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(101,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._13(16777216,null,1,1,null,m_)),xm._17(107,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(110,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(112,16777216,null,null,38,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,$v.d,$v.a)),xm._36(6144,null,ob.F,null,[Bv.c]),xm._17(114,1753088,null,1,Bv.c,[[2,Bv.a],xm.i,Hb.d,xm._1],null,null),xm._37(335544320,28,{_lazyContent:0}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(117,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,118)._toggle()&&u}if("keydown"===n){u=!1!==xm._32(l,118)._keydown(e)&&u}return u},$v.c,$v.b)),xm._17(118,180224,null,0,Bv.e,[Bv.c,xm.p,sb.j,xm.i],null,null),xm._34(119,{collapsedHeight:0,expandedHeight:1}),xm._34(120,{value:0,params:1}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(122,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),xm._17(123,16384,null,0,Bv.f,[],null,null),(l()(),xm._39(-1,null,["\n Daily Sales Details\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(127,0,null,1,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(128,49152,null,0,eb.e,[],null,null),(l()(),xm._18(129,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Daily Sales Details"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(132,0,null,1,12,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(133,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(135,0,null,null,8,"ion-col",[["class","col"],["col-1",""],["offset-11",""],["text-right",""]],null,null,null,null,null)),xm._17(136,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(138,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddAssessedDailyForm()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(140,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(141,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,h_)),xm._17(147,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,7,0,!0);l(n,22,0,e.assessedForm);l(n,42,0,"sales_declared_by_customer");l(n,45,0,"","text");l(n,50,0,2==e.mode);l(n,57,0,"optblue","");l(n,93,0,e.sales_item_value);l(n,101,0,"optblue","md-add");l(n,107,0,e.sales_item_value);l(n,141,0,"optblue","md-add");l(n,147,0,e.sales_month_wise_data)},function(l,n){l(n,5,0,xm._32(n,7).expanded,xm._32(n,7)._hasSpacing());l(n,10,0,xm._32(n,11).panel._headerId,xm._32(n,11).panel.disabled?-1:0,xm._32(n,11)._getPanelId(),xm._32(n,11)._isExpanded(),xm._32(n,11).panel.disabled,xm._32(n,11)._isExpanded(),l(n,13,0,xm._32(n,11)._getExpandedState(),l(n,12,0,xm._32(n,11).collapsedHeight,xm._32(n,11).expandedHeight)));l(n,20,0,xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending);l(n,29,1,[xm._32(n,30)._control.errorState,xm._32(n,30)._control.errorState,xm._32(n,30)._canLabelFloat,xm._32(n,30)._shouldLabelFloat(),xm._32(n,30)._hideControlPlaceholder(),xm._32(n,30)._control.disabled,xm._32(n,30)._control.focused,"primary"==xm._32(n,30).color,"accent"==xm._32(n,30).color,"warn"==xm._32(n,30).color,xm._32(n,30)._shouldForward("untouched"),xm._32(n,30)._shouldForward("touched"),xm._32(n,30)._shouldForward("pristine"),xm._32(n,30)._shouldForward("dirty"),xm._32(n,30)._shouldForward("valid"),xm._32(n,30)._shouldForward("invalid"),xm._32(n,30)._shouldForward("pending")]);l(n,39,1,[xm._32(n,44).ngClassUntouched,xm._32(n,44).ngClassTouched,xm._32(n,44).ngClassPristine,xm._32(n,44).ngClassDirty,xm._32(n,44).ngClassValid,xm._32(n,44).ngClassInvalid,xm._32(n,44).ngClassPending,xm._32(n,45)._isServer,xm._32(n,45).id,xm._32(n,45).placeholder,xm._32(n,45).disabled,xm._32(n,45).required,xm._32(n,45).readonly,xm._32(n,45)._ariaDescribedby||null,xm._32(n,45).errorState,xm._32(n,45).required.toString()]);l(n,69,0,xm._32(n,71).expanded,xm._32(n,71)._hasSpacing());l(n,74,0,xm._32(n,75).panel._headerId,xm._32(n,75).panel.disabled?-1:0,xm._32(n,75)._getPanelId(),xm._32(n,75)._isExpanded(),xm._32(n,75).panel.disabled,xm._32(n,75)._isExpanded(),l(n,77,0,xm._32(n,75)._getExpandedState(),l(n,76,0,xm._32(n,75).collapsedHeight,xm._32(n,75).expandedHeight)));l(n,100,0,xm._32(n,101)._hidden);l(n,112,0,xm._32(n,114).expanded,xm._32(n,114)._hasSpacing());l(n,117,0,xm._32(n,118).panel._headerId,xm._32(n,118).panel.disabled?-1:0,xm._32(n,118)._getPanelId(),xm._32(n,118)._isExpanded(),xm._32(n,118).panel.disabled,xm._32(n,118)._isExpanded(),l(n,120,0,xm._32(n,118)._getExpandedState(),l(n,119,0,xm._32(n,118).collapsedHeight,xm._32(n,118).expandedHeight)));l(n,140,0,xm._32(n,141)._hidden)})}function b_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.editPurchaseAllDetails(a.purchse_details)&&u}return u},null,null)),(l()(),xm._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function v_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"ion-list",[],null,null,null,null,null)),xm._17(1,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,20,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editPurchaseDetails(l.context.$implicit.purchase_id)&&u}return u},qg.b,qg.a)),xm._17(4,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,29,{contentLabel:0}),xm._37(603979776,30,{_buttons:1}),xm._37(603979776,31,{_icons:1}),xm._17(8,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(10,0,null,2,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(11,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(14,16384,null,0,ab.a,[],null,null),(l()(),xm._39(15,null,["\n ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(18,16384,null,0,ab.a,[],null,null),(l()(),xm._39(19,null,["\n "," ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(22,0,null,2,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],null,function(l,n){l(n,15,0,n.context.$implicit.purchase_item);l(n,19,0,"₹",n.context.$implicit.annual_purchase_value)})}function y_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Purchase Details"])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(11,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,b_)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-9",""],["text-right",""]],null,null,null,null,null)),xm._17(17,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddPurchaseForm()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(22,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,v_)),xm._17(28,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.purchse_details);l(n,22,0,"optblue","md-add");l(n,28,0,e.purchse_details)},function(l,n){l(n,21,0,xm._32(n,22)._hidden)})}function C_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.editExpenseAllDetails(a.businessExpenses_details)&&u}return u},null,null)),(l()(),xm._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function w_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editExpenseDetails(l.context.$implicit.pd_expense_id)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(5,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(8,16384,null,0,ab.a,[],null,null),(l()(),xm._39(9,null,["\n ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(12,16384,null,0,ab.a,[],null,null),(l()(),xm._39(13,null,["\n "," ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,n.context.$implicit.expense_item);l(n,13,0,"₹",n.context.$implicit.annual_expenses_value)})}function F_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Business Expenses"])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(11,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,C_)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),xm._17(17,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddExpenseForm()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(22,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,w_)),xm._17(28,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.businessExpenses_details);l(n,22,0,"optblue","md-add");l(n,28,0,e.businessExpenses_details)},function(l,n){l(n,21,0,xm._32(n,22)._hidden)})}function x_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.editHouseExpenseAllDetails(a.houseHold_details)&&u}return u},null,null)),(l()(),xm._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function S_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editHouseExpenseDetails(l.context.$implicit.household_expense_id)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(5,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(8,16384,null,0,ab.a,[],null,null),(l()(),xm._39(9,null,["\n ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(12,16384,null,0,ab.a,[],null,null),(l()(),xm._39(13,null,["\n "," ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,n.context.$implicit.expense_item);l(n,13,0,"₹",n.context.$implicit.annual_expense_value)})}function I_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["HouseHold Details"])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(11,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,x_)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),xm._17(17,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddHouseExpenseForm()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(22,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,S_)),xm._17(28,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.houseHold_details);l(n,22,0,"optblue","md-add");l(n,28,0,e.houseHold_details)},function(l,n){l(n,21,0,xm._32(n,22)._hidden)})}function q_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.editIncomeAllDetails(a.busissnessIncome)&&u}return u},null,null)),(l()(),xm._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),xm._39(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function k_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editIncomeDetails(l.context.$implicit.pd_business_income_id)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(5,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(8,16384,null,0,ab.a,[],null,null),(l()(),xm._39(9,null,["\n ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(12,16384,null,0,ab.a,[],null,null),(l()(),xm._39(13,null,["\n "," ","\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,"Others(Please Specify)"!=n.context.$implicit.business_income_item?n.context.$implicit.business_income_item:n.context.$implicit.other_frequncy_item);l(n,13,0,"₹",n.context.$implicit.income_value)})}function P_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(3,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(6,49152,null,0,eb.e,[],null,null),(l()(),xm._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Business Income Details"])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(11,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,q_)),xm._17(14,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),xm._17(17,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddIncomeForm()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(22,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,k_)),xm._17(28,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.busissnessIncome);l(n,22,0,"optblue","md-add");l(n,28,0,e.busissnessIncome)},function(l,n){l(n,21,0,xm._32(n,22)._hidden)})}function D_(l){return xm._41(0,[xm._33(0,Df.t,[]),xm._33(0,Df.d,[xm.D]),(l()(),xm._18(2,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(3,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(5,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(6,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,10).toggle()&&u}return u},Db.b,Db.a)),xm._17(9,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(10,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(11,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(15,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,d_)),xm._17(19,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(23,0,null,null,17,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(24,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._13(16777216,null,1,1,null,g_)),xm._17(27,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,y_)),xm._17(30,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,F_)),xm._17(33,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,I_)),xm._17(36,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,P_)),xm._17(39,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n \n\n\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,19,0,!e.viewchange);l(n,27,0,1==e.pageId);l(n,30,0,2==e.pageId);l(n,33,0,3==e.pageId);l(n,36,0,4==e.pageId);l(n,39,0,5==e.pageId)},function(l,n){l(n,5,0,xm._32(n,6)._hidden,xm._32(n,6)._sbPadding);l(n,8,0,xm._32(n,10).isHidden);l(n,14,0,xm._32(n,15)._hidden);l(n,23,0,xm._32(n,24).statusbarPadding,xm._32(n,24)._hasRefresher)})}function T_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Assessed Daily Sales Details"]))],null,null)}function O_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,41,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Magin Percetage %"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,18)._onInput()&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),xm._17(18,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[9,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(22,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(23,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,16,{_control:0}),xm._37(335544320,17,{_placeholderChild:0}),xm._37(335544320,18,{_labelChild:0}),xm._37(603979776,19,{_errorChildren:1}),xm._37(603979776,20,{_hintChildren:1}),xm._37(603979776,21,{_prefixChildren:1}),xm._37(603979776,22,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_value"],["matInput",""],["name","margin_value"],["placeholder","Margin Value"],["readonly",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,33)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,33).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,33)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,33)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,38)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,38)._onInput()&&u}return u},null,null)),xm._17(33,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(35,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(37,16384,null,0,Km.s,[Km.r],null,null),xm._17(38,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[16,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"margin_per");l(n,18,0,"Magin Percetage %","text");l(n,35,0,"margin_value");l(n,38,0,"Margin Value","text","")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending,xm._32(n,18)._isServer,xm._32(n,18).id,xm._32(n,18).placeholder,xm._32(n,18).disabled,xm._32(n,18).required,xm._32(n,18).readonly,xm._32(n,18)._ariaDescribedby||null,xm._32(n,18).errorState,xm._32(n,18).required.toString()]);l(n,22,1,[xm._32(n,23)._control.errorState,xm._32(n,23)._control.errorState,xm._32(n,23)._canLabelFloat,xm._32(n,23)._shouldLabelFloat(),xm._32(n,23)._hideControlPlaceholder(),xm._32(n,23)._control.disabled,xm._32(n,23)._control.focused,"primary"==xm._32(n,23).color,"accent"==xm._32(n,23).color,"warn"==xm._32(n,23).color,xm._32(n,23)._shouldForward("untouched"),xm._32(n,23)._shouldForward("touched"),xm._32(n,23)._shouldForward("pristine"),xm._32(n,23)._shouldForward("dirty"),xm._32(n,23)._shouldForward("valid"),xm._32(n,23)._shouldForward("invalid"),xm._32(n,23)._shouldForward("pending")]);l(n,32,1,[xm._32(n,37).ngClassUntouched,xm._32(n,37).ngClassTouched,xm._32(n,37).ngClassPristine,xm._32(n,37).ngClassDirty,xm._32(n,37).ngClassValid,xm._32(n,37).ngClassInvalid,xm._32(n,37).ngClassPending,xm._32(n,38)._isServer,xm._32(n,38).id,xm._32(n,38).placeholder,xm._32(n,38).disabled,xm._32(n,38).required,xm._32(n,38).readonly,xm._32(n,38)._ariaDescribedby||null,xm._32(n,38).errorState,xm._32(n,38).required.toString()])})}function L_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.adddailyChildSaleProduct(l.parent.parent.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function A_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,71,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,23,{_control:0}),xm._37(335544320,24,{_placeholderChild:0}),xm._37(335544320,25,{_labelChild:0}),xm._37(603979776,26,{_errorChildren:1}),xm._37(603979776,27,{_hintChildren:1}),xm._37(603979776,28,{_prefixChildren:1}),xm._37(603979776,29,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_date"],["matInput",""],["name","sales_date"],["placeholder","Sales Date"],["type","date"]],[[8,"max",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,21)._onInput()&&u}return u},null,null)),xm._17(16,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(18,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(20,16384,null,0,Km.s,[Km.r],null,null),xm._17(21,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[23,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(25,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(26,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,30,{_control:0}),xm._37(335544320,31,{_placeholderChild:0}),xm._37(335544320,32,{_labelChild:0}),xm._37(603979776,33,{_errorChildren:1}),xm._37(603979776,34,{_hintChildren:1}),xm._37(603979776,35,{_prefixChildren:1}),xm._37(603979776,36,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(35,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_value"],["matInput",""],["name","sales_value"],["placeholder","Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,36)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,36).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,36)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,36)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,37).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,37).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,37).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,42)._onInput()&&u}if("blur"===n){u=!1!==a.getSalesCalc(l.context.$implicit,l.parent.context.$implicit,l.parent.context.index)&&u}return u},null,null)),xm._17(36,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(37,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(39,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(41,16384,null,0,Km.s,[Km.r],null,null),xm._17(42,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[30,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(46,0,null,null,24,"ion-buttons",[],null,null,null,null,null)),xm._17(47,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,37,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(51,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(53,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(54,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(56,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletedailyChildSaleProduct(l.parent.context.index,l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(58,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(59,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(63,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""],["text-right",""]],null,null,null,null,null)),xm._17(64,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,L_)),xm._17(67,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,18,0,"sales_date");l(n,21,0,"Sales Date","date");l(n,39,0,"sales_value");l(n,42,0,"Value","number");l(n,59,0,"optblue","md-trash");l(n,67,0,n.context.last)},function(l,n){var e=n.component;l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._21(1,"",e.currentDate,""),xm._32(n,20).ngClassUntouched,xm._32(n,20).ngClassTouched,xm._32(n,20).ngClassPristine,xm._32(n,20).ngClassDirty,xm._32(n,20).ngClassValid,xm._32(n,20).ngClassInvalid,xm._32(n,20).ngClassPending,xm._32(n,21)._isServer,xm._32(n,21).id,xm._32(n,21).placeholder,xm._32(n,21).disabled,xm._32(n,21).required,xm._32(n,21).readonly,xm._32(n,21)._ariaDescribedby||null,xm._32(n,21).errorState,xm._32(n,21).required.toString()]);l(n,25,1,[xm._32(n,26)._control.errorState,xm._32(n,26)._control.errorState,xm._32(n,26)._canLabelFloat,xm._32(n,26)._shouldLabelFloat(),xm._32(n,26)._hideControlPlaceholder(),xm._32(n,26)._control.disabled,xm._32(n,26)._control.focused,"primary"==xm._32(n,26).color,"accent"==xm._32(n,26).color,"warn"==xm._32(n,26).color,xm._32(n,26)._shouldForward("untouched"),xm._32(n,26)._shouldForward("touched"),xm._32(n,26)._shouldForward("pristine"),xm._32(n,26)._shouldForward("dirty"),xm._32(n,26)._shouldForward("valid"),xm._32(n,26)._shouldForward("invalid"),xm._32(n,26)._shouldForward("pending")]);l(n,35,1,[xm._32(n,41).ngClassUntouched,xm._32(n,41).ngClassTouched,xm._32(n,41).ngClassPristine,xm._32(n,41).ngClassDirty,xm._32(n,41).ngClassValid,xm._32(n,41).ngClassInvalid,xm._32(n,41).ngClassPending,xm._32(n,42)._isServer,xm._32(n,42).id,xm._32(n,42).placeholder,xm._32(n,42).disabled,xm._32(n,42).required,xm._32(n,42).readonly,xm._32(n,42)._ariaDescribedby||null,xm._32(n,42).errorState,xm._32(n,42).required.toString()]);l(n,58,0,xm._32(n,59)._hidden)})}function V_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.adddailySalaesProduct()&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add Items"]))],function(l,n){l(n,1,0,"primary")},null)}function j_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,73,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,25,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(9,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_item"],["matInput",""],["name","sales_item"],["placeholder","Sales Item"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,24)._onInput()&&u}return u},null,null)),xm._17(19,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,O_)),xm._17(29,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(33,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(35,0,null,0,4,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(36,49152,null,0,eb.e,[],null,null),(l()(),xm._18(37,0,null,2,2,"h2",[],null,null,null,null,null)),(l()(),xm._39(38,null,["",""])),xm._35(39,1),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(41,0,null,0,7,"div",[["formArrayName","child"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(42,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(44,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,A_)),xm._17(47,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(50,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(52,0,null,0,19,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(53,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(55,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(56,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,V_)),xm._17(60,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(63,0,null,null,7,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(64,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletedailySalesProduct(l.context.index)&&u}return u},Db.b,Db.a)),xm._17(68,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Remove"])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"sales_item");l(n,24,0,"Sales Item","text");l(n,29,0,2==e.grossprofitCalc.mode);l(n,42,0,"child");l(n,47,0,n.context.$implicit.controls.child.controls);l(n,60,0,n.context.last);l(n,68,0,"primary")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,8,1,[xm._32(n,9)._control.errorState,xm._32(n,9)._control.errorState,xm._32(n,9)._canLabelFloat,xm._32(n,9)._shouldLabelFloat(),xm._32(n,9)._hideControlPlaceholder(),xm._32(n,9)._control.disabled,xm._32(n,9)._control.focused,"primary"==xm._32(n,9).color,"accent"==xm._32(n,9).color,"warn"==xm._32(n,9).color,xm._32(n,9)._shouldForward("untouched"),xm._32(n,9)._shouldForward("touched"),xm._32(n,9)._shouldForward("pristine"),xm._32(n,9)._shouldForward("dirty"),xm._32(n,9)._shouldForward("valid"),xm._32(n,9)._shouldForward("invalid"),xm._32(n,9)._shouldForward("pending")]);l(n,18,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24)._isServer,xm._32(n,24).id,xm._32(n,24).placeholder,xm._32(n,24).disabled,xm._32(n,24).required,xm._32(n,24).readonly,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24).errorState,xm._32(n,24).required.toString()]);l(n,38,0,xm._40(n,38,0,l(n,39,0,xm._32(n.parent,0),n.context.$implicit.get("sales_item").value)));l(n,41,0,xm._32(n,44).ngClassUntouched,xm._32(n,44).ngClassTouched,xm._32(n,44).ngClassPristine,xm._32(n,44).ngClassDirty,xm._32(n,44).ngClassValid,xm._32(n,44).ngClassInvalid,xm._32(n,44).ngClassPending)})}function N_(l){return xm._41(0,[xm._33(0,Df.t,[]),(l()(),xm._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,9).toggle()&&u}return u},Db.b,Db.a)),xm._17(8,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(9,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(10,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(14,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,T_)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(22,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,27).onReset()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.B,[],null,null),xm._17(27,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(29,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,7,"div",[["formArrayName","sales_product"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(32,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(34,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,j_)),xm._17(37,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(40,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(41,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n\n\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(44,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveData(a.salesDailyForm.value)&&u}return u},Db.b,Db.a)),xm._17(45,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.salesDailyForm);l(n,32,0,"sales_product");l(n,37,0,e.salesDailyForm.get("sales_product").controls);l(n,45,0,"optblue","")},function(l,n){l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,7,0,xm._32(n,9).isHidden);l(n,13,0,xm._32(n,14)._hidden);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,25,0,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending);l(n,31,0,xm._32(n,34).ngClassUntouched,xm._32(n,34).ngClassTouched,xm._32(n,34).ngClassPristine,xm._32(n,34).ngClassDirty,xm._32(n,34).ngClassValid,xm._32(n,34).ngClassInvalid,xm._32(n,34).ngClassPending)})}function E_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Item Salas Details"]))],null,null)}function W_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[23,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function R_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[40,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function U_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,64,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(3,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,50,{_control:0}),xm._37(335544320,51,{_placeholderChild:0}),xm._37(335544320,52,{_labelChild:0}),xm._37(603979776,53,{_errorChildren:1}),xm._37(603979776,54,{_hintChildren:1}),xm._37(603979776,55,{_prefixChildren:1}),xm._37(603979776,56,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Margin percentage %"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,19)._onInput()&&u}if("blur"===n){u=!1!==a.getSalesCalc(l.parent.context.$implicit)&&u}return u},null,null)),xm._17(13,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(14,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[50,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(24,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,57,{_control:0}),xm._37(335544320,58,{_placeholderChild:0}),xm._37(335544320,59,{_labelChild:0}),xm._37(603979776,60,{_errorChildren:1}),xm._37(603979776,61,{_hintChildren:1}),xm._37(603979776,62,{_prefixChildren:1}),xm._37(603979776,63,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per_uom"],["matInput",""],["name","margin_per_uom"],["placeholder","Margin Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,40)._onInput()&&u}if("blur"===n){u=!1!==a.getSalesCalc(l.parent.context.$implicit)&&u}return u},null,null)),xm._17(34,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(35,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(37,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(39,16384,null,0,Km.s,[Km.r],null,null),xm._17(40,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[57,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(44,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(45,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,64,{_control:0}),xm._37(335544320,65,{_placeholderChild:0}),xm._37(335544320,66,{_labelChild:0}),xm._37(603979776,67,{_errorChildren:1}),xm._37(603979776,68,{_hintChildren:1}),xm._37(603979776,69,{_prefixChildren:1}),xm._37(603979776,70,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(54,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_final_value"],["matInput",""],["name","margin_final_value"],["placeholder","Final Value"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,61)._onInput()&&u}return u},null,null)),xm._17(55,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(56,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(58,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(60,16384,null,0,Km.s,[Km.r],null,null),xm._17(61,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[64,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"margin_per");l(n,19,0,"Margin percentage %","number");l(n,37,0,"margin_per_uom");l(n,40,0,"Margin Amount","number");l(n,58,0,"margin_final_value");l(n,61,0,"Final Value","number","")},function(l,n){l(n,2,1,[xm._32(n,3)._control.errorState,xm._32(n,3)._control.errorState,xm._32(n,3)._canLabelFloat,xm._32(n,3)._shouldLabelFloat(),xm._32(n,3)._hideControlPlaceholder(),xm._32(n,3)._control.disabled,xm._32(n,3)._control.focused,"primary"==xm._32(n,3).color,"accent"==xm._32(n,3).color,"warn"==xm._32(n,3).color,xm._32(n,3)._shouldForward("untouched"),xm._32(n,3)._shouldForward("touched"),xm._32(n,3)._shouldForward("pristine"),xm._32(n,3)._shouldForward("dirty"),xm._32(n,3)._shouldForward("valid"),xm._32(n,3)._shouldForward("invalid"),xm._32(n,3)._shouldForward("pending")]);l(n,12,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19)._isServer,xm._32(n,19).id,xm._32(n,19).placeholder,xm._32(n,19).disabled,xm._32(n,19).required,xm._32(n,19).readonly,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19).errorState,xm._32(n,19).required.toString()]);l(n,23,1,[xm._32(n,24)._control.errorState,xm._32(n,24)._control.errorState,xm._32(n,24)._canLabelFloat,xm._32(n,24)._shouldLabelFloat(),xm._32(n,24)._hideControlPlaceholder(),xm._32(n,24)._control.disabled,xm._32(n,24)._control.focused,"primary"==xm._32(n,24).color,"accent"==xm._32(n,24).color,"warn"==xm._32(n,24).color,xm._32(n,24)._shouldForward("untouched"),xm._32(n,24)._shouldForward("touched"),xm._32(n,24)._shouldForward("pristine"),xm._32(n,24)._shouldForward("dirty"),xm._32(n,24)._shouldForward("valid"),xm._32(n,24)._shouldForward("invalid"),xm._32(n,24)._shouldForward("pending")]);l(n,33,1,[xm._32(n,39).ngClassUntouched,xm._32(n,39).ngClassTouched,xm._32(n,39).ngClassPristine,xm._32(n,39).ngClassDirty,xm._32(n,39).ngClassValid,xm._32(n,39).ngClassInvalid,xm._32(n,39).ngClassPending,xm._32(n,40)._isServer,xm._32(n,40).id,xm._32(n,40).placeholder,xm._32(n,40).disabled,xm._32(n,40).required,xm._32(n,40).readonly,xm._32(n,40)._ariaDescribedby||null,xm._32(n,40).errorState,xm._32(n,40).required.toString()]);l(n,44,1,[xm._32(n,45)._control.errorState,xm._32(n,45)._control.errorState,xm._32(n,45)._canLabelFloat,xm._32(n,45)._shouldLabelFloat(),xm._32(n,45)._hideControlPlaceholder(),xm._32(n,45)._control.disabled,xm._32(n,45)._control.focused,"primary"==xm._32(n,45).color,"accent"==xm._32(n,45).color,"warn"==xm._32(n,45).color,xm._32(n,45)._shouldForward("untouched"),xm._32(n,45)._shouldForward("touched"),xm._32(n,45)._shouldForward("pristine"),xm._32(n,45)._shouldForward("dirty"),xm._32(n,45)._shouldForward("valid"),xm._32(n,45)._shouldForward("invalid"),xm._32(n,45)._shouldForward("pending")]);l(n,54,1,[xm._32(n,60).ngClassUntouched,xm._32(n,60).ngClassTouched,xm._32(n,60).ngClassPristine,xm._32(n,60).ngClassDirty,xm._32(n,60).ngClassValid,xm._32(n,60).ngClassInvalid,xm._32(n,60).ngClassPending,xm._32(n,61)._isServer,xm._32(n,61).id,xm._32(n,61).placeholder,xm._32(n,61).disabled,xm._32(n,61).required,xm._32(n,61).readonly,xm._32(n,61)._ariaDescribedby||null,xm._32(n,61).errorState,xm._32(n,61).required.toString()])})}function B_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addSalesCal()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function $_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"h3",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Grand Total : "])),(l()(),xm._18(2,0,null,null,1,"span",[["item-rigth",""]],null,null,null,null,null)),(l()(),xm._39(3,null,["",""]))],null,function(l,n){l(n,3,0,n.component.grandTotal)})}function M_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,177,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,171,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,1,"h3",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Itemwise"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(11,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(12,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_item"],["matInput",""],["name","sales_item"],["placeholder","Product/Services"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,22)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,22).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,22)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,22)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,27)._onInput()&&u}if("blur"===n){u=!1!==a.salecalculat(l.context.index,l.context.$implicit)&&u}return u},null,null)),xm._17(22,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(24,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(26,16384,null,0,Km.s,[Km.r],null,null),xm._17(27,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(31,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(32,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(41,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_qty"],["matInput",""],["name","sales_qty"],["placeholder","Sale Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,42)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,42).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,42)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,42)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,43).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,43).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,43).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,48)._onInput()&&u}if("blur"===n){u=!1!==a.salecalculat(l.context.index,l.context.$implicit)&&u}return u},null,null)),xm._17(42,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(43,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(45,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(47,16384,null,0,Km.s,[Km.r],null,null),xm._17(48,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[9,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(52,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(53,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,16,{_control:0}),xm._37(335544320,17,{_placeholderChild:0}),xm._37(335544320,18,{_labelChild:0}),xm._37(603979776,19,{_errorChildren:1}),xm._37(603979776,20,{_hintChildren:1}),xm._37(603979776,21,{_prefixChildren:1}),xm._37(603979776,22,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(62,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_uom_id"],["name","fk_uom_id"],["placeholder","UOM"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,67)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(64,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(66,16384,null,0,Km.s,[Km.r],null,null),xm._17(67,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,23,{options:1}),xm._37(603979776,24,{optionGroups:1}),xm._37(335544320,25,{customTrigger:0}),xm._36(2048,[[16,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,W_)),xm._17(74,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(78,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(79,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(88,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["name","rate_per_unit"],["placeholder","Rate per unit of sale"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,89)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,89).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,89)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,89)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,90).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,90).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,90).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,95)._onInput()&&u}return u},null,null)),xm._17(89,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(90,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(92,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(94,16384,null,0,Km.s,[Km.r],null,null),xm._17(95,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[26,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(99,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(100,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,33,{_control:0}),xm._37(335544320,34,{_placeholderChild:0}),xm._37(335544320,35,{_labelChild:0}),xm._37(603979776,36,{_errorChildren:1}),xm._37(603979776,37,{_hintChildren:1}),xm._37(603979776,38,{_prefixChildren:1}),xm._37(603979776,39,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(109,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,114)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,114)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,114)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.salecalculat(l.context.index,l.context.$implicit)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(111,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(113,16384,null,0,Km.s,[Km.r],null,null),xm._17(114,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,40,{options:1}),xm._37(603979776,41,{optionGroups:1}),xm._37(335544320,42,{customTrigger:0}),xm._36(2048,[[33,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,R_)),xm._17(121,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(125,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(126,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(135,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_sale_value"],["matInput",""],["name","annual_sale_value"],["placeholder","Annual Sales"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,136)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,136).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,136)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,136)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,137).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,137).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,137).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,142)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,142)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,142)._onInput()&&u}return u},null,null)),xm._17(136,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(137,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(139,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(141,16384,null,0,Km.s,[Km.r],null,null),xm._17(142,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[43,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,U_)),xm._17(147,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(149,0,null,0,23,"ion-buttons",[],null,null,null,null,null)),xm._17(150,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,71,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(153,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(154,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(156,0,null,null,7,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(157,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(159,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeSalesCal(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(161,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(162,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(165,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""],["text-right",""]],null,null,null,null,null)),xm._17(166,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,B_)),xm._17(169,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,$_)),xm._17(175,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,24,0,"sales_item");l(n,27,0,"Product/Services","text");l(n,45,0,"sales_qty");l(n,48,0,"Sale Quantity","number");l(n,64,0,"fk_uom_id");l(n,67,0,"UOM");l(n,74,0,e.UOM);l(n,92,0,"rate_per_unit");l(n,95,0,"Rate per unit of sale","number");l(n,111,0,"fk_frequency_id");l(n,114,0,"frequency");l(n,121,0,e.m_freqOfPurchase);l(n,139,0,"annual_sale_value");l(n,142,0,"Annual Sales","number","");l(n,147,0,2==e.grossprofitCalc.mode);l(n,162,0,"optblue","md-trash");l(n,169,0,n.context.last);l(n,175,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,11,1,[xm._32(n,12)._control.errorState,xm._32(n,12)._control.errorState,xm._32(n,12)._canLabelFloat,xm._32(n,12)._shouldLabelFloat(),xm._32(n,12)._hideControlPlaceholder(),xm._32(n,12)._control.disabled,xm._32(n,12)._control.focused,"primary"==xm._32(n,12).color,"accent"==xm._32(n,12).color,"warn"==xm._32(n,12).color,xm._32(n,12)._shouldForward("untouched"),xm._32(n,12)._shouldForward("touched"),xm._32(n,12)._shouldForward("pristine"),xm._32(n,12)._shouldForward("dirty"),xm._32(n,12)._shouldForward("valid"),xm._32(n,12)._shouldForward("invalid"),xm._32(n,12)._shouldForward("pending")]);l(n,21,1,[xm._32(n,26).ngClassUntouched,xm._32(n,26).ngClassTouched,xm._32(n,26).ngClassPristine,xm._32(n,26).ngClassDirty,xm._32(n,26).ngClassValid,xm._32(n,26).ngClassInvalid,xm._32(n,26).ngClassPending,xm._32(n,27)._isServer,xm._32(n,27).id,xm._32(n,27).placeholder,xm._32(n,27).disabled,xm._32(n,27).required,xm._32(n,27).readonly,xm._32(n,27)._ariaDescribedby||null,xm._32(n,27).errorState,xm._32(n,27).required.toString()]);l(n,31,1,[xm._32(n,32)._control.errorState,xm._32(n,32)._control.errorState,xm._32(n,32)._canLabelFloat,xm._32(n,32)._shouldLabelFloat(),xm._32(n,32)._hideControlPlaceholder(),xm._32(n,32)._control.disabled,xm._32(n,32)._control.focused,"primary"==xm._32(n,32).color,"accent"==xm._32(n,32).color,"warn"==xm._32(n,32).color,xm._32(n,32)._shouldForward("untouched"),xm._32(n,32)._shouldForward("touched"),xm._32(n,32)._shouldForward("pristine"),xm._32(n,32)._shouldForward("dirty"),xm._32(n,32)._shouldForward("valid"),xm._32(n,32)._shouldForward("invalid"),xm._32(n,32)._shouldForward("pending")]);l(n,41,1,[xm._32(n,47).ngClassUntouched,xm._32(n,47).ngClassTouched,xm._32(n,47).ngClassPristine,xm._32(n,47).ngClassDirty,xm._32(n,47).ngClassValid,xm._32(n,47).ngClassInvalid,xm._32(n,47).ngClassPending,xm._32(n,48)._isServer,xm._32(n,48).id,xm._32(n,48).placeholder,xm._32(n,48).disabled,xm._32(n,48).required,xm._32(n,48).readonly,xm._32(n,48)._ariaDescribedby||null,xm._32(n,48).errorState,xm._32(n,48).required.toString()]);l(n,52,1,[xm._32(n,53)._control.errorState,xm._32(n,53)._control.errorState,xm._32(n,53)._canLabelFloat,xm._32(n,53)._shouldLabelFloat(),xm._32(n,53)._hideControlPlaceholder(),xm._32(n,53)._control.disabled,xm._32(n,53)._control.focused,"primary"==xm._32(n,53).color,"accent"==xm._32(n,53).color,"warn"==xm._32(n,53).color,xm._32(n,53)._shouldForward("untouched"),xm._32(n,53)._shouldForward("touched"),xm._32(n,53)._shouldForward("pristine"),xm._32(n,53)._shouldForward("dirty"),xm._32(n,53)._shouldForward("valid"),xm._32(n,53)._shouldForward("invalid"),xm._32(n,53)._shouldForward("pending")]);l(n,62,1,[xm._32(n,66).ngClassUntouched,xm._32(n,66).ngClassTouched,xm._32(n,66).ngClassPristine,xm._32(n,66).ngClassDirty,xm._32(n,66).ngClassValid,xm._32(n,66).ngClassInvalid,xm._32(n,66).ngClassPending,xm._32(n,67).id,xm._32(n,67).tabIndex,xm._32(n,67)._ariaLabel,xm._32(n,67).ariaLabelledby,xm._32(n,67).required.toString(),xm._32(n,67).disabled.toString(),xm._32(n,67).errorState,xm._32(n,67).panelOpen?xm._32(n,67)._optionIds:null,xm._32(n,67).multiple,xm._32(n,67)._ariaDescribedby||null,xm._32(n,67)._getAriaActiveDescendant(),xm._32(n,67).disabled,xm._32(n,67).errorState,xm._32(n,67).required]);l(n,78,1,[xm._32(n,79)._control.errorState,xm._32(n,79)._control.errorState,xm._32(n,79)._canLabelFloat,xm._32(n,79)._shouldLabelFloat(),xm._32(n,79)._hideControlPlaceholder(),xm._32(n,79)._control.disabled,xm._32(n,79)._control.focused,"primary"==xm._32(n,79).color,"accent"==xm._32(n,79).color,"warn"==xm._32(n,79).color,xm._32(n,79)._shouldForward("untouched"),xm._32(n,79)._shouldForward("touched"),xm._32(n,79)._shouldForward("pristine"),xm._32(n,79)._shouldForward("dirty"),xm._32(n,79)._shouldForward("valid"),xm._32(n,79)._shouldForward("invalid"),xm._32(n,79)._shouldForward("pending")]);l(n,88,1,[xm._32(n,94).ngClassUntouched,xm._32(n,94).ngClassTouched,xm._32(n,94).ngClassPristine,xm._32(n,94).ngClassDirty,xm._32(n,94).ngClassValid,xm._32(n,94).ngClassInvalid,xm._32(n,94).ngClassPending,xm._32(n,95)._isServer,xm._32(n,95).id,xm._32(n,95).placeholder,xm._32(n,95).disabled,xm._32(n,95).required,xm._32(n,95).readonly,xm._32(n,95)._ariaDescribedby||null,xm._32(n,95).errorState,xm._32(n,95).required.toString()]);l(n,99,1,[xm._32(n,100)._control.errorState,xm._32(n,100)._control.errorState,xm._32(n,100)._canLabelFloat,xm._32(n,100)._shouldLabelFloat(),xm._32(n,100)._hideControlPlaceholder(),xm._32(n,100)._control.disabled,xm._32(n,100)._control.focused,"primary"==xm._32(n,100).color,"accent"==xm._32(n,100).color,"warn"==xm._32(n,100).color,xm._32(n,100)._shouldForward("untouched"),xm._32(n,100)._shouldForward("touched"),xm._32(n,100)._shouldForward("pristine"),xm._32(n,100)._shouldForward("dirty"),xm._32(n,100)._shouldForward("valid"),xm._32(n,100)._shouldForward("invalid"),xm._32(n,100)._shouldForward("pending")]);l(n,109,1,[xm._32(n,113).ngClassUntouched,xm._32(n,113).ngClassTouched,xm._32(n,113).ngClassPristine,xm._32(n,113).ngClassDirty,xm._32(n,113).ngClassValid,xm._32(n,113).ngClassInvalid,xm._32(n,113).ngClassPending,xm._32(n,114).id,xm._32(n,114).tabIndex,xm._32(n,114)._ariaLabel,xm._32(n,114).ariaLabelledby,xm._32(n,114).required.toString(),xm._32(n,114).disabled.toString(),xm._32(n,114).errorState,xm._32(n,114).panelOpen?xm._32(n,114)._optionIds:null,xm._32(n,114).multiple,xm._32(n,114)._ariaDescribedby||null,xm._32(n,114)._getAriaActiveDescendant(),xm._32(n,114).disabled,xm._32(n,114).errorState,xm._32(n,114).required]);l(n,125,1,[xm._32(n,126)._control.errorState,xm._32(n,126)._control.errorState,xm._32(n,126)._canLabelFloat,xm._32(n,126)._shouldLabelFloat(),xm._32(n,126)._hideControlPlaceholder(),xm._32(n,126)._control.disabled,xm._32(n,126)._control.focused,"primary"==xm._32(n,126).color,"accent"==xm._32(n,126).color,"warn"==xm._32(n,126).color,xm._32(n,126)._shouldForward("untouched"),xm._32(n,126)._shouldForward("touched"),xm._32(n,126)._shouldForward("pristine"),xm._32(n,126)._shouldForward("dirty"),xm._32(n,126)._shouldForward("valid"),xm._32(n,126)._shouldForward("invalid"),xm._32(n,126)._shouldForward("pending")]);l(n,135,1,[xm._32(n,141).ngClassUntouched,xm._32(n,141).ngClassTouched,xm._32(n,141).ngClassPristine,xm._32(n,141).ngClassDirty,xm._32(n,141).ngClassValid,xm._32(n,141).ngClassInvalid,xm._32(n,141).ngClassPending,xm._32(n,142)._isServer,xm._32(n,142).id,xm._32(n,142).placeholder,xm._32(n,142).disabled,xm._32(n,142).required,xm._32(n,142).readonly,xm._32(n,142)._ariaDescribedby||null,xm._32(n,142).errorState,xm._32(n,142).required.toString()]);l(n,161,0,xm._32(n,162)._hidden)})}function K_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,E_)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,7,"div",[["formArrayName","salesCalItemwise"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(31,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(33,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,M_)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(40,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveData(a.assessedForm.value)&&u}return u},Db.b,Db.a)),xm._17(44,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.assessedForm);l(n,31,0,"salesCalItemwise");l(n,36,0,e.assessedForm.get("salesCalItemwise").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,30,0,xm._32(n,33).ngClassUntouched,xm._32(n,33).ngClassTouched,xm._32(n,33).ngClassPristine,xm._32(n,33).ngClassDirty,xm._32(n,33).ngClassValid,xm._32(n,33).ngClassInvalid,xm._32(n,33).ngClassPending)})}function H_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["House Hold Expense"]))],null,null)}function G_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[23,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Y_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addHouseExpenses()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Q_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Total Household Expenses :"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(11,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),xm._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(15,null,[" ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandHouseExpenseTotal)})}function z_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,121,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,115,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(9,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_item"],["matInput",""],["name","expense_value"],["placeholder","Expense Particulars"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,24)._onInput()&&u}return u},null,null)),xm._17(19,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(21,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(23,16384,null,0,Km.s,[Km.r],null,null),xm._17(24,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(28,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(29,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(38,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_value"],["matInput",""],["name","expense_value"],["placeholder","Amount (Rs)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,39)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,40).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,40).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,40).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,45)._onInput()&&u}return u},null,null)),xm._17(39,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(40,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(42,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(44,16384,null,0,Km.s,[Km.r],null,null),xm._17(45,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[9,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(49,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(50,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,16,{_control:0}),xm._37(335544320,17,{_placeholderChild:0}),xm._37(335544320,18,{_labelChild:0}),xm._37(603979776,19,{_errorChildren:1}),xm._37(603979776,20,{_hintChildren:1}),xm._37(603979776,21,{_prefixChildren:1}),xm._37(603979776,22,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(59,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,64)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,64)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,64)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.houseExpensecalculat(l.context.index,l.context.$implicit)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(61,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(63,16384,null,0,Km.s,[Km.r],null,null),xm._17(64,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,23,{options:1}),xm._37(603979776,24,{optionGroups:1}),xm._37(335544320,25,{customTrigger:0}),xm._36(2048,[[16,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,G_)),xm._17(71,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(75,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(76,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(85,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_expense_value"],["matInput",""],["name","annual_expense_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,86)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,86).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,86)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,86)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,87).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,87).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,87).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,92)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,92)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,92)._onInput()&&u}return u},null,null)),xm._17(86,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(87,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(89,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(91,16384,null,0,Km.s,[Km.r],null,null),xm._17(92,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[26,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(96,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(97,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,33,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(100,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(101,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(103,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteHouseExpense(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(105,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(106,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(110,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),xm._17(111,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Y_)),xm._17(114,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n \n "])),(l()(),xm._39(-1,0,["\n \n \n "])),(l()(),xm._13(16777216,null,0,1,null,Q_)),xm._17(119,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"expense_item");l(n,24,0,"Expense Particulars","text");l(n,42,0,"expense_value");l(n,45,0,"Amount (Rs)","number");l(n,61,0,"fk_frequency_id");l(n,64,0,"frequency");l(n,71,0,e.m_freqOfPurchase);l(n,89,0,"annual_expense_value");l(n,92,0,"Annual Expenses","number","");l(n,106,0,"optblue","md-trash");l(n,114,0,n.context.last);l(n,119,0,n.context.last&&null!=e.grandExpenseTotal)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,8,1,[xm._32(n,9)._control.errorState,xm._32(n,9)._control.errorState,xm._32(n,9)._canLabelFloat,xm._32(n,9)._shouldLabelFloat(),xm._32(n,9)._hideControlPlaceholder(),xm._32(n,9)._control.disabled,xm._32(n,9)._control.focused,"primary"==xm._32(n,9).color,"accent"==xm._32(n,9).color,"warn"==xm._32(n,9).color,xm._32(n,9)._shouldForward("untouched"),xm._32(n,9)._shouldForward("touched"),xm._32(n,9)._shouldForward("pristine"),xm._32(n,9)._shouldForward("dirty"),xm._32(n,9)._shouldForward("valid"),xm._32(n,9)._shouldForward("invalid"),xm._32(n,9)._shouldForward("pending")]);l(n,18,1,[xm._32(n,23).ngClassUntouched,xm._32(n,23).ngClassTouched,xm._32(n,23).ngClassPristine,xm._32(n,23).ngClassDirty,xm._32(n,23).ngClassValid,xm._32(n,23).ngClassInvalid,xm._32(n,23).ngClassPending,xm._32(n,24)._isServer,xm._32(n,24).id,xm._32(n,24).placeholder,xm._32(n,24).disabled,xm._32(n,24).required,xm._32(n,24).readonly,xm._32(n,24)._ariaDescribedby||null,xm._32(n,24).errorState,xm._32(n,24).required.toString()]);l(n,28,1,[xm._32(n,29)._control.errorState,xm._32(n,29)._control.errorState,xm._32(n,29)._canLabelFloat,xm._32(n,29)._shouldLabelFloat(),xm._32(n,29)._hideControlPlaceholder(),xm._32(n,29)._control.disabled,xm._32(n,29)._control.focused,"primary"==xm._32(n,29).color,"accent"==xm._32(n,29).color,"warn"==xm._32(n,29).color,xm._32(n,29)._shouldForward("untouched"),xm._32(n,29)._shouldForward("touched"),xm._32(n,29)._shouldForward("pristine"),xm._32(n,29)._shouldForward("dirty"),xm._32(n,29)._shouldForward("valid"),xm._32(n,29)._shouldForward("invalid"),xm._32(n,29)._shouldForward("pending")]);l(n,38,1,[xm._32(n,44).ngClassUntouched,xm._32(n,44).ngClassTouched,xm._32(n,44).ngClassPristine,xm._32(n,44).ngClassDirty,xm._32(n,44).ngClassValid,xm._32(n,44).ngClassInvalid,xm._32(n,44).ngClassPending,xm._32(n,45)._isServer,xm._32(n,45).id,xm._32(n,45).placeholder,xm._32(n,45).disabled,xm._32(n,45).required,xm._32(n,45).readonly,xm._32(n,45)._ariaDescribedby||null,xm._32(n,45).errorState,xm._32(n,45).required.toString()]);l(n,49,1,[xm._32(n,50)._control.errorState,xm._32(n,50)._control.errorState,xm._32(n,50)._canLabelFloat,xm._32(n,50)._shouldLabelFloat(),xm._32(n,50)._hideControlPlaceholder(),xm._32(n,50)._control.disabled,xm._32(n,50)._control.focused,"primary"==xm._32(n,50).color,"accent"==xm._32(n,50).color,"warn"==xm._32(n,50).color,xm._32(n,50)._shouldForward("untouched"),xm._32(n,50)._shouldForward("touched"),xm._32(n,50)._shouldForward("pristine"),xm._32(n,50)._shouldForward("dirty"),xm._32(n,50)._shouldForward("valid"),xm._32(n,50)._shouldForward("invalid"),xm._32(n,50)._shouldForward("pending")]);l(n,59,1,[xm._32(n,63).ngClassUntouched,xm._32(n,63).ngClassTouched,xm._32(n,63).ngClassPristine,xm._32(n,63).ngClassDirty,xm._32(n,63).ngClassValid,xm._32(n,63).ngClassInvalid,xm._32(n,63).ngClassPending,xm._32(n,64).id,xm._32(n,64).tabIndex,xm._32(n,64)._ariaLabel,xm._32(n,64).ariaLabelledby,xm._32(n,64).required.toString(),xm._32(n,64).disabled.toString(),xm._32(n,64).errorState,xm._32(n,64).panelOpen?xm._32(n,64)._optionIds:null,xm._32(n,64).multiple,xm._32(n,64)._ariaDescribedby||null,xm._32(n,64)._getAriaActiveDescendant(),xm._32(n,64).disabled,xm._32(n,64).errorState,xm._32(n,64).required]);l(n,75,1,[xm._32(n,76)._control.errorState,xm._32(n,76)._control.errorState,xm._32(n,76)._canLabelFloat,xm._32(n,76)._shouldLabelFloat(),xm._32(n,76)._hideControlPlaceholder(),xm._32(n,76)._control.disabled,xm._32(n,76)._control.focused,"primary"==xm._32(n,76).color,"accent"==xm._32(n,76).color,"warn"==xm._32(n,76).color,xm._32(n,76)._shouldForward("untouched"),xm._32(n,76)._shouldForward("touched"),xm._32(n,76)._shouldForward("pristine"),xm._32(n,76)._shouldForward("dirty"),xm._32(n,76)._shouldForward("valid"),xm._32(n,76)._shouldForward("invalid"),xm._32(n,76)._shouldForward("pending")]);l(n,85,1,[xm._32(n,91).ngClassUntouched,xm._32(n,91).ngClassTouched,xm._32(n,91).ngClassPristine,xm._32(n,91).ngClassDirty,xm._32(n,91).ngClassValid,xm._32(n,91).ngClassInvalid,xm._32(n,91).ngClassPending,xm._32(n,92)._isServer,xm._32(n,92).id,xm._32(n,92).placeholder,xm._32(n,92).disabled,xm._32(n,92).required,xm._32(n,92).readonly,xm._32(n,92)._ariaDescribedby||null,xm._32(n,92).errorState,xm._32(n,92).required.toString()]);l(n,105,0,xm._32(n,106)._hidden)})}function J_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,H_)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,7,"div",[["formArrayName","houseExpense"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(31,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(33,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,z_)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(40,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveHouseExpenseData(a.houseHoldForm.value)&&u}return u},Db.b,Db.a)),xm._17(44,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.houseHoldForm);l(n,31,0,"houseExpense");l(n,36,0,e.houseHoldForm.get("houseExpense").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,30,0,xm._32(n,33).ngClassUntouched,xm._32(n,33).ngClassTouched,xm._32(n,33).ngClassPristine,xm._32(n,33).ngClassDirty,xm._32(n,33).ngClassValid,xm._32(n,33).ngClassInvalid,xm._32(n,33).ngClassPending)})}function X_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Purchase"]))],null,null)}function Z_(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[23,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ld(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[40,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function nd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPurchaseDetails()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function ed(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Grand Total:"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(11,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),xm._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(15,null,[" ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandpurchaseTotal)})}function ud(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,189,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,183,"mat-card",[["class","box mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(8,0,null,0,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(11,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(20,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_item"],["matInput",""],["name","purchase_item"],["placeholder","Raw Material / Trading Item"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,21)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,21).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,21)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,21)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,28)._onInput()&&u}return u},null,null)),xm._17(21,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(22,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(25,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(27,16384,null,0,Km.s,[Km.r],null,null),xm._17(28,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(33,0,null,0,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(36,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_qty"],["matInput",""],["name","purchase_qty"],["placeholder","Purchase Quantity"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}return u},null,null)),xm._17(46,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(47,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[9,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(58,0,null,0,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(61,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,16,{_control:0}),xm._37(335544320,17,{_placeholderChild:0}),xm._37(335544320,18,{_labelChild:0}),xm._37(603979776,19,{_errorChildren:1}),xm._37(603979776,20,{_hintChildren:1}),xm._37(603979776,21,{_prefixChildren:1}),xm._37(603979776,22,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_uom_id"],["name","fk_uom_id"],["placeholder","UOM"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,75)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(72,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(74,16384,null,0,Km.s,[Km.r],null,null),xm._17(75,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,23,{options:1}),xm._37(603979776,24,{optionGroups:1}),xm._37(335544320,25,{customTrigger:0}),xm._36(2048,[[16,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Z_)),xm._17(82,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(87,0,null,0,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(89,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(90,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(99,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["name","rate_per_unit"],["placeholder","Rate per unit of Purchase"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,100)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,100).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,100)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,100)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,107)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,107)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,107)._onInput()&&u}return u},null,null)),xm._17(100,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(101,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(104,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(106,16384,null,0,Km.s,[Km.r],null,null),xm._17(107,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),xm._36(2048,[[26,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(112,0,null,0,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(114,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(115,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,33,{_control:0}),xm._37(335544320,34,{_placeholderChild:0}),xm._37(335544320,35,{_labelChild:0}),xm._37(603979776,36,{_errorChildren:1}),xm._37(603979776,37,{_hintChildren:1}),xm._37(603979776,38,{_prefixChildren:1}),xm._37(603979776,39,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(124,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,129)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,129)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,129)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.salecalculat(l.context.index,l.context.$implicit)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(126,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(128,16384,null,0,Km.s,[Km.r],null,null),xm._17(129,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,40,{options:1}),xm._37(603979776,41,{optionGroups:1}),xm._37(335544320,42,{customTrigger:0}),xm._36(2048,[[33,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ld)),xm._17(136,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(141,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(143,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(144,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(153,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_purchase_value"],["matInput",""],["name","annual_purchase_value"],["placeholder","Annual Purchase Value"],["readonly",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,154)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,154).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,154)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,154)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,159)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,159)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,159)._onInput()&&u}return u},null,null)),xm._17(154,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(156,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(158,16384,null,0,Km.s,[Km.r],null,null),xm._17(159,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[43,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(164,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(165,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,50,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(168,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(169,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(171,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePurchaseDetails(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(173,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(174,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(178,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),xm._17(179,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,nd)),xm._17(182,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n \n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._13(16777216,null,0,1,null,ed)),xm._17(187,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"");l(n,25,0,"purchase_item");l(n,28,0,"Raw Material / Trading Item","","text");l(n,47,0,"");l(n,50,0,"purchase_qty");l(n,53,0,"Purchase Quantity","","text");l(n,72,0,"fk_uom_id");l(n,75,0,"UOM");l(n,82,0,e.UOM);l(n,101,0,"");l(n,104,0,"rate_per_unit");l(n,107,0,"Rate per unit of Purchase","","text");l(n,126,0,"fk_frequency_id");l(n,129,0,"frequency");l(n,136,0,e.m_freqOfPurchase);l(n,156,0,"annual_purchase_value");l(n,159,0,"Annual Purchase Value","text","");l(n,174,0,"optblue","md-trash");l(n,182,0,n.context.last);l(n,187,0,n.context.last&&null!=e.grandpurchaseTotal)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,10,1,[xm._32(n,11)._control.errorState,xm._32(n,11)._control.errorState,xm._32(n,11)._canLabelFloat,xm._32(n,11)._shouldLabelFloat(),xm._32(n,11)._hideControlPlaceholder(),xm._32(n,11)._control.disabled,xm._32(n,11)._control.focused,"primary"==xm._32(n,11).color,"accent"==xm._32(n,11).color,"warn"==xm._32(n,11).color,xm._32(n,11)._shouldForward("untouched"),xm._32(n,11)._shouldForward("touched"),xm._32(n,11)._shouldForward("pristine"),xm._32(n,11)._shouldForward("dirty"),xm._32(n,11)._shouldForward("valid"),xm._32(n,11)._shouldForward("invalid"),xm._32(n,11)._shouldForward("pending")]);l(n,20,1,[xm._32(n,22).required?"":null,xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending,xm._32(n,28)._isServer,xm._32(n,28).id,xm._32(n,28).placeholder,xm._32(n,28).disabled,xm._32(n,28).required,xm._32(n,28).readonly,xm._32(n,28)._ariaDescribedby||null,xm._32(n,28).errorState,xm._32(n,28).required.toString()]);l(n,35,1,[xm._32(n,36)._control.errorState,xm._32(n,36)._control.errorState,xm._32(n,36)._canLabelFloat,xm._32(n,36)._shouldLabelFloat(),xm._32(n,36)._hideControlPlaceholder(),xm._32(n,36)._control.disabled,xm._32(n,36)._control.focused,"primary"==xm._32(n,36).color,"accent"==xm._32(n,36).color,"warn"==xm._32(n,36).color,xm._32(n,36)._shouldForward("untouched"),xm._32(n,36)._shouldForward("touched"),xm._32(n,36)._shouldForward("pristine"),xm._32(n,36)._shouldForward("dirty"),xm._32(n,36)._shouldForward("valid"),xm._32(n,36)._shouldForward("invalid"),xm._32(n,36)._shouldForward("pending")]);l(n,45,1,[xm._32(n,47).required?"":null,xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()]);l(n,60,1,[xm._32(n,61)._control.errorState,xm._32(n,61)._control.errorState,xm._32(n,61)._canLabelFloat,xm._32(n,61)._shouldLabelFloat(),xm._32(n,61)._hideControlPlaceholder(),xm._32(n,61)._control.disabled,xm._32(n,61)._control.focused,"primary"==xm._32(n,61).color,"accent"==xm._32(n,61).color,"warn"==xm._32(n,61).color,xm._32(n,61)._shouldForward("untouched"),xm._32(n,61)._shouldForward("touched"),xm._32(n,61)._shouldForward("pristine"),xm._32(n,61)._shouldForward("dirty"),xm._32(n,61)._shouldForward("valid"),xm._32(n,61)._shouldForward("invalid"),xm._32(n,61)._shouldForward("pending")]);l(n,70,1,[xm._32(n,74).ngClassUntouched,xm._32(n,74).ngClassTouched,xm._32(n,74).ngClassPristine,xm._32(n,74).ngClassDirty,xm._32(n,74).ngClassValid,xm._32(n,74).ngClassInvalid,xm._32(n,74).ngClassPending,xm._32(n,75).id,xm._32(n,75).tabIndex,xm._32(n,75)._ariaLabel,xm._32(n,75).ariaLabelledby,xm._32(n,75).required.toString(),xm._32(n,75).disabled.toString(),xm._32(n,75).errorState,xm._32(n,75).panelOpen?xm._32(n,75)._optionIds:null,xm._32(n,75).multiple,xm._32(n,75)._ariaDescribedby||null,xm._32(n,75)._getAriaActiveDescendant(),xm._32(n,75).disabled,xm._32(n,75).errorState,xm._32(n,75).required]);l(n,89,1,[xm._32(n,90)._control.errorState,xm._32(n,90)._control.errorState,xm._32(n,90)._canLabelFloat,xm._32(n,90)._shouldLabelFloat(),xm._32(n,90)._hideControlPlaceholder(),xm._32(n,90)._control.disabled,xm._32(n,90)._control.focused,"primary"==xm._32(n,90).color,"accent"==xm._32(n,90).color,"warn"==xm._32(n,90).color,xm._32(n,90)._shouldForward("untouched"),xm._32(n,90)._shouldForward("touched"),xm._32(n,90)._shouldForward("pristine"),xm._32(n,90)._shouldForward("dirty"),xm._32(n,90)._shouldForward("valid"),xm._32(n,90)._shouldForward("invalid"),xm._32(n,90)._shouldForward("pending")]);l(n,99,1,[xm._32(n,101).required?"":null,xm._32(n,106).ngClassUntouched,xm._32(n,106).ngClassTouched,xm._32(n,106).ngClassPristine,xm._32(n,106).ngClassDirty,xm._32(n,106).ngClassValid,xm._32(n,106).ngClassInvalid,xm._32(n,106).ngClassPending,xm._32(n,107)._isServer,xm._32(n,107).id,xm._32(n,107).placeholder,xm._32(n,107).disabled,xm._32(n,107).required,xm._32(n,107).readonly,xm._32(n,107)._ariaDescribedby||null,xm._32(n,107).errorState,xm._32(n,107).required.toString()]);l(n,114,1,[xm._32(n,115)._control.errorState,xm._32(n,115)._control.errorState,xm._32(n,115)._canLabelFloat,xm._32(n,115)._shouldLabelFloat(),xm._32(n,115)._hideControlPlaceholder(),xm._32(n,115)._control.disabled,xm._32(n,115)._control.focused,"primary"==xm._32(n,115).color,"accent"==xm._32(n,115).color,"warn"==xm._32(n,115).color,xm._32(n,115)._shouldForward("untouched"),xm._32(n,115)._shouldForward("touched"),xm._32(n,115)._shouldForward("pristine"),xm._32(n,115)._shouldForward("dirty"),xm._32(n,115)._shouldForward("valid"),xm._32(n,115)._shouldForward("invalid"),xm._32(n,115)._shouldForward("pending")]);l(n,124,1,[xm._32(n,128).ngClassUntouched,xm._32(n,128).ngClassTouched,xm._32(n,128).ngClassPristine,xm._32(n,128).ngClassDirty,xm._32(n,128).ngClassValid,xm._32(n,128).ngClassInvalid,xm._32(n,128).ngClassPending,xm._32(n,129).id,xm._32(n,129).tabIndex,xm._32(n,129)._ariaLabel,xm._32(n,129).ariaLabelledby,xm._32(n,129).required.toString(),xm._32(n,129).disabled.toString(),xm._32(n,129).errorState,xm._32(n,129).panelOpen?xm._32(n,129)._optionIds:null,xm._32(n,129).multiple,xm._32(n,129)._ariaDescribedby||null,xm._32(n,129)._getAriaActiveDescendant(),xm._32(n,129).disabled,xm._32(n,129).errorState,xm._32(n,129).required]);l(n,143,1,[xm._32(n,144)._control.errorState,xm._32(n,144)._control.errorState,xm._32(n,144)._canLabelFloat,xm._32(n,144)._shouldLabelFloat(),xm._32(n,144)._hideControlPlaceholder(),xm._32(n,144)._control.disabled,xm._32(n,144)._control.focused,"primary"==xm._32(n,144).color,"accent"==xm._32(n,144).color,"warn"==xm._32(n,144).color,xm._32(n,144)._shouldForward("untouched"),xm._32(n,144)._shouldForward("touched"),xm._32(n,144)._shouldForward("pristine"),xm._32(n,144)._shouldForward("dirty"),xm._32(n,144)._shouldForward("valid"),xm._32(n,144)._shouldForward("invalid"),xm._32(n,144)._shouldForward("pending")]);l(n,153,1,[xm._32(n,158).ngClassUntouched,xm._32(n,158).ngClassTouched,xm._32(n,158).ngClassPristine,xm._32(n,158).ngClassDirty,xm._32(n,158).ngClassValid,xm._32(n,158).ngClassInvalid,xm._32(n,158).ngClassPending,xm._32(n,159)._isServer,xm._32(n,159).id,xm._32(n,159).placeholder,xm._32(n,159).disabled,xm._32(n,159).required,xm._32(n,159).readonly,xm._32(n,159)._ariaDescribedby||null,xm._32(n,159).errorState,xm._32(n,159).required.toString()]);l(n,173,0,xm._32(n,174)._hidden)})}function ad(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,X_)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,7,"div",[["formArrayName","purchase"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(31,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(33,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ud)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(40,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.savepurchaseData(a.rawMaterialForm.value)&&u}return u},Db.b,Db.a)),xm._17(44,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.rawMaterialForm);l(n,31,0,"purchase");l(n,36,0,e.rawMaterialForm.get("purchase").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,30,0,xm._32(n,33).ngClassUntouched,xm._32(n,33).ngClassTouched,xm._32(n,33).ngClassPristine,xm._32(n,33).ngClassDirty,xm._32(n,33).ngClassValid,xm._32(n,33).ngClassInvalid,xm._32(n,33).ngClassPending)})}function td(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function id(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,22,"mat-list",[["class","mat-list"],["style","width: 100%"]],null,null,null,Bb.d,Bb.a)),xm._17(1,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Sales"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(6,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","margin"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(7,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,4,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(10,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(12,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,15)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(15,4440064,[[4,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Gross Margin"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(18,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,19)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(19,4440064,[[4,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Net Margin"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,10,0,"margin");l(n,15,0,"1");l(n,19,0,"2")},function(l,n){l(n,6,0,xm._32(n,12).ngClassUntouched,xm._32(n,12).ngClassTouched,xm._32(n,12).ngClassPristine,xm._32(n,12).ngClassDirty,xm._32(n,12).ngClassValid,xm._32(n,12).ngClassInvalid,xm._32(n,12).ngClassPending);l(n,14,0,xm._32(n,15).checked,xm._32(n,15).disabled,xm._32(n,15).id);l(n,18,0,xm._32(n,19).checked,xm._32(n,19).disabled,xm._32(n,19).id)})}function od(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function rd(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function _d(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function dd(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function sd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(2)&&u}return u},nb.d,nb.a)),xm._17(4,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,_d)),xm._17(7,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(0,[["nopurchaseData",2]],0,0,null,dd)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(11,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(12,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(14,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["PURCHASE"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.purchaseData,xm._32(n,9));l(n,12,0,"logo-android")},function(l,n){l(n,11,0,xm._32(n,12)._hidden)})}function cd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function md(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function pd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function fd(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function hd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function gd(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["--"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,null)}function bd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,127,"mat-card",[["class","mat-card"],["style","margin-bottom:10px;"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,1,"h4",[["text-center",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["SUMMARY"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(6,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,16,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(9,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(12,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(14,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Business Revenue"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(18,0,null,null,5,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(19,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(21,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(22,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(26,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(28,0,null,0,16,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(29,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(32,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Purchase"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(38,0,null,null,5,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(39,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(41,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(42,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(46,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(48,0,null,0,16,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(49,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(51,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(52,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(54,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Gross Profit"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(58,0,null,null,5,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(59,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(61,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(62,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(66,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(68,0,null,0,16,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(69,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(71,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(72,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(74,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Business Expense"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(78,0,null,null,5,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(79,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(81,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(82,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(86,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(88,0,null,0,16,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(89,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(91,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(92,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(94,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Business Income"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(98,0,null,null,5,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(99,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(101,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(102,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(106,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(108,0,null,0,16,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(109,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(111,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(112,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(114,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Net Profit"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(118,0,null,null,5,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),xm._17(119,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(121,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(122,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(126,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n \n "]))],null,function(l,n){var e=n.component;l(n,22,0,e.finalIncome.sales_revenue);l(n,42,0,e.finalExpense.purchase);l(n,62,0,e.finalData.gross_profit);l(n,82,0,e.finalExpense.business_expense);l(n,102,0,e.finalData.other_business_income);l(n,122,0,e.finalExpense.net_profit)})}function vd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,95,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,24,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(3,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),xm._17(6,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(8,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(1)&&u}return u},nb.d,nb.a)),xm._17(9,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,od)),xm._17(12,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(0,[["noSalesData",2]],0,0,null,rd)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(16,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(17,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(19,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["SALES"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,sd)),xm._17(25,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(28,0,null,null,40,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(29,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),xm._17(32,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(3)&&u}return u},nb.d,nb.a)),xm._17(35,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,cd)),xm._17(38,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(0,[["nobusinessData",2]],0,0,null,md)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(42,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(43,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(45,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["BUSINESS EXPENSE"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(50,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),xm._17(51,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(53,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(4)&&u}return u},nb.d,nb.a)),xm._17(54,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,pd)),xm._17(57,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(0,[["nohouseExpenseData",2]],0,0,null,fd)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(61,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(62,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(64,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["HOUSE HOLD"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(70,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(71,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(73,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),xm._17(74,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(76,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(5)&&u}return u},nb.d,nb.a)),xm._17(77,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,hd)),xm._17(80,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(0,[["nobusinessIncome",2]],0,0,null,gd)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(84,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(85,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(87,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["OTHER BUSINESS INCOME"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,bd)),xm._17(94,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,e.salesData,xm._32(n,14));l(n,17,0,"logo-android");l(n,25,0,1==e.grossprofit.mode);l(n,38,0,e.businessData,xm._32(n,40));l(n,43,0,"logo-android");l(n,57,0,e.houseExpenseData,xm._32(n,59));l(n,62,0,"logo-android");l(n,80,0,e.businessIncome,xm._32(n,82));l(n,85,0,"logo-android");l(n,94,0,e.finalAccess)},function(l,n){l(n,16,0,xm._32(n,17)._hidden);l(n,42,0,xm._32(n,43)._hidden);l(n,61,0,xm._32(n,62)._hidden);l(n,84,0,xm._32(n,85)._hidden)})}function yd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,td)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(21,0,null,null,74,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,65,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),xm._17(25,16384,null,0,Bv.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(27,16777216,null,null,61,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,$v.d,$v.a)),xm._36(6144,null,ob.F,null,[Bv.c]),xm._17(29,278528,null,0,Df.h,[xm.B,xm.C,xm.p,xm.P],{ngClass:[0,"ngClass"]},null),xm._17(30,1753088,null,1,Bv.c,[[2,Bv.a],xm.i,Hb.d,xm._1],null,null),xm._37(335544320,2,{_lazyContent:0}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(33,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,34)._toggle()&&u}if("keydown"===n){u=!1!==xm._32(l,34)._keydown(e)&&u}return u},$v.c,$v.b)),xm._17(34,180224,null,0,Bv.e,[Bv.c,xm.p,sb.j,xm.i],null,null),xm._34(35,{collapsedHeight:0,expandedHeight:1}),xm._34(36,{value:0,params:1}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(38,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),xm._17(39,16384,null,0,Bv.f,[],null,null),(l()(),xm._39(-1,null,["\n Purchase Calculation\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,44,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(44,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(46,0,null,0,40,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,48).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,48).onReset()&&u}return u},null,null)),xm._17(47,16384,null,0,Km.B,[],null,null),xm._17(48,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(50,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(52,0,null,null,22,"mat-list",[["class","mat-list"],["style","width: 100%"]],null,null,null,Bb.d,Bb.a)),xm._17(53,49152,null,0,$b.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(55,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Purchase Detail Available"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(58,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","mode"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(59,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,3,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(62,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(64,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(66,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,67)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(67,4440064,[[3,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,71)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(71,4440064,[[3,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,id)),xm._17(77,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(79,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(80,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(82,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveAssessedForm(a.assessedForm.value)&&u}return u},Db.b,Db.a)),xm._17(83,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Proceed"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(91,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,vd)),xm._17(94,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,29,0,e.grossAccess?"":e.expanded);l(n,48,0,e.assessedForm);l(n,62,0,"mode");l(n,67,0,"1");l(n,71,0,"2");l(n,77,0,2==e.assessedForm.get("mode").value);l(n,83,0,"optblue","");l(n,94,0,e.assessedProcess)},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,27,0,xm._32(n,30).expanded,xm._32(n,30)._hasSpacing());l(n,33,0,xm._32(n,34).panel._headerId,xm._32(n,34).panel.disabled?-1:0,xm._32(n,34)._getPanelId(),xm._32(n,34)._isExpanded(),xm._32(n,34).panel.disabled,xm._32(n,34)._isExpanded(),l(n,36,0,xm._32(n,34)._getExpandedState(),l(n,35,0,xm._32(n,34).collapsedHeight,xm._32(n,34).expandedHeight)));l(n,46,0,xm._32(n,50).ngClassUntouched,xm._32(n,50).ngClassTouched,xm._32(n,50).ngClassPristine,xm._32(n,50).ngClassDirty,xm._32(n,50).ngClassValid,xm._32(n,50).ngClassInvalid,xm._32(n,50).ngClassPending);l(n,58,0,xm._32(n,64).ngClassUntouched,xm._32(n,64).ngClassTouched,xm._32(n,64).ngClassPristine,xm._32(n,64).ngClassDirty,xm._32(n,64).ngClassValid,xm._32(n,64).ngClassInvalid,xm._32(n,64).ngClassPending);l(n,66,0,xm._32(n,67).checked,xm._32(n,67).disabled,xm._32(n,67).id);l(n,70,0,xm._32(n,71).checked,xm._32(n,71).disabled,xm._32(n,71).id)})}function Cd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bounce_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.bounce_reason_name)})}function wd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","bounce_reason_others"],["placeholder","reason Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}if("ngModelChange"===n){u=!1!==(a.bounce_reason_others=e)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.v,[[8,null],[8,null],[8,null],[2,Km.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b])],function(l,n){l(n,13,0,"bounce_reason_others",n.component.bounce_reason_others);l(n,16,0,"reason Others")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Fd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(16,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(17,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Bounced Reject Reason"])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(22,0,null,null,46,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(25,0,null,1,42,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(26,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(28,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(29,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(38,0,null,1,13,"mat-select",[["class","mat-select"],["name","bounce_reason"],["placeholder","Reason"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,43)._onBlur()&&u}if("ngModelChange"===n){u=!1!==(a.bounce_reason=e)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(40,671744,null,0,Km.v,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),xm._36(2048,null,Km.r,null,[Km.v]),xm._17(42,16384,null,0,Km.s,[Km.r],null,null),xm._17(43,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Cd)),xm._17(50,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,wd)),xm._17(56,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(58,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(59,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(62,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.updatePDStatus()&&u}return u},Db.b,Db.a)),xm._17(63,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,1,["\n \n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,40,0,"bounce_reason",e.bounce_reason);l(n,43,0,"Reason");l(n,50,0,e.bounseMaster);l(n,56,0,"4"==e.bounce_reason);l(n,63,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,28,1,[xm._32(n,29)._control.errorState,xm._32(n,29)._control.errorState,xm._32(n,29)._canLabelFloat,xm._32(n,29)._shouldLabelFloat(),xm._32(n,29)._hideControlPlaceholder(),xm._32(n,29)._control.disabled,xm._32(n,29)._control.focused,"primary"==xm._32(n,29).color,"accent"==xm._32(n,29).color,"warn"==xm._32(n,29).color,xm._32(n,29)._shouldForward("untouched"),xm._32(n,29)._shouldForward("touched"),xm._32(n,29)._shouldForward("pristine"),xm._32(n,29)._shouldForward("dirty"),xm._32(n,29)._shouldForward("valid"),xm._32(n,29)._shouldForward("invalid"),xm._32(n,29)._shouldForward("pending")]);l(n,38,1,[xm._32(n,42).ngClassUntouched,xm._32(n,42).ngClassTouched,xm._32(n,42).ngClassPristine,xm._32(n,42).ngClassDirty,xm._32(n,42).ngClassValid,xm._32(n,42).ngClassInvalid,xm._32(n,42).ngClassPending,xm._32(n,43).id,xm._32(n,43).tabIndex,xm._32(n,43)._ariaLabel,xm._32(n,43).ariaLabelledby,xm._32(n,43).required.toString(),xm._32(n,43).disabled.toString(),xm._32(n,43).errorState,xm._32(n,43).panelOpen?xm._32(n,43)._optionIds:null,xm._32(n,43).multiple,xm._32(n,43)._ariaDescribedby||null,xm._32(n,43)._getAriaActiveDescendant(),xm._32(n,43).disabled,xm._32(n,43).errorState,xm._32(n,43).required])})}function xd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Business Expense"]))],null,null)}function Sd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.expense_item_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.expense_item)})}function Id(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function qd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBusinessDetails()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function kd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Total Business Expenses:"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(11,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),xm._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(15,null,[" ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandExpenseTotal)})}function Pd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,127,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,121,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(9,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","expense_item_id"],["placeholder","Buiness Expense"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,23)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Sd)),xm._17(30,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(34,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(35,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(44,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_value"],["matInput",""],["name","expense_value"],["placeholder","Amount (Rs)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,45)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,46).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,46).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,46).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,51)._onInput()&&u}return u},null,null)),xm._17(45,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(46,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(48,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(50,16384,null,0,Km.s,[Km.r],null,null),xm._17(51,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(55,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(56,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(65,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,70)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,70)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,70)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.busExpensecalculat(l.context.index,l.context.$implicit)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(67,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(69,16384,null,0,Km.s,[Km.r],null,null),xm._17(70,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,26,{options:1}),xm._37(603979776,27,{optionGroups:1}),xm._37(335544320,28,{customTrigger:0}),xm._36(2048,[[19,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Id)),xm._17(77,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(81,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(82,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,29,{_control:0}),xm._37(335544320,30,{_placeholderChild:0}),xm._37(335544320,31,{_labelChild:0}),xm._37(603979776,32,{_errorChildren:1}),xm._37(603979776,33,{_hintChildren:1}),xm._37(603979776,34,{_prefixChildren:1}),xm._37(603979776,35,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(91,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_expenses_value"],["matInput",""],["name","annual_expenses_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,92)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,92).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,92)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,92)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,93).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,93).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,93).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,98)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,98)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,98)._onInput()&&u}return u},null,null)),xm._17(92,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(93,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(95,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(97,16384,null,0,Km.s,[Km.r],null,null),xm._17(98,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[29,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(102,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(103,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,36,{_buttons:1}),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(106,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(107,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(109,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteBuisnessDetails(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(111,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(112,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(116,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),xm._17(117,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,qd)),xm._17(120,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n \n "])),(l()(),xm._39(-1,0,["\n\n \n "])),(l()(),xm._13(16777216,null,0,1,null,kd)),xm._17(125,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"expense_item_id");l(n,23,0,"Buiness Expense");l(n,30,0,e.businessExpenses);l(n,48,0,"expense_value");l(n,51,0,"Amount (Rs)","number");l(n,67,0,"fk_frequency_id");l(n,70,0,"frequency");l(n,77,0,e.m_freqOfPurchase);l(n,95,0,"annual_expenses_value");l(n,98,0,"Annual Expenses","number","");l(n,112,0,"optblue","md-trash");l(n,120,0,n.context.last);l(n,125,0,n.context.last&&null!=e.grandExpenseTotal)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,8,1,[xm._32(n,9)._control.errorState,xm._32(n,9)._control.errorState,xm._32(n,9)._canLabelFloat,xm._32(n,9)._shouldLabelFloat(),xm._32(n,9)._hideControlPlaceholder(),xm._32(n,9)._control.disabled,xm._32(n,9)._control.focused,"primary"==xm._32(n,9).color,"accent"==xm._32(n,9).color,"warn"==xm._32(n,9).color,xm._32(n,9)._shouldForward("untouched"),xm._32(n,9)._shouldForward("touched"),xm._32(n,9)._shouldForward("pristine"),xm._32(n,9)._shouldForward("dirty"),xm._32(n,9)._shouldForward("valid"),xm._32(n,9)._shouldForward("invalid"),xm._32(n,9)._shouldForward("pending")]);l(n,18,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23).id,xm._32(n,23).tabIndex,xm._32(n,23)._ariaLabel,xm._32(n,23).ariaLabelledby,xm._32(n,23).required.toString(),xm._32(n,23).disabled.toString(),xm._32(n,23).errorState,xm._32(n,23).panelOpen?xm._32(n,23)._optionIds:null,xm._32(n,23).multiple,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23)._getAriaActiveDescendant(),xm._32(n,23).disabled,xm._32(n,23).errorState,xm._32(n,23).required]);l(n,34,1,[xm._32(n,35)._control.errorState,xm._32(n,35)._control.errorState,xm._32(n,35)._canLabelFloat,xm._32(n,35)._shouldLabelFloat(),xm._32(n,35)._hideControlPlaceholder(),xm._32(n,35)._control.disabled,xm._32(n,35)._control.focused,"primary"==xm._32(n,35).color,"accent"==xm._32(n,35).color,"warn"==xm._32(n,35).color,xm._32(n,35)._shouldForward("untouched"),xm._32(n,35)._shouldForward("touched"),xm._32(n,35)._shouldForward("pristine"),xm._32(n,35)._shouldForward("dirty"),xm._32(n,35)._shouldForward("valid"),xm._32(n,35)._shouldForward("invalid"),xm._32(n,35)._shouldForward("pending")]);l(n,44,1,[xm._32(n,50).ngClassUntouched,xm._32(n,50).ngClassTouched,xm._32(n,50).ngClassPristine,xm._32(n,50).ngClassDirty,xm._32(n,50).ngClassValid,xm._32(n,50).ngClassInvalid,xm._32(n,50).ngClassPending,xm._32(n,51)._isServer,xm._32(n,51).id,xm._32(n,51).placeholder,xm._32(n,51).disabled,xm._32(n,51).required,xm._32(n,51).readonly,xm._32(n,51)._ariaDescribedby||null,xm._32(n,51).errorState,xm._32(n,51).required.toString()]);l(n,55,1,[xm._32(n,56)._control.errorState,xm._32(n,56)._control.errorState,xm._32(n,56)._canLabelFloat,xm._32(n,56)._shouldLabelFloat(),xm._32(n,56)._hideControlPlaceholder(),xm._32(n,56)._control.disabled,xm._32(n,56)._control.focused,"primary"==xm._32(n,56).color,"accent"==xm._32(n,56).color,"warn"==xm._32(n,56).color,xm._32(n,56)._shouldForward("untouched"),xm._32(n,56)._shouldForward("touched"),xm._32(n,56)._shouldForward("pristine"),xm._32(n,56)._shouldForward("dirty"),xm._32(n,56)._shouldForward("valid"),xm._32(n,56)._shouldForward("invalid"),xm._32(n,56)._shouldForward("pending")]);l(n,65,1,[xm._32(n,69).ngClassUntouched,xm._32(n,69).ngClassTouched,xm._32(n,69).ngClassPristine,xm._32(n,69).ngClassDirty,xm._32(n,69).ngClassValid,xm._32(n,69).ngClassInvalid,xm._32(n,69).ngClassPending,xm._32(n,70).id,xm._32(n,70).tabIndex,xm._32(n,70)._ariaLabel,xm._32(n,70).ariaLabelledby,xm._32(n,70).required.toString(),xm._32(n,70).disabled.toString(),xm._32(n,70).errorState,xm._32(n,70).panelOpen?xm._32(n,70)._optionIds:null,xm._32(n,70).multiple,xm._32(n,70)._ariaDescribedby||null,xm._32(n,70)._getAriaActiveDescendant(),xm._32(n,70).disabled,xm._32(n,70).errorState,xm._32(n,70).required]);l(n,81,1,[xm._32(n,82)._control.errorState,xm._32(n,82)._control.errorState,xm._32(n,82)._canLabelFloat,xm._32(n,82)._shouldLabelFloat(),xm._32(n,82)._hideControlPlaceholder(),xm._32(n,82)._control.disabled,xm._32(n,82)._control.focused,"primary"==xm._32(n,82).color,"accent"==xm._32(n,82).color,"warn"==xm._32(n,82).color,xm._32(n,82)._shouldForward("untouched"),xm._32(n,82)._shouldForward("touched"),xm._32(n,82)._shouldForward("pristine"),xm._32(n,82)._shouldForward("dirty"),xm._32(n,82)._shouldForward("valid"),xm._32(n,82)._shouldForward("invalid"),xm._32(n,82)._shouldForward("pending")]);l(n,91,1,[xm._32(n,97).ngClassUntouched,xm._32(n,97).ngClassTouched,xm._32(n,97).ngClassPristine,xm._32(n,97).ngClassDirty,xm._32(n,97).ngClassValid,xm._32(n,97).ngClassInvalid,xm._32(n,97).ngClassPending,xm._32(n,98)._isServer,xm._32(n,98).id,xm._32(n,98).placeholder,xm._32(n,98).disabled,xm._32(n,98).required,xm._32(n,98).readonly,xm._32(n,98)._ariaDescribedby||null,xm._32(n,98).errorState,xm._32(n,98).required.toString()]);l(n,111,0,xm._32(n,112)._hidden)})}function Dd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,xd)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,7,"div",[["formArrayName","busExpense"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(31,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(33,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Pd)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(40,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveBusinessData(a.BuissnessForm.value)&&u}return u},Db.b,Db.a)),xm._17(44,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.BuissnessForm);l(n,31,0,"busExpense");l(n,36,0,e.BuissnessForm.get("busExpense").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,30,0,xm._32(n,33).ngClassUntouched,xm._32(n,33).ngClassTouched,xm._32(n,33).ngClassPristine,xm._32(n,33).ngClassDirty,xm._32(n,33).ngClassValid,xm._32(n,33).ngClassInvalid,xm._32(n,33).ngClassPending)})}function Td(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Od(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,48,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lender_representative_who_accompanies"],["matInput",""],["placeholder","What is the name of lender representative who accompanies the PD officer, If any?"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(16,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(17,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(27,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(28,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(37,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lender_representative_carry_loan_files"],["matInput",""],["placeholder","Did the lender representative carry the loan file during PD?"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,38)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,45)._onInput()&&u}return u},null,null)),xm._17(38,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(39,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(42,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(44,16384,null,0,Km.s,[Km.r],null,null),xm._17(45,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[19,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,17,0,"");l(n,20,0,"lender_representative_who_accompanies");l(n,23,0,"What is the name of lender representative who accompanies the PD officer, If any?","");l(n,39,0,"");l(n,42,0,"lender_representative_carry_loan_files");l(n,45,0,"Did the lender representative carry the loan file during PD?","")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,17).required?"":null,xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()]);l(n,27,1,[xm._32(n,28)._control.errorState,xm._32(n,28)._control.errorState,xm._32(n,28)._canLabelFloat,xm._32(n,28)._shouldLabelFloat(),xm._32(n,28)._hideControlPlaceholder(),xm._32(n,28)._control.disabled,xm._32(n,28)._control.focused,"primary"==xm._32(n,28).color,"accent"==xm._32(n,28).color,"warn"==xm._32(n,28).color,xm._32(n,28)._shouldForward("untouched"),xm._32(n,28)._shouldForward("touched"),xm._32(n,28)._shouldForward("pristine"),xm._32(n,28)._shouldForward("dirty"),xm._32(n,28)._shouldForward("valid"),xm._32(n,28)._shouldForward("invalid"),xm._32(n,28)._shouldForward("pending")]);l(n,37,1,[xm._32(n,39).required?"":null,xm._32(n,44).ngClassUntouched,xm._32(n,44).ngClassTouched,xm._32(n,44).ngClassPristine,xm._32(n,44).ngClassDirty,xm._32(n,44).ngClassValid,xm._32(n,44).ngClassInvalid,xm._32(n,44).ngClassPending,xm._32(n,45)._isServer,xm._32(n,45).id,xm._32(n,45).placeholder,xm._32(n,45).disabled,xm._32(n,45).required,xm._32(n,45).readonly,xm._32(n,45)._ariaDescribedby||null,xm._32(n,45).errorState,xm._32(n,45).required.toString()])})}function Ld(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,7,"div",[["formArrayName","lender_representative_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Od)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"lender_representative_details");l(n,8,0,e.representativeForm.get("lender_representative_details").controls)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function Ad(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Td)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,85,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n\n\n "])),(l()(),xm._18(24,0,null,1,81,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,36,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(31,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(33,0,null,0,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(34,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(43,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","lender_representative_accompany"],["placeholder","Did the lender representative accompany the PD officer for PD?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,47)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,47)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,47)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedLoanChanges(e)&&u}return u},xv.b,xv.a)),xm._17(44,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(46,16384,null,0,Km.s,[Km.r],null,null),xm._17(47,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,55)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(55,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(58,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,59)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(59,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,Ld)),xm._17(65,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(68,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(69,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(71,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(72,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(81,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(82,16384,[[28,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(85,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","representative_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,86)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,86).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,86)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,86)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,91)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,91)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,91)._onInput()&&u}return u},null,null)),xm._17(86,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(88,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(90,16384,null,0,Km.s,[Km.r],null,null),xm._17(91,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[26,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(96,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(97,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(100,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.sumbitData(a.representativeForm.value)&&u}return u},Db.b,Db.a)),xm._17(101,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.representativeForm);l(n,44,0,"lender_representative_accompany");l(n,47,0,"Did the lender representative accompany the PD officer for PD?");l(n,55,0,"Yes");l(n,59,0,"No");l(n,65,0,"Yes"==e.representativeForm.controls.lender_representative_accompany.value);l(n,88,0,"representative_remarks");l(n,91,0,"Remarks");l(n,101,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,33,1,[xm._32(n,34)._control.errorState,xm._32(n,34)._control.errorState,xm._32(n,34)._canLabelFloat,xm._32(n,34)._shouldLabelFloat(),xm._32(n,34)._hideControlPlaceholder(),xm._32(n,34)._control.disabled,xm._32(n,34)._control.focused,"primary"==xm._32(n,34).color,"accent"==xm._32(n,34).color,"warn"==xm._32(n,34).color,xm._32(n,34)._shouldForward("untouched"),xm._32(n,34)._shouldForward("touched"),xm._32(n,34)._shouldForward("pristine"),xm._32(n,34)._shouldForward("dirty"),xm._32(n,34)._shouldForward("valid"),xm._32(n,34)._shouldForward("invalid"),xm._32(n,34)._shouldForward("pending")]);l(n,43,1,[xm._32(n,46).ngClassUntouched,xm._32(n,46).ngClassTouched,xm._32(n,46).ngClassPristine,xm._32(n,46).ngClassDirty,xm._32(n,46).ngClassValid,xm._32(n,46).ngClassInvalid,xm._32(n,46).ngClassPending,xm._32(n,47).id,xm._32(n,47).tabIndex,xm._32(n,47)._ariaLabel,xm._32(n,47).ariaLabelledby,xm._32(n,47).required.toString(),xm._32(n,47).disabled.toString(),xm._32(n,47).errorState,xm._32(n,47).panelOpen?xm._32(n,47)._optionIds:null,xm._32(n,47).multiple,xm._32(n,47)._ariaDescribedby||null,xm._32(n,47)._getAriaActiveDescendant(),xm._32(n,47).disabled,xm._32(n,47).errorState,xm._32(n,47).required]);l(n,54,0,xm._32(n,55)._getTabIndex(),xm._32(n,55).selected,xm._32(n,55).multiple,xm._32(n,55).active,xm._32(n,55).id,xm._32(n,55).selected.toString(),xm._32(n,55).disabled.toString(),xm._32(n,55).disabled);l(n,58,0,xm._32(n,59)._getTabIndex(),xm._32(n,59).selected,xm._32(n,59).multiple,xm._32(n,59).active,xm._32(n,59).id,xm._32(n,59).selected.toString(),xm._32(n,59).disabled.toString(),xm._32(n,59).disabled);l(n,71,1,[xm._32(n,72)._control.errorState,xm._32(n,72)._control.errorState,xm._32(n,72)._canLabelFloat,xm._32(n,72)._shouldLabelFloat(),xm._32(n,72)._hideControlPlaceholder(),xm._32(n,72)._control.disabled,xm._32(n,72)._control.focused,"primary"==xm._32(n,72).color,"accent"==xm._32(n,72).color,"warn"==xm._32(n,72).color,xm._32(n,72)._shouldForward("untouched"),xm._32(n,72)._shouldForward("touched"),xm._32(n,72)._shouldForward("pristine"),xm._32(n,72)._shouldForward("dirty"),xm._32(n,72)._shouldForward("valid"),xm._32(n,72)._shouldForward("invalid"),xm._32(n,72)._shouldForward("pending")]);l(n,85,1,[xm._32(n,90).ngClassUntouched,xm._32(n,90).ngClassTouched,xm._32(n,90).ngClassPristine,xm._32(n,90).ngClassDirty,xm._32(n,90).ngClassValid,xm._32(n,90).ngClassInvalid,xm._32(n,90).ngClassPending,xm._32(n,91)._isServer,xm._32(n,91).id,xm._32(n,91).placeholder,xm._32(n,91).disabled,xm._32(n,91).required,xm._32(n,91).readonly,xm._32(n,91)._ariaDescribedby||null,xm._32(n,91).errorState,xm._32(n,91).required.toString()])})}function Vd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function jd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),xm._18(1,0,null,null,1,"ion-icon",[["name","copy"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(2,147456,[[6,4]],0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(3,null,["  ",""])),xm._35(4,1)],function(l,n){l(n,2,0,"copy")},function(l,n){l(n,1,0,xm._32(n,2)._hidden);l(n,3,0,xm._40(n,3,0,l(n,4,0,xm._32(n.parent.parent,0),n.parent.context.$implicit.get("course_name").value)))})}function Nd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,77,"ion-item-sliding",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Iy.b,Iy.a)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),xm._17(4,49152,null,2,qy.a,[[2,Yg.a],Wg.a,xm.O,xm.p,xm.H],null,null),xm._37(335544320,2,{item:0}),xm._37(603979776,3,{_itemOptions:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,0,21,"ion-item",[["class","item item-block"]],null,null,null,qg.b,qg.a)),xm._17(9,1097728,[[2,4]],3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,4,{contentLabel:0}),xm._37(603979776,5,{_buttons:1}),xm._37(603979776,6,{_icons:1}),xm._17(13,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(15,0,null,2,2,"h2",[["style","font-size: 18px !important;"]],null,null,null,null,null)),(l()(),xm._39(16,null,["",""])),xm._35(17,1),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(19,0,null,2,5,"p",[],null,null,null,null,null)),(l()(),xm._39(20,null,["Age : ","  "])),(l()(),xm._18(21,0,null,null,2,"ion-icon",[["name","school"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(22,147456,[[6,4]],0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(24,null,[" ",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._13(16777216,null,2,1,null,jd)),xm._17(27,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,1,45,"ion-item-options",[["side","right"]],null,null,null,null,null)),xm._17(32,16384,[[3,4]],0,ky.a,[xm.p,Wg.a],{side:[0,"side"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,34,"ion-list",[],null,null,null,null,null)),xm._17(35,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,30,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(38,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(40,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),xm._17(41,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,1,"p",[["style","font-size: 11px !important;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Person"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(46,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_person_met"]],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,47)._click(e)&&u}return u},Py.b,Py.a)),xm._17(47,1228800,null,0,Dy.a,[Dg.a,Pg.a,[2,kg.a],xm.p,xm.O],{color:[0,"color"]},null),xm._36(1024,null,Km.q,function(l){return[l]},[Dy.a]),xm._17(49,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(51,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(54,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),xm._17(55,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(57,0,null,null,1,"p",[["style","font-size: 12px !important;"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Applicant"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(60,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_applicant"]],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,61)._click(e)&&u}return u},Py.b,Py.a)),xm._17(61,1228800,null,0,Dy.a,[Dg.a,Pg.a,[2,kg.a],xm.p,xm.O],{color:[0,"color"]},null),xm._36(1024,null,Km.q,function(l){return[l]},[Dy.a]),xm._17(63,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(65,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,5,"button",[["color","danger"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,1)&&u}return u},Db.b,Db.a)),xm._17(71,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(73,0,null,0,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(74,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"school");l(n,27,0,""!=n.context.$implicit.get("course_name").value);l(n,32,0,"right");l(n,47,0,"dark");l(n,49,0,"is_person_met");l(n,61,0,"dark");l(n,63,0,"is_applicant");l(n,71,0,"danger");l(n,74,0,"trash")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,16,0,xm._40(n,16,0,l(n,17,0,xm._32(n.parent,0),n.context.$implicit.get("applicant_name").value)));l(n,20,0,n.context.$implicit.get("age").value);l(n,21,0,xm._32(n,22)._hidden);l(n,24,0,n.context.$implicit.get("qualification_name").value);l(n,46,0,xm._32(n,47)._disabled,xm._32(n,51).ngClassUntouched,xm._32(n,51).ngClassTouched,xm._32(n,51).ngClassPristine,xm._32(n,51).ngClassDirty,xm._32(n,51).ngClassValid,xm._32(n,51).ngClassInvalid,xm._32(n,51).ngClassPending);l(n,60,0,xm._32(n,61)._disabled,xm._32(n,65).ngClassUntouched,xm._32(n,65).ngClassTouched,xm._32(n,65).ngClassPristine,xm._32(n,65).ngClassDirty,xm._32(n,65).ngClassValid,xm._32(n,65).ngClassInvalid,xm._32(n,65).ngClassPending);l(n,73,0,xm._32(n,74)._hidden)})}function Ed(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(1)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),xm._39(-1,0,[" "])),(l()(),xm._18(3,0,null,0,1,"ion-icon",[["name","person-add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(4,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"person-add")},function(l,n){l(n,3,0,xm._32(n,4)._hidden)})}function Wd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(1)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),xm._39(-1,0,["Close"])),(l()(),xm._18(3,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(4,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"md-close")},function(l,n){l(n,3,0,xm._32(n,4)._hidden)})}function Rd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[14,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ud(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),xm._17(1,16384,[[20,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Name is Required"]))],null,function(l,n){l(n,0,0,xm._32(n,1).id)})}function Bd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),xm._17(1,16384,[[27,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Age is Required"]))],null,function(l,n){l(n,0,0,xm._32(n,1).id)})}function $d(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[38,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.qualification_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.qualification_name)})}function Md(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),xm._17(1,16384,[[34,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Qualification is Required"]))],null,function(l,n){l(n,0,0,xm._32(n,1).id)})}function Kd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,41,{_control:0}),xm._37(335544320,42,{_placeholderChild:0}),xm._37(335544320,43,{_labelChild:0}),xm._37(603979776,44,{_errorChildren:1}),xm._37(603979776,45,{_hintChildren:1}),xm._37(603979776,46,{_prefixChildren:1}),xm._37(603979776,47,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","course_name"],["matInput",""],["placeholder","Qualification Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[41,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"course_name");l(n,16,0,"Qualification Details")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Hd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,140,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,7,{_control:0}),xm._37(335544320,8,{_placeholderChild:0}),xm._37(335544320,9,{_labelChild:0}),xm._37(603979776,10,{_errorChildren:1}),xm._37(603979776,11,{_hintChildren:1}),xm._37(603979776,12,{_prefixChildren:1}),xm._37(603979776,13,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,20)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(17,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(19,16384,null,0,Km.s,[Km.r],null,null),xm._17(20,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,14,{options:1}),xm._37(603979776,15,{optionGroups:1}),xm._37(335544320,16,{customTrigger:0}),xm._36(2048,[[7,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Rd)),xm._17(27,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(31,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(32,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,17,{_control:0}),xm._37(335544320,18,{_placeholderChild:0}),xm._37(335544320,19,{_labelChild:0}),xm._37(603979776,20,{_errorChildren:1}),xm._37(603979776,21,{_hintChildren:1}),xm._37(603979776,22,{_prefixChildren:1}),xm._37(603979776,23,{_suffixChildren:1}),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._18(41,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","applicant_name"],["matInput",""],["placeholder","Name of the Person"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,42)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,42).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,42)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,42)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,47)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,47)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,47)._onInput()&&u}return u},null,null)),xm._17(42,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(44,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(46,16384,null,0,Km.s,[Km.r],null,null),xm._17(47,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[17,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,5,1,null,Ud)),xm._17(51,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(54,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(55,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,24,{_control:0}),xm._37(335544320,25,{_placeholderChild:0}),xm._37(335544320,26,{_labelChild:0}),xm._37(603979776,27,{_errorChildren:1}),xm._37(603979776,28,{_hintChildren:1}),xm._37(603979776,29,{_prefixChildren:1}),xm._37(603979776,30,{_suffixChildren:1}),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._18(64,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age"],["matInput",""],["placeholder","Person Age"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,65)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,66).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,66).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,66).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,71)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,71)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,71)._onInput()&&u}return u},null,null)),xm._17(65,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(66,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(68,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(70,16384,null,0,Km.s,[Km.r],null,null),xm._17(71,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[24,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,5,1,null,Bd)),xm._17(75,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(78,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(79,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,31,{_control:0}),xm._37(335544320,32,{_placeholderChild:0}),xm._37(335544320,33,{_labelChild:0}),xm._37(603979776,34,{_errorChildren:1}),xm._37(603979776,35,{_hintChildren:1}),xm._37(603979776,36,{_prefixChildren:1}),xm._37(603979776,37,{_suffixChildren:1}),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._18(88,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","qualification"],["placeholder","Qualification"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,93)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(90,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(92,16384,null,0,Km.s,[Km.r],null,null),xm._17(93,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,38,{options:1}),xm._37(603979776,39,{optionGroups:1}),xm._37(335544320,40,{customTrigger:0}),xm._36(2048,[[31,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,$d)),xm._17(100,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,5,1,null,Md)),xm._17(104,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Kd)),xm._17(108,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(110,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_person_met"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Qb.b,Qb.a)),xm._17(111,4374528,null,0,zb.b,[xm.p,xm.i,sb.j,[8,null],[2,zb.a]],{color:[0,"color"]},null),xm._36(1024,null,Km.q,function(l){return[l]},[zb.b]),xm._17(113,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(115,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,0,["Is Person Met"])),(l()(),xm._18(117,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,[" "])),(l()(),xm._18(119,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(121,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_applicant"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Qb.b,Qb.a)),xm._17(122,4374528,null,0,zb.b,[xm.p,xm.i,sb.j,[8,null],[2,zb.a]],{color:[0,"color"]},null),xm._36(1024,null,Km.q,function(l){return[l]},[zb.b]),xm._17(124,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(126,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,0,["Is Applicant"])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(129,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(130,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(132,0,null,null,6,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),xm._17(133,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(135,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.delete(1)&&u}return u},Db.b,Db.a)),xm._17(136,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add"])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"applicant_title_name");l(n,20,0,"Title");l(n,27,0,e.titleList);l(n,44,0,"applicant_name");l(n,47,0,"Name of the Person","text");l(n,51,0,(null==n.context.$implicit.controls.applicant_name.errors?null:n.context.$implicit.controls.applicant_name.errors.required)||n.context.$implicit.controls.applicant_name.touched);l(n,68,0,"age");l(n,71,0,"Person Age","number");l(n,75,0,(null==n.context.$implicit.controls.age.errors?null:n.context.$implicit.controls.age.errors.required)||n.context.$implicit.controls.age.touched);l(n,90,0,"qualification");l(n,93,0,"Qualification");l(n,100,0,e.qualificationList);l(n,104,0,(null==n.context.$implicit.controls.qualification.errors?null:n.context.$implicit.controls.qualification.errors.required)||n.context.$implicit.controls.qualification.touched);l(n,108,0,""!=n.context.$implicit.get("qualification").value);l(n,111,0,"primary");l(n,113,0,"is_person_met");l(n,122,0,"primary");l(n,124,0,"is_applicant");l(n,136,0,"optblue")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,19).ngClassUntouched,xm._32(n,19).ngClassTouched,xm._32(n,19).ngClassPristine,xm._32(n,19).ngClassDirty,xm._32(n,19).ngClassValid,xm._32(n,19).ngClassInvalid,xm._32(n,19).ngClassPending,xm._32(n,20).id,xm._32(n,20).tabIndex,xm._32(n,20)._ariaLabel,xm._32(n,20).ariaLabelledby,xm._32(n,20).required.toString(),xm._32(n,20).disabled.toString(),xm._32(n,20).errorState,xm._32(n,20).panelOpen?xm._32(n,20)._optionIds:null,xm._32(n,20).multiple,xm._32(n,20)._ariaDescribedby||null,xm._32(n,20)._getAriaActiveDescendant(),xm._32(n,20).disabled,xm._32(n,20).errorState,xm._32(n,20).required]);l(n,31,1,[xm._32(n,32)._control.errorState,xm._32(n,32)._control.errorState,xm._32(n,32)._canLabelFloat,xm._32(n,32)._shouldLabelFloat(),xm._32(n,32)._hideControlPlaceholder(),xm._32(n,32)._control.disabled,xm._32(n,32)._control.focused,"primary"==xm._32(n,32).color,"accent"==xm._32(n,32).color,"warn"==xm._32(n,32).color,xm._32(n,32)._shouldForward("untouched"),xm._32(n,32)._shouldForward("touched"),xm._32(n,32)._shouldForward("pristine"),xm._32(n,32)._shouldForward("dirty"),xm._32(n,32)._shouldForward("valid"),xm._32(n,32)._shouldForward("invalid"),xm._32(n,32)._shouldForward("pending")]);l(n,41,1,[xm._32(n,46).ngClassUntouched,xm._32(n,46).ngClassTouched,xm._32(n,46).ngClassPristine,xm._32(n,46).ngClassDirty,xm._32(n,46).ngClassValid,xm._32(n,46).ngClassInvalid,xm._32(n,46).ngClassPending,xm._32(n,47)._isServer,xm._32(n,47).id,xm._32(n,47).placeholder,xm._32(n,47).disabled,xm._32(n,47).required,xm._32(n,47).readonly,xm._32(n,47)._ariaDescribedby||null,xm._32(n,47).errorState,xm._32(n,47).required.toString()]);l(n,54,1,[xm._32(n,55)._control.errorState,xm._32(n,55)._control.errorState,xm._32(n,55)._canLabelFloat,xm._32(n,55)._shouldLabelFloat(),xm._32(n,55)._hideControlPlaceholder(),xm._32(n,55)._control.disabled,xm._32(n,55)._control.focused,"primary"==xm._32(n,55).color,"accent"==xm._32(n,55).color,"warn"==xm._32(n,55).color,xm._32(n,55)._shouldForward("untouched"),xm._32(n,55)._shouldForward("touched"),xm._32(n,55)._shouldForward("pristine"),xm._32(n,55)._shouldForward("dirty"),xm._32(n,55)._shouldForward("valid"),xm._32(n,55)._shouldForward("invalid"),xm._32(n,55)._shouldForward("pending")]);l(n,64,1,[xm._32(n,70).ngClassUntouched,xm._32(n,70).ngClassTouched,xm._32(n,70).ngClassPristine,xm._32(n,70).ngClassDirty,xm._32(n,70).ngClassValid,xm._32(n,70).ngClassInvalid,xm._32(n,70).ngClassPending,xm._32(n,71)._isServer,xm._32(n,71).id,xm._32(n,71).placeholder,xm._32(n,71).disabled,xm._32(n,71).required,xm._32(n,71).readonly,xm._32(n,71)._ariaDescribedby||null,xm._32(n,71).errorState,xm._32(n,71).required.toString()]);l(n,78,1,[xm._32(n,79)._control.errorState,xm._32(n,79)._control.errorState,xm._32(n,79)._canLabelFloat,xm._32(n,79)._shouldLabelFloat(),xm._32(n,79)._hideControlPlaceholder(),xm._32(n,79)._control.disabled,xm._32(n,79)._control.focused,"primary"==xm._32(n,79).color,"accent"==xm._32(n,79).color,"warn"==xm._32(n,79).color,xm._32(n,79)._shouldForward("untouched"),xm._32(n,79)._shouldForward("touched"),xm._32(n,79)._shouldForward("pristine"),xm._32(n,79)._shouldForward("dirty"),xm._32(n,79)._shouldForward("valid"),xm._32(n,79)._shouldForward("invalid"),xm._32(n,79)._shouldForward("pending")]);l(n,88,1,[xm._32(n,92).ngClassUntouched,xm._32(n,92).ngClassTouched,xm._32(n,92).ngClassPristine,xm._32(n,92).ngClassDirty,xm._32(n,92).ngClassValid,xm._32(n,92).ngClassInvalid,xm._32(n,92).ngClassPending,xm._32(n,93).id,xm._32(n,93).tabIndex,xm._32(n,93)._ariaLabel,xm._32(n,93).ariaLabelledby,xm._32(n,93).required.toString(),xm._32(n,93).disabled.toString(),xm._32(n,93).errorState,xm._32(n,93).panelOpen?xm._32(n,93)._optionIds:null,xm._32(n,93).multiple,xm._32(n,93)._ariaDescribedby||null,xm._32(n,93)._getAriaActiveDescendant(),xm._32(n,93).disabled,xm._32(n,93).errorState,xm._32(n,93).required]);l(n,110,1,[xm._32(n,111).id,xm._32(n,111).indeterminate,xm._32(n,111).checked,xm._32(n,111).disabled,"before"==xm._32(n,111).labelPosition,xm._32(n,115).ngClassUntouched,xm._32(n,115).ngClassTouched,xm._32(n,115).ngClassPristine,xm._32(n,115).ngClassDirty,xm._32(n,115).ngClassValid,xm._32(n,115).ngClassInvalid,xm._32(n,115).ngClassPending]);l(n,121,1,[xm._32(n,122).id,xm._32(n,122).indeterminate,xm._32(n,122).checked,xm._32(n,122).disabled,"before"==xm._32(n,122).labelPosition,xm._32(n,126).ngClassUntouched,xm._32(n,126).ngClassTouched,xm._32(n,126).ngClassPristine,xm._32(n,126).ngClassDirty,xm._32(n,126).ngClassValid,xm._32(n,126).ngClassInvalid,xm._32(n,126).ngClassPending])})}function Gd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,20,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(3,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(5,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,["Add individuals"])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(11,0,null,null,7,"div",[["formArrayName","individuals"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(12,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(14,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Hd)),xm._17(17,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"individuals");l(n,17,0,e.generalForm.controls.individuals.controls)},function(l,n){l(n,11,0,xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending)})}function Yd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Years"]))],null,null)}function Qd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Months"]))],null,null)}function zd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,47,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,41,"ion-item",[["class","item item-block"]],null,null,null,qg.b,qg.a)),xm._17(6,1097728,null,3,kg.a,[Pg.a,Dg.a,xm.p,xm.O,[2,Tg.a]],null,null),xm._37(335544320,48,{contentLabel:0}),xm._37(603979776,49,{_buttons:1}),xm._37(603979776,50,{_icons:1}),xm._17(10,16384,null,0,Og.a,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(13,0,null,1,19,"ion-label",[],null,null,null,null,null)),xm._17(14,16384,[[48,4]],0,hv.a,[Dg.a,xm.p,xm.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(16,0,null,null,2,"h2",[["h2",""],["style","font-size: 18px !important;"]],null,null,null,null,null)),(l()(),xm._39(17,null,["",""])),xm._35(18,1),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(20,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(21,null,["","  "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(23,0,null,null,8,"p",[],null,null,null,null,null)),(l()(),xm._18(24,0,null,null,1,"ion-icon",[["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(25,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(26,null,[" "," "])),(l()(),xm._13(16777216,null,null,1,null,Yd)),xm._17(28,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(29,null,[" "," "])),(l()(),xm._13(16777216,null,null,1,null,Qd)),xm._17(31,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(34,0,null,4,5,"ion-toggle",[["class","applicant_t"],["formControlName","is_company_applicant"],["item-end",""]],[[2,"toggle-disabled",null],[2,"toggle-checked",null],[2,"toggle-activated",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==xm._32(l,35)._keyup(e)&&u}return u},Ty.b,Ty.a)),xm._17(35,1228800,null,0,Oy.a,[Pg.a,Dg.a,Wg.a,xm.p,xm.O,Ly.a,[2,kg.a],Ug.l,Bg.a,xm.H],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Oy.a]),xm._17(37,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(39,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(41,0,null,4,3,"button",[["align","end"],["clear",""],["color","optblue"],["ion-button",""],["item-end",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,2)&&u}return u},Db.b,Db.a)),xm._17(42,1097728,[[49,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],small:[1,"small"],clear:[2,"clear"]},null),(l()(),xm._18(43,0,null,0,1,"ion-icon",[["name","close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(44,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"md-calendar");l(n,28,0,""!=n.context.$implicit.get("business_years").value);l(n,31,0,""!=n.context.$implicit.get("business_month").value);l(n,37,0,"is_company_applicant");l(n,42,0,"optblue","","");l(n,44,0,"close")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,17,0,xm._40(n,17,0,l(n,18,0,xm._32(n.parent,0),n.context.$implicit.get("company_name").value)));l(n,21,0,n.context.$implicit.get("business_entity_type_name").value);l(n,24,0,xm._32(n,25)._hidden);l(n,26,0,n.context.$implicit.get("business_years").value);l(n,29,0,n.context.$implicit.get("business_month").value);l(n,34,0,xm._32(n,35)._disabled,xm._32(n,35)._value,xm._32(n,35)._activated,xm._32(n,39).ngClassUntouched,xm._32(n,39).ngClassTouched,xm._32(n,39).ngClassPristine,xm._32(n,39).ngClassDirty,xm._32(n,39).ngClassValid,xm._32(n,39).ngClassInvalid,xm._32(n,39).ngClassPending);l(n,43,0,xm._32(n,44)._hidden)})}function Jd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(2)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,3,0,"add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Xd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(2)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),xm._39(-1,0,["Close"])),(l()(),xm._18(3,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(4,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"md-close")},function(l,n){l(n,3,0,xm._32(n,4)._hidden)})}function Zd(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),xm._17(1,16384,[[54,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Company Name is Required"]))],null,function(l,n){l(n,0,0,xm._32(n,1).id)})}function ls(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[65,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.business_entity_type_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.business_entity_type_name)})}function ns(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),xm._17(1,16384,[[61,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Business Entity Required"]))],null,function(l,n){l(n,0,0,xm._32(n,1).id)})}function es(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,68,{_control:0}),xm._37(335544320,69,{_placeholderChild:0}),xm._37(335544320,70,{_labelChild:0}),xm._37(603979776,71,{_errorChildren:1}),xm._37(603979776,72,{_hintChildren:1}),xm._37(603979776,73,{_prefixChildren:1}),xm._37(603979776,74,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_entity_type_other"],["matInput",""],["placeholder","Please Specity Others"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[68,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_entity_type_other");l(n,16,0,"Please Specity Others","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function us(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,157,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,51,{_control:0}),xm._37(335544320,52,{_placeholderChild:0}),xm._37(335544320,53,{_labelChild:0}),xm._37(603979776,54,{_errorChildren:1}),xm._37(603979776,55,{_hintChildren:1}),xm._37(603979776,56,{_prefixChildren:1}),xm._37(603979776,57,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,3,2,"mat-label",[["color","primary"],["stacked",""]],null,null,null,null,null)),xm._17(16,16384,[[53,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Company / Firm"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","company_name"],["matInput",""],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,27)._onInput()&&u}return u},null,null)),xm._17(20,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(21,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(24,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(26,16384,null,0,Km.s,[Km.r],null,null),xm._17(27,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{required:[0,"required"],type:[1,"type"]},null),xm._36(2048,[[51,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,5,1,null,Zd)),xm._17(31,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_company_applicant"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Qb.b,Qb.a)),xm._17(35,4374528,null,0,zb.b,[xm.p,xm.i,sb.j,[8,null],[2,zb.a]],{color:[0,"color"]},null),xm._36(1024,null,Km.q,function(l){return[l]},[zb.b]),xm._17(37,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(39,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,0,["Is Applicant"])),(l()(),xm._18(41,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(43,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(45,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(46,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,58,{_control:0}),xm._37(335544320,59,{_placeholderChild:0}),xm._37(335544320,60,{_labelChild:0}),xm._37(603979776,61,{_errorChildren:1}),xm._37(603979776,62,{_hintChildren:1}),xm._37(603979776,63,{_prefixChildren:1}),xm._37(603979776,64,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(55,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","business_entity_type"],["placeholder","Business Entity Type"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,62)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,62)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,62)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(57,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(59,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(61,16384,null,0,Km.s,[Km.r],null,null),xm._17(62,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,65,{options:1}),xm._37(603979776,66,{optionGroups:1}),xm._37(335544320,67,{customTrigger:0}),xm._36(2048,[[58,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ls)),xm._17(69,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,5,1,null,ns)),xm._17(73,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,es)),xm._17(77,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(79,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Number of Years For Which The Business Has Been Running"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(82,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(83,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,75,{_control:0}),xm._37(335544320,76,{_placeholderChild:0}),xm._37(335544320,77,{_labelChild:0}),xm._37(603979776,78,{_errorChildren:1}),xm._37(603979776,79,{_hintChildren:1}),xm._37(603979776,80,{_prefixChildren:1}),xm._37(603979776,81,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(92,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_years"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,93)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,93).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,93)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,93)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,94).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,94).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,94).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,99)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,99)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,99)._onInput()&&u}return u},null,null)),xm._17(93,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(94,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(96,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(98,16384,null,0,Km.s,[Km.r],null,null),xm._17(99,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[75,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(103,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(104,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,82,{_control:0}),xm._37(335544320,83,{_placeholderChild:0}),xm._37(335544320,84,{_labelChild:0}),xm._37(603979776,85,{_errorChildren:1}),xm._37(603979776,86,{_hintChildren:1}),xm._37(603979776,87,{_prefixChildren:1}),xm._37(603979776,88,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(113,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_month"],["matInput",""],["placeholder","Month"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,114)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,114).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,114)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,114)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,119)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,119)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,119)._onInput()&&u}if("change"===n){u=!1!==a.ConvertMonthintoYearforBusiness(e.target.value,l.context.index)&&u}return u},null,null)),xm._17(114,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(116,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(118,16384,null,0,Km.s,[Km.r],null,null),xm._17(119,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[82,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(123,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(124,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,89,{_control:0}),xm._37(335544320,90,{_placeholderChild:0}),xm._37(335544320,91,{_labelChild:0}),xm._37(603979776,92,{_errorChildren:1}),xm._37(603979776,93,{_hintChildren:1}),xm._37(603979776,94,{_prefixChildren:1}),xm._37(603979776,95,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(133,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_date_object"],["matInput",""],["placeholder","Enter Date of Formation, If Available"],["type","date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,134)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,134).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,134)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,134)._compositionEnd(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,135)._onInput(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,135)._onChange()&&u}if("blur"===n){u=!1!==xm._32(l,135)._onTouched()&&u}if("keydown"===n){u=!1!==xm._32(l,135)._onKeydown(e)&&u}if("blur"===n){u=!1!==xm._32(l,142)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,142)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,142)._onInput()&&u}if("dateChange"===n){u=!1!==a.getDateObjects(e.target.value,l.context.index)&&u}return u},null,null)),xm._17(134,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(135,1196032,null,0,Ay.g,[xm.p,[2,ob.c],[2,ob.g],[2,ib.b]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},{dateChange:"dateChange"}),xm._36(1024,null,Km.p,function(l){return[l]},[Ay.g]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Ay.g]),xm._17(138,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(140,16384,null,0,Km.s,[Km.r],null,null),xm._36(2048,null,rb.a,null,[Ay.g]),xm._17(142,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[2,rb.a]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[89,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(146,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(147,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(149,0,null,null,6,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),xm._17(150,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(152,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.delete(2)&&u}return u},Db.b,Db.a)),xm._17(153,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,0,["Add"])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"");l(n,24,0,"company_name");l(n,27,0,"","text");l(n,31,0,(null==n.context.$implicit.controls.company_name.errors?null:n.context.$implicit.controls.company_name.errors.required)||n.context.$implicit.controls.company_name.touched);l(n,35,0,"primary");l(n,37,0,"is_company_applicant");l(n,57,0,"");l(n,59,0,"business_entity_type");l(n,62,0,"Business Entity Type","");l(n,69,0,e.businessEntityTypeList);l(n,73,0,(null==n.context.$implicit.controls.business_entity_type.errors?null:n.context.$implicit.controls.business_entity_type.errors.required)||n.context.$implicit.controls.business_entity_type.touched);l(n,77,0,1==n.context.$implicit.value.business_entity_type);l(n,96,0,"business_years");l(n,99,0,"Year","number");l(n,116,0,"business_month");l(n,119,0,"Month","text");l(n,135,0,e.picker,e.maxDate);l(n,138,0,"business_date_object");l(n,142,0,"Enter Date of Formation, If Available","date");l(n,153,0,"optblue")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,19,1,[xm._32(n,21).required?"":null,xm._32(n,26).ngClassUntouched,xm._32(n,26).ngClassTouched,xm._32(n,26).ngClassPristine,xm._32(n,26).ngClassDirty,xm._32(n,26).ngClassValid,xm._32(n,26).ngClassInvalid,xm._32(n,26).ngClassPending,xm._32(n,27)._isServer,xm._32(n,27).id,xm._32(n,27).placeholder,xm._32(n,27).disabled,xm._32(n,27).required,xm._32(n,27).readonly,xm._32(n,27)._ariaDescribedby||null,xm._32(n,27).errorState,xm._32(n,27).required.toString()]);l(n,34,1,[xm._32(n,35).id,xm._32(n,35).indeterminate,xm._32(n,35).checked,xm._32(n,35).disabled,"before"==xm._32(n,35).labelPosition,xm._32(n,39).ngClassUntouched,xm._32(n,39).ngClassTouched,xm._32(n,39).ngClassPristine,xm._32(n,39).ngClassDirty,xm._32(n,39).ngClassValid,xm._32(n,39).ngClassInvalid,xm._32(n,39).ngClassPending]);l(n,45,1,[xm._32(n,46)._control.errorState,xm._32(n,46)._control.errorState,xm._32(n,46)._canLabelFloat,xm._32(n,46)._shouldLabelFloat(),xm._32(n,46)._hideControlPlaceholder(),xm._32(n,46)._control.disabled,xm._32(n,46)._control.focused,"primary"==xm._32(n,46).color,"accent"==xm._32(n,46).color,"warn"==xm._32(n,46).color,xm._32(n,46)._shouldForward("untouched"),xm._32(n,46)._shouldForward("touched"),xm._32(n,46)._shouldForward("pristine"),xm._32(n,46)._shouldForward("dirty"),xm._32(n,46)._shouldForward("valid"),xm._32(n,46)._shouldForward("invalid"),xm._32(n,46)._shouldForward("pending")]);l(n,55,1,[xm._32(n,57).required?"":null,xm._32(n,61).ngClassUntouched,xm._32(n,61).ngClassTouched,xm._32(n,61).ngClassPristine,xm._32(n,61).ngClassDirty,xm._32(n,61).ngClassValid,xm._32(n,61).ngClassInvalid,xm._32(n,61).ngClassPending,xm._32(n,62).id,xm._32(n,62).tabIndex,xm._32(n,62)._ariaLabel,xm._32(n,62).ariaLabelledby,xm._32(n,62).required.toString(),xm._32(n,62).disabled.toString(),xm._32(n,62).errorState,xm._32(n,62).panelOpen?xm._32(n,62)._optionIds:null,xm._32(n,62).multiple,xm._32(n,62)._ariaDescribedby||null,xm._32(n,62)._getAriaActiveDescendant(),xm._32(n,62).disabled,xm._32(n,62).errorState,xm._32(n,62).required]);l(n,82,1,[xm._32(n,83)._control.errorState,xm._32(n,83)._control.errorState,xm._32(n,83)._canLabelFloat,xm._32(n,83)._shouldLabelFloat(),xm._32(n,83)._hideControlPlaceholder(),xm._32(n,83)._control.disabled,xm._32(n,83)._control.focused,"primary"==xm._32(n,83).color,"accent"==xm._32(n,83).color,"warn"==xm._32(n,83).color,xm._32(n,83)._shouldForward("untouched"),xm._32(n,83)._shouldForward("touched"),xm._32(n,83)._shouldForward("pristine"),xm._32(n,83)._shouldForward("dirty"),xm._32(n,83)._shouldForward("valid"),xm._32(n,83)._shouldForward("invalid"),xm._32(n,83)._shouldForward("pending")]);l(n,92,1,[xm._32(n,98).ngClassUntouched,xm._32(n,98).ngClassTouched,xm._32(n,98).ngClassPristine,xm._32(n,98).ngClassDirty,xm._32(n,98).ngClassValid,xm._32(n,98).ngClassInvalid,xm._32(n,98).ngClassPending,xm._32(n,99)._isServer,xm._32(n,99).id,xm._32(n,99).placeholder,xm._32(n,99).disabled,xm._32(n,99).required,xm._32(n,99).readonly,xm._32(n,99)._ariaDescribedby||null,xm._32(n,99).errorState,xm._32(n,99).required.toString()]);l(n,103,1,[xm._32(n,104)._control.errorState,xm._32(n,104)._control.errorState,xm._32(n,104)._canLabelFloat,xm._32(n,104)._shouldLabelFloat(),xm._32(n,104)._hideControlPlaceholder(),xm._32(n,104)._control.disabled,xm._32(n,104)._control.focused,"primary"==xm._32(n,104).color,"accent"==xm._32(n,104).color,"warn"==xm._32(n,104).color,xm._32(n,104)._shouldForward("untouched"),xm._32(n,104)._shouldForward("touched"),xm._32(n,104)._shouldForward("pristine"),xm._32(n,104)._shouldForward("dirty"),xm._32(n,104)._shouldForward("valid"),xm._32(n,104)._shouldForward("invalid"),xm._32(n,104)._shouldForward("pending")]);l(n,113,1,[xm._32(n,118).ngClassUntouched,xm._32(n,118).ngClassTouched,xm._32(n,118).ngClassPristine,xm._32(n,118).ngClassDirty,xm._32(n,118).ngClassValid,xm._32(n,118).ngClassInvalid,xm._32(n,118).ngClassPending,xm._32(n,119)._isServer,xm._32(n,119).id,xm._32(n,119).placeholder,xm._32(n,119).disabled,xm._32(n,119).required,xm._32(n,119).readonly,xm._32(n,119)._ariaDescribedby||null,xm._32(n,119).errorState,xm._32(n,119).required.toString()]);l(n,123,1,[xm._32(n,124)._control.errorState,xm._32(n,124)._control.errorState,xm._32(n,124)._canLabelFloat,xm._32(n,124)._shouldLabelFloat(),xm._32(n,124)._hideControlPlaceholder(),xm._32(n,124)._control.disabled,xm._32(n,124)._control.focused,"primary"==xm._32(n,124).color,"accent"==xm._32(n,124).color,"warn"==xm._32(n,124).color,xm._32(n,124)._shouldForward("untouched"),xm._32(n,124)._shouldForward("touched"),xm._32(n,124)._shouldForward("pristine"),xm._32(n,124)._shouldForward("dirty"),xm._32(n,124)._shouldForward("valid"),xm._32(n,124)._shouldForward("invalid"),xm._32(n,124)._shouldForward("pending")]);l(n,133,1,[!0,(null==xm._32(n,135)._datepicker?null:xm._32(n,135)._datepicker.opened)&&xm._32(n,135)._datepicker.id||null,xm._32(n,135).min?xm._32(n,135)._dateAdapter.toIso8601(xm._32(n,135).min):null,xm._32(n,135).max?xm._32(n,135)._dateAdapter.toIso8601(xm._32(n,135).max):null,xm._32(n,135).disabled,xm._32(n,140).ngClassUntouched,xm._32(n,140).ngClassTouched,xm._32(n,140).ngClassPristine,xm._32(n,140).ngClassDirty,xm._32(n,140).ngClassValid,xm._32(n,140).ngClassInvalid,xm._32(n,140).ngClassPending,xm._32(n,142)._isServer,xm._32(n,142).id,xm._32(n,142).placeholder,xm._32(n,142).disabled,xm._32(n,142).required,xm._32(n,142).readonly,xm._32(n,142)._ariaDescribedby||null,xm._32(n,142).errorState,xm._32(n,142).required.toString()])})}function as(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(3,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(5,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,[" Add Company/Firm"])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,7,"div",[["formArrayName","companies"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(11,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(13,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,us)),xm._17(16,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"companies");l(n,16,0,e.generalForm.controls.companies.controls)},function(l,n){l(n,10,0,xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending)})}function ts(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[103,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.applicant_name)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function is(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[113,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function os(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[123,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent,0),n.context.$implicit.applicant_name)))})}function rs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,97,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(5,0,null,null,91,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(6,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(9,null,["Applicant ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(12,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,96,{_control:0}),xm._37(335544320,97,{_placeholderChild:0}),xm._37(335544320,98,{_labelChild:0}),xm._37(603979776,99,{_errorChildren:1}),xm._37(603979776,100,{_hintChildren:1}),xm._37(603979776,101,{_prefixChildren:1}),xm._37(603979776,102,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,26)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(23,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(25,16384,null,0,Km.s,[Km.r],null,null),xm._17(26,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,103,{options:1}),xm._37(603979776,104,{optionGroups:1}),xm._37(335544320,105,{customTrigger:0}),xm._36(2048,[[96,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ts)),xm._17(33,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,106,{_control:0}),xm._37(335544320,107,{_placeholderChild:0}),xm._37(335544320,108,{_labelChild:0}),xm._37(603979776,109,{_errorChildren:1}),xm._37(603979776,110,{_hintChildren:1}),xm._37(603979776,111,{_prefixChildren:1}),xm._37(603979776,112,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","relationship"],["placeholder","Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,52)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,52)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,52)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(49,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(51,16384,null,0,Km.s,[Km.r],null,null),xm._17(52,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,113,{options:1}),xm._37(603979776,114,{optionGroups:1}),xm._37(335544320,115,{customTrigger:0}),xm._36(2048,[[106,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,is)),xm._17(59,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(63,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(64,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,116,{_control:0}),xm._37(335544320,117,{_placeholderChild:0}),xm._37(335544320,118,{_labelChild:0}),xm._37(603979776,119,{_errorChildren:1}),xm._37(603979776,120,{_hintChildren:1}),xm._37(603979776,121,{_prefixChildren:1}),xm._37(603979776,122,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(73,0,null,1,21,"mat-select",[["class","mat-select"],["formControlName","relation_to"],["placeholder","RelationTo"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,77)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,77)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,77)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(74,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(76,16384,null,0,Km.s,[Km.r],null,null),xm._17(77,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,123,{options:1}),xm._37(603979776,124,{optionGroups:1}),xm._37(335544320,125,{customTrigger:0}),xm._36(2048,[[116,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(84,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,85)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,85)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(85,8437760,[[123,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,os)),xm._17(89,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(91,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,92)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,92)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(92,8437760,[[123,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Not Applicable"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,23,0,"applicant_name");l(n,26,0,"Applicant");l(n,33,0,e.fulldata);l(n,49,0,"relationship");l(n,52,0,"Relation");l(n,59,0,e.relationShipList);l(n,74,0,"relation_to");l(n,77,0,"RelationTo");l(n,89,0,e.individualsList);l(n,92,0,"0")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,11,1,[xm._32(n,12)._control.errorState,xm._32(n,12)._control.errorState,xm._32(n,12)._canLabelFloat,xm._32(n,12)._shouldLabelFloat(),xm._32(n,12)._hideControlPlaceholder(),xm._32(n,12)._control.disabled,xm._32(n,12)._control.focused,"primary"==xm._32(n,12).color,"accent"==xm._32(n,12).color,"warn"==xm._32(n,12).color,xm._32(n,12)._shouldForward("untouched"),xm._32(n,12)._shouldForward("touched"),xm._32(n,12)._shouldForward("pristine"),xm._32(n,12)._shouldForward("dirty"),xm._32(n,12)._shouldForward("valid"),xm._32(n,12)._shouldForward("invalid"),xm._32(n,12)._shouldForward("pending")]);l(n,21,1,[xm._32(n,25).ngClassUntouched,xm._32(n,25).ngClassTouched,xm._32(n,25).ngClassPristine,xm._32(n,25).ngClassDirty,xm._32(n,25).ngClassValid,xm._32(n,25).ngClassInvalid,xm._32(n,25).ngClassPending,xm._32(n,26).id,xm._32(n,26).tabIndex,xm._32(n,26)._ariaLabel,xm._32(n,26).ariaLabelledby,xm._32(n,26).required.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).errorState,xm._32(n,26).panelOpen?xm._32(n,26)._optionIds:null,xm._32(n,26).multiple,xm._32(n,26)._ariaDescribedby||null,xm._32(n,26)._getAriaActiveDescendant(),xm._32(n,26).disabled,xm._32(n,26).errorState,xm._32(n,26).required]);l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,1,[xm._32(n,51).ngClassUntouched,xm._32(n,51).ngClassTouched,xm._32(n,51).ngClassPristine,xm._32(n,51).ngClassDirty,xm._32(n,51).ngClassValid,xm._32(n,51).ngClassInvalid,xm._32(n,51).ngClassPending,xm._32(n,52).id,xm._32(n,52).tabIndex,xm._32(n,52)._ariaLabel,xm._32(n,52).ariaLabelledby,xm._32(n,52).required.toString(),xm._32(n,52).disabled.toString(),xm._32(n,52).errorState,xm._32(n,52).panelOpen?xm._32(n,52)._optionIds:null,xm._32(n,52).multiple,xm._32(n,52)._ariaDescribedby||null,xm._32(n,52)._getAriaActiveDescendant(),xm._32(n,52).disabled,xm._32(n,52).errorState,xm._32(n,52).required]);l(n,63,1,[xm._32(n,64)._control.errorState,xm._32(n,64)._control.errorState,xm._32(n,64)._canLabelFloat,xm._32(n,64)._shouldLabelFloat(),xm._32(n,64)._hideControlPlaceholder(),xm._32(n,64)._control.disabled,xm._32(n,64)._control.focused,"primary"==xm._32(n,64).color,"accent"==xm._32(n,64).color,"warn"==xm._32(n,64).color,xm._32(n,64)._shouldForward("untouched"),xm._32(n,64)._shouldForward("touched"),xm._32(n,64)._shouldForward("pristine"),xm._32(n,64)._shouldForward("dirty"),xm._32(n,64)._shouldForward("valid"),xm._32(n,64)._shouldForward("invalid"),xm._32(n,64)._shouldForward("pending")]);l(n,73,1,[xm._32(n,76).ngClassUntouched,xm._32(n,76).ngClassTouched,xm._32(n,76).ngClassPristine,xm._32(n,76).ngClassDirty,xm._32(n,76).ngClassValid,xm._32(n,76).ngClassInvalid,xm._32(n,76).ngClassPending,xm._32(n,77).id,xm._32(n,77).tabIndex,xm._32(n,77)._ariaLabel,xm._32(n,77).ariaLabelledby,xm._32(n,77).required.toString(),xm._32(n,77).disabled.toString(),xm._32(n,77).errorState,xm._32(n,77).panelOpen?xm._32(n,77)._optionIds:null,xm._32(n,77).multiple,xm._32(n,77)._ariaDescribedby||null,xm._32(n,77)._getAriaActiveDescendant(),xm._32(n,77).disabled,xm._32(n,77).errorState,xm._32(n,77).required]);l(n,84,0,xm._32(n,85)._getTabIndex(),xm._32(n,85).selected,xm._32(n,85).multiple,xm._32(n,85).active,xm._32(n,85).id,xm._32(n,85).selected.toString(),xm._32(n,85).disabled.toString(),xm._32(n,85).disabled);l(n,91,0,xm._32(n,92)._getTabIndex(),xm._32(n,92).selected,xm._32(n,92).multiple,xm._32(n,92).active,xm._32(n,92).id,xm._32(n,92).selected.toString(),xm._32(n,92).disabled.toString(),xm._32(n,92).disabled)})}function _s(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[133,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function ds(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[143,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ss(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[153,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.company_order_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.company_name)})}function cs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,90,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(6,null,["Applicant ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(8,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(9,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,126,{_control:0}),xm._37(335544320,127,{_placeholderChild:0}),xm._37(335544320,128,{_labelChild:0}),xm._37(603979776,129,{_errorChildren:1}),xm._37(603979776,130,{_hintChildren:1}),xm._37(603979776,131,{_prefixChildren:1}),xm._37(603979776,132,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,23)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,133,{options:1}),xm._37(603979776,134,{optionGroups:1}),xm._37(335544320,135,{customTrigger:0}),xm._36(2048,[[126,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,_s)),xm._17(30,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(35,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,136,{_control:0}),xm._37(335544320,137,{_placeholderChild:0}),xm._37(335544320,138,{_labelChild:0}),xm._37(603979776,139,{_errorChildren:1}),xm._37(603979776,140,{_hintChildren:1}),xm._37(603979776,141,{_prefixChildren:1}),xm._37(603979776,142,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(44,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","company_relationship"],["placeholder","Company Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,49)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,49)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,49)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(46,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(48,16384,null,0,Km.s,[Km.r],null,null),xm._17(49,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,143,{options:1}),xm._37(603979776,144,{optionGroups:1}),xm._37(335544320,145,{customTrigger:0}),xm._36(2048,[[136,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ds)),xm._17(56,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(61,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,146,{_control:0}),xm._37(335544320,147,{_placeholderChild:0}),xm._37(335544320,148,{_labelChild:0}),xm._37(603979776,149,{_errorChildren:1}),xm._37(603979776,150,{_hintChildren:1}),xm._37(603979776,151,{_prefixChildren:1}),xm._37(603979776,152,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","relation_to_company"],["placeholder","Relation to"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,75)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(72,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(74,16384,null,0,Km.s,[Km.r],null,null),xm._17(75,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,153,{options:1}),xm._37(603979776,154,{optionGroups:1}),xm._37(335544320,155,{customTrigger:0}),xm._36(2048,[[146,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ss)),xm._17(82,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(86,0,null,null,3,"span",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,"companyrel")&&u}return u},Db.b,Db.a)),xm._17(87,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],small:[1,"small"],clear:[2,"clear"]},null),(l()(),xm._18(88,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(89,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"applicant_name");l(n,23,0,"Applicant Name");l(n,30,0,e.individualsListBothCase);l(n,46,0,"company_relationship");l(n,49,0,"Company Relation");l(n,56,0,e.companyRelationShipList);l(n,72,0,"relation_to_company");l(n,75,0,"Relation to");l(n,82,0,e.companyList);l(n,87,0,"optblue","","");l(n,89,0,"md-trash")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[xm._32(n,9)._control.errorState,xm._32(n,9)._control.errorState,xm._32(n,9)._canLabelFloat,xm._32(n,9)._shouldLabelFloat(),xm._32(n,9)._hideControlPlaceholder(),xm._32(n,9)._control.disabled,xm._32(n,9)._control.focused,"primary"==xm._32(n,9).color,"accent"==xm._32(n,9).color,"warn"==xm._32(n,9).color,xm._32(n,9)._shouldForward("untouched"),xm._32(n,9)._shouldForward("touched"),xm._32(n,9)._shouldForward("pristine"),xm._32(n,9)._shouldForward("dirty"),xm._32(n,9)._shouldForward("valid"),xm._32(n,9)._shouldForward("invalid"),xm._32(n,9)._shouldForward("pending")]);l(n,18,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23).id,xm._32(n,23).tabIndex,xm._32(n,23)._ariaLabel,xm._32(n,23).ariaLabelledby,xm._32(n,23).required.toString(),xm._32(n,23).disabled.toString(),xm._32(n,23).errorState,xm._32(n,23).panelOpen?xm._32(n,23)._optionIds:null,xm._32(n,23).multiple,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23)._getAriaActiveDescendant(),xm._32(n,23).disabled,xm._32(n,23).errorState,xm._32(n,23).required]);l(n,34,1,[xm._32(n,35)._control.errorState,xm._32(n,35)._control.errorState,xm._32(n,35)._canLabelFloat,xm._32(n,35)._shouldLabelFloat(),xm._32(n,35)._hideControlPlaceholder(),xm._32(n,35)._control.disabled,xm._32(n,35)._control.focused,"primary"==xm._32(n,35).color,"accent"==xm._32(n,35).color,"warn"==xm._32(n,35).color,xm._32(n,35)._shouldForward("untouched"),xm._32(n,35)._shouldForward("touched"),xm._32(n,35)._shouldForward("pristine"),xm._32(n,35)._shouldForward("dirty"),xm._32(n,35)._shouldForward("valid"),xm._32(n,35)._shouldForward("invalid"),xm._32(n,35)._shouldForward("pending")]);l(n,44,1,[xm._32(n,48).ngClassUntouched,xm._32(n,48).ngClassTouched,xm._32(n,48).ngClassPristine,xm._32(n,48).ngClassDirty,xm._32(n,48).ngClassValid,xm._32(n,48).ngClassInvalid,xm._32(n,48).ngClassPending,xm._32(n,49).id,xm._32(n,49).tabIndex,xm._32(n,49)._ariaLabel,xm._32(n,49).ariaLabelledby,xm._32(n,49).required.toString(),xm._32(n,49).disabled.toString(),xm._32(n,49).errorState,xm._32(n,49).panelOpen?xm._32(n,49)._optionIds:null,xm._32(n,49).multiple,xm._32(n,49)._ariaDescribedby||null,xm._32(n,49)._getAriaActiveDescendant(),xm._32(n,49).disabled,xm._32(n,49).errorState,xm._32(n,49).required]);l(n,60,1,[xm._32(n,61)._control.errorState,xm._32(n,61)._control.errorState,xm._32(n,61)._canLabelFloat,xm._32(n,61)._shouldLabelFloat(),xm._32(n,61)._hideControlPlaceholder(),xm._32(n,61)._control.disabled,xm._32(n,61)._control.focused,"primary"==xm._32(n,61).color,"accent"==xm._32(n,61).color,"warn"==xm._32(n,61).color,xm._32(n,61)._shouldForward("untouched"),xm._32(n,61)._shouldForward("touched"),xm._32(n,61)._shouldForward("pristine"),xm._32(n,61)._shouldForward("dirty"),xm._32(n,61)._shouldForward("valid"),xm._32(n,61)._shouldForward("invalid"),xm._32(n,61)._shouldForward("pending")]);l(n,70,1,[xm._32(n,74).ngClassUntouched,xm._32(n,74).ngClassTouched,xm._32(n,74).ngClassPristine,xm._32(n,74).ngClassDirty,xm._32(n,74).ngClassValid,xm._32(n,74).ngClassInvalid,xm._32(n,74).ngClassPending,xm._32(n,75).id,xm._32(n,75).tabIndex,xm._32(n,75)._ariaLabel,xm._32(n,75).ariaLabelledby,xm._32(n,75).required.toString(),xm._32(n,75).disabled.toString(),xm._32(n,75).errorState,xm._32(n,75).panelOpen?xm._32(n,75)._optionIds:null,xm._32(n,75).multiple,xm._32(n,75)._ariaDescribedby||null,xm._32(n,75)._getAriaActiveDescendant(),xm._32(n,75).disabled,xm._32(n,75).errorState,xm._32(n,75).required]);l(n,88,0,xm._32(n,89)._hidden)})}function ms(l){return xm._41(0,[xm._33(0,Df.t,[]),(l()(),xm._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,9).toggle()&&u}return u},Db.b,Db.a)),xm._17(8,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(9,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(10,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(14,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Vd)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(22,0,null,null,196,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n \n \n "])),(l()(),xm._18(25,0,null,1,191,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,27).onReset()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.B,[],null,null),xm._17(27,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(29,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,41,"mat-card",[["class","mat-card"],["style","padding: 0px 10px !important;"]],null,null,null,nb.d,nb.a)),xm._17(32,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._18(34,0,null,0,1,"h6",[["padding",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Name of individuals"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(37,0,null,0,8,"ion-list",[["formArrayName","list_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(38,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(40,16384,null,0,Km.t,[Km.c],null,null),xm._17(41,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Nd)),xm._17(44,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n"])),(l()(),xm._18(47,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(49,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(50,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(52,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(53,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(55,0,null,null,11,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),xm._17(56,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(58,0,null,null,7,"div",[["class","btn"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ed)),xm._17(61,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Wd)),xm._17(64,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Gd)),xm._17(70,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n \n"])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,[" \n \n \n \n "])),(l()(),xm._18(77,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(80,0,null,null,43,"mat-card",[["class","mat-card"],["style","padding: 0px 10px !important;"]],null,null,null,nb.d,nb.a)),xm._17(81,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(83,0,null,0,1,"h6",[["padding",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,[" Company/Firm "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(86,0,null,0,11,"div",[["formArrayName","company_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(87,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(89,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(91,0,null,null,5,"ion-list",[],null,null,null,null,null)),xm._17(92,16384,null,0,Yg.a,[Dg.a,xm.p,xm.O,Wg.a,Ug.l,Bg.a],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,zd)),xm._17(95,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,0,["\n\n"])),(l()(),xm._39(-1,0,[" \n"])),(l()(),xm._18(100,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(101,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(103,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(104,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(106,0,null,null,11,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),xm._17(107,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(109,0,null,null,7,"div",[["class","btn1"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Jd)),xm._17(112,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Xd)),xm._17(115,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,as)),xm._17(121,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(124,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(128,0,null,null,16,"mat-card",[["class","rbi mat-card"],["formArrayName","persons_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,nb.d,nb.a)),xm._17(129,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(131,16384,null,0,Km.t,[Km.c],null,null),xm._17(132,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(134,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(135,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(137,0,null,1,2,"mat-card-title",[["class","mat-card-title"],["style","font-size:16px;font-weight:bold"]],null,null,null,null,null)),xm._17(138,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,[" Relationship Between Individuals"])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._13(16777216,null,0,1,null,rs)),xm._17(143,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(146,0,null,null,35,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(147,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(149,0,null,0,31,"div",[["formArrayName","company_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(150,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(152,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(154,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(155,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(157,0,null,1,2,"mat-card-title",[["class","mat-card-title"],["style","font-size:16px;font-weight:bold"]],null,null,null,null,null)),xm._17(158,16384,null,0,eb.h,[],null,null),(l()(),xm._39(-1,null,[" Relationship of Individuals to Company / Firm"])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,cs)),xm._17(163,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(165,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._18(166,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(168,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(169,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(171,0,null,null,7,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),xm._17(172,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(174,0,null,null,3,"button",[["class","mat-raised-button"],["mat-raised-button",""],["style","background-color:#e00201 !important;color:white"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.initCompanyRelationShip("")&&u}return u},_b.b,_b.a)),xm._17(175,180224,null,0,db.b,[xm.p,Hm.a,sb.j],null,null),xm._17(176,16384,null,0,db.f,[],null,null),(l()(),xm._39(-1,0,["Add More Company Relation"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(183,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(184,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(186,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(187,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,156,{_control:0}),xm._37(335544320,157,{_placeholderChild:0}),xm._37(335544320,158,{_labelChild:0}),xm._37(603979776,159,{_errorChildren:1}),xm._37(603979776,160,{_hintChildren:1}),xm._37(603979776,161,{_prefixChildren:1}),xm._37(603979776,162,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(196,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","general_remark"],["matInput",""],["name","general_remark"],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,197)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,197).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,197)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,197)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,202)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,202)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,202)._onInput()&&u}return u},null,null)),xm._17(197,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(199,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(201,16384,null,0,Km.s,[Km.r],null,null),xm._17(202,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[156,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(207,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(208,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(211,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.submitData(a.generalForm.value)&&u}return u},Db.b,Db.a)),xm._17(212,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,1,["\n\n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.generalForm);l(n,38,0,"list_value");l(n,44,0,e.generalForm.controls.list_value.controls);l(n,61,0,!e.buttonClick);l(n,64,0,e.buttonClick);l(n,70,0,e.buttonClick);l(n,87,0,"company_value");l(n,95,0,e.generalForm.controls.company_value.controls);l(n,112,0,!e.h_companies);l(n,115,0,e.h_companies);l(n,121,0,e.h_companies);l(n,129,0,"persons_with_relationships");l(n,143,0,e.generalForm.controls.persons_with_relationships.controls);l(n,150,0,"company_with_relationships");l(n,163,0,e.generalForm.controls.company_with_relationships.controls);l(n,199,0,"general_remark");l(n,202,0,"Remarks");l(n,212,0,"optblue","")},function(l,n){l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,7,0,xm._32(n,9).isHidden);l(n,13,0,xm._32(n,14)._hidden);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,25,0,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending);l(n,37,0,xm._32(n,40).ngClassUntouched,xm._32(n,40).ngClassTouched,xm._32(n,40).ngClassPristine,xm._32(n,40).ngClassDirty,xm._32(n,40).ngClassValid,xm._32(n,40).ngClassInvalid,xm._32(n,40).ngClassPending);l(n,86,0,xm._32(n,89).ngClassUntouched,xm._32(n,89).ngClassTouched,xm._32(n,89).ngClassPristine,xm._32(n,89).ngClassDirty,xm._32(n,89).ngClassValid,xm._32(n,89).ngClassInvalid,xm._32(n,89).ngClassPending);l(n,128,0,xm._32(n,131).ngClassUntouched,xm._32(n,131).ngClassTouched,xm._32(n,131).ngClassPristine,xm._32(n,131).ngClassDirty,xm._32(n,131).ngClassValid,xm._32(n,131).ngClassInvalid,xm._32(n,131).ngClassPending);l(n,149,0,xm._32(n,152).ngClassUntouched,xm._32(n,152).ngClassTouched,xm._32(n,152).ngClassPristine,xm._32(n,152).ngClassDirty,xm._32(n,152).ngClassValid,xm._32(n,152).ngClassInvalid,xm._32(n,152).ngClassPending);l(n,174,0,xm._32(n,175).disabled||null);l(n,186,1,[xm._32(n,187)._control.errorState,xm._32(n,187)._control.errorState,xm._32(n,187)._canLabelFloat,xm._32(n,187)._shouldLabelFloat(),xm._32(n,187)._hideControlPlaceholder(),xm._32(n,187)._control.disabled,xm._32(n,187)._control.focused,"primary"==xm._32(n,187).color,"accent"==xm._32(n,187).color,"warn"==xm._32(n,187).color,xm._32(n,187)._shouldForward("untouched"),xm._32(n,187)._shouldForward("touched"),xm._32(n,187)._shouldForward("pristine"),xm._32(n,187)._shouldForward("dirty"),xm._32(n,187)._shouldForward("valid"),xm._32(n,187)._shouldForward("invalid"),xm._32(n,187)._shouldForward("pending")]);l(n,196,1,[xm._32(n,201).ngClassUntouched,xm._32(n,201).ngClassTouched,xm._32(n,201).ngClassPristine,xm._32(n,201).ngClassDirty,xm._32(n,201).ngClassValid,xm._32(n,201).ngClassInvalid,xm._32(n,201).ngClassPending,xm._32(n,202)._isServer,xm._32(n,202).id,xm._32(n,202).placeholder,xm._32(n,202).disabled,xm._32(n,202).required,xm._32(n,202).readonly,xm._32(n,202)._ariaDescribedby||null,xm._32(n,202).errorState,xm._32(n,202).required.toString()])})}function ps(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Other Applicant Details Added"]))],null,null)}function fs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addmore()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function hs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,41,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","applicant_name"],["matInput",""],["name","applicant_name"],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,21)._onInput()&&u}return u},null,null)),xm._17(16,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(18,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(20,16384,null,0,Km.s,[Km.r],null,null),xm._17(21,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(25,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-6",""]],null,null,null,null,null)),xm._17(26,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,fs)),xm._17(29,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(32,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-1",""]],null,null,null,null,null)),xm._17(33,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(35,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteappdata(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-close"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(38,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,18,0,"applicant_name");l(n,21,0,"Name","text");l(n,29,0,n.context.last);l(n,38,0,"optblue","md-close")},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,20).ngClassUntouched,xm._32(n,20).ngClassTouched,xm._32(n,20).ngClassPristine,xm._32(n,20).ngClassDirty,xm._32(n,20).ngClassValid,xm._32(n,20).ngClassInvalid,xm._32(n,20).ngClassPending,xm._32(n,21)._isServer,xm._32(n,21).id,xm._32(n,21).placeholder,xm._32(n,21).disabled,xm._32(n,21).required,xm._32(n,21).readonly,xm._32(n,21)._ariaDescribedby||null,xm._32(n,21).errorState,xm._32(n,21).required.toString()]);l(n,37,0,xm._32(n,38)._hidden)})}function gs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,14,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(7,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,2,"button",[["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.closeModal()&&u}return u},Db.b,Db.a)),xm._17(11,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),(l()(),xm._39(-1,0,["Close"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,ps)),xm._17(16,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(20,0,null,null,32,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(21,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,1,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,25).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,25).onReset()&&u}return u},null,null)),xm._17(24,16384,null,0,Km.B,[],null,null),xm._17(25,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(27,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(30,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(32,0,null,0,7,"div",[["formArrayName","otherName"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(33,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(35,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,hs)),xm._17(38,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(42,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(43,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(46,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.submitData(a.otherForm.value)&&u}return u},Db.b,Db.a)),xm._17(47,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,16,0,!e.viewchange);l(n,25,0,e.otherForm);l(n,33,0,"otherName");l(n,38,0,e.otherForm.controls.otherName.controls);l(n,47,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,20,0,xm._32(n,21).statusbarPadding,xm._32(n,21)._hasRefresher);l(n,23,0,xm._32(n,27).ngClassUntouched,xm._32(n,27).ngClassTouched,xm._32(n,27).ngClassPristine,xm._32(n,27).ngClassDirty,xm._32(n,27).ngClassValid,xm._32(n,27).ngClassInvalid,xm._32(n,27).ngClassPending);l(n,32,0,xm._32(n,35).ngClassUntouched,xm._32(n,35).ngClassTouched,xm._32(n,35).ngClassPristine,xm._32(n,35).ngClassDirty,xm._32(n,35).ngClassValid,xm._32(n,35).ngClassInvalid,xm._32(n,35).ngClassPending)})}function bs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function vs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-radio-button",[["class","example-radio-button mat-radio-button"],["color","primary"],["style","margin-top:10px"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,1)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(1,4440064,[[2,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1).checked,xm._32(n,1).disabled,xm._32(n,1).id);l(n,2,0,n.context.$implicit.type_name)})}function ys(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,20,{_control:0}),xm._37(335544320,21,{_placeholderChild:0}),xm._37(335544320,22,{_labelChild:0}),xm._37(603979776,23,{_errorChildren:1}),xm._37(603979776,24,{_hintChildren:1}),xm._37(603979776,25,{_prefixChildren:1}),xm._37(603979776,26,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_do_know_in_year"],["matInput",""],["placeholder","Years "],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[20,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"how_long_do_know_in_year");l(n,16,0,"Years ","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Cs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,27,{_control:0}),xm._37(335544320,28,{_placeholderChild:0}),xm._37(335544320,29,{_labelChild:0}),xm._37(603979776,30,{_errorChildren:1}),xm._37(603979776,31,{_hintChildren:1}),xm._37(603979776,32,{_prefixChildren:1}),xm._37(603979776,33,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_do_know_in_month"],["matInput",""],["placeholder","Months"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("change"===n){u=!1!==a.ConvertMonthintoYear(l.parent.parent.context.$implicit,e.target.value,1)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[27,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"how_long_do_know_in_month");l(n,16,0,"Months","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function ws(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[41,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function Fs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,34,{_control:0}),xm._37(335544320,35,{_placeholderChild:0}),xm._37(335544320,36,{_labelChild:0}),xm._37(603979776,37,{_errorChildren:1}),xm._37(603979776,38,{_hintChildren:1}),xm._37(603979776,39,{_prefixChildren:1}),xm._37(603979776,40,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","organisation_owner"],["placeholder","Who is the owner of the organisation?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,15)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(12,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(14,16384,null,0,Km.s,[Km.r],null,null),xm._17(15,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,41,{options:1}),xm._37(603979776,42,{optionGroups:1}),xm._37(335544320,43,{customTrigger:0}),xm._36(2048,[[34,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,ws)),xm._17(22,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"organisation_owner");l(n,15,0,"Who is the owner of the organisation?");l(n,22,0,e.applicants)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,14).ngClassUntouched,xm._32(n,14).ngClassTouched,xm._32(n,14).ngClassPristine,xm._32(n,14).ngClassDirty,xm._32(n,14).ngClassValid,xm._32(n,14).ngClassInvalid,xm._32(n,14).ngClassPending,xm._32(n,15).id,xm._32(n,15).tabIndex,xm._32(n,15)._ariaLabel,xm._32(n,15).ariaLabelledby,xm._32(n,15).required.toString(),xm._32(n,15).disabled.toString(),xm._32(n,15).errorState,xm._32(n,15).panelOpen?xm._32(n,15)._optionIds:null,xm._32(n,15).multiple,xm._32(n,15)._ariaDescribedby||null,xm._32(n,15)._getAriaActiveDescendant(),xm._32(n,15).disabled,xm._32(n,15).errorState,xm._32(n,15).required])})}function xs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,44,{_control:0}),xm._37(335544320,45,{_placeholderChild:0}),xm._37(335544320,46,{_labelChild:0}),xm._37(603979776,47,{_errorChildren:1}),xm._37(603979776,48,{_hintChildren:1}),xm._37(603979776,49,{_prefixChildren:1}),xm._37(603979776,50,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_organisation_owner"],["matInput",""],["placeholder","Specify Owner name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[44,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_organisation_owner");l(n,16,0,"Specify Owner name","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Ss(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["organisation Owner ? "])),(l()(),xm._18(4,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,7,"label",[["color","primary"],["float-right",""],["style","font-size: 13px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Do not know  \n "])),(l()(),xm._18(8,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","did_not_know_the_owner"],["style","zoom: 0.8;"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.toggleVisibility(e.checked,l.parent.parent.context.index,2)&&u}return u},Ry.b,Ry.a)),xm._17(9,1228800,null,0,Uy.a,[xm.p,Hm.a,sb.j,xm.i,[8,null]],{color:[0,"color"]},{change:"change"}),xm._36(1024,null,Km.q,function(l){return[l]},[Uy.a]),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._18(14,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Fs)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,xs)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"primary");l(n,11,0,"did_not_know_the_owner");l(n,17,0,!e.isDisplay2[n.parent.parent.context.index]);l(n,20,0,0==n.parent.parent.context.$implicit.controls.organisation_owner.value&&""!=n.parent.parent.context.$implicit.controls.organisation_owner.value)},function(l,n){l(n,8,1,[xm._32(n,9).id,xm._32(n,9).checked,xm._32(n,9).disabled,"before"==xm._32(n,9).labelPosition,xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending])})}function Is(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,33,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,20,"div",[["appearance","outline"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(6,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["As per you how long has this business been in operation? "])),(l()(),xm._18(8,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,7,"label",[["color","primary"],["float-right",""],["style","font-size: 13px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Do not know  \n "])),(l()(),xm._18(12,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","did_not_know_the_business_operation"],["style","zoom: 0.8;"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.toggleVisibility(e.checked,l.parent.context.index,1)&&u}return u},Ry.b,Ry.a)),xm._17(13,1228800,null,0,Uy.a,[xm.p,Hm.a,sb.j,xm.i,[8,null]],{color:[0,"color"]},{change:"change"}),xm._36(1024,null,Km.q,function(l){return[l]},[Uy.a]),xm._17(15,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(17,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ys)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Cs)),xm._17(23,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(26,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._18(27,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ss)),xm._17(30,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._18(31,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._18(32,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"primary");l(n,15,0,"did_not_know_the_business_operation");l(n,20,0,!e.isDisplay[n.parent.context.index]);l(n,23,0,!e.isDisplay[n.parent.context.index]);l(n,30,0,""!=n.parent.context.$implicit.controls.do_know.value)},function(l,n){l(n,12,1,[xm._32(n,13).id,xm._32(n,13).checked,xm._32(n,13).disabled,"before"==xm._32(n,13).labelPosition,xm._32(n,17).ngClassUntouched,xm._32(n,17).ngClassTouched,xm._32(n,17).ngClassPristine,xm._32(n,17).ngClassDirty,xm._32(n,17).ngClassValid,xm._32(n,17).ngClassInvalid,xm._32(n,17).ngClassPending])})}function qs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addneighbourhood()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function ks(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,84,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(5,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(6,16384,null,0,ib.f,[],null,null),(l()(),xm._39(7,null,["Neighbour Details #",""])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(10,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,3,{_control:0}),xm._37(335544320,4,{_placeholderChild:0}),xm._37(335544320,5,{_labelChild:0}),xm._37(603979776,6,{_errorChildren:1}),xm._37(603979776,7,{_hintChildren:1}),xm._37(603979776,8,{_prefixChildren:1}),xm._37(603979776,9,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","neighbourhood_name"],["matInput",""],["placeholder","Neighbour Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,25)._onInput()&&u}return u},null,null)),xm._17(20,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(22,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(24,16384,null,0,Km.s,[Km.r],null,null),xm._17(25,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[3,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(30,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,10,{_control:0}),xm._37(335544320,11,{_placeholderChild:0}),xm._37(335544320,12,{_labelChild:0}),xm._37(603979776,13,{_errorChildren:1}),xm._37(603979776,14,{_hintChildren:1}),xm._37(603979776,15,{_prefixChildren:1}),xm._37(603979776,16,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(39,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","do_know"],["placeholder","Do you know about the applicants or their business?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,43)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(40,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(42,16384,null,0,Km.s,[Km.r],null,null),xm._17(43,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,17,{options:1}),xm._37(603979776,18,{optionGroups:1}),xm._37(335544320,19,{customTrigger:0}),xm._36(2048,[[10,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(50,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,51)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,51)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(51,8437760,[[17,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,55)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(55,8437760,[[17,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Is)),xm._17(61,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(63,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(64,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,51,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(68,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(70,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeneighbourhood(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(72,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(73,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(77,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(78,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,qs)),xm._17(81,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"neighbourhood_name");l(n,25,0,"Neighbour Name","text");l(n,40,0,"do_know");l(n,43,0,"Do you know about the applicants or their business?");l(n,51,0,"Yes");l(n,55,0,"No");l(n,61,0,""!=n.context.$implicit.controls.do_know.value);l(n,73,0,"optblue","md-trash");l(n,81,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,9,1,[xm._32(n,10)._control.errorState,xm._32(n,10)._control.errorState,xm._32(n,10)._canLabelFloat,xm._32(n,10)._shouldLabelFloat(),xm._32(n,10)._hideControlPlaceholder(),xm._32(n,10)._control.disabled,xm._32(n,10)._control.focused,"primary"==xm._32(n,10).color,"accent"==xm._32(n,10).color,"warn"==xm._32(n,10).color,xm._32(n,10)._shouldForward("untouched"),xm._32(n,10)._shouldForward("touched"),xm._32(n,10)._shouldForward("pristine"),xm._32(n,10)._shouldForward("dirty"),xm._32(n,10)._shouldForward("valid"),xm._32(n,10)._shouldForward("invalid"),xm._32(n,10)._shouldForward("pending")]);l(n,19,1,[xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending,xm._32(n,25)._isServer,xm._32(n,25).id,xm._32(n,25).placeholder,xm._32(n,25).disabled,xm._32(n,25).required,xm._32(n,25).readonly,xm._32(n,25)._ariaDescribedby||null,xm._32(n,25).errorState,xm._32(n,25).required.toString()]);l(n,29,1,[xm._32(n,30)._control.errorState,xm._32(n,30)._control.errorState,xm._32(n,30)._canLabelFloat,xm._32(n,30)._shouldLabelFloat(),xm._32(n,30)._hideControlPlaceholder(),xm._32(n,30)._control.disabled,xm._32(n,30)._control.focused,"primary"==xm._32(n,30).color,"accent"==xm._32(n,30).color,"warn"==xm._32(n,30).color,xm._32(n,30)._shouldForward("untouched"),xm._32(n,30)._shouldForward("touched"),xm._32(n,30)._shouldForward("pristine"),xm._32(n,30)._shouldForward("dirty"),xm._32(n,30)._shouldForward("valid"),xm._32(n,30)._shouldForward("invalid"),xm._32(n,30)._shouldForward("pending")]);l(n,39,1,[xm._32(n,42).ngClassUntouched,xm._32(n,42).ngClassTouched,xm._32(n,42).ngClassPristine,xm._32(n,42).ngClassDirty,xm._32(n,42).ngClassValid,xm._32(n,42).ngClassInvalid,xm._32(n,42).ngClassPending,xm._32(n,43).id,xm._32(n,43).tabIndex,xm._32(n,43)._ariaLabel,xm._32(n,43).ariaLabelledby,xm._32(n,43).required.toString(),xm._32(n,43).disabled.toString(),xm._32(n,43).errorState,xm._32(n,43).panelOpen?xm._32(n,43)._optionIds:null,xm._32(n,43).multiple,xm._32(n,43)._ariaDescribedby||null,xm._32(n,43)._getAriaActiveDescendant(),xm._32(n,43).disabled,xm._32(n,43).errorState,xm._32(n,43).required]);l(n,50,0,xm._32(n,51)._getTabIndex(),xm._32(n,51).selected,xm._32(n,51).multiple,xm._32(n,51).active,xm._32(n,51).id,xm._32(n,51).selected.toString(),xm._32(n,51).disabled.toString(),xm._32(n,51).disabled);l(n,54,0,xm._32(n,55)._getTabIndex(),xm._32(n,55).selected,xm._32(n,55).multiple,xm._32(n,55).active,xm._32(n,55).id,xm._32(n,55).selected.toString(),xm._32(n,55).disabled.toString(),xm._32(n,55).disabled);l(n,72,0,xm._32(n,73)._hidden)})}function Ps(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,7,"div",[["formArrayName","neighbourhood_list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(4,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,ks)),xm._17(9,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"neighbourhood_list");l(n,9,0,e.neighbourhoodForm.controls.neighbourhood_list.controls)},function(l,n){l(n,3,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending)})}function Ds(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,36,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(3,0,null,0,32,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,52,{_control:0}),xm._37(335544320,53,{_placeholderChild:0}),xm._37(335544320,54,{_labelChild:0}),xm._37(603979776,55,{_errorChildren:1}),xm._37(603979776,56,{_hintChildren:1}),xm._37(603979776,57,{_prefixChildren:1}),xm._37(603979776,58,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","neighbourhood_status"],["placeholder","Status of the check as per PD officer?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,19)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(16,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(18,16384,null,0,Km.s,[Km.r],null,null),xm._17(19,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,59,{options:1}),xm._37(603979776,60,{optionGroups:1}),xm._37(335544320,61,{customTrigger:0}),xm._36(2048,[[52,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(26,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Positive"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,27)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(27,8437760,[[59,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Positive"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Negative"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,31)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(31,8437760,[[59,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Negative"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,0,["\n"]))],function(l,n){l(n,16,0,"neighbourhood_status");l(n,19,0,"Status of the check as per PD officer?");l(n,27,0,"Positive");l(n,31,0,"Negative")},function(l,n){l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,18).ngClassUntouched,xm._32(n,18).ngClassTouched,xm._32(n,18).ngClassPristine,xm._32(n,18).ngClassDirty,xm._32(n,18).ngClassValid,xm._32(n,18).ngClassInvalid,xm._32(n,18).ngClassPending,xm._32(n,19).id,xm._32(n,19).tabIndex,xm._32(n,19)._ariaLabel,xm._32(n,19).ariaLabelledby,xm._32(n,19).required.toString(),xm._32(n,19).disabled.toString(),xm._32(n,19).errorState,xm._32(n,19).panelOpen?xm._32(n,19)._optionIds:null,xm._32(n,19).multiple,xm._32(n,19)._ariaDescribedby||null,xm._32(n,19)._getAriaActiveDescendant(),xm._32(n,19).disabled,xm._32(n,19).errorState,xm._32(n,19).required]);l(n,26,0,xm._32(n,27)._getTabIndex(),xm._32(n,27).selected,xm._32(n,27).multiple,xm._32(n,27).active,xm._32(n,27).id,xm._32(n,27).selected.toString(),xm._32(n,27).disabled.toString(),xm._32(n,27).disabled);l(n,30,0,xm._32(n,31)._getTabIndex(),xm._32(n,31).selected,xm._32(n,31).multiple,xm._32(n,31).active,xm._32(n,31).id,xm._32(n,31).selected.toString(),xm._32(n,31).disabled.toString(),xm._32(n,31).disabled)})}function Ts(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(1,16384,[[72,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Enter Valid Mobile Number. "]))],null,function(l,n){l(n,0,0,xm._32(n,1).id)})}function Os(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"p",[["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],null,null,null,null,null)),(l()(),xm._39(-1,null,[" Enter valid Mobile Number"]))],null,null)}function Ls(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[104,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relation_with_business_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent.parent,0),n.context.$implicit.relation_with_business_name)))})}function As(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,107,{_control:0}),xm._37(335544320,108,{_placeholderChild:0}),xm._37(335544320,109,{_labelChild:0}),xm._37(603979776,110,{_errorChildren:1}),xm._37(603979776,111,{_hintChildren:1}),xm._37(603979776,112,{_prefixChildren:1}),xm._37(603979776,113,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others"],["matInput",""],["placeholder","Others"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[107,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others");l(n,16,0,"Others","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Vs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[132,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["",""]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,e.amtInWords[n.parent.context.index])})}function js(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[142,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent.parent,0),n.context.$implicit.name)))})}function Ns(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,145,{_control:0}),xm._37(335544320,146,{_placeholderChild:0}),xm._37(335544320,147,{_labelChild:0}),xm._37(603979776,148,{_errorChildren:1}),xm._37(603979776,149,{_hintChildren:1}),xm._37(603979776,150,{_prefixChildren:1}),xm._37(603979776,151,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_unit"],["matInput",""],["placeholder","Specify Unit"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[145,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_unit");l(n,16,0,"Specify Unit","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Es(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[159,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ws(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,162,{_control:0}),xm._37(335544320,163,{_placeholderChild:0}),xm._37(335544320,164,{_labelChild:0}),xm._37(603979776,165,{_errorChildren:1}),xm._37(603979776,166,{_hintChildren:1}),xm._37(603979776,167,{_prefixChildren:1}),xm._37(603979776,168,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","specify_final_remark"],["matInput",""],["placeholder","Specify Remarks for PD OFFICER"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[162,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"specify_final_remark");l(n,16,0,"Specify Remarks for PD OFFICER","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Rs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addreferance()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Us(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,315,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(5,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(6,16384,null,0,ib.f,[],null,null),(l()(),xm._39(7,null,["Reference Details #",""])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(10,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,62,{_control:0}),xm._37(335544320,63,{_placeholderChild:0}),xm._37(335544320,64,{_labelChild:0}),xm._37(603979776,65,{_errorChildren:1}),xm._37(603979776,66,{_hintChildren:1}),xm._37(603979776,67,{_prefixChildren:1}),xm._37(603979776,68,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reference_name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,25)._onInput()&&u}return u},null,null)),xm._17(20,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(22,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(24,16384,null,0,Km.s,[Km.r],null,null),xm._17(25,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[62,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(29,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(30,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,69,{_control:0}),xm._37(335544320,70,{_placeholderChild:0}),xm._37(335544320,71,{_labelChild:0}),xm._37(603979776,72,{_errorChildren:1}),xm._37(603979776,73,{_hintChildren:1}),xm._37(603979776,74,{_prefixChildren:1}),xm._37(603979776,75,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(39,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mobile"],["matInput",""],["placeholder","Mobile Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,40)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,41).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,41).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,41).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,46)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(40,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(41,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(43,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(45,16384,null,0,Km.s,[Km.r],null,null),xm._17(46,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[69,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,5,1,null,Ts)),xm._17(50,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,[" \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Os)),xm._17(54,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(56,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,[" Landline Number"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(59,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(60,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,76,{_control:0}),xm._37(335544320,77,{_placeholderChild:0}),xm._37(335544320,78,{_labelChild:0}),xm._37(603979776,79,{_errorChildren:1}),xm._37(603979776,80,{_hintChildren:1}),xm._37(603979776,81,{_prefixChildren:1}),xm._37(603979776,82,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(69,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","statecode"],["matInput",""],["maxlength","4"],["minlength","2"],["placeholder","Code"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,70)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,70).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,70)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,70)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,71).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,71).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,71).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,79)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,79)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,79)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(70,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(71,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(72,540672,null,0,Km.o,[],{minlength:[0,"minlength"]},null),xm._17(73,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l,n){return[l,n]},[Km.o,Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(76,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(78,16384,null,0,Km.s,[Km.r],null,null),xm._17(79,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[76,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(83,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(84,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,83,{_control:0}),xm._37(335544320,84,{_placeholderChild:0}),xm._37(335544320,85,{_labelChild:0}),xm._37(603979776,86,{_errorChildren:1}),xm._37(603979776,87,{_hintChildren:1}),xm._37(603979776,88,{_prefixChildren:1}),xm._37(603979776,89,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(93,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Number"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,94)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,94).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,94)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,94)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,95).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,95).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,95).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,103)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(94,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(95,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(96,540672,null,0,Km.o,[],{minlength:[0,"minlength"]},null),xm._17(97,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l,n){return[l,n]},[Km.o,Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(100,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(102,16384,null,0,Km.s,[Km.r],null,null),xm._17(103,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[83,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(107,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(108,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,90,{_control:0}),xm._37(335544320,91,{_placeholderChild:0}),xm._37(335544320,92,{_labelChild:0}),xm._37(603979776,93,{_errorChildren:1}),xm._37(603979776,94,{_hintChildren:1}),xm._37(603979776,95,{_prefixChildren:1}),xm._37(603979776,96,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(117,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","location"],["matInput",""],["placeholder","Location"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,118)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,118).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,118)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,118)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,123)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,123)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,123)._onInput()&&u}return u},null,null)),xm._17(118,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(120,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(122,16384,null,0,Km.s,[Km.r],null,null),xm._17(123,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[90,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(127,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(128,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,97,{_control:0}),xm._37(335544320,98,{_placeholderChild:0}),xm._37(335544320,99,{_labelChild:0}),xm._37(603979776,100,{_errorChildren:1}),xm._37(603979776,101,{_hintChildren:1}),xm._37(603979776,102,{_prefixChildren:1}),xm._37(603979776,103,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(137,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","relationship_with"],["placeholder","Relation With Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,141)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,141)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,141)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(138,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(140,16384,null,0,Km.s,[Km.r],null,null),xm._17(141,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,104,{options:1}),xm._37(603979776,105,{optionGroups:1}),xm._37(335544320,106,{customTrigger:0}),xm._36(2048,[[97,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(148,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,149)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,149)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(149,8437760,[[104,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ls)),xm._17(153,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,As)),xm._17(158,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(160,0,[["period_paragraph",1]],null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Period of Relationship"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(163,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(164,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,114,{_control:0}),xm._37(335544320,115,{_placeholderChild:0}),xm._37(335544320,116,{_labelChild:0}),xm._37(603979776,117,{_errorChildren:1}),xm._37(603979776,118,{_hintChildren:1}),xm._37(603979776,119,{_prefixChildren:1}),xm._37(603979776,120,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(173,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","year_relation_applicant"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,174)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,174).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,174)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,174)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,175).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,175).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,175).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,180)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,180)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,180)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(174,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(175,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(177,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(179,16384,null,0,Km.s,[Km.r],null,null),xm._17(180,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[114,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(184,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(185,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,121,{_control:0}),xm._37(335544320,122,{_placeholderChild:0}),xm._37(335544320,123,{_labelChild:0}),xm._37(603979776,124,{_errorChildren:1}),xm._37(603979776,125,{_hintChildren:1}),xm._37(603979776,126,{_prefixChildren:1}),xm._37(603979776,127,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(194,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","months_relation_applicant"],["matInput",""],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,195)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,195).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,195)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,195)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,196).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,196).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,196).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,201)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,201)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,201)._onInput()&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}if("change"===n){u=!1!==a.ConvertMonthintoYear(l.context.$implicit,e.target.value,2)&&u}return u},null,null)),xm._17(195,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(196,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(198,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(200,16384,null,0,Km.s,[Km.r],null,null),xm._17(201,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[121,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(205,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(206,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,128,{_control:0}),xm._37(335544320,129,{_placeholderChild:0}),xm._37(335544320,130,{_labelChild:0}),xm._37(603979776,131,{_errorChildren:1}),xm._37(603979776,132,{_hintChildren:1}),xm._37(603979776,133,{_prefixChildren:1}),xm._37(603979776,134,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(215,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_volume_amount"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,216)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,216).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,216)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,216)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,221)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,221)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,221)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.context.index)&&u}if("keypress"===n){u=!1!==a.keyPress(e)&&u}return u},null,null)),xm._17(216,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(218,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(220,16384,null,0,Km.s,[Km.r],null,null),xm._17(221,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[128,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Vs)),xm._17(225,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(228,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(229,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,135,{_control:0}),xm._37(335544320,136,{_placeholderChild:0}),xm._37(335544320,137,{_labelChild:0}),xm._37(603979776,138,{_errorChildren:1}),xm._37(603979776,139,{_hintChildren:1}),xm._37(603979776,140,{_prefixChildren:1}),xm._37(603979776,141,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(238,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","business_volume_unit"],["placeholder","Unit"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,242)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,242)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,242)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(239,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(241,16384,null,0,Km.s,[Km.r],null,null),xm._17(242,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,142,{options:1}),xm._37(603979776,143,{optionGroups:1}),xm._37(335544320,144,{customTrigger:0}),xm._36(2048,[[135,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(249,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,250)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,250)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(250,8437760,[[142,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,js)),xm._17(254,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ns)),xm._17(259,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(261,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(262,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,152,{_control:0}),xm._37(335544320,153,{_placeholderChild:0}),xm._37(335544320,154,{_labelChild:0}),xm._37(603979776,155,{_errorChildren:1}),xm._37(603979776,156,{_hintChildren:1}),xm._37(603979776,157,{_prefixChildren:1}),xm._37(603979776,158,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(271,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","reference_final_remarks"],["placeholder","Final remarks of PD officer on Reference Check done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,275)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,275)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,275)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(272,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(274,16384,null,0,Km.s,[Km.r],null,null),xm._17(275,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,159,{options:1}),xm._37(603979776,160,{optionGroups:1}),xm._37(335544320,161,{customTrigger:0}),xm._36(2048,[[152,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(282,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,283)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,283)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(283,8437760,[[159,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],null,null),(l()(),xm._39(-1,0,["Select"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Es)),xm._17(287,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ws)),xm._17(292,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(294,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(295,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,169,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(298,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(299,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(301,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removereferance(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(303,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(304,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(308,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(309,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Rs)),xm._17(312,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reference_name");l(n,25,0,"Name","text");l(n,43,0,"mobile");l(n,46,0,"Mobile Number","number");l(n,50,0,n.context.$implicit.controls.mobile.hasError("maxlength")||n.context.$implicit.controls.mobile.hasError("minlength"));l(n,54,0,n.context.$implicit.controls.mobile.touched&&n.context.$implicit.controls.mobile.hasError("maxlength")||n.context.$implicit.controls.mobile.hasError("minLength"));l(n,72,0,"2");l(n,73,0,"4");l(n,76,0,"statecode");l(n,79,0,"Code","number");l(n,96,0,"6");l(n,97,0,"8");l(n,100,0,"landline");l(n,103,0,"Number","number");l(n,120,0,"location");l(n,123,0,"Location");l(n,138,0,"relationship_with");l(n,141,0,"Relation With Business");l(n,153,0,e.relationBusiness);l(n,158,0,1==n.context.$implicit.controls.relationship_with.value);l(n,177,0,"year_relation_applicant");l(n,180,0,"Year","number");l(n,198,0,"months_relation_applicant");l(n,201,0,"Month","number");l(n,218,0,"business_volume_amount");l(n,221,0,4==n.context.$implicit.controls.relationship_with.value?"Rent Amount":"Volume of Business","text");l(n,225,0,""!=n.context.$implicit.controls.business_volume_amount.value);l(n,239,0,"business_volume_unit");l(n,242,0,"Unit");l(n,254,0,e.frequency);l(n,259,0,1==n.context.$implicit.controls.business_volume_unit.value);l(n,272,0,"reference_final_remarks");l(n,275,0,"Final remarks of PD officer on Reference Check done");l(n,287,0,e.finalRemarksList);l(n,292,0,""!=n.context.$implicit.controls.reference_final_remarks.value);l(n,304,0,"optblue","md-trash");l(n,312,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,9,1,[xm._32(n,10)._control.errorState,xm._32(n,10)._control.errorState,xm._32(n,10)._canLabelFloat,xm._32(n,10)._shouldLabelFloat(),xm._32(n,10)._hideControlPlaceholder(),xm._32(n,10)._control.disabled,xm._32(n,10)._control.focused,"primary"==xm._32(n,10).color,"accent"==xm._32(n,10).color,"warn"==xm._32(n,10).color,xm._32(n,10)._shouldForward("untouched"),xm._32(n,10)._shouldForward("touched"),xm._32(n,10)._shouldForward("pristine"),xm._32(n,10)._shouldForward("dirty"),xm._32(n,10)._shouldForward("valid"),xm._32(n,10)._shouldForward("invalid"),xm._32(n,10)._shouldForward("pending")]);l(n,19,1,[xm._32(n,24).ngClassUntouched,xm._32(n,24).ngClassTouched,xm._32(n,24).ngClassPristine,xm._32(n,24).ngClassDirty,xm._32(n,24).ngClassValid,xm._32(n,24).ngClassInvalid,xm._32(n,24).ngClassPending,xm._32(n,25)._isServer,xm._32(n,25).id,xm._32(n,25).placeholder,xm._32(n,25).disabled,xm._32(n,25).required,xm._32(n,25).readonly,xm._32(n,25)._ariaDescribedby||null,xm._32(n,25).errorState,xm._32(n,25).required.toString()]);l(n,29,1,[xm._32(n,30)._control.errorState,xm._32(n,30)._control.errorState,xm._32(n,30)._canLabelFloat,xm._32(n,30)._shouldLabelFloat(),xm._32(n,30)._hideControlPlaceholder(),xm._32(n,30)._control.disabled,xm._32(n,30)._control.focused,"primary"==xm._32(n,30).color,"accent"==xm._32(n,30).color,"warn"==xm._32(n,30).color,xm._32(n,30)._shouldForward("untouched"),xm._32(n,30)._shouldForward("touched"),xm._32(n,30)._shouldForward("pristine"),xm._32(n,30)._shouldForward("dirty"),xm._32(n,30)._shouldForward("valid"),xm._32(n,30)._shouldForward("invalid"),xm._32(n,30)._shouldForward("pending")]);l(n,39,1,[xm._32(n,45).ngClassUntouched,xm._32(n,45).ngClassTouched,xm._32(n,45).ngClassPristine,xm._32(n,45).ngClassDirty,xm._32(n,45).ngClassValid,xm._32(n,45).ngClassInvalid,xm._32(n,45).ngClassPending,xm._32(n,46)._isServer,xm._32(n,46).id,xm._32(n,46).placeholder,xm._32(n,46).disabled,xm._32(n,46).required,xm._32(n,46).readonly,xm._32(n,46)._ariaDescribedby||null,xm._32(n,46).errorState,xm._32(n,46).required.toString()]);l(n,59,1,[xm._32(n,60)._control.errorState,xm._32(n,60)._control.errorState,xm._32(n,60)._canLabelFloat,xm._32(n,60)._shouldLabelFloat(),xm._32(n,60)._hideControlPlaceholder(),xm._32(n,60)._control.disabled,xm._32(n,60)._control.focused,"primary"==xm._32(n,60).color,"accent"==xm._32(n,60).color,"warn"==xm._32(n,60).color,xm._32(n,60)._shouldForward("untouched"),xm._32(n,60)._shouldForward("touched"),xm._32(n,60)._shouldForward("pristine"),xm._32(n,60)._shouldForward("dirty"),xm._32(n,60)._shouldForward("valid"),xm._32(n,60)._shouldForward("invalid"),xm._32(n,60)._shouldForward("pending")]);l(n,69,1,[xm._32(n,72).minlength?xm._32(n,72).minlength:null,xm._32(n,73).maxlength?xm._32(n,73).maxlength:null,xm._32(n,78).ngClassUntouched,xm._32(n,78).ngClassTouched,xm._32(n,78).ngClassPristine,xm._32(n,78).ngClassDirty,xm._32(n,78).ngClassValid,xm._32(n,78).ngClassInvalid,xm._32(n,78).ngClassPending,xm._32(n,79)._isServer,xm._32(n,79).id,xm._32(n,79).placeholder,xm._32(n,79).disabled,xm._32(n,79).required,xm._32(n,79).readonly,xm._32(n,79)._ariaDescribedby||null,xm._32(n,79).errorState,xm._32(n,79).required.toString()]);l(n,83,1,[xm._32(n,84)._control.errorState,xm._32(n,84)._control.errorState,xm._32(n,84)._canLabelFloat,xm._32(n,84)._shouldLabelFloat(),xm._32(n,84)._hideControlPlaceholder(),xm._32(n,84)._control.disabled,xm._32(n,84)._control.focused,"primary"==xm._32(n,84).color,"accent"==xm._32(n,84).color,"warn"==xm._32(n,84).color,xm._32(n,84)._shouldForward("untouched"),xm._32(n,84)._shouldForward("touched"),xm._32(n,84)._shouldForward("pristine"),xm._32(n,84)._shouldForward("dirty"),xm._32(n,84)._shouldForward("valid"),xm._32(n,84)._shouldForward("invalid"),xm._32(n,84)._shouldForward("pending")]);l(n,93,1,[xm._32(n,96).minlength?xm._32(n,96).minlength:null,xm._32(n,97).maxlength?xm._32(n,97).maxlength:null,xm._32(n,102).ngClassUntouched,xm._32(n,102).ngClassTouched,xm._32(n,102).ngClassPristine,xm._32(n,102).ngClassDirty,xm._32(n,102).ngClassValid,xm._32(n,102).ngClassInvalid,xm._32(n,102).ngClassPending,xm._32(n,103)._isServer,xm._32(n,103).id,xm._32(n,103).placeholder,xm._32(n,103).disabled,xm._32(n,103).required,xm._32(n,103).readonly,xm._32(n,103)._ariaDescribedby||null,xm._32(n,103).errorState,xm._32(n,103).required.toString()]);l(n,107,1,[xm._32(n,108)._control.errorState,xm._32(n,108)._control.errorState,xm._32(n,108)._canLabelFloat,xm._32(n,108)._shouldLabelFloat(),xm._32(n,108)._hideControlPlaceholder(),xm._32(n,108)._control.disabled,xm._32(n,108)._control.focused,"primary"==xm._32(n,108).color,"accent"==xm._32(n,108).color,"warn"==xm._32(n,108).color,xm._32(n,108)._shouldForward("untouched"),xm._32(n,108)._shouldForward("touched"),xm._32(n,108)._shouldForward("pristine"),xm._32(n,108)._shouldForward("dirty"),xm._32(n,108)._shouldForward("valid"),xm._32(n,108)._shouldForward("invalid"),xm._32(n,108)._shouldForward("pending")]);l(n,117,1,[xm._32(n,122).ngClassUntouched,xm._32(n,122).ngClassTouched,xm._32(n,122).ngClassPristine,xm._32(n,122).ngClassDirty,xm._32(n,122).ngClassValid,xm._32(n,122).ngClassInvalid,xm._32(n,122).ngClassPending,xm._32(n,123)._isServer,xm._32(n,123).id,xm._32(n,123).placeholder,xm._32(n,123).disabled,xm._32(n,123).required,xm._32(n,123).readonly,xm._32(n,123)._ariaDescribedby||null,xm._32(n,123).errorState,xm._32(n,123).required.toString()]);l(n,127,1,[xm._32(n,128)._control.errorState,xm._32(n,128)._control.errorState,xm._32(n,128)._canLabelFloat,xm._32(n,128)._shouldLabelFloat(),xm._32(n,128)._hideControlPlaceholder(),xm._32(n,128)._control.disabled,xm._32(n,128)._control.focused,"primary"==xm._32(n,128).color,"accent"==xm._32(n,128).color,"warn"==xm._32(n,128).color,xm._32(n,128)._shouldForward("untouched"),xm._32(n,128)._shouldForward("touched"),xm._32(n,128)._shouldForward("pristine"),xm._32(n,128)._shouldForward("dirty"),xm._32(n,128)._shouldForward("valid"),xm._32(n,128)._shouldForward("invalid"),xm._32(n,128)._shouldForward("pending")]);l(n,137,1,[xm._32(n,140).ngClassUntouched,xm._32(n,140).ngClassTouched,xm._32(n,140).ngClassPristine,xm._32(n,140).ngClassDirty,xm._32(n,140).ngClassValid,xm._32(n,140).ngClassInvalid,xm._32(n,140).ngClassPending,xm._32(n,141).id,xm._32(n,141).tabIndex,xm._32(n,141)._ariaLabel,xm._32(n,141).ariaLabelledby,xm._32(n,141).required.toString(),xm._32(n,141).disabled.toString(),xm._32(n,141).errorState,xm._32(n,141).panelOpen?xm._32(n,141)._optionIds:null,xm._32(n,141).multiple,xm._32(n,141)._ariaDescribedby||null,xm._32(n,141)._getAriaActiveDescendant(),xm._32(n,141).disabled,xm._32(n,141).errorState,xm._32(n,141).required]);l(n,148,0,xm._32(n,149)._getTabIndex(),xm._32(n,149).selected,xm._32(n,149).multiple,xm._32(n,149).active,xm._32(n,149).id,xm._32(n,149).selected.toString(),xm._32(n,149).disabled.toString(),xm._32(n,149).disabled);l(n,163,1,[xm._32(n,164)._control.errorState,xm._32(n,164)._control.errorState,xm._32(n,164)._canLabelFloat,xm._32(n,164)._shouldLabelFloat(),xm._32(n,164)._hideControlPlaceholder(),xm._32(n,164)._control.disabled,xm._32(n,164)._control.focused,"primary"==xm._32(n,164).color,"accent"==xm._32(n,164).color,"warn"==xm._32(n,164).color,xm._32(n,164)._shouldForward("untouched"),xm._32(n,164)._shouldForward("touched"),xm._32(n,164)._shouldForward("pristine"),xm._32(n,164)._shouldForward("dirty"),xm._32(n,164)._shouldForward("valid"),xm._32(n,164)._shouldForward("invalid"),xm._32(n,164)._shouldForward("pending")]);l(n,173,1,[xm._32(n,179).ngClassUntouched,xm._32(n,179).ngClassTouched,xm._32(n,179).ngClassPristine,xm._32(n,179).ngClassDirty,xm._32(n,179).ngClassValid,xm._32(n,179).ngClassInvalid,xm._32(n,179).ngClassPending,xm._32(n,180)._isServer,xm._32(n,180).id,xm._32(n,180).placeholder,xm._32(n,180).disabled,xm._32(n,180).required,xm._32(n,180).readonly,xm._32(n,180)._ariaDescribedby||null,xm._32(n,180).errorState,xm._32(n,180).required.toString()]);l(n,184,1,[xm._32(n,185)._control.errorState,xm._32(n,185)._control.errorState,xm._32(n,185)._canLabelFloat,xm._32(n,185)._shouldLabelFloat(),xm._32(n,185)._hideControlPlaceholder(),xm._32(n,185)._control.disabled,xm._32(n,185)._control.focused,"primary"==xm._32(n,185).color,"accent"==xm._32(n,185).color,"warn"==xm._32(n,185).color,xm._32(n,185)._shouldForward("untouched"),xm._32(n,185)._shouldForward("touched"),xm._32(n,185)._shouldForward("pristine"),xm._32(n,185)._shouldForward("dirty"),xm._32(n,185)._shouldForward("valid"),xm._32(n,185)._shouldForward("invalid"),xm._32(n,185)._shouldForward("pending")]);l(n,194,1,[xm._32(n,200).ngClassUntouched,xm._32(n,200).ngClassTouched,xm._32(n,200).ngClassPristine,xm._32(n,200).ngClassDirty,xm._32(n,200).ngClassValid,xm._32(n,200).ngClassInvalid,xm._32(n,200).ngClassPending,xm._32(n,201)._isServer,xm._32(n,201).id,xm._32(n,201).placeholder,xm._32(n,201).disabled,xm._32(n,201).required,xm._32(n,201).readonly,xm._32(n,201)._ariaDescribedby||null,xm._32(n,201).errorState,xm._32(n,201).required.toString()]);l(n,205,1,[xm._32(n,206)._control.errorState,xm._32(n,206)._control.errorState,xm._32(n,206)._canLabelFloat,xm._32(n,206)._shouldLabelFloat(),xm._32(n,206)._hideControlPlaceholder(),xm._32(n,206)._control.disabled,xm._32(n,206)._control.focused,"primary"==xm._32(n,206).color,"accent"==xm._32(n,206).color,"warn"==xm._32(n,206).color,xm._32(n,206)._shouldForward("untouched"),xm._32(n,206)._shouldForward("touched"),xm._32(n,206)._shouldForward("pristine"),xm._32(n,206)._shouldForward("dirty"),xm._32(n,206)._shouldForward("valid"),xm._32(n,206)._shouldForward("invalid"),xm._32(n,206)._shouldForward("pending")]);l(n,215,1,[xm._32(n,220).ngClassUntouched,xm._32(n,220).ngClassTouched,xm._32(n,220).ngClassPristine,xm._32(n,220).ngClassDirty,xm._32(n,220).ngClassValid,xm._32(n,220).ngClassInvalid,xm._32(n,220).ngClassPending,xm._32(n,221)._isServer,xm._32(n,221).id,xm._32(n,221).placeholder,xm._32(n,221).disabled,xm._32(n,221).required,xm._32(n,221).readonly,xm._32(n,221)._ariaDescribedby||null,xm._32(n,221).errorState,xm._32(n,221).required.toString()]);l(n,228,1,[xm._32(n,229)._control.errorState,xm._32(n,229)._control.errorState,xm._32(n,229)._canLabelFloat,xm._32(n,229)._shouldLabelFloat(),xm._32(n,229)._hideControlPlaceholder(),xm._32(n,229)._control.disabled,xm._32(n,229)._control.focused,"primary"==xm._32(n,229).color,"accent"==xm._32(n,229).color,"warn"==xm._32(n,229).color,xm._32(n,229)._shouldForward("untouched"),xm._32(n,229)._shouldForward("touched"),xm._32(n,229)._shouldForward("pristine"),xm._32(n,229)._shouldForward("dirty"),xm._32(n,229)._shouldForward("valid"),xm._32(n,229)._shouldForward("invalid"),xm._32(n,229)._shouldForward("pending")]);l(n,238,1,[xm._32(n,241).ngClassUntouched,xm._32(n,241).ngClassTouched,xm._32(n,241).ngClassPristine,xm._32(n,241).ngClassDirty,xm._32(n,241).ngClassValid,xm._32(n,241).ngClassInvalid,xm._32(n,241).ngClassPending,xm._32(n,242).id,xm._32(n,242).tabIndex,xm._32(n,242)._ariaLabel,xm._32(n,242).ariaLabelledby,xm._32(n,242).required.toString(),xm._32(n,242).disabled.toString(),xm._32(n,242).errorState,xm._32(n,242).panelOpen?xm._32(n,242)._optionIds:null,xm._32(n,242).multiple,xm._32(n,242)._ariaDescribedby||null,xm._32(n,242)._getAriaActiveDescendant(),xm._32(n,242).disabled,xm._32(n,242).errorState,xm._32(n,242).required]);l(n,249,0,xm._32(n,250)._getTabIndex(),xm._32(n,250).selected,xm._32(n,250).multiple,xm._32(n,250).active,xm._32(n,250).id,xm._32(n,250).selected.toString(),xm._32(n,250).disabled.toString(),xm._32(n,250).disabled);l(n,261,1,[xm._32(n,262)._control.errorState,xm._32(n,262)._control.errorState,xm._32(n,262)._canLabelFloat,xm._32(n,262)._shouldLabelFloat(),xm._32(n,262)._hideControlPlaceholder(),xm._32(n,262)._control.disabled,xm._32(n,262)._control.focused,"primary"==xm._32(n,262).color,"accent"==xm._32(n,262).color,"warn"==xm._32(n,262).color,xm._32(n,262)._shouldForward("untouched"),xm._32(n,262)._shouldForward("touched"),xm._32(n,262)._shouldForward("pristine"),xm._32(n,262)._shouldForward("dirty"),xm._32(n,262)._shouldForward("valid"),xm._32(n,262)._shouldForward("invalid"),xm._32(n,262)._shouldForward("pending")]);l(n,271,1,[xm._32(n,274).ngClassUntouched,xm._32(n,274).ngClassTouched,xm._32(n,274).ngClassPristine,xm._32(n,274).ngClassDirty,xm._32(n,274).ngClassValid,xm._32(n,274).ngClassInvalid,xm._32(n,274).ngClassPending,xm._32(n,275).id,xm._32(n,275).tabIndex,xm._32(n,275)._ariaLabel,xm._32(n,275).ariaLabelledby,xm._32(n,275).required.toString(),xm._32(n,275).disabled.toString(),xm._32(n,275).errorState,xm._32(n,275).panelOpen?xm._32(n,275)._optionIds:null,xm._32(n,275).multiple,xm._32(n,275)._ariaDescribedby||null,xm._32(n,275)._getAriaActiveDescendant(),xm._32(n,275).disabled,xm._32(n,275).errorState,xm._32(n,275).required]);l(n,282,0,xm._32(n,283)._getTabIndex(),xm._32(n,283).selected,xm._32(n,283).multiple,xm._32(n,283).active,xm._32(n,283).id,xm._32(n,283).selected.toString(),xm._32(n,283).disabled.toString(),xm._32(n,283).disabled);l(n,303,0,xm._32(n,304)._hidden)})}function Bs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._18(3,0,null,0,7,"div",[["formArrayName","referencecheck_list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(4,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(6,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Us)),xm._17(9,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"referencecheck_list");l(n,9,0,e.neighbourhoodForm.controls.referencecheck_list.controls)},function(l,n){l(n,3,0,xm._32(n,6).ngClassUntouched,xm._32(n,6).ngClassTouched,xm._32(n,6).ngClassPristine,xm._32(n,6).ngClassDirty,xm._32(n,6).ngClassValid,xm._32(n,6).ngClassInvalid,xm._32(n,6).ngClassPending)})}function $s(l){return xm._41(0,[xm._33(0,Df.t,[]),(l()(),xm._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,9).toggle()&&u}return u},Db.b,Db.a)),xm._17(8,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(9,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(10,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(14,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,bs)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._18(22,0,null,null,72,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,68,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,27).onReset()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.B,[],null,null),xm._17(27,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(29,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,19,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(32,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(34,0,null,0,2,"mat-label",[],null,null,null,null,null)),xm._17(35,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Please Select the type"])),(l()(),xm._18(37,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(39,0,null,0,10,"mat-radio-group",[["class","example-radio-group mat-radio-group"],["formControlName","check_type"],["role","radiogroup"],["style","width: 100%;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(40,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,2,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(43,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(45,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,vs)),xm._17(48,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Ps)),xm._17(53,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ds)),xm._17(56,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Bs)),xm._17(59,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(61,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(62,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(64,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(65,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,170,{_control:0}),xm._37(335544320,171,{_placeholderChild:0}),xm._37(335544320,172,{_labelChild:0}),xm._37(603979776,173,{_errorChildren:1}),xm._37(603979776,174,{_hintChildren:1}),xm._37(603979776,175,{_prefixChildren:1}),xm._37(603979776,176,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(74,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","neighbour_reference_remark"],["matInput",""],["name","neighbour_reference_remark"],["placeholder","Remarks"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,75)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,75).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,75)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,75)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,80)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,80)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,80)._onInput()&&u}return u},null,null)),xm._17(75,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(77,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(79,16384,null,0,Km.s,[Km.r],null,null),xm._17(80,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[170,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(85,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(86,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(88,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.submitData(a.neighbourhoodForm.value)&&u}return u},Db.b,Db.a)),xm._17(89,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.neighbourhoodForm);l(n,43,0,"check_type");l(n,48,0,e.check_type);l(n,53,0,0==e.neighbourhoodForm.get("check_type").value);l(n,56,0,0==e.neighbourhoodForm.controls.check_type.value);l(n,59,0,1==e.neighbourhoodForm.get("check_type").value);l(n,77,0,"neighbour_reference_remark");l(n,80,0,"Remarks","text");l(n,89,0,"optblue","")},function(l,n){l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,7,0,xm._32(n,9).isHidden);l(n,13,0,xm._32(n,14)._hidden);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,25,0,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending);l(n,39,0,xm._32(n,45).ngClassUntouched,xm._32(n,45).ngClassTouched,xm._32(n,45).ngClassPristine,xm._32(n,45).ngClassDirty,xm._32(n,45).ngClassValid,xm._32(n,45).ngClassInvalid,xm._32(n,45).ngClassPending);l(n,64,1,[xm._32(n,65)._control.errorState,xm._32(n,65)._control.errorState,xm._32(n,65)._canLabelFloat,xm._32(n,65)._shouldLabelFloat(),xm._32(n,65)._hideControlPlaceholder(),xm._32(n,65)._control.disabled,xm._32(n,65)._control.focused,"primary"==xm._32(n,65).color,"accent"==xm._32(n,65).color,"warn"==xm._32(n,65).color,xm._32(n,65)._shouldForward("untouched"),xm._32(n,65)._shouldForward("touched"),xm._32(n,65)._shouldForward("pristine"),xm._32(n,65)._shouldForward("dirty"),xm._32(n,65)._shouldForward("valid"),xm._32(n,65)._shouldForward("invalid"),xm._32(n,65)._shouldForward("pending")]);l(n,74,1,[xm._32(n,79).ngClassUntouched,xm._32(n,79).ngClassTouched,xm._32(n,79).ngClassPristine,xm._32(n,79).ngClassDirty,xm._32(n,79).ngClassValid,xm._32(n,79).ngClassInvalid,xm._32(n,79).ngClassPending,xm._32(n,80)._isServer,xm._32(n,80).id,xm._32(n,80).placeholder,xm._32(n,80).disabled,xm._32(n,80).required,xm._32(n,80).readonly,xm._32(n,80)._ariaDescribedby||null,xm._32(n,80).errorState,xm._32(n,80).required.toString()])})}function Ms(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Ks(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.customer_behaviour_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.description)})}function Hs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","final_other_customer_behaviour"],["matInput",""],["placeholder","Specify Customer Behaviour"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"final_other_customer_behaviour");l(n,16,0,"Specify Customer Behaviour")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Gs(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,9).toggle()&&u}return u},Db.b,Db.a)),xm._17(8,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(9,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(10,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(14,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Ms)),xm._17(18,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(22,0,null,null,134,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._18(25,0,null,1,130,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,27).onReset()&&u}return u},null,null)),xm._17(26,16384,null,0,Km.B,[],null,null),xm._17(27,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(29,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(31,0,null,null,35,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(32,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(34,0,null,0,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(35,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","final_custormer_remark_type"],["placeholder","Customer Behaviour"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,52)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,52)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,52)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(49,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(51,16384,null,0,Km.s,[Km.r],null,null),xm._17(52,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ks)),xm._17(59,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Hs)),xm._17(64,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(68,0,null,null,48,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(69,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(71,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(72,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n Location\n "])),(l()(),xm._18(74,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(76,0,null,0,39,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(77,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(79,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(80,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(89,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","is_service_provided"],["placeholder","Is the location of the business / profession suited to the nature of business / service provided? "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,95)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,95)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,95)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(90,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(92,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(94,16384,null,0,Km.s,[Km.r],null,null),xm._17(95,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._37(603979776,26,{options:1}),xm._37(603979776,27,{optionGroups:1}),xm._37(335544320,28,{customTrigger:0}),xm._36(2048,[[19,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(102,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","well_suited."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,103)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,103)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(103,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Well Suited."])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(106,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","fairly_suited"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,107)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,107)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(107,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Fairly Suited"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(110,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","not_suited"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,111)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,111)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(111,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Not Suited"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(118,0,null,null,28,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(119,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(121,0,null,0,24,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(122,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,29,{_control:0}),xm._37(335544320,30,{_placeholderChild:0}),xm._37(335544320,31,{_labelChild:0}),xm._37(603979776,32,{_errorChildren:1}),xm._37(603979776,33,{_hintChildren:1}),xm._37(603979776,34,{_prefixChildren:1}),xm._37(603979776,35,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(131,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(132,16384,[[31,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(135,0,null,1,9,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","final_form_remarks"],["matInput",""],["placeholder","Remarks"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,136)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,136).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,136)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,136)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,143)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,143)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,143)._onInput()&&u}return u},null,null)),xm._17(136,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(137,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(140,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(142,16384,null,0,Km.s,[Km.r],null,null),xm._17(143,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),xm._36(2048,[[29,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(148,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(149,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(151,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""],["type","submit"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveFinalRemark()&&u}return u},Db.b,Db.a)),xm._17(152,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e._finalRemarkForm);l(n,49,0,"final_custormer_remark_type");l(n,52,0,"Customer Behaviour");l(n,59,0,e.m_remarkTypeCustomerBehaviour);l(n,64,0,1==e._finalRemarkForm.controls.final_custormer_remark_type.value);l(n,90,0,"");l(n,92,0,"is_service_provided");l(n,95,0,"Is the location of the business / profession suited to the nature of business / service provided? ","");l(n,103,0,"well_suited.");l(n,107,0,"fairly_suited");l(n,111,0,"not_suited");l(n,137,0,"");l(n,140,0,"final_form_remarks");l(n,143,0,"Remarks","");l(n,152,0,"optblue","")},function(l,n){l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,7,0,xm._32(n,9).isHidden);l(n,13,0,xm._32(n,14)._hidden);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,25,0,xm._32(n,29).ngClassUntouched,xm._32(n,29).ngClassTouched,xm._32(n,29).ngClassPristine,xm._32(n,29).ngClassDirty,xm._32(n,29).ngClassValid,xm._32(n,29).ngClassInvalid,xm._32(n,29).ngClassPending);l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,1,[xm._32(n,51).ngClassUntouched,xm._32(n,51).ngClassTouched,xm._32(n,51).ngClassPristine,xm._32(n,51).ngClassDirty,xm._32(n,51).ngClassValid,xm._32(n,51).ngClassInvalid,xm._32(n,51).ngClassPending,xm._32(n,52).id,xm._32(n,52).tabIndex,xm._32(n,52)._ariaLabel,xm._32(n,52).ariaLabelledby,xm._32(n,52).required.toString(),xm._32(n,52).disabled.toString(),xm._32(n,52).errorState,xm._32(n,52).panelOpen?xm._32(n,52)._optionIds:null,xm._32(n,52).multiple,xm._32(n,52)._ariaDescribedby||null,xm._32(n,52)._getAriaActiveDescendant(),xm._32(n,52).disabled,xm._32(n,52).errorState,xm._32(n,52).required]);l(n,79,1,[xm._32(n,80)._control.errorState,xm._32(n,80)._control.errorState,xm._32(n,80)._canLabelFloat,xm._32(n,80)._shouldLabelFloat(),xm._32(n,80)._hideControlPlaceholder(),xm._32(n,80)._control.disabled,xm._32(n,80)._control.focused,"primary"==xm._32(n,80).color,"accent"==xm._32(n,80).color,"warn"==xm._32(n,80).color,xm._32(n,80)._shouldForward("untouched"),xm._32(n,80)._shouldForward("touched"),xm._32(n,80)._shouldForward("pristine"),xm._32(n,80)._shouldForward("dirty"),xm._32(n,80)._shouldForward("valid"),xm._32(n,80)._shouldForward("invalid"),xm._32(n,80)._shouldForward("pending")]);l(n,89,1,[xm._32(n,90).required?"":null,xm._32(n,94).ngClassUntouched,xm._32(n,94).ngClassTouched,xm._32(n,94).ngClassPristine,xm._32(n,94).ngClassDirty,xm._32(n,94).ngClassValid,xm._32(n,94).ngClassInvalid,xm._32(n,94).ngClassPending,xm._32(n,95).id,xm._32(n,95).tabIndex,xm._32(n,95)._ariaLabel,xm._32(n,95).ariaLabelledby,xm._32(n,95).required.toString(),xm._32(n,95).disabled.toString(),xm._32(n,95).errorState,xm._32(n,95).panelOpen?xm._32(n,95)._optionIds:null,xm._32(n,95).multiple,xm._32(n,95)._ariaDescribedby||null,xm._32(n,95)._getAriaActiveDescendant(),xm._32(n,95).disabled,xm._32(n,95).errorState,xm._32(n,95).required]);l(n,102,0,xm._32(n,103)._getTabIndex(),xm._32(n,103).selected,xm._32(n,103).multiple,xm._32(n,103).active,xm._32(n,103).id,xm._32(n,103).selected.toString(),xm._32(n,103).disabled.toString(),xm._32(n,103).disabled);l(n,106,0,xm._32(n,107)._getTabIndex(),xm._32(n,107).selected,xm._32(n,107).multiple,xm._32(n,107).active,xm._32(n,107).id,xm._32(n,107).selected.toString(),xm._32(n,107).disabled.toString(),xm._32(n,107).disabled);l(n,110,0,xm._32(n,111)._getTabIndex(),xm._32(n,111).selected,xm._32(n,111).multiple,xm._32(n,111).active,xm._32(n,111).id,xm._32(n,111).selected.toString(),xm._32(n,111).disabled.toString(),xm._32(n,111).disabled);l(n,121,1,[xm._32(n,122)._control.errorState,xm._32(n,122)._control.errorState,xm._32(n,122)._canLabelFloat,xm._32(n,122)._shouldLabelFloat(),xm._32(n,122)._hideControlPlaceholder(),xm._32(n,122)._control.disabled,xm._32(n,122)._control.focused,"primary"==xm._32(n,122).color,"accent"==xm._32(n,122).color,"warn"==xm._32(n,122).color,xm._32(n,122)._shouldForward("untouched"),xm._32(n,122)._shouldForward("touched"),xm._32(n,122)._shouldForward("pristine"),xm._32(n,122)._shouldForward("dirty"),xm._32(n,122)._shouldForward("valid"),xm._32(n,122)._shouldForward("invalid"),xm._32(n,122)._shouldForward("pending")]);l(n,135,1,[xm._32(n,137).required?"":null,xm._32(n,142).ngClassUntouched,xm._32(n,142).ngClassTouched,xm._32(n,142).ngClassPristine,xm._32(n,142).ngClassDirty,xm._32(n,142).ngClassValid,xm._32(n,142).ngClassInvalid,xm._32(n,142).ngClassPending,xm._32(n,143)._isServer,xm._32(n,143).id,xm._32(n,143).placeholder,xm._32(n,143).disabled,xm._32(n,143).required,xm._32(n,143).readonly,xm._32(n,143)._ariaDescribedby||null,xm._32(n,143).errorState,xm._32(n,143).required.toString()])})}function Ys(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(8,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(9,0,["",""])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(13,0,null,null,2,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(14,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){l(n,5,0,"optblue")},function(l,n){var e=n.component;l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,9,0,e.FormId.form_name);l(n,13,0,xm._32(n,14).statusbarPadding,xm._32(n,14)._hasRefresher)})}function Qs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function zs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"span",[["class","ribbon answered"]],null,null,null,null,null)),(l()(),xm._18(1,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.index+1)})}function Js(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"span",[["class","ribbon notanswered"]],null,null,null,null,null)),(l()(),xm._18(1,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),xm._39(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.index+1)})}function Xs(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,15,"mat-card",[["class","item-ribbon mat-card"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.OnSelectBusinessGroupForms(l.context.$implicit,l.parent.context.$implicit)&&u}return u},nb.d,nb.a)),xm._17(1,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,zs)),xm._17(5,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,Js)),xm._17(8,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(10,0,null,0,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(12,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(13,null,["",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "]))],function(l,n){l(n,5,0,n.context.$implicit.isAnswered);l(n,8,0,!n.context.$implicit.isAnswered)},function(l,n){l(n,13,0,n.context.$implicit.form_name)})}function Zs(l){return xm._41(0,[(l()(),xm._18(0,16777216,null,null,18,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,$v.d,$v.a)),xm._36(6144,null,ob.F,null,[Bv.c]),xm._17(2,278528,null,0,Df.h,[xm.B,xm.C,xm.p,xm.P],{ngClass:[0,"ngClass"]},null),xm._17(3,1753088,null,1,Bv.c,[[2,Bv.a],xm.i,Hb.d,xm._1],null,null),xm._37(335544320,1,{_lazyContent:0}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(6,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,7)._toggle()&&u}if("keydown"===n){u=!1!==xm._32(l,7)._keydown(e)&&u}return u},$v.c,$v.b)),xm._17(7,180224,null,0,Bv.e,[Bv.c,xm.p,sb.j,xm.i],null,null),xm._34(8,{collapsedHeight:0,expandedHeight:1}),xm._34(9,{value:0,params:1}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(11,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),xm._17(12,16384,null,0,Bv.f,[],null,null),(l()(),xm._39(13,null,["\n ","\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Xs)),xm._17(17,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(0,null,null,0))],function(l,n){var e=n.component;l(n,2,0,e.grossAccess?"":e.expanded);l(n,17,0,n.context.$implicit.form_status)},function(l,n){l(n,0,0,xm._32(n,3).expanded,xm._32(n,3)._hasSpacing());l(n,6,0,xm._32(n,7).panel._headerId,xm._32(n,7).panel.disabled?-1:0,xm._32(n,7)._getPanelId(),xm._32(n,7)._isExpanded(),xm._32(n,7).panel.disabled,xm._32(n,7)._isExpanded(),l(n,9,0,xm._32(n,7)._getExpandedState(),l(n,8,0,xm._32(n,7).collapsedHeight,xm._32(n,7).expandedHeight)));l(n,13,0,n.context.$implicit.company_name)})}function lc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),xm._17(1,16384,null,0,Bv.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Zs)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.existCompanyList)},null)}function nc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(2,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),xm._18(3,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Business Related Information is Not Available.Please Check General Information"])),(l()(),xm._39(-1,null,["\n \n "]))],null,null)}function ec(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Qs)),xm._17(9,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(13,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(14,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,lc)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,nc)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,!e.viewchange);l(n,17,0,e.waitLoading&&e.existCompanyList.length>0);l(n,20,0,0==e.waitLoading&&0==e.existCompanyList.length)},function(l,n){l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,13,0,xm._32(n,14).statusbarPadding,xm._32(n,14)._hasRefresher)})}function uc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formDetails.form_name)})}function ac(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(1,16384,[[29,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Field Required"]))],null,function(l,n){l(n,0,0,xm._32(n,1).id)})}function tc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_pd_visited_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[36,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_pd_visited_remark");l(n,16,0,"Remarks")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function ic(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[57,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.RentAmtInwordsForAddress[n.parent.parent.context.index])})}function oc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,53,{_control:0}),xm._37(335544320,54,{_placeholderChild:0}),xm._37(335544320,55,{_labelChild:0}),xm._37(603979776,56,{_errorChildren:1}),xm._37(603979776,57,{_hintChildren:1}),xm._37(603979776,58,{_prefixChildren:1}),xm._37(603979776,59,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_monthly_rented_amt"],["matInput",""],["placeholder","Monthly Rent Amount"],["type","numbers"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,9)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[53,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,ic)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(23,16384,[[56,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Monthly Rent Amount Required"])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_monthly_rented_amt");l(n,16,0,"Monthly Rent Amount","numbers");l(n,20,0,""!=n.parent.context.$implicit.get("business_monthly_rented_amt").value)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()]);l(n,22,0,xm._32(n,23).id)})}function rc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[64,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.appxMarketAmtInwordsForAddress[n.parent.parent.context.index])})}function _c(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[74,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function dc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,Fv.d,Fv.a)),xm._17(1,49152,[[75,4]],0,ob.s,[],{label:[0,"label"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,0,1,null,_c)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,xm._32(n,1).disabled,xm._32(n,1).disabled.toString(),xm._32(n,1)._labelId)})}function sc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,77,{_control:0}),xm._37(335544320,78,{_placeholderChild:0}),xm._37(335544320,79,{_labelChild:0}),xm._37(603979776,80,{_errorChildren:1}),xm._37(603979776,81,{_hintChildren:1}),xm._37(603979776,82,{_prefixChildren:1}),xm._37(603979776,83,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_name_of_the_other_owner"],["matInput",""],["placeholder","Specify Asset Owned Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[77,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_name_of_the_other_owner");l(n,16,0,"Specify Asset Owned Name")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function cc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,118,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(4,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(5,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,60,{_control:0}),xm._37(335544320,61,{_placeholderChild:0}),xm._37(335544320,62,{_labelChild:0}),xm._37(603979776,63,{_errorChildren:1}),xm._37(603979776,64,{_hintChildren:1}),xm._37(603979776,65,{_prefixChildren:1}),xm._37(603979776,66,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(14,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"],["type","numbers"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,20)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,10)&&u}return u},null,null)),xm._17(15,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(17,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(19,16384,null,0,Km.s,[Km.r],null,null),xm._17(20,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[60,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,rc)),xm._17(24,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(27,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(28,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,67,{_control:0}),xm._37(335544320,68,{_placeholderChild:0}),xm._37(335544320,69,{_labelChild:0}),xm._37(603979776,70,{_errorChildren:1}),xm._37(603979776,71,{_hintChildren:1}),xm._37(603979776,72,{_prefixChildren:1}),xm._37(603979776,73,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(37,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","business_name_of_the_owner"],["multiple",""],["placeholder","Asset Owned by"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,42)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,42)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,42)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.setRequiredValidation(e.value,l.parent.context.$implicit,8)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(39,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(41,16384,null,0,Km.s,[Km.r],null,null),xm._17(42,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),xm._37(603979776,74,{options:1}),xm._37(603979776,75,{optionGroups:1}),xm._37(335544320,76,{customTrigger:0}),xm._36(2048,[[67,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,dc)),xm._17(49,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(52,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(53,16384,[[70,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Asset Owned by Required"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,sc)),xm._17(60,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(63,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(64,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,84,{_control:0}),xm._37(335544320,85,{_placeholderChild:0}),xm._37(335544320,86,{_labelChild:0}),xm._37(603979776,87,{_errorChildren:1}),xm._37(603979776,88,{_hintChildren:1}),xm._37(603979776,89,{_prefixChildren:1}),xm._37(603979776,90,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(73,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(74,16384,[[86,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Approx Vintage"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(77,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_vintage"],["matInput",""],["maxlength","3"],["minlength","1"],["placeholder","eg.999"],["type","numbers"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,78)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,78).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,78)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,78)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,86)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,86)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,86)._onInput()&&u}if("keyup"===n){u=!1!==a.calculateVintagePurchase(e.target.value,l.parent.context.index,3)&&u}return u},null,null)),xm._17(78,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(79,540672,null,0,Km.o,[],{minlength:[0,"minlength"]},null),xm._17(80,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l,n){return[l,n]},[Km.o,Km.n]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(83,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(85,16384,null,0,Km.s,[Km.r],null,null),xm._17(86,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[84,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(91,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(92,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,91,{_control:0}),xm._37(335544320,92,{_placeholderChild:0}),xm._37(335544320,93,{_labelChild:0}),xm._37(603979776,94,{_errorChildren:1}),xm._37(603979776,95,{_hintChildren:1}),xm._37(603979776,96,{_prefixChildren:1}),xm._37(603979776,97,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(101,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(102,16384,[[93,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Purchase Year"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(105,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_purchase_year"],["matInput",""],["maxlength","4"],["minlength","4"],["placeholder","YYYY eg.2018"],["type","numbers"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,106)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,114)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,114)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,114)._onInput()&&u}if("keyup"===n){u=!1!==a.calculateVintagePurchase(e.target.value,l.parent.context.index,4)&&u}return u},null,null)),xm._17(106,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(107,540672,null,0,Km.o,[],{minlength:[0,"minlength"]},null),xm._17(108,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l,n){return[l,n]},[Km.o,Km.n]),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(111,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(113,16384,null,0,Km.s,[Km.r],null,null),xm._17(114,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[91,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,17,0,"business_approximate_market_value");l(n,20,0,"Approximate Market Value","numbers");l(n,24,0,""!=n.parent.context.$implicit.get("business_approximate_market_value").value);l(n,39,0,"business_name_of_the_owner");l(n,42,0,"Asset Owned by","",e.compareObjects);l(n,49,0,e.mergeCompanyApplicant);l(n,60,0,e.isOtherOwnerForAddress);l(n,79,0,"1");l(n,80,0,"3");l(n,83,0,"business_vintage");l(n,86,0,"eg.999","numbers");l(n,107,0,"4");l(n,108,0,"4");l(n,111,0,"business_purchase_year");l(n,114,0,"YYYY eg.2018","numbers")},function(l,n){l(n,4,1,[xm._32(n,5)._control.errorState,xm._32(n,5)._control.errorState,xm._32(n,5)._canLabelFloat,xm._32(n,5)._shouldLabelFloat(),xm._32(n,5)._hideControlPlaceholder(),xm._32(n,5)._control.disabled,xm._32(n,5)._control.focused,"primary"==xm._32(n,5).color,"accent"==xm._32(n,5).color,"warn"==xm._32(n,5).color,xm._32(n,5)._shouldForward("untouched"),xm._32(n,5)._shouldForward("touched"),xm._32(n,5)._shouldForward("pristine"),xm._32(n,5)._shouldForward("dirty"),xm._32(n,5)._shouldForward("valid"),xm._32(n,5)._shouldForward("invalid"),xm._32(n,5)._shouldForward("pending")]);l(n,14,1,[xm._32(n,19).ngClassUntouched,xm._32(n,19).ngClassTouched,xm._32(n,19).ngClassPristine,xm._32(n,19).ngClassDirty,xm._32(n,19).ngClassValid,xm._32(n,19).ngClassInvalid,xm._32(n,19).ngClassPending,xm._32(n,20)._isServer,xm._32(n,20).id,xm._32(n,20).placeholder,xm._32(n,20).disabled,xm._32(n,20).required,xm._32(n,20).readonly,xm._32(n,20)._ariaDescribedby||null,xm._32(n,20).errorState,xm._32(n,20).required.toString()]);l(n,27,1,[xm._32(n,28)._control.errorState,xm._32(n,28)._control.errorState,xm._32(n,28)._canLabelFloat,xm._32(n,28)._shouldLabelFloat(),xm._32(n,28)._hideControlPlaceholder(),xm._32(n,28)._control.disabled,xm._32(n,28)._control.focused,"primary"==xm._32(n,28).color,"accent"==xm._32(n,28).color,"warn"==xm._32(n,28).color,xm._32(n,28)._shouldForward("untouched"),xm._32(n,28)._shouldForward("touched"),xm._32(n,28)._shouldForward("pristine"),xm._32(n,28)._shouldForward("dirty"),xm._32(n,28)._shouldForward("valid"),xm._32(n,28)._shouldForward("invalid"),xm._32(n,28)._shouldForward("pending")]);l(n,37,1,[xm._32(n,41).ngClassUntouched,xm._32(n,41).ngClassTouched,xm._32(n,41).ngClassPristine,xm._32(n,41).ngClassDirty,xm._32(n,41).ngClassValid,xm._32(n,41).ngClassInvalid,xm._32(n,41).ngClassPending,xm._32(n,42).id,xm._32(n,42).tabIndex,xm._32(n,42)._ariaLabel,xm._32(n,42).ariaLabelledby,xm._32(n,42).required.toString(),xm._32(n,42).disabled.toString(),xm._32(n,42).errorState,xm._32(n,42).panelOpen?xm._32(n,42)._optionIds:null,xm._32(n,42).multiple,xm._32(n,42)._ariaDescribedby||null,xm._32(n,42)._getAriaActiveDescendant(),xm._32(n,42).disabled,xm._32(n,42).errorState,xm._32(n,42).required]);l(n,52,0,xm._32(n,53).id);l(n,63,1,[xm._32(n,64)._control.errorState,xm._32(n,64)._control.errorState,xm._32(n,64)._canLabelFloat,xm._32(n,64)._shouldLabelFloat(),xm._32(n,64)._hideControlPlaceholder(),xm._32(n,64)._control.disabled,xm._32(n,64)._control.focused,"primary"==xm._32(n,64).color,"accent"==xm._32(n,64).color,"warn"==xm._32(n,64).color,xm._32(n,64)._shouldForward("untouched"),xm._32(n,64)._shouldForward("touched"),xm._32(n,64)._shouldForward("pristine"),xm._32(n,64)._shouldForward("dirty"),xm._32(n,64)._shouldForward("valid"),xm._32(n,64)._shouldForward("invalid"),xm._32(n,64)._shouldForward("pending")]);l(n,77,1,[xm._32(n,79).minlength?xm._32(n,79).minlength:null,xm._32(n,80).maxlength?xm._32(n,80).maxlength:null,xm._32(n,85).ngClassUntouched,xm._32(n,85).ngClassTouched,xm._32(n,85).ngClassPristine,xm._32(n,85).ngClassDirty,xm._32(n,85).ngClassValid,xm._32(n,85).ngClassInvalid,xm._32(n,85).ngClassPending,xm._32(n,86)._isServer,xm._32(n,86).id,xm._32(n,86).placeholder,xm._32(n,86).disabled,xm._32(n,86).required,xm._32(n,86).readonly,xm._32(n,86)._ariaDescribedby||null,xm._32(n,86).errorState,xm._32(n,86).required.toString()]);l(n,91,1,[xm._32(n,92)._control.errorState,xm._32(n,92)._control.errorState,xm._32(n,92)._canLabelFloat,xm._32(n,92)._shouldLabelFloat(),xm._32(n,92)._hideControlPlaceholder(),xm._32(n,92)._control.disabled,xm._32(n,92)._control.focused,"primary"==xm._32(n,92).color,"accent"==xm._32(n,92).color,"warn"==xm._32(n,92).color,xm._32(n,92)._shouldForward("untouched"),xm._32(n,92)._shouldForward("touched"),xm._32(n,92)._shouldForward("pristine"),xm._32(n,92)._shouldForward("dirty"),xm._32(n,92)._shouldForward("valid"),xm._32(n,92)._shouldForward("invalid"),xm._32(n,92)._shouldForward("pending")]);l(n,105,1,[xm._32(n,107).minlength?xm._32(n,107).minlength:null,xm._32(n,108).maxlength?xm._32(n,108).maxlength:null,xm._32(n,113).ngClassUntouched,xm._32(n,113).ngClassTouched,xm._32(n,113).ngClassPristine,xm._32(n,113).ngClassDirty,xm._32(n,113).ngClassValid,xm._32(n,113).ngClassInvalid,xm._32(n,113).ngClassPending,xm._32(n,114)._isServer,xm._32(n,114).id,xm._32(n,114).placeholder,xm._32(n,114).disabled,xm._32(n,114).required,xm._32(n,114).readonly,xm._32(n,114)._ariaDescribedby||null,xm._32(n,114).errorState,xm._32(n,114).required.toString()])})}function mc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Is There a Loan Existing Against This Asset?"])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","business_emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,98,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(9,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(11,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,14)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(14,4440064,[[98,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,18)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(18,4440064,[[98,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"business_emi");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending);l(n,13,0,xm._32(n,14).checked,xm._32(n,14).disabled,xm._32(n,14).id);l(n,17,0,xm._32(n,18).checked,xm._32(n,18).disabled,xm._32(n,18).id)})}function pc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,51,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,48,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(8,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","business_ownership_type"],["placeholder","Ownership Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.setRequiredValidation(e.value,l.context.$implicit,7)&&u}return u},xv.b,xv.a)),xm._17(18,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(20,16384,null,0,Km.s,[Km.r],null,null),xm._17(21,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,50,{options:1}),xm._37(603979776,51,{optionGroups:1}),xm._37(335544320,52,{customTrigger:0}),xm._36(2048,[[43,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","owned"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,29)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(29,8437760,[[50,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Owned"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","rented"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,33)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(33,8437760,[[50,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Rented"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,oc)),xm._17(39,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n\n "])),(l()(),xm._13(16777216,null,null,1,null,cc)),xm._17(42,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(45,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,mc)),xm._17(48,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,18,0,"business_ownership_type");l(n,21,0,"Ownership Type");l(n,29,0,"owned");l(n,33,0,"rented");l(n,39,0,"rented"==n.context.$implicit.get("business_ownership_type").value);l(n,42,0,"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,48,0,"owned"==n.context.$implicit.get("business_ownership_type").value)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,7,1,[xm._32(n,8)._control.errorState,xm._32(n,8)._control.errorState,xm._32(n,8)._canLabelFloat,xm._32(n,8)._shouldLabelFloat(),xm._32(n,8)._hideControlPlaceholder(),xm._32(n,8)._control.disabled,xm._32(n,8)._control.focused,"primary"==xm._32(n,8).color,"accent"==xm._32(n,8).color,"warn"==xm._32(n,8).color,xm._32(n,8)._shouldForward("untouched"),xm._32(n,8)._shouldForward("touched"),xm._32(n,8)._shouldForward("pristine"),xm._32(n,8)._shouldForward("dirty"),xm._32(n,8)._shouldForward("valid"),xm._32(n,8)._shouldForward("invalid"),xm._32(n,8)._shouldForward("pending")]);l(n,17,1,[xm._32(n,20).ngClassUntouched,xm._32(n,20).ngClassTouched,xm._32(n,20).ngClassPristine,xm._32(n,20).ngClassDirty,xm._32(n,20).ngClassValid,xm._32(n,20).ngClassInvalid,xm._32(n,20).ngClassPending,xm._32(n,21).id,xm._32(n,21).tabIndex,xm._32(n,21)._ariaLabel,xm._32(n,21).ariaLabelledby,xm._32(n,21).required.toString(),xm._32(n,21).disabled.toString(),xm._32(n,21).errorState,xm._32(n,21).panelOpen?xm._32(n,21)._optionIds:null,xm._32(n,21).multiple,xm._32(n,21)._ariaDescribedby||null,xm._32(n,21)._getAriaActiveDescendant(),xm._32(n,21).disabled,xm._32(n,21).errorState,xm._32(n,21).required]);l(n,28,0,xm._32(n,29)._getTabIndex(),xm._32(n,29).selected,xm._32(n,29).multiple,xm._32(n,29).active,xm._32(n,29).id,xm._32(n,29).selected.toString(),xm._32(n,29).disabled.toString(),xm._32(n,29).disabled);l(n,32,0,xm._32(n,33)._getTabIndex(),xm._32(n,33).selected,xm._32(n,33).multiple,xm._32(n,33).active,xm._32(n,33).id,xm._32(n,33).selected.toString(),xm._32(n,33).disabled.toString(),xm._32(n,33).disabled)})}function fc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,10,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,7,"div",[["formArrayName","business_assets_for_address"],["fxFill",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,pc)),xm._17(8,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"business_assets_for_address");l(n,8,0,e._businessAssetsQuesFrom.controls.business_assets_for_address.controls)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending)})}function hc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,94,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["How long has business been operated from this premise?"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(6,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(15,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_years"],["matInput",""],["placeholder","Year(s)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,16)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,17).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,17).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,17).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,22)._onInput()&&u}if("change"===n){u=!1!==a.checkWithExistBusinessYear(e.target.value)&&u}return u},null,null)),xm._17(16,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(17,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","font-size:12px;color: red;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(26,16384,[[16,4]],0,ib.e,[],null,null),(l()(),xm._39(27,null,["",""])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(31,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(40,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_month"],["matInput",""],["placeholder","Month(s)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,41)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,42).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,42).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,42).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,47)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,47)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,47)._onInput()&&u}if("change"===n){u=!1!==a.ConvertMonthintoYear(e.target.value)&&u}return u},null,null)),xm._17(41,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(42,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(44,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(46,16384,null,0,Km.s,[Km.r],null,null),xm._17(47,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[19,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(50,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","font-size:12px;color: red;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(51,16384,[[23,4]],0,ib.e,[],null,null),(l()(),xm._39(52,null,["",""])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(55,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(56,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(65,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","business_is_pd_visited"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,69)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,69)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,69)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(66,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(68,16384,null,0,Km.s,[Km.r],null,null),xm._17(69,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,33,{options:1}),xm._37(603979776,34,{optionGroups:1}),xm._37(335544320,35,{customTrigger:0}),xm._36(2048,[[26,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(76,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,77)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,77)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(77,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(80,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,81)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,81)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(81,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,5,1,null,ac)),xm._17(86,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._13(16777216,null,null,1,null,tc)),xm._17(90,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,fc)),xm._17(93,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,19,0,"business_years");l(n,22,0,"Year(s)","number");l(n,44,0,"business_month");l(n,47,0,"Month(s)","number");l(n,66,0,"business_is_pd_visited");l(n,69,0,e.placeholderName);l(n,77,0,"yes");l(n,81,0,"no");l(n,86,0,!e._businessAssetsQuesFrom.controls.business_is_pd_visited.value.valid);l(n,90,0,""!=e._businessAssetsQuesFrom.controls.business_is_pd_visited.value);l(n,93,0,"yes"==e._businessAssetsQuesFrom.controls.business_address_availability.value)},function(l,n){var e=n.component;l(n,5,1,[xm._32(n,6)._control.errorState,xm._32(n,6)._control.errorState,xm._32(n,6)._canLabelFloat,xm._32(n,6)._shouldLabelFloat(),xm._32(n,6)._hideControlPlaceholder(),xm._32(n,6)._control.disabled,xm._32(n,6)._control.focused,"primary"==xm._32(n,6).color,"accent"==xm._32(n,6).color,"warn"==xm._32(n,6).color,xm._32(n,6)._shouldForward("untouched"),xm._32(n,6)._shouldForward("touched"),xm._32(n,6)._shouldForward("pristine"),xm._32(n,6)._shouldForward("dirty"),xm._32(n,6)._shouldForward("valid"),xm._32(n,6)._shouldForward("invalid"),xm._32(n,6)._shouldForward("pending")]);l(n,15,1,[xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22)._isServer,xm._32(n,22).id,xm._32(n,22).placeholder,xm._32(n,22).disabled,xm._32(n,22).required,xm._32(n,22).readonly,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22).errorState,xm._32(n,22).required.toString()]);l(n,25,0,"end"==xm._32(n,26).align,xm._32(n,26).id,null);l(n,27,0,e.yearErrorMessage);l(n,30,1,[xm._32(n,31)._control.errorState,xm._32(n,31)._control.errorState,xm._32(n,31)._canLabelFloat,xm._32(n,31)._shouldLabelFloat(),xm._32(n,31)._hideControlPlaceholder(),xm._32(n,31)._control.disabled,xm._32(n,31)._control.focused,"primary"==xm._32(n,31).color,"accent"==xm._32(n,31).color,"warn"==xm._32(n,31).color,xm._32(n,31)._shouldForward("untouched"),xm._32(n,31)._shouldForward("touched"),xm._32(n,31)._shouldForward("pristine"),xm._32(n,31)._shouldForward("dirty"),xm._32(n,31)._shouldForward("valid"),xm._32(n,31)._shouldForward("invalid"),xm._32(n,31)._shouldForward("pending")]);l(n,40,1,[xm._32(n,46).ngClassUntouched,xm._32(n,46).ngClassTouched,xm._32(n,46).ngClassPristine,xm._32(n,46).ngClassDirty,xm._32(n,46).ngClassValid,xm._32(n,46).ngClassInvalid,xm._32(n,46).ngClassPending,xm._32(n,47)._isServer,xm._32(n,47).id,xm._32(n,47).placeholder,xm._32(n,47).disabled,xm._32(n,47).required,xm._32(n,47).readonly,xm._32(n,47)._ariaDescribedby||null,xm._32(n,47).errorState,xm._32(n,47).required.toString()]);l(n,50,0,"end"==xm._32(n,51).align,xm._32(n,51).id,null);l(n,52,0,e.monthErrorMessage);l(n,55,1,[xm._32(n,56)._control.errorState,xm._32(n,56)._control.errorState,xm._32(n,56)._canLabelFloat,xm._32(n,56)._shouldLabelFloat(),xm._32(n,56)._hideControlPlaceholder(),xm._32(n,56)._control.disabled,xm._32(n,56)._control.focused,"primary"==xm._32(n,56).color,"accent"==xm._32(n,56).color,"warn"==xm._32(n,56).color,xm._32(n,56)._shouldForward("untouched"),xm._32(n,56)._shouldForward("touched"),xm._32(n,56)._shouldForward("pristine"),xm._32(n,56)._shouldForward("dirty"),xm._32(n,56)._shouldForward("valid"),xm._32(n,56)._shouldForward("invalid"),xm._32(n,56)._shouldForward("pending")]);l(n,65,1,[xm._32(n,68).ngClassUntouched,xm._32(n,68).ngClassTouched,xm._32(n,68).ngClassPristine,xm._32(n,68).ngClassDirty,xm._32(n,68).ngClassValid,xm._32(n,68).ngClassInvalid,xm._32(n,68).ngClassPending,xm._32(n,69).id,xm._32(n,69).tabIndex,xm._32(n,69)._ariaLabel,xm._32(n,69).ariaLabelledby,xm._32(n,69).required.toString(),xm._32(n,69).disabled.toString(),xm._32(n,69).errorState,xm._32(n,69).panelOpen?xm._32(n,69)._optionIds:null,xm._32(n,69).multiple,xm._32(n,69)._ariaDescribedby||null,xm._32(n,69)._getAriaActiveDescendant(),xm._32(n,69).disabled,xm._32(n,69).errorState,xm._32(n,69).required]);l(n,76,0,xm._32(n,77)._getTabIndex(),xm._32(n,77).selected,xm._32(n,77).multiple,xm._32(n,77).active,xm._32(n,77).id,xm._32(n,77).selected.toString(),xm._32(n,77).disabled.toString(),xm._32(n,77).disabled);l(n,80,0,xm._32(n,81)._getTabIndex(),xm._32(n,81).selected,xm._32(n,81).multiple,xm._32(n,81).active,xm._32(n,81).id,xm._32(n,81).selected.toString(),xm._32(n,81).disabled.toString(),xm._32(n,81).disabled)})}function gc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[106,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),xm._39(2,0,["","--",""])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.id,1!=n.context.$implicit.flag)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent.parent,0),n.context.$implicit.name)),n.context.$implicit.id)})}function bc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[116,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.address_type_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.address_type)))})}function vc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,119,{_control:0}),xm._37(335544320,120,{_placeholderChild:0}),xm._37(335544320,121,{_labelChild:0}),xm._37(603979776,122,{_errorChildren:1}),xm._37(603979776,123,{_hintChildren:1}),xm._37(603979776,124,{_prefixChildren:1}),xm._37(603979776,125,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_property_type"],["matInput",""],["placeholder","Specify Other Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[119,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_property_type");l(n,16,0,"Specify Other Property")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function yc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,126,{_control:0}),xm._37(335544320,127,{_placeholderChild:0}),xm._37(335544320,128,{_labelChild:0}),xm._37(603979776,129,{_errorChildren:1}),xm._37(603979776,130,{_hintChildren:1}),xm._37(603979776,131,{_prefixChildren:1}),xm._37(603979776,132,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_of_the_property"],["matInput",""],["placeholder","Address of the Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[126,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"address_of_the_property");l(n,16,0,"Address of the Property")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Cc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,39,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,36,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(8,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,109,{_control:0}),xm._37(335544320,110,{_placeholderChild:0}),xm._37(335544320,111,{_labelChild:0}),xm._37(603979776,112,{_errorChildren:1}),xm._37(603979776,113,{_hintChildren:1}),xm._37(603979776,114,{_prefixChildren:1}),xm._37(603979776,115,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Property Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,116,{options:1}),xm._37(603979776,117,{optionGroups:1}),xm._37(335544320,118,{customTrigger:0}),xm._36(2048,[[109,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,bc)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,vc)),xm._17(34,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,yc)),xm._17(37,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,19,0,"property_type");l(n,22,0,"Property Type");l(n,29,0,e.m_address_type);l(n,34,0,1==n.context.$implicit.get("property_type").value);l(n,37,0,""!=n.context.$implicit.get("property_type").value)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,7,1,[xm._32(n,8)._control.errorState,xm._32(n,8)._control.errorState,xm._32(n,8)._canLabelFloat,xm._32(n,8)._shouldLabelFloat(),xm._32(n,8)._hideControlPlaceholder(),xm._32(n,8)._control.disabled,xm._32(n,8)._control.focused,"primary"==xm._32(n,8).color,"accent"==xm._32(n,8).color,"warn"==xm._32(n,8).color,xm._32(n,8)._shouldForward("untouched"),xm._32(n,8)._shouldForward("touched"),xm._32(n,8)._shouldForward("pristine"),xm._32(n,8)._shouldForward("dirty"),xm._32(n,8)._shouldForward("valid"),xm._32(n,8)._shouldForward("invalid"),xm._32(n,8)._shouldForward("pending")]);l(n,17,1,[xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required])})}function wc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Cc)),xm._17(3,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function Fc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[140,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.vehicle_type_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.vehicle_type_name)})}function xc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,143,{_control:0}),xm._37(335544320,144,{_placeholderChild:0}),xm._37(335544320,145,{_labelChild:0}),xm._37(603979776,146,{_errorChildren:1}),xm._37(603979776,147,{_hintChildren:1}),xm._37(603979776,148,{_prefixChildren:1}),xm._37(603979776,149,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_vehicle_type"],["matInput",""],["placeholder"," Specify Vehicle"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[143,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_vehicle_type");l(n,16,0," Specify Vehicle")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Sc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,53,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(8,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,133,{_control:0}),xm._37(335544320,134,{_placeholderChild:0}),xm._37(335544320,135,{_labelChild:0}),xm._37(603979776,136,{_errorChildren:1}),xm._37(603979776,137,{_hintChildren:1}),xm._37(603979776,138,{_prefixChildren:1}),xm._37(603979776,139,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","vehicle_type"],["placeholder","Type of Vehicle"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,140,{options:1}),xm._37(603979776,141,{optionGroups:1}),xm._37(335544320,142,{customTrigger:0}),xm._36(2048,[[133,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Fc)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,xc)),xm._17(34,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(36,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(37,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,150,{_control:0}),xm._37(335544320,151,{_placeholderChild:0}),xm._37(335544320,152,{_labelChild:0}),xm._37(603979776,153,{_errorChildren:1}),xm._37(603979776,154,{_hintChildren:1}),xm._37(603979776,155,{_prefixChildren:1}),xm._37(603979776,156,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(46,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturer_model_vehicle"],["matInput",""],["placeholder","Manufacture, Model"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,47)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,47).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,47)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,47)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,52)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,52)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,52)._onInput()&&u}return u},null,null)),xm._17(47,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(49,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(51,16384,null,0,Km.s,[Km.r],null,null),xm._17(52,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[150,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,19,0,"vehicle_type");l(n,22,0,"Type of Vehicle");l(n,29,0,e.m_vehicle_type);l(n,34,0,1==n.context.$implicit.get("vehicle_type").value);l(n,49,0,"manufacturer_model_vehicle");l(n,52,0,"Manufacture, Model")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,7,1,[xm._32(n,8)._control.errorState,xm._32(n,8)._control.errorState,xm._32(n,8)._canLabelFloat,xm._32(n,8)._shouldLabelFloat(),xm._32(n,8)._hideControlPlaceholder(),xm._32(n,8)._control.disabled,xm._32(n,8)._control.focused,"primary"==xm._32(n,8).color,"accent"==xm._32(n,8).color,"warn"==xm._32(n,8).color,xm._32(n,8)._shouldForward("untouched"),xm._32(n,8)._shouldForward("touched"),xm._32(n,8)._shouldForward("pristine"),xm._32(n,8)._shouldForward("dirty"),xm._32(n,8)._shouldForward("valid"),xm._32(n,8)._shouldForward("invalid"),xm._32(n,8)._shouldForward("pending")]);l(n,17,1,[xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,36,1,[xm._32(n,37)._control.errorState,xm._32(n,37)._control.errorState,xm._32(n,37)._canLabelFloat,xm._32(n,37)._shouldLabelFloat(),xm._32(n,37)._hideControlPlaceholder(),xm._32(n,37)._control.disabled,xm._32(n,37)._control.focused,"primary"==xm._32(n,37).color,"accent"==xm._32(n,37).color,"warn"==xm._32(n,37).color,xm._32(n,37)._shouldForward("untouched"),xm._32(n,37)._shouldForward("touched"),xm._32(n,37)._shouldForward("pristine"),xm._32(n,37)._shouldForward("dirty"),xm._32(n,37)._shouldForward("valid"),xm._32(n,37)._shouldForward("invalid"),xm._32(n,37)._shouldForward("pending")]);l(n,46,1,[xm._32(n,51).ngClassUntouched,xm._32(n,51).ngClassTouched,xm._32(n,51).ngClassPristine,xm._32(n,51).ngClassDirty,xm._32(n,51).ngClassValid,xm._32(n,51).ngClassInvalid,xm._32(n,51).ngClassPending,xm._32(n,52)._isServer,xm._32(n,52).id,xm._32(n,52).placeholder,xm._32(n,52).disabled,xm._32(n,52).required,xm._32(n,52).readonly,xm._32(n,52)._ariaDescribedby||null,xm._32(n,52).errorState,xm._32(n,52).required.toString()])})}function Ic(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Sc)),xm._17(3,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function qc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,27,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,24,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(8,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,157,{_control:0}),xm._37(335544320,158,{_placeholderChild:0}),xm._37(335544320,159,{_labelChild:0}),xm._37(603979776,160,{_errorChildren:1}),xm._37(603979776,161,{_hintChildren:1}),xm._37(603979776,162,{_prefixChildren:1}),xm._37(603979776,163,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","equipment_manufacturing_description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(18,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[157,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,20,0,"equipment_manufacturing_description");l(n,23,0,"Description")},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,7,1,[xm._32(n,8)._control.errorState,xm._32(n,8)._control.errorState,xm._32(n,8)._canLabelFloat,xm._32(n,8)._shouldLabelFloat(),xm._32(n,8)._hideControlPlaceholder(),xm._32(n,8)._control.disabled,xm._32(n,8)._control.focused,"primary"==xm._32(n,8).color,"accent"==xm._32(n,8).color,"warn"==xm._32(n,8).color,xm._32(n,8)._shouldForward("untouched"),xm._32(n,8)._shouldForward("touched"),xm._32(n,8)._shouldForward("pristine"),xm._32(n,8)._shouldForward("dirty"),xm._32(n,8)._shouldForward("valid"),xm._32(n,8)._shouldForward("invalid"),xm._32(n,8)._shouldForward("pending")]);l(n,17,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()])})}function kc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,qc)),xm._17(3,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function Pc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[178,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""])),xm._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.value)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,xm._40(n,2,0,l(n,3,0,xm._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.viewValue)))})}function Dc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,54,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,51,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(8,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,164,{_control:0}),xm._37(335544320,165,{_placeholderChild:0}),xm._37(335544320,166,{_labelChild:0}),xm._37(603979776,167,{_errorChildren:1}),xm._37(603979776,168,{_hintChildren:1}),xm._37(603979776,169,{_prefixChildren:1}),xm._37(603979776,170,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","any_other_assets"],["matInput",""],["placeholder","Description of the Assets"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}return u},null,null)),xm._17(18,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[164,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(28,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(29,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,171,{_control:0}),xm._37(335544320,172,{_placeholderChild:0}),xm._37(335544320,173,{_labelChild:0}),xm._37(603979776,174,{_errorChildren:1}),xm._37(603979776,175,{_hintChildren:1}),xm._37(603979776,176,{_prefixChildren:1}),xm._37(603979776,177,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(38,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","any_other_asset_loan"],["placeholder","Is there any asset loan?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,43)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(40,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(42,16384,null,0,Km.s,[Km.r],null,null),xm._17(43,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,178,{options:1}),xm._37(603979776,179,{optionGroups:1}),xm._37(335544320,180,{customTrigger:0}),xm._36(2048,[[171,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Pc)),xm._17(50,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,20,0,"any_other_assets");l(n,23,0,"Description of the Assets");l(n,40,0,"any_other_asset_loan");l(n,43,0,"Is there any asset loan?");l(n,50,0,e.m_any_asset_loan_type)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,7,1,[xm._32(n,8)._control.errorState,xm._32(n,8)._control.errorState,xm._32(n,8)._canLabelFloat,xm._32(n,8)._shouldLabelFloat(),xm._32(n,8)._hideControlPlaceholder(),xm._32(n,8)._control.disabled,xm._32(n,8)._control.focused,"primary"==xm._32(n,8).color,"accent"==xm._32(n,8).color,"warn"==xm._32(n,8).color,xm._32(n,8)._shouldForward("untouched"),xm._32(n,8)._shouldForward("touched"),xm._32(n,8)._shouldForward("pristine"),xm._32(n,8)._shouldForward("dirty"),xm._32(n,8)._shouldForward("valid"),xm._32(n,8)._shouldForward("invalid"),xm._32(n,8)._shouldForward("pending")]);l(n,17,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()]);l(n,28,1,[xm._32(n,29)._control.errorState,xm._32(n,29)._control.errorState,xm._32(n,29)._canLabelFloat,xm._32(n,29)._shouldLabelFloat(),xm._32(n,29)._hideControlPlaceholder(),xm._32(n,29)._control.disabled,xm._32(n,29)._control.focused,"primary"==xm._32(n,29).color,"accent"==xm._32(n,29).color,"warn"==xm._32(n,29).color,xm._32(n,29)._shouldForward("untouched"),xm._32(n,29)._shouldForward("touched"),xm._32(n,29)._shouldForward("pristine"),xm._32(n,29)._shouldForward("dirty"),xm._32(n,29)._shouldForward("valid"),xm._32(n,29)._shouldForward("invalid"),xm._32(n,29)._shouldForward("pending")]);l(n,38,1,[xm._32(n,42).ngClassUntouched,xm._32(n,42).ngClassTouched,xm._32(n,42).ngClassPristine,xm._32(n,42).ngClassDirty,xm._32(n,42).ngClassValid,xm._32(n,42).ngClassInvalid,xm._32(n,42).ngClassPending,xm._32(n,43).id,xm._32(n,43).tabIndex,xm._32(n,43)._ariaLabel,xm._32(n,43).ariaLabelledby,xm._32(n,43).required.toString(),xm._32(n,43).disabled.toString(),xm._32(n,43).errorState,xm._32(n,43).panelOpen?xm._32(n,43)._optionIds:null,xm._32(n,43).multiple,xm._32(n,43)._ariaDescribedby||null,xm._32(n,43)._getAriaActiveDescendant(),xm._32(n,43).disabled,xm._32(n,43).errorState,xm._32(n,43).required])})}function Tc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Dc)),xm._17(3,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function Oc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,181,{_control:0}),xm._37(335544320,182,{_placeholderChild:0}),xm._37(335544320,183,{_labelChild:0}),xm._37(603979776,184,{_errorChildren:1}),xm._37(603979776,185,{_hintChildren:1}),xm._37(603979776,186,{_prefixChildren:1}),xm._37(603979776,187,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","business_ownership_type"],["placeholder","Ownership Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.setRequiredValidation(e.value,l.parent.context.$implicit,3)&&u}return u},xv.b,xv.a)),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),xm._17(14,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,188,{options:1}),xm._37(603979776,189,{optionGroups:1}),xm._37(335544320,190,{customTrigger:0}),xm._36(2048,[[181,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","owned"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,23)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,23)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(23,8437760,[[188,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Owned"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(26,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","rented"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,27)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(27,8437760,[[188,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Rented"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"business_ownership_type");l(n,14,0,"Ownership Type");l(n,23,0,"owned");l(n,27,0,"rented")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending,xm._32(n,14).id,xm._32(n,14).tabIndex,xm._32(n,14)._ariaLabel,xm._32(n,14).ariaLabelledby,xm._32(n,14).required.toString(),xm._32(n,14).disabled.toString(),xm._32(n,14).errorState,xm._32(n,14).panelOpen?xm._32(n,14)._optionIds:null,xm._32(n,14).multiple,xm._32(n,14)._ariaDescribedby||null,xm._32(n,14)._getAriaActiveDescendant(),xm._32(n,14).disabled,xm._32(n,14).errorState,xm._32(n,14).required]);l(n,22,0,xm._32(n,23)._getTabIndex(),xm._32(n,23).selected,xm._32(n,23).multiple,xm._32(n,23).active,xm._32(n,23).id,xm._32(n,23).selected.toString(),xm._32(n,23).disabled.toString(),xm._32(n,23).disabled);l(n,26,0,xm._32(n,27)._getTabIndex(),xm._32(n,27).selected,xm._32(n,27).multiple,xm._32(n,27).active,xm._32(n,27).id,xm._32(n,27).selected.toString(),xm._32(n,27).disabled.toString(),xm._32(n,27).disabled)})}function Lc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[195,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.RentAmtInwords[n.parent.parent.context.index])})}function Ac(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,191,{_control:0}),xm._37(335544320,192,{_placeholderChild:0}),xm._37(335544320,193,{_labelChild:0}),xm._37(603979776,194,{_errorChildren:1}),xm._37(603979776,195,{_hintChildren:1}),xm._37(603979776,196,{_prefixChildren:1}),xm._37(603979776,197,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_monthly_rented_amt"],["matInput",""],["placeholder","Monthly Rent Amount"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,3)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[191,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,[" \n "])),(l()(),xm._13(16777216,null,7,1,null,Lc)),xm._17(20,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(22,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),xm._17(23,16384,[[194,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Monthly Rent Amount Required"])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_monthly_rented_amt");l(n,16,0,"Monthly Rent Amount");l(n,20,0,""!=n.parent.context.$implicit.get("business_monthly_rented_amt").value)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()]);l(n,22,0,xm._32(n,23).id)})}function Vc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[202,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.appxMarketAmtInwords[n.parent.parent.parent.context.index])})}function jc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,198,{_control:0}),xm._37(335544320,199,{_placeholderChild:0}),xm._37(335544320,200,{_labelChild:0}),xm._37(603979776,201,{_errorChildren:1}),xm._37(603979776,202,{_hintChildren:1}),xm._37(603979776,203,{_prefixChildren:1}),xm._37(603979776,204,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.parent.context.index,2)&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(12,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(14,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(16,16384,null,0,Km.s,[Km.r],null,null),xm._17(17,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[198,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,Vc)),xm._17(21,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(23,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:14px"]],[[1,"id",0]],null,null,null,null)),xm._17(24,16384,[[201,4]],0,ib.a,[],null,null),(l()(),xm._39(-1,null,["Approximate Market Value Required"])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,14,0,"business_approximate_market_value");l(n,17,0,"Approximate Market Value","number");l(n,21,0,""!=n.parent.parent.context.$implicit.get("business_approximate_market_value").value)},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,16).ngClassUntouched,xm._32(n,16).ngClassTouched,xm._32(n,16).ngClassPristine,xm._32(n,16).ngClassDirty,xm._32(n,16).ngClassValid,xm._32(n,16).ngClassInvalid,xm._32(n,16).ngClassPending,xm._32(n,17)._isServer,xm._32(n,17).id,xm._32(n,17).placeholder,xm._32(n,17).disabled,xm._32(n,17).required,xm._32(n,17).readonly,xm._32(n,17)._ariaDescribedby||null,xm._32(n,17).errorState,xm._32(n,17).required.toString()]);l(n,23,0,xm._32(n,24).id)})}function Nc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[212,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ec(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,Fv.d,Fv.a)),xm._17(1,49152,[[213,4]],0,ob.s,[],{label:[0,"label"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,0,1,null,Nc)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,xm._32(n,1).disabled,xm._32(n,1).disabled.toString(),xm._32(n,1)._labelId)})}function Wc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,215,{_control:0}),xm._37(335544320,216,{_placeholderChild:0}),xm._37(335544320,217,{_labelChild:0}),xm._37(603979776,218,{_errorChildren:1}),xm._37(603979776,219,{_hintChildren:1}),xm._37(603979776,220,{_prefixChildren:1}),xm._37(603979776,221,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_name_of_the_other_owner"],["matInput",""],["placeholder","Specify Asset Owned Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[215,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_name_of_the_other_owner");l(n,16,0,"Specify Asset Owned Name")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Rc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,95,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,jc)),xm._17(4,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(7,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,205,{_control:0}),xm._37(335544320,206,{_placeholderChild:0}),xm._37(335544320,207,{_labelChild:0}),xm._37(603979776,208,{_errorChildren:1}),xm._37(603979776,209,{_hintChildren:1}),xm._37(603979776,210,{_prefixChildren:1}),xm._37(603979776,211,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(17,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","business_name_of_the_owner"],["multiple",""],["placeholder","Assets Owned By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,22)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.setRequiredValidation(e.value,l.parent.context.$implicit,4)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(19,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(21,16384,null,0,Km.s,[Km.r],null,null),xm._17(22,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),xm._37(603979776,212,{options:1}),xm._37(603979776,213,{optionGroups:1}),xm._37(335544320,214,{customTrigger:0}),xm._36(2048,[[205,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Ec)),xm._17(29,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._13(16777216,null,null,1,null,Wc)),xm._17(34,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(37,0,null,null,57,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(40,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,222,{_control:0}),xm._37(335544320,223,{_placeholderChild:0}),xm._37(335544320,224,{_labelChild:0}),xm._37(603979776,225,{_errorChildren:1}),xm._37(603979776,226,{_hintChildren:1}),xm._37(603979776,227,{_prefixChildren:1}),xm._37(603979776,228,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(49,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(50,16384,[[224,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Approx Vintage"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(53,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_vintage"],["matInput",""],["maxlength","3"],["minlength","1"],["placeholder","eg.999"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,54)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,55).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,55).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,55).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,63)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,63)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,63)._onInput()&&u}if("keyup"===n){u=!1!==a.calculateVintagePurchase(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),xm._17(54,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(55,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(56,540672,null,0,Km.o,[],{minlength:[0,"minlength"]},null),xm._17(57,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l,n){return[l,n]},[Km.o,Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(60,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(62,16384,null,0,Km.s,[Km.r],null,null),xm._17(63,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[222,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(67,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(68,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,229,{_control:0}),xm._37(335544320,230,{_placeholderChild:0}),xm._37(335544320,231,{_labelChild:0}),xm._37(603979776,232,{_errorChildren:1}),xm._37(603979776,233,{_hintChildren:1}),xm._37(603979776,234,{_prefixChildren:1}),xm._37(603979776,235,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(77,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(78,16384,[[231,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Purchase Year"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(81,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_purchase_year"],["matInput",""],["maxlength","4"],["minlength","4"],["placeholder","YYYY eg.2018"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,82)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,82).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,82)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,82)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,83).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,83).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,83).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,91)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,91)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,91)._onInput()&&u}if("keyup"===n){u=!1!==a.calculateVintagePurchase(e.target.value,l.parent.context.index,2)&&u}return u},null,null)),xm._17(82,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(83,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._17(84,540672,null,0,Km.o,[],{minlength:[0,"minlength"]},null),xm._17(85,540672,null,0,Km.n,[],{maxlength:[0,"maxlength"]},null),xm._36(1024,null,Km.p,function(l,n){return[l,n]},[Km.o,Km.n]),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(88,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(90,16384,null,0,Km.s,[Km.r],null,null),xm._17(91,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[229,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,""!=n.parent.context.$implicit.get("business_assets_mode").value);l(n,19,0,"business_name_of_the_owner");l(n,22,0,"Assets Owned By","",e.compareObjects);l(n,29,0,e.mergeCompanyApplicant);l(n,34,0,e.isOtherOwner);l(n,56,0,"1");l(n,57,0,"3");l(n,60,0,"business_vintage");l(n,63,0,"eg.999","number");l(n,84,0,"4");l(n,85,0,"4");l(n,88,0,"business_purchase_year");l(n,91,0,"YYYY eg.2018","number")},function(l,n){l(n,6,1,[xm._32(n,7)._control.errorState,xm._32(n,7)._control.errorState,xm._32(n,7)._canLabelFloat,xm._32(n,7)._shouldLabelFloat(),xm._32(n,7)._hideControlPlaceholder(),xm._32(n,7)._control.disabled,xm._32(n,7)._control.focused,"primary"==xm._32(n,7).color,"accent"==xm._32(n,7).color,"warn"==xm._32(n,7).color,xm._32(n,7)._shouldForward("untouched"),xm._32(n,7)._shouldForward("touched"),xm._32(n,7)._shouldForward("pristine"),xm._32(n,7)._shouldForward("dirty"),xm._32(n,7)._shouldForward("valid"),xm._32(n,7)._shouldForward("invalid"),xm._32(n,7)._shouldForward("pending")]);l(n,17,1,[xm._32(n,21).ngClassUntouched,xm._32(n,21).ngClassTouched,xm._32(n,21).ngClassPristine,xm._32(n,21).ngClassDirty,xm._32(n,21).ngClassValid,xm._32(n,21).ngClassInvalid,xm._32(n,21).ngClassPending,xm._32(n,22).id,xm._32(n,22).tabIndex,xm._32(n,22)._ariaLabel,xm._32(n,22).ariaLabelledby,xm._32(n,22).required.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).errorState,xm._32(n,22).panelOpen?xm._32(n,22)._optionIds:null,xm._32(n,22).multiple,xm._32(n,22)._ariaDescribedby||null,xm._32(n,22)._getAriaActiveDescendant(),xm._32(n,22).disabled,xm._32(n,22).errorState,xm._32(n,22).required]);l(n,39,1,[xm._32(n,40)._control.errorState,xm._32(n,40)._control.errorState,xm._32(n,40)._canLabelFloat,xm._32(n,40)._shouldLabelFloat(),xm._32(n,40)._hideControlPlaceholder(),xm._32(n,40)._control.disabled,xm._32(n,40)._control.focused,"primary"==xm._32(n,40).color,"accent"==xm._32(n,40).color,"warn"==xm._32(n,40).color,xm._32(n,40)._shouldForward("untouched"),xm._32(n,40)._shouldForward("touched"),xm._32(n,40)._shouldForward("pristine"),xm._32(n,40)._shouldForward("dirty"),xm._32(n,40)._shouldForward("valid"),xm._32(n,40)._shouldForward("invalid"),xm._32(n,40)._shouldForward("pending")]);l(n,53,1,[xm._32(n,56).minlength?xm._32(n,56).minlength:null,xm._32(n,57).maxlength?xm._32(n,57).maxlength:null,xm._32(n,62).ngClassUntouched,xm._32(n,62).ngClassTouched,xm._32(n,62).ngClassPristine,xm._32(n,62).ngClassDirty,xm._32(n,62).ngClassValid,xm._32(n,62).ngClassInvalid,xm._32(n,62).ngClassPending,xm._32(n,63)._isServer,xm._32(n,63).id,xm._32(n,63).placeholder,xm._32(n,63).disabled,xm._32(n,63).required,xm._32(n,63).readonly,xm._32(n,63)._ariaDescribedby||null,xm._32(n,63).errorState,xm._32(n,63).required.toString()]);l(n,67,1,[xm._32(n,68)._control.errorState,xm._32(n,68)._control.errorState,xm._32(n,68)._canLabelFloat,xm._32(n,68)._shouldLabelFloat(),xm._32(n,68)._hideControlPlaceholder(),xm._32(n,68)._control.disabled,xm._32(n,68)._control.focused,"primary"==xm._32(n,68).color,"accent"==xm._32(n,68).color,"warn"==xm._32(n,68).color,xm._32(n,68)._shouldForward("untouched"),xm._32(n,68)._shouldForward("touched"),xm._32(n,68)._shouldForward("pristine"),xm._32(n,68)._shouldForward("dirty"),xm._32(n,68)._shouldForward("valid"),xm._32(n,68)._shouldForward("invalid"),xm._32(n,68)._shouldForward("pending")]);l(n,81,1,[xm._32(n,84).minlength?xm._32(n,84).minlength:null,xm._32(n,85).maxlength?xm._32(n,85).maxlength:null,xm._32(n,90).ngClassUntouched,xm._32(n,90).ngClassTouched,xm._32(n,90).ngClassPristine,xm._32(n,90).ngClassDirty,xm._32(n,90).ngClassValid,xm._32(n,90).ngClassInvalid,xm._32(n,90).ngClassPending,xm._32(n,91)._isServer,xm._32(n,91).id,xm._32(n,91).placeholder,xm._32(n,91).disabled,xm._32(n,91).required,xm._32(n,91).readonly,xm._32(n,91)._ariaDescribedby||null,xm._32(n,91).errorState,xm._32(n,91).required.toString()])})}function Uc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Is There a Loan Existing Against This Asset?"])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","business_emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(6,1064960,null,1,Kb.b,[xm.i],null,null),xm._37(603979776,236,{_radios:1}),xm._36(1024,null,Km.q,function(l){return[l]},[Kb.b]),xm._17(9,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(11,16384,null,0,Km.s,[Km.r],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,14)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(14,4440064,[[236,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==xm._32(l,18)._inputElement.nativeElement.focus()&&u}return u},Mb.b,Mb.a)),xm._17(18,4440064,[[236,4]],0,Kb.a,[[2,Kb.b],xm.p,xm.i,sb.j,Hb.d],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"business_emi");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,xm._32(n,11).ngClassUntouched,xm._32(n,11).ngClassTouched,xm._32(n,11).ngClassPristine,xm._32(n,11).ngClassDirty,xm._32(n,11).ngClassValid,xm._32(n,11).ngClassInvalid,xm._32(n,11).ngClassPending);l(n,13,0,xm._32(n,14).checked,xm._32(n,14).disabled,xm._32(n,14).id);l(n,17,0,xm._32(n,18).checked,xm._32(n,18).disabled,xm._32(n,18).id)})}function Bc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeAssetsDetails(l.parent.context.index)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function $c(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addAssetDetails(e)&&u}return u},Db.b,Db.a)),xm._17(1,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),xm._18(2,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function Mc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,103,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,79,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(3,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(5,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(7,0,null,null,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(8,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(10,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(11,16384,null,0,eb.h,[],null,null),(l()(),xm._18(12,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),xm._39(13,null,["Business Premises And Other Assets ",""])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(16,0,null,null,30,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(17,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(19,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(20,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,99,{_control:0}),xm._37(335544320,100,{_placeholderChild:0}),xm._37(335544320,101,{_labelChild:0}),xm._37(603979776,102,{_errorChildren:1}),xm._37(603979776,103,{_hintChildren:1}),xm._37(603979776,104,{_prefixChildren:1}),xm._37(603979776,105,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(29,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","business_assets_mode"],["placeholder","Assets Type"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,36)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,36)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,36)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedAssetsType(e,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(31,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(33,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(35,16384,null,0,Km.s,[Km.r],null,null),xm._17(36,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,106,{options:1}),xm._37(603979776,107,{optionGroups:1}),xm._37(335544320,108,{customTrigger:0}),xm._36(2048,[[99,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,gc)),xm._17(43,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(48,0,null,null,19,"div",[["formArrayName","business_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(49,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(51,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,wc)),xm._17(54,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Ic)),xm._17(58,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,kc)),xm._17(62,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Tc)),xm._17(66,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Oc)),xm._17(70,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n \n\n "])),(l()(),xm._13(16777216,null,null,1,null,Ac)),xm._17(73,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._13(16777216,null,null,1,null,Rc)),xm._17(76,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Uc)),xm._17(80,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(83,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(84,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,237,{_buttons:1}),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(87,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(88,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Bc)),xm._17(91,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(94,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(95,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,$c)),xm._17(98,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._18(99,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(102,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,31,0,"");l(n,33,0,"business_assets_mode");l(n,36,0,"Assets Type","");l(n,43,0,e.m_assets_type);l(n,49,0,"business_details");l(n,54,0,2==n.context.$implicit.get("business_assets_mode").value);l(n,58,0,3==n.context.$implicit.get("business_assets_mode").value);l(n,62,0,4==n.context.$implicit.get("business_assets_mode").value);l(n,66,0,1==n.context.$implicit.get("business_assets_mode").value);l(n,70,0,""!=n.context.$implicit.get("business_assets_mode").value);l(n,73,0,""!=n.context.$implicit.get("business_assets_mode").value&&"rented"==n.context.$implicit.get("business_ownership_type").value);l(n,76,0,""!=n.context.$implicit.get("business_assets_mode").value&&"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,80,0,""!=n.context.$implicit.get("business_assets_mode").value&&"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,91,0,n.context.index>0);l(n,98,0,n.context.last)},function(l,n){l(n,2,0,xm._32(n,5).ngClassUntouched,xm._32(n,5).ngClassTouched,xm._32(n,5).ngClassPristine,xm._32(n,5).ngClassDirty,xm._32(n,5).ngClassValid,xm._32(n,5).ngClassInvalid,xm._32(n,5).ngClassPending);l(n,13,0,n.context.index+1);l(n,19,1,[xm._32(n,20)._control.errorState,xm._32(n,20)._control.errorState,xm._32(n,20)._canLabelFloat,xm._32(n,20)._shouldLabelFloat(),xm._32(n,20)._hideControlPlaceholder(),xm._32(n,20)._control.disabled,xm._32(n,20)._control.focused,"primary"==xm._32(n,20).color,"accent"==xm._32(n,20).color,"warn"==xm._32(n,20).color,xm._32(n,20)._shouldForward("untouched"),xm._32(n,20)._shouldForward("touched"),xm._32(n,20)._shouldForward("pristine"),xm._32(n,20)._shouldForward("dirty"),xm._32(n,20)._shouldForward("valid"),xm._32(n,20)._shouldForward("invalid"),xm._32(n,20)._shouldForward("pending")]);l(n,29,1,[xm._32(n,31).required?"":null,xm._32(n,35).ngClassUntouched,xm._32(n,35).ngClassTouched,xm._32(n,35).ngClassPristine,xm._32(n,35).ngClassDirty,xm._32(n,35).ngClassValid,xm._32(n,35).ngClassInvalid,xm._32(n,35).ngClassPending,xm._32(n,36).id,xm._32(n,36).tabIndex,xm._32(n,36)._ariaLabel,xm._32(n,36).ariaLabelledby,xm._32(n,36).required.toString(),xm._32(n,36).disabled.toString(),xm._32(n,36).errorState,xm._32(n,36).panelOpen?xm._32(n,36)._optionIds:null,xm._32(n,36).multiple,xm._32(n,36)._ariaDescribedby||null,xm._32(n,36)._getAriaActiveDescendant(),xm._32(n,36).disabled,xm._32(n,36).errorState,xm._32(n,36).required]);l(n,48,0,xm._32(n,51).ngClassUntouched,xm._32(n,51).ngClassTouched,xm._32(n,51).ngClassPristine,xm._32(n,51).ngClassDirty,xm._32(n,51).ngClassValid,xm._32(n,51).ngClassInvalid,xm._32(n,51).ngClassPending)})}function Kc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,108,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,2).onReset()&&u}return u},null,null)),xm._17(1,16384,null,0,Km.B,[],null,null),xm._17(2,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(4,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,52,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(7,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(9,0,null,0,8,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(10,49152,null,0,eb.e,[],null,null),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(12,0,null,1,4,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),xm._17(13,16384,null,0,eb.h,[],null,null),(l()(),xm._18(14,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),xm._39(15,null,["Address Details "," "])),xm._35(16,1),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(19,0,null,0,38,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),xm._17(20,16384,null,0,eb.c,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(22,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(23,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(32,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","business_address_availability"],["placeholder","is this the business address ? "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,38)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.setRequiredValidation(e.value,"",1)&&u}return u},xv.b,xv.a)),xm._17(33,16384,null,0,Km.x,[],{required:[0,"required"]},null),xm._36(1024,null,Km.p,function(l){return[l]},[Km.x]),xm._17(35,671744,null,0,Km.i,[[3,Km.c],[2,Km.p],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(37,16384,null,0,Km.s,[Km.r],null,null),xm._17(38,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(45,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,46)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,46)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(46,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(49,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,50)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,50)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(50,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,hc)),xm._17(56,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(60,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(61,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(63,0,null,0,7,"div",[["formArrayName","business_assets_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(64,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(66,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,Mc)),xm._17(69,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(73,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(74,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(76,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(77,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,238,{_control:0}),xm._37(335544320,239,{_placeholderChild:0}),xm._37(335544320,240,{_labelChild:0}),xm._37(603979776,241,{_errorChildren:1}),xm._37(603979776,242,{_hintChildren:1}),xm._37(603979776,243,{_prefixChildren:1}),xm._37(603979776,244,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(86,0,null,3,2,"mat-label",[],null,null,null,null,null)),xm._17(87,16384,[[240,4]],0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Remarks"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(90,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_assets_form_remark"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,91)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,91).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,91)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,91)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,96)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,96)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,96)._onInput()&&u}return u},null,null)),xm._17(91,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(93,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(95,16384,null,0,Km.s,[Km.r],null,null),xm._17(96,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],null,null),xm._36(2048,[[238,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(101,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(102,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(104,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.onSubmit()&&u}return u},Db.b,Db.a)),xm._17(105,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e._businessAssetsQuesFrom);l(n,33,0,"");l(n,35,0,"business_address_availability");l(n,38,0,"is this the business address ? ","");l(n,46,0,"yes");l(n,50,0,"no");l(n,56,0,"yes"==e._businessAssetsQuesFrom.controls.business_address_availability.value);l(n,64,0,"business_assets_details");l(n,69,0,e._businessAssetsQuesFrom.controls.business_assets_details.controls);l(n,93,0,"business_assets_form_remark"),l(n,96,0);l(n,105,0,"optblue","")},function(l,n){var e=n.component;l(n,0,0,xm._32(n,4).ngClassUntouched,xm._32(n,4).ngClassTouched,xm._32(n,4).ngClassPristine,xm._32(n,4).ngClassDirty,xm._32(n,4).ngClassValid,xm._32(n,4).ngClassInvalid,xm._32(n,4).ngClassPending);l(n,15,0,xm._40(n,15,0,l(n,16,0,xm._32(n.parent,0),e.addressLabel)));l(n,22,1,[xm._32(n,23)._control.errorState,xm._32(n,23)._control.errorState,xm._32(n,23)._canLabelFloat,xm._32(n,23)._shouldLabelFloat(),xm._32(n,23)._hideControlPlaceholder(),xm._32(n,23)._control.disabled,xm._32(n,23)._control.focused,"primary"==xm._32(n,23).color,"accent"==xm._32(n,23).color,"warn"==xm._32(n,23).color,xm._32(n,23)._shouldForward("untouched"),xm._32(n,23)._shouldForward("touched"),xm._32(n,23)._shouldForward("pristine"),xm._32(n,23)._shouldForward("dirty"),xm._32(n,23)._shouldForward("valid"),xm._32(n,23)._shouldForward("invalid"),xm._32(n,23)._shouldForward("pending")]);l(n,32,1,[xm._32(n,33).required?"":null,xm._32(n,37).ngClassUntouched,xm._32(n,37).ngClassTouched,xm._32(n,37).ngClassPristine,xm._32(n,37).ngClassDirty,xm._32(n,37).ngClassValid,xm._32(n,37).ngClassInvalid,xm._32(n,37).ngClassPending,xm._32(n,38).id,xm._32(n,38).tabIndex,xm._32(n,38)._ariaLabel,xm._32(n,38).ariaLabelledby,xm._32(n,38).required.toString(),xm._32(n,38).disabled.toString(),xm._32(n,38).errorState,xm._32(n,38).panelOpen?xm._32(n,38)._optionIds:null,xm._32(n,38).multiple,xm._32(n,38)._ariaDescribedby||null,xm._32(n,38)._getAriaActiveDescendant(),xm._32(n,38).disabled,xm._32(n,38).errorState,xm._32(n,38).required]);l(n,45,0,xm._32(n,46)._getTabIndex(),xm._32(n,46).selected,xm._32(n,46).multiple,xm._32(n,46).active,xm._32(n,46).id,xm._32(n,46).selected.toString(),xm._32(n,46).disabled.toString(),xm._32(n,46).disabled);l(n,49,0,xm._32(n,50)._getTabIndex(),xm._32(n,50).selected,xm._32(n,50).multiple,xm._32(n,50).active,xm._32(n,50).id,xm._32(n,50).selected.toString(),xm._32(n,50).disabled.toString(),xm._32(n,50).disabled);l(n,63,0,xm._32(n,66).ngClassUntouched,xm._32(n,66).ngClassTouched,xm._32(n,66).ngClassPristine,xm._32(n,66).ngClassDirty,xm._32(n,66).ngClassValid,xm._32(n,66).ngClassInvalid,xm._32(n,66).ngClassPending);l(n,76,1,[xm._32(n,77)._control.errorState,xm._32(n,77)._control.errorState,xm._32(n,77)._canLabelFloat,xm._32(n,77)._shouldLabelFloat(),xm._32(n,77)._hideControlPlaceholder(),xm._32(n,77)._control.disabled,xm._32(n,77)._control.focused,"primary"==xm._32(n,77).color,"accent"==xm._32(n,77).color,"warn"==xm._32(n,77).color,xm._32(n,77)._shouldForward("untouched"),xm._32(n,77)._shouldForward("touched"),xm._32(n,77)._shouldForward("pristine"),xm._32(n,77)._shouldForward("dirty"),xm._32(n,77)._shouldForward("valid"),xm._32(n,77)._shouldForward("invalid"),xm._32(n,77)._shouldForward("pending")]);l(n,90,1,[xm._32(n,95).ngClassUntouched,xm._32(n,95).ngClassTouched,xm._32(n,95).ngClassPristine,xm._32(n,95).ngClassDirty,xm._32(n,95).ngClassValid,xm._32(n,95).ngClassInvalid,xm._32(n,95).ngClassPending,xm._32(n,96)._isServer,xm._32(n,96).id,xm._32(n,96).placeholder,xm._32(n,96).disabled,xm._32(n,96).required,xm._32(n,96).readonly,xm._32(n,96)._ariaDescribedby||null,xm._32(n,96).errorState,xm._32(n,96).required.toString()])})}function Hc(l){return xm._41(0,[xm._33(0,Df.t,[]),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(2,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(3,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(5,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(6,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,10).toggle()&&u}return u},Db.b,Db.a)),xm._17(9,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(10,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(11,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(15,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,uc)),xm._17(19,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(23,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(24,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Kc)),xm._17(27,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,19,0,!e.viewchange);l(n,27,0,e.apiLoadFinish&&e.loadDetails)},function(l,n){l(n,5,0,xm._32(n,6)._hidden,xm._32(n,6)._sbPadding);l(n,8,0,xm._32(n,10).isHidden);l(n,14,0,xm._32(n,15)._hidden);l(n,23,0,xm._32(n,24).statusbarPadding,xm._32(n,24)._hasRefresher)})}function Gc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Yc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,Fv.d,Fv.a)),xm._17(1,49152,[[10,4]],0,ob.s,[],{label:[0,"label"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,0,1,null,Gc)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,xm._32(n,1).disabled,xm._32(n,1).disabled.toString(),xm._32(n,1)._labelId)})}function Qc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_applicant"],["matInput",""],["name","other_applicant"],["placeholder","Specify Applicant Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_applicant");l(n,16,0,"Specify Applicant Name","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function zc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[26,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function Jc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,29,{_control:0}),xm._37(335544320,30,{_placeholderChild:0}),xm._37(335544320,31,{_labelChild:0}),xm._37(603979776,32,{_errorChildren:1}),xm._37(603979776,33,{_hintChildren:1}),xm._37(603979776,34,{_prefixChildren:1}),xm._37(603979776,35,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bank"],["matInput",""],["placeholder","Specify Other Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[29,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bank");l(n,16,0,"Specify Other Bank Name")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function Xc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[43,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Zc(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,46,{_control:0}),xm._37(335544320,47,{_placeholderChild:0}),xm._37(335544320,48,{_labelChild:0}),xm._37(603979776,49,{_errorChildren:1}),xm._37(603979776,50,{_hintChildren:1}),xm._37(603979776,51,{_prefixChildren:1}),xm._37(603979776,52,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_main"],["placeholder","Is this the main business account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,14)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),xm._17(14,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,53,{options:1}),xm._37(603979776,54,{optionGroups:1}),xm._37(335544320,55,{customTrigger:0}),xm._36(2048,[[46,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(22,8437760,[[53,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(26,8437760,[[53,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"is_main");l(n,14,0,"Is this the main business account");l(n,22,0,"Yes");l(n,26,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending,xm._32(n,14).id,xm._32(n,14).tabIndex,xm._32(n,14)._ariaLabel,xm._32(n,14).ariaLabelledby,xm._32(n,14).required.toString(),xm._32(n,14).disabled.toString(),xm._32(n,14).errorState,xm._32(n,14).panelOpen?xm._32(n,14)._optionIds:null,xm._32(n,14).multiple,xm._32(n,14)._ariaDescribedby||null,xm._32(n,14)._getAriaActiveDescendant(),xm._32(n,14).disabled,xm._32(n,14).errorState,xm._32(n,14).required]);l(n,21,0,xm._32(n,22)._getTabIndex(),xm._32(n,22).selected,xm._32(n,22).multiple,xm._32(n,22).active,xm._32(n,22).id,xm._32(n,22).selected.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).disabled);l(n,25,0,xm._32(n,26)._getTabIndex(),xm._32(n,26).selected,xm._32(n,26).multiple,xm._32(n,26).active,xm._32(n,26).id,xm._32(n,26).selected.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).disabled)})}function lm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,56,{_control:0}),xm._37(335544320,57,{_placeholderChild:0}),xm._37(335544320,58,{_labelChild:0}),xm._37(603979776,59,{_errorChildren:1}),xm._37(603979776,60,{_hintChildren:1}),xm._37(603979776,61,{_prefixChildren:1}),xm._37(603979776,62,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","salary"],["placeholder","Salary Credited in this account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,14)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),xm._17(14,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,63,{options:1}),xm._37(603979776,64,{optionGroups:1}),xm._37(335544320,65,{customTrigger:0}),xm._36(2048,[[56,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(22,8437760,[[63,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(26,8437760,[[63,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","NA"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,30)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(30,8437760,[[63,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["NA"])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"salary");l(n,14,0,"Salary Credited in this account");l(n,22,0,"Yes");l(n,26,0,"No");l(n,30,0,"NA")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending,xm._32(n,14).id,xm._32(n,14).tabIndex,xm._32(n,14)._ariaLabel,xm._32(n,14).ariaLabelledby,xm._32(n,14).required.toString(),xm._32(n,14).disabled.toString(),xm._32(n,14).errorState,xm._32(n,14).panelOpen?xm._32(n,14)._optionIds:null,xm._32(n,14).multiple,xm._32(n,14)._ariaDescribedby||null,xm._32(n,14)._getAriaActiveDescendant(),xm._32(n,14).disabled,xm._32(n,14).errorState,xm._32(n,14).required]);l(n,21,0,xm._32(n,22)._getTabIndex(),xm._32(n,22).selected,xm._32(n,22).multiple,xm._32(n,22).active,xm._32(n,22).id,xm._32(n,22).selected.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).disabled);l(n,25,0,xm._32(n,26)._getTabIndex(),xm._32(n,26).selected,xm._32(n,26).multiple,xm._32(n,26).active,xm._32(n,26).id,xm._32(n,26).selected.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).disabled);l(n,29,0,xm._32(n,30)._getTabIndex(),xm._32(n,30).selected,xm._32(n,30).multiple,xm._32(n,30).active,xm._32(n,30).id,xm._32(n,30).selected.toString(),xm._32(n,30).disabled.toString(),xm._32(n,30).disabled)})}function nm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),xm._17(1,16384,[[70,4]],0,ib.e,[],{align:[0,"align"]},null),(l()(),xm._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==xm._32(n,1).align,xm._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.parent.context.index])})}function em(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,29,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),xm._17(3,16384,null,0,ib.f,[],null,null),(l()(),xm._39(-1,null,["Limit In case of OD / CC account, What is the Limit"])),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(6,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(7,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,66,{_control:0}),xm._37(335544320,67,{_placeholderChild:0}),xm._37(335544320,68,{_labelChild:0}),xm._37(603979776,69,{_errorChildren:1}),xm._37(603979776,70,{_hintChildren:1}),xm._37(603979776,71,{_prefixChildren:1}),xm._37(603979776,72,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","limit"],["matInput",""],["name","limit"],["placeholder",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==a.inWords(e,l.parent.context.index,1)&&u}return u},null,null)),xm._17(17,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(18,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[66,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,7,1,null,nm)),xm._17(27,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"limit");l(n,23,0,"","number");l(n,27,0,""!=n.parent.context.$implicit.get("limit").value)},function(l,n){l(n,6,1,[xm._32(n,7)._control.errorState,xm._32(n,7)._control.errorState,xm._32(n,7)._canLabelFloat,xm._32(n,7)._shouldLabelFloat(),xm._32(n,7)._hideControlPlaceholder(),xm._32(n,7)._control.disabled,xm._32(n,7)._control.focused,"primary"==xm._32(n,7).color,"accent"==xm._32(n,7).color,"warn"==xm._32(n,7).color,xm._32(n,7)._shouldForward("untouched"),xm._32(n,7)._shouldForward("touched"),xm._32(n,7)._shouldForward("pristine"),xm._32(n,7)._shouldForward("dirty"),xm._32(n,7)._shouldForward("valid"),xm._32(n,7)._shouldForward("invalid"),xm._32(n,7)._shouldForward("pending")]);l(n,16,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23)._isServer,xm._32(n,23).id,xm._32(n,23).placeholder,xm._32(n,23).disabled,xm._32(n,23).required,xm._32(n,23).readonly,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23).errorState,xm._32(n,23).required.toString()])})}function um(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,73,{_control:0}),xm._37(335544320,74,{_placeholderChild:0}),xm._37(335544320,75,{_labelChild:0}),xm._37(603979776,76,{_errorChildren:1}),xm._37(603979776,77,{_hintChildren:1}),xm._37(603979776,78,{_prefixChildren:1}),xm._37(603979776,79,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_main"],["placeholder","Is this the main business account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,14)._onBlur()&&u}return u},xv.b,xv.a)),xm._17(11,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(13,16384,null,0,Km.s,[Km.r],null,null),xm._17(14,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,80,{options:1}),xm._37(603979776,81,{optionGroups:1}),xm._37(335544320,82,{customTrigger:0}),xm._36(2048,[[73,4]],ib.c,null,[Sv.c]),xm._36(2048,null,ob.l,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,22)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(22,8437760,[[80,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["Yes"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,26)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(26,8437760,[[80,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(-1,0,["No"])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"is_main");l(n,14,0,"Is this the main business account");l(n,22,0,"Yes");l(n,26,0,"No")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,13).ngClassUntouched,xm._32(n,13).ngClassTouched,xm._32(n,13).ngClassPristine,xm._32(n,13).ngClassDirty,xm._32(n,13).ngClassValid,xm._32(n,13).ngClassInvalid,xm._32(n,13).ngClassPending,xm._32(n,14).id,xm._32(n,14).tabIndex,xm._32(n,14)._ariaLabel,xm._32(n,14).ariaLabelledby,xm._32(n,14).required.toString(),xm._32(n,14).disabled.toString(),xm._32(n,14).errorState,xm._32(n,14).panelOpen?xm._32(n,14)._optionIds:null,xm._32(n,14).multiple,xm._32(n,14)._ariaDescribedby||null,xm._32(n,14)._getAriaActiveDescendant(),xm._32(n,14).disabled,xm._32(n,14).errorState,xm._32(n,14).required]);l(n,21,0,xm._32(n,22)._getTabIndex(),xm._32(n,22).selected,xm._32(n,22).multiple,xm._32(n,22).active,xm._32(n,22).id,xm._32(n,22).selected.toString(),xm._32(n,22).disabled.toString(),xm._32(n,22).disabled);l(n,25,0,xm._32(n,26)._getTabIndex(),xm._32(n,26).selected,xm._32(n,26).multiple,xm._32(n,26).active,xm._32(n,26).id,xm._32(n,26).selected.toString(),xm._32(n,26).disabled.toString(),xm._32(n,26).disabled)})}function am(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBankDetails(l.parent.context.index,e)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function tm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,201,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),xm._17(4,16384,null,0,Bv.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,16777216,null,null,194,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,$v.d,$v.a)),xm._36(6144,null,ob.F,null,[Bv.c]),xm._17(8,1753088,null,1,Bv.c,[[2,Bv.a],xm.i,Hb.d,xm._1],{expanded:[0,"expanded"]},null),xm._37(335544320,1,{_lazyContent:0}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(11,0,null,0,11,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==xm._32(l,12)._keydown(e)&&u}return u},$v.c,$v.b)),xm._17(12,180224,null,0,Bv.e,[Bv.c,xm.p,sb.j,xm.i],null,null),xm._34(13,{collapsedHeight:0,expandedHeight:1}),xm._34(14,{value:0,params:1}),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._18(16,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),xm._17(17,16384,null,0,Bv.f,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(19,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),xm._39(20,null,["Banking details ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,2,["\n "])),(l()(),xm._39(-1,1,["\n \n \n "])),(l()(),xm._18(24,0,null,1,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(25,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(34,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,39)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(36,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(38,16384,null,0,Km.s,[Km.r],null,null),xm._17(39,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Yc)),xm._17(46,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._13(16777216,null,1,1,null,Qc)),xm._17(51,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(53,0,null,1,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(54,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(63,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","bank_name"],["placeholder","Bank Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,68)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,68)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,68)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(65,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(67,16384,null,0,Km.s,[Km.r],null,null),xm._17(68,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,26,{options:1}),xm._37(603979776,27,{optionGroups:1}),xm._37(335544320,28,{customTrigger:0}),xm._36(2048,[[19,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,zc)),xm._17(75,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._13(16777216,null,1,1,null,Jc)),xm._17(80,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(82,0,null,1,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(84,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(85,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._18(94,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","account_type"],["matInput",""],["name","account_type"],["placeholder","Bank Account Type "],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,99)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,99)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,99)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.selectedAccTypeChanges(e.value,l.context.index)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(96,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(98,16384,null,0,Km.s,[Km.r],null,null),xm._17(99,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,43,{options:1}),xm._37(603979776,44,{optionGroups:1}),xm._37(335544320,45,{customTrigger:0}),xm._36(2048,[[36,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Xc)),xm._17(106,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n \n \n \n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,Zc)),xm._17(112,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(114,0,null,1,4,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,lm)),xm._17(117,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,em)),xm._17(122,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(125,0,null,1,5,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,um)),xm._17(129,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(132,0,null,1,46,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(134,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Number of Years / Months since account was started"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(137,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(138,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,83,{_control:0}),xm._37(335544320,84,{_placeholderChild:0}),xm._37(335544320,85,{_labelChild:0}),xm._37(603979776,86,{_errorChildren:1}),xm._37(603979776,87,{_hintChildren:1}),xm._37(603979776,88,{_prefixChildren:1}),xm._37(603979776,89,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(147,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_year"],["matInput",""],["name","vintage"],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,148)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,148).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,148)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,148)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,149).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,149).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,149).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,154)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,154)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,154)._onInput()&&u}return u},null,null)),xm._17(148,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(149,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(151,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(153,16384,null,0,Km.s,[Km.r],null,null),xm._17(154,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[83,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(158,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(159,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,90,{_control:0}),xm._37(335544320,91,{_placeholderChild:0}),xm._37(335544320,92,{_labelChild:0}),xm._37(603979776,93,{_errorChildren:1}),xm._37(603979776,94,{_hintChildren:1}),xm._37(603979776,95,{_prefixChildren:1}),xm._37(603979776,96,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(168,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_month"],["matInput",""],["name","vintage"],["placeholder","month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,169)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,169).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,169)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,169)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,170).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,170).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,170).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,175)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,175)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,175)._onInput()&&u}if("change"===n){u=!1!==a.ConvertMonthintoYear(l.context.$implicit,e.target.value)&&u}return u},null,null)),xm._17(169,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(170,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(172,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(174,16384,null,0,Km.s,[Km.r],null,null),xm._17(175,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[90,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(180,0,null,1,19,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(181,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,97,{_buttons:1}),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(184,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),xm._17(185,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(187,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removebank(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(189,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(190,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(193,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),xm._17(194,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,am)),xm._17(197,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n \n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,36,0,"applicant_name");l(n,39,0,"Applicant Name",e.compareObjects);l(n,46,0,e.mergeCompanyApplicant);l(n,51,0,1==e.checkOthers(n.context.$implicit.get("applicant_name").value));l(n,65,0,"bank_name");l(n,68,0,"Bank Name");l(n,75,0,e.m_btLenderList);l(n,80,0,1==n.context.$implicit.get("bank_name").value);l(n,96,0,"account_type");l(n,99,0,"Bank Account Type ");l(n,106,0,e.accountType);l(n,112,0,"SAL"!=e.pd_cus_segment);l(n,117,0,e.salaryField);l(n,122,0,e.limitCaseFlag[n.context.index]);l(n,129,0,"SAL"!=e.pdDetails.customer_segment_abbr.substring(0,3).toUpperCase());l(n,151,0,"vintage_year");l(n,154,0,"Year","number");l(n,172,0,"vintage_month");l(n,175,0,"month","number");l(n,190,0,"optblue","md-trash");l(n,197,0,n.context.last)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,6,0,xm._32(n,8).expanded,xm._32(n,8)._hasSpacing());l(n,11,0,xm._32(n,12).panel._headerId,xm._32(n,12).panel.disabled?-1:0,xm._32(n,12)._getPanelId(),xm._32(n,12)._isExpanded(),xm._32(n,12).panel.disabled,xm._32(n,12)._isExpanded(),l(n,14,0,xm._32(n,12)._getExpandedState(),l(n,13,0,xm._32(n,12).collapsedHeight,xm._32(n,12).expandedHeight)));l(n,20,0,n.context.index+1);l(n,24,1,[xm._32(n,25)._control.errorState,xm._32(n,25)._control.errorState,xm._32(n,25)._canLabelFloat,xm._32(n,25)._shouldLabelFloat(),xm._32(n,25)._hideControlPlaceholder(),xm._32(n,25)._control.disabled,xm._32(n,25)._control.focused,"primary"==xm._32(n,25).color,"accent"==xm._32(n,25).color,"warn"==xm._32(n,25).color,xm._32(n,25)._shouldForward("untouched"),xm._32(n,25)._shouldForward("touched"),xm._32(n,25)._shouldForward("pristine"),xm._32(n,25)._shouldForward("dirty"),xm._32(n,25)._shouldForward("valid"),xm._32(n,25)._shouldForward("invalid"),xm._32(n,25)._shouldForward("pending")]);l(n,34,1,[xm._32(n,38).ngClassUntouched,xm._32(n,38).ngClassTouched,xm._32(n,38).ngClassPristine,xm._32(n,38).ngClassDirty,xm._32(n,38).ngClassValid,xm._32(n,38).ngClassInvalid,xm._32(n,38).ngClassPending,xm._32(n,39).id,xm._32(n,39).tabIndex,xm._32(n,39)._ariaLabel,xm._32(n,39).ariaLabelledby,xm._32(n,39).required.toString(),xm._32(n,39).disabled.toString(),xm._32(n,39).errorState,xm._32(n,39).panelOpen?xm._32(n,39)._optionIds:null,xm._32(n,39).multiple,xm._32(n,39)._ariaDescribedby||null,xm._32(n,39)._getAriaActiveDescendant(),xm._32(n,39).disabled,xm._32(n,39).errorState,xm._32(n,39).required]);l(n,53,1,[xm._32(n,54)._control.errorState,xm._32(n,54)._control.errorState,xm._32(n,54)._canLabelFloat,xm._32(n,54)._shouldLabelFloat(),xm._32(n,54)._hideControlPlaceholder(),xm._32(n,54)._control.disabled,xm._32(n,54)._control.focused,"primary"==xm._32(n,54).color,"accent"==xm._32(n,54).color,"warn"==xm._32(n,54).color,xm._32(n,54)._shouldForward("untouched"),xm._32(n,54)._shouldForward("touched"),xm._32(n,54)._shouldForward("pristine"),xm._32(n,54)._shouldForward("dirty"),xm._32(n,54)._shouldForward("valid"),xm._32(n,54)._shouldForward("invalid"),xm._32(n,54)._shouldForward("pending")]);l(n,63,1,[xm._32(n,67).ngClassUntouched,xm._32(n,67).ngClassTouched,xm._32(n,67).ngClassPristine,xm._32(n,67).ngClassDirty,xm._32(n,67).ngClassValid,xm._32(n,67).ngClassInvalid,xm._32(n,67).ngClassPending,xm._32(n,68).id,xm._32(n,68).tabIndex,xm._32(n,68)._ariaLabel,xm._32(n,68).ariaLabelledby,xm._32(n,68).required.toString(),xm._32(n,68).disabled.toString(),xm._32(n,68).errorState,xm._32(n,68).panelOpen?xm._32(n,68)._optionIds:null,xm._32(n,68).multiple,xm._32(n,68)._ariaDescribedby||null,xm._32(n,68)._getAriaActiveDescendant(),xm._32(n,68).disabled,xm._32(n,68).errorState,xm._32(n,68).required]);l(n,84,1,[xm._32(n,85)._control.errorState,xm._32(n,85)._control.errorState,xm._32(n,85)._canLabelFloat,xm._32(n,85)._shouldLabelFloat(),xm._32(n,85)._hideControlPlaceholder(),xm._32(n,85)._control.disabled,xm._32(n,85)._control.focused,"primary"==xm._32(n,85).color,"accent"==xm._32(n,85).color,"warn"==xm._32(n,85).color,xm._32(n,85)._shouldForward("untouched"),xm._32(n,85)._shouldForward("touched"),xm._32(n,85)._shouldForward("pristine"),xm._32(n,85)._shouldForward("dirty"),xm._32(n,85)._shouldForward("valid"),xm._32(n,85)._shouldForward("invalid"),xm._32(n,85)._shouldForward("pending")]);l(n,94,1,[xm._32(n,98).ngClassUntouched,xm._32(n,98).ngClassTouched,xm._32(n,98).ngClassPristine,xm._32(n,98).ngClassDirty,xm._32(n,98).ngClassValid,xm._32(n,98).ngClassInvalid,xm._32(n,98).ngClassPending,xm._32(n,99).id,xm._32(n,99).tabIndex,xm._32(n,99)._ariaLabel,xm._32(n,99).ariaLabelledby,xm._32(n,99).required.toString(),xm._32(n,99).disabled.toString(),xm._32(n,99).errorState,xm._32(n,99).panelOpen?xm._32(n,99)._optionIds:null,xm._32(n,99).multiple,xm._32(n,99)._ariaDescribedby||null,xm._32(n,99)._getAriaActiveDescendant(),xm._32(n,99).disabled,xm._32(n,99).errorState,xm._32(n,99).required]);l(n,137,1,[xm._32(n,138)._control.errorState,xm._32(n,138)._control.errorState,xm._32(n,138)._canLabelFloat,xm._32(n,138)._shouldLabelFloat(),xm._32(n,138)._hideControlPlaceholder(),xm._32(n,138)._control.disabled,xm._32(n,138)._control.focused,"primary"==xm._32(n,138).color,"accent"==xm._32(n,138).color,"warn"==xm._32(n,138).color,xm._32(n,138)._shouldForward("untouched"),xm._32(n,138)._shouldForward("touched"),xm._32(n,138)._shouldForward("pristine"),xm._32(n,138)._shouldForward("dirty"),xm._32(n,138)._shouldForward("valid"),xm._32(n,138)._shouldForward("invalid"),xm._32(n,138)._shouldForward("pending")]);l(n,147,1,[xm._32(n,153).ngClassUntouched,xm._32(n,153).ngClassTouched,xm._32(n,153).ngClassPristine,xm._32(n,153).ngClassDirty,xm._32(n,153).ngClassValid,xm._32(n,153).ngClassInvalid,xm._32(n,153).ngClassPending,xm._32(n,154)._isServer,xm._32(n,154).id,xm._32(n,154).placeholder,xm._32(n,154).disabled,xm._32(n,154).required,xm._32(n,154).readonly,xm._32(n,154)._ariaDescribedby||null,xm._32(n,154).errorState,xm._32(n,154).required.toString()]);l(n,158,1,[xm._32(n,159)._control.errorState,xm._32(n,159)._control.errorState,xm._32(n,159)._canLabelFloat,xm._32(n,159)._shouldLabelFloat(),xm._32(n,159)._hideControlPlaceholder(),xm._32(n,159)._control.disabled,xm._32(n,159)._control.focused,"primary"==xm._32(n,159).color,"accent"==xm._32(n,159).color,"warn"==xm._32(n,159).color,xm._32(n,159)._shouldForward("untouched"),xm._32(n,159)._shouldForward("touched"),xm._32(n,159)._shouldForward("pristine"),xm._32(n,159)._shouldForward("dirty"),xm._32(n,159)._shouldForward("valid"),xm._32(n,159)._shouldForward("invalid"),xm._32(n,159)._shouldForward("pending")]);l(n,168,1,[xm._32(n,174).ngClassUntouched,xm._32(n,174).ngClassTouched,xm._32(n,174).ngClassPristine,xm._32(n,174).ngClassDirty,xm._32(n,174).ngClassValid,xm._32(n,174).ngClassInvalid,xm._32(n,174).ngClassPending,xm._32(n,175)._isServer,xm._32(n,175).id,xm._32(n,175).placeholder,xm._32(n,175).disabled,xm._32(n,175).required,xm._32(n,175).readonly,xm._32(n,175)._ariaDescribedby||null,xm._32(n,175).errorState,xm._32(n,175).required.toString()]);l(n,189,0,xm._32(n,190)._hidden)})}function im(l){return xm._41(0,[(l()(),xm._39(-1,null,["\n"])),(l()(),xm._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),xm._17(2,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(5,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(7,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(8,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(9,0,["",""])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(13,0,null,null,52,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(14,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(16,0,null,1,48,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,18).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,18).onReset()&&u}return u},null,null)),xm._17(17,16384,null,0,Km.B,[],null,null),xm._17(18,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(20,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(22,0,null,null,7,"div",[["class","accordion"],["formArrayName","itemRows"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(23,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(25,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,tm)),xm._17(28,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(31,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(32,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(34,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(35,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,98,{_control:0}),xm._37(335544320,99,{_placeholderChild:0}),xm._37(335544320,100,{_labelChild:0}),xm._37(603979776,101,{_errorChildren:1}),xm._37(603979776,102,{_hintChildren:1}),xm._37(603979776,103,{_prefixChildren:1}),xm._37(603979776,104,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(44,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","banking_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,45)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,50)._onInput()&&u}return u},null,null)),xm._17(45,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(47,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(49,16384,null,0,Km.s,[Km.r],null,null),xm._17(50,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"]},null),xm._36(2048,[[98,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(55,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(56,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(59,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.savepdBank(a.bankingForm.value)&&u}return u},Db.b,Db.a)),xm._17(60,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,18,0,e.bankingForm);l(n,23,0,"itemRows");l(n,28,0,e.bankingForm.controls.itemRows.controls);l(n,47,0,"banking_form_remark");l(n,50,0,"Remarks");l(n,60,0,"optblue","")},function(l,n){var e=n.component;l(n,4,0,xm._32(n,5)._hidden,xm._32(n,5)._sbPadding);l(n,9,0,e.formDetails.form_name);l(n,13,0,xm._32(n,14).statusbarPadding,xm._32(n,14)._hasRefresher);l(n,16,0,xm._32(n,20).ngClassUntouched,xm._32(n,20).ngClassTouched,xm._32(n,20).ngClassPristine,xm._32(n,20).ngClassDirty,xm._32(n,20).ngClassValid,xm._32(n,20).ngClassInvalid,xm._32(n,20).ngClassPending);l(n,22,0,xm._32(n,25).ngClassUntouched,xm._32(n,25).ngClassTouched,xm._32(n,25).ngClassPristine,xm._32(n,25).ngClassDirty,xm._32(n,25).ngClassValid,xm._32(n,25).ngClassInvalid,xm._32(n,25).ngClassPending);l(n,34,1,[xm._32(n,35)._control.errorState,xm._32(n,35)._control.errorState,xm._32(n,35)._canLabelFloat,xm._32(n,35)._shouldLabelFloat(),xm._32(n,35)._hideControlPlaceholder(),xm._32(n,35)._control.disabled,xm._32(n,35)._control.focused,"primary"==xm._32(n,35).color,"accent"==xm._32(n,35).color,"warn"==xm._32(n,35).color,xm._32(n,35)._shouldForward("untouched"),xm._32(n,35)._shouldForward("touched"),xm._32(n,35)._shouldForward("pristine"),xm._32(n,35)._shouldForward("dirty"),xm._32(n,35)._shouldForward("valid"),xm._32(n,35)._shouldForward("invalid"),xm._32(n,35)._shouldForward("pending")]);l(n,44,1,[xm._32(n,49).ngClassUntouched,xm._32(n,49).ngClassTouched,xm._32(n,49).ngClassPristine,xm._32(n,49).ngClassDirty,xm._32(n,49).ngClassValid,xm._32(n,49).ngClassInvalid,xm._32(n,49).ngClassPending,xm._32(n,50)._isServer,xm._32(n,50).id,xm._32(n,50).placeholder,xm._32(n,50).disabled,xm._32(n,50).required,xm._32(n,50).readonly,xm._32(n,50)._ariaDescribedby||null,xm._32(n,50).errorState,xm._32(n,50).required.toString()])})}function om(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Business Income"]))],null,null)}function rm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[9,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.business_income_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.business_income_item)})}function _m(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,12,{_control:0}),xm._37(335544320,13,{_placeholderChild:0}),xm._37(335544320,14,{_labelChild:0}),xm._37(603979776,15,{_errorChildren:1}),xm._37(603979776,16,{_hintChildren:1}),xm._37(603979776,17,{_prefixChildren:1}),xm._37(603979776,18,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_income_item"],["matInput",""],["name","other_income_item"],["placeholder","Other Business Income"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[12,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_income_item");l(n,16,0,"Other Business Income","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function dm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==xm._32(l,1)._handleKeydown(e)&&u}return u},Fv.e,Fv.b)),xm._17(1,8437760,[[33,4]],0,ob.t,[xm.p,xm.i,[2,ob.l],[2,ob.s]],{value:[0,"value"]},null),(l()(),xm._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,xm._32(n,1)._getTabIndex(),xm._32(n,1).selected,xm._32(n,1).multiple,xm._32(n,1).active,xm._32(n,1).id,xm._32(n,1).selected.toString(),xm._32(n,1).disabled.toString(),xm._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function sm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(1,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,36,{_control:0}),xm._37(335544320,37,{_placeholderChild:0}),xm._37(335544320,38,{_labelChild:0}),xm._37(603979776,39,{_errorChildren:1}),xm._37(603979776,40,{_hintChildren:1}),xm._37(603979776,41,{_prefixChildren:1}),xm._37(603979776,42,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequncy_item"],["matInput",""],["name","other_frequncy_item"],["placeholder","Other Frequency"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,16)._onInput()&&u}return u},null,null)),xm._17(11,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(13,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(15,16384,null,0,Km.s,[Km.r],null,null),xm._17(16,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[36,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequncy_item");l(n,16,0,"Other Frequency","text")},function(l,n){l(n,0,1,[xm._32(n,1)._control.errorState,xm._32(n,1)._control.errorState,xm._32(n,1)._canLabelFloat,xm._32(n,1)._shouldLabelFloat(),xm._32(n,1)._hideControlPlaceholder(),xm._32(n,1)._control.disabled,xm._32(n,1)._control.focused,"primary"==xm._32(n,1).color,"accent"==xm._32(n,1).color,"warn"==xm._32(n,1).color,xm._32(n,1)._shouldForward("untouched"),xm._32(n,1)._shouldForward("touched"),xm._32(n,1)._shouldForward("pristine"),xm._32(n,1)._shouldForward("dirty"),xm._32(n,1)._shouldForward("valid"),xm._32(n,1)._shouldForward("invalid"),xm._32(n,1)._shouldForward("pending")]);l(n,10,1,[xm._32(n,15).ngClassUntouched,xm._32(n,15).ngClassTouched,xm._32(n,15).ngClassPristine,xm._32(n,15).ngClassDirty,xm._32(n,15).ngClassValid,xm._32(n,15).ngClassInvalid,xm._32(n,15).ngClassPending,xm._32(n,16)._isServer,xm._32(n,16).id,xm._32(n,16).placeholder,xm._32(n,16).disabled,xm._32(n,16).required,xm._32(n,16).readonly,xm._32(n,16)._ariaDescribedby||null,xm._32(n,16).errorState,xm._32(n,16).required.toString()])})}function cm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBusinessDetails()&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(3,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,xm._32(n,3)._hidden)})}function mm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(4,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["Total Business Income:"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(11,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),xm._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),xm._39(15,null,[" ",""])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandIncomeTotal)})}function pm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,132,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(1,212992,null,0,Km.l,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.l]),xm._17(3,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(5,0,null,null,126,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(6,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(8,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(9,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(18,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","business_income_id"],["placeholder","Buiness Income"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==xm._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,23)._onBlur()&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(20,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(22,16384,null,0,Km.s,[Km.r],null,null),xm._17(23,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},null),xm._37(603979776,9,{options:1}),xm._37(603979776,10,{optionGroups:1}),xm._37(335544320,11,{customTrigger:0}),xm._36(2048,[[2,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,rm)),xm._17(30,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n\n "])),(l()(),xm._13(16777216,null,0,1,null,_m)),xm._17(35,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(37,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(38,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,19,{_control:0}),xm._37(335544320,20,{_placeholderChild:0}),xm._37(335544320,21,{_labelChild:0}),xm._37(603979776,22,{_errorChildren:1}),xm._37(603979776,23,{_hintChildren:1}),xm._37(603979776,24,{_prefixChildren:1}),xm._37(603979776,25,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(47,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","income_value"],["matInput",""],["name","income_value"],["placeholder","Amount (Rs)"],["type","tel"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,a=l.component;if("input"===n){u=!1!==xm._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,53)._onInput()&&u}if("blur"===n){u=!1!==a.busIncomecalculate(l.context.index,l.context.$implicit)&&u}return u},null,null)),xm._17(48,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(50,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(52,16384,null,0,Km.s,[Km.r],null,null),xm._17(53,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[19,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(57,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(58,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,26,{_control:0}),xm._37(335544320,27,{_placeholderChild:0}),xm._37(335544320,28,{_labelChild:0}),xm._37(603979776,29,{_errorChildren:1}),xm._37(603979776,30,{_hintChildren:1}),xm._37(603979776,31,{_prefixChildren:1}),xm._37(603979776,32,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(67,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,a=l.component;if("keydown"===n){u=!1!==xm._32(l,72)._handleKeydown(e)&&u}if("focus"===n){u=!1!==xm._32(l,72)._onFocus()&&u}if("blur"===n){u=!1!==xm._32(l,72)._onBlur()&&u}if("selectionChange"===n){u=!1!==a.busIncomecalculate(l.context.index,l.context.$implicit)&&u}return u},xv.b,xv.a)),xm._36(6144,null,ob.l,null,[Sv.c]),xm._17(69,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(71,16384,null,0,Km.s,[Km.r],null,null),xm._17(72,2080768,null,3,Sv.c,[Iv.f,xm.i,xm.H,ob.d,xm.p,[2,qv.c],[2,Km.u],[2,Km.k],[2,ib.b],[2,Km.r],[8,null],Sv.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),xm._37(603979776,33,{options:1}),xm._37(603979776,34,{optionGroups:1}),xm._37(335544320,35,{customTrigger:0}),xm._36(2048,[[26,4]],ib.c,null,[Sv.c]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._13(16777216,null,1,1,null,dm)),xm._17(79,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,sm)),xm._17(84,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(86,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(87,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,43,{_control:0}),xm._37(335544320,44,{_placeholderChild:0}),xm._37(335544320,45,{_labelChild:0}),xm._37(603979776,46,{_errorChildren:1}),xm._37(603979776,47,{_hintChildren:1}),xm._37(603979776,48,{_prefixChildren:1}),xm._37(603979776,49,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(96,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_income_value"],["matInput",""],["name","annual_income_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,97)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==xm._32(l,98).onChange(e.target.value)&&u}if("input"===n){u=!1!==xm._32(l,98).onChange(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,98).onTouched()&&u}if("blur"===n){u=!1!==xm._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,103)._onInput()&&u}return u},null,null)),xm._17(97,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._17(98,16384,null,0,Km.A,[xm.P,xm.p],null,null),xm._36(1024,null,Km.q,function(l,n){return[l,n]},[Km.d,Km.A]),xm._17(100,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(102,16384,null,0,Km.s,[Km.r],null,null),xm._17(103,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),xm._36(2048,[[43,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,0,["\n \n "])),(l()(),xm._18(107,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),xm._17(108,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,50,{_buttons:1}),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(111,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),xm._17(112,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(114,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteBuisnessDetails(l.context.index)&&u}return u},null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(116,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),xm._17(117,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(121,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),xm._17(122,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._13(16777216,null,null,1,null,cm)),xm._17(125,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n \n \n \n \n "])),(l()(),xm._39(-1,0,["\n\n \n "])),(l()(),xm._13(16777216,null,0,1,null,mm)),xm._17(130,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"business_income_id");l(n,23,0,"Buiness Income");l(n,30,0,e.businessIncome);l(n,35,0,3==n.context.$implicit.get("business_income_id").value);l(n,50,0,"income_value");l(n,53,0,"Amount (Rs)","tel");l(n,69,0,"fk_frequency_id");l(n,72,0,"frequency");l(n,79,0,e.m_freqOfPurchase);l(n,84,0,8==n.context.$implicit.get("fk_frequency_id").value);l(n,100,0,"annual_income_value");l(n,103,0,"Annual Expenses","number","");l(n,117,0,"optblue","md-trash");l(n,125,0,n.context.last);l(n,130,0,n.context.last&&null!=e.grandIncomeTotal)},function(l,n){l(n,0,0,xm._32(n,3).ngClassUntouched,xm._32(n,3).ngClassTouched,xm._32(n,3).ngClassPristine,xm._32(n,3).ngClassDirty,xm._32(n,3).ngClassValid,xm._32(n,3).ngClassInvalid,xm._32(n,3).ngClassPending);l(n,8,1,[xm._32(n,9)._control.errorState,xm._32(n,9)._control.errorState,xm._32(n,9)._canLabelFloat,xm._32(n,9)._shouldLabelFloat(),xm._32(n,9)._hideControlPlaceholder(),xm._32(n,9)._control.disabled,xm._32(n,9)._control.focused,"primary"==xm._32(n,9).color,"accent"==xm._32(n,9).color,"warn"==xm._32(n,9).color,xm._32(n,9)._shouldForward("untouched"),xm._32(n,9)._shouldForward("touched"),xm._32(n,9)._shouldForward("pristine"),xm._32(n,9)._shouldForward("dirty"),xm._32(n,9)._shouldForward("valid"),xm._32(n,9)._shouldForward("invalid"),xm._32(n,9)._shouldForward("pending")]);l(n,18,1,[xm._32(n,22).ngClassUntouched,xm._32(n,22).ngClassTouched,xm._32(n,22).ngClassPristine,xm._32(n,22).ngClassDirty,xm._32(n,22).ngClassValid,xm._32(n,22).ngClassInvalid,xm._32(n,22).ngClassPending,xm._32(n,23).id,xm._32(n,23).tabIndex,xm._32(n,23)._ariaLabel,xm._32(n,23).ariaLabelledby,xm._32(n,23).required.toString(),xm._32(n,23).disabled.toString(),xm._32(n,23).errorState,xm._32(n,23).panelOpen?xm._32(n,23)._optionIds:null,xm._32(n,23).multiple,xm._32(n,23)._ariaDescribedby||null,xm._32(n,23)._getAriaActiveDescendant(),xm._32(n,23).disabled,xm._32(n,23).errorState,xm._32(n,23).required]);l(n,37,1,[xm._32(n,38)._control.errorState,xm._32(n,38)._control.errorState,xm._32(n,38)._canLabelFloat,xm._32(n,38)._shouldLabelFloat(),xm._32(n,38)._hideControlPlaceholder(),xm._32(n,38)._control.disabled,xm._32(n,38)._control.focused,"primary"==xm._32(n,38).color,"accent"==xm._32(n,38).color,"warn"==xm._32(n,38).color,xm._32(n,38)._shouldForward("untouched"),xm._32(n,38)._shouldForward("touched"),xm._32(n,38)._shouldForward("pristine"),xm._32(n,38)._shouldForward("dirty"),xm._32(n,38)._shouldForward("valid"),xm._32(n,38)._shouldForward("invalid"),xm._32(n,38)._shouldForward("pending")]);l(n,47,1,[xm._32(n,52).ngClassUntouched,xm._32(n,52).ngClassTouched,xm._32(n,52).ngClassPristine,xm._32(n,52).ngClassDirty,xm._32(n,52).ngClassValid,xm._32(n,52).ngClassInvalid,xm._32(n,52).ngClassPending,xm._32(n,53)._isServer,xm._32(n,53).id,xm._32(n,53).placeholder,xm._32(n,53).disabled,xm._32(n,53).required,xm._32(n,53).readonly,xm._32(n,53)._ariaDescribedby||null,xm._32(n,53).errorState,xm._32(n,53).required.toString()]);l(n,57,1,[xm._32(n,58)._control.errorState,xm._32(n,58)._control.errorState,xm._32(n,58)._canLabelFloat,xm._32(n,58)._shouldLabelFloat(),xm._32(n,58)._hideControlPlaceholder(),xm._32(n,58)._control.disabled,xm._32(n,58)._control.focused,"primary"==xm._32(n,58).color,"accent"==xm._32(n,58).color,"warn"==xm._32(n,58).color,xm._32(n,58)._shouldForward("untouched"),xm._32(n,58)._shouldForward("touched"),xm._32(n,58)._shouldForward("pristine"),xm._32(n,58)._shouldForward("dirty"),xm._32(n,58)._shouldForward("valid"),xm._32(n,58)._shouldForward("invalid"),xm._32(n,58)._shouldForward("pending")]);l(n,67,1,[xm._32(n,71).ngClassUntouched,xm._32(n,71).ngClassTouched,xm._32(n,71).ngClassPristine,xm._32(n,71).ngClassDirty,xm._32(n,71).ngClassValid,xm._32(n,71).ngClassInvalid,xm._32(n,71).ngClassPending,xm._32(n,72).id,xm._32(n,72).tabIndex,xm._32(n,72)._ariaLabel,xm._32(n,72).ariaLabelledby,xm._32(n,72).required.toString(),xm._32(n,72).disabled.toString(),xm._32(n,72).errorState,xm._32(n,72).panelOpen?xm._32(n,72)._optionIds:null,xm._32(n,72).multiple,xm._32(n,72)._ariaDescribedby||null,xm._32(n,72)._getAriaActiveDescendant(),xm._32(n,72).disabled,xm._32(n,72).errorState,xm._32(n,72).required]);l(n,86,1,[xm._32(n,87)._control.errorState,xm._32(n,87)._control.errorState,xm._32(n,87)._canLabelFloat,xm._32(n,87)._shouldLabelFloat(),xm._32(n,87)._hideControlPlaceholder(),xm._32(n,87)._control.disabled,xm._32(n,87)._control.focused,"primary"==xm._32(n,87).color,"accent"==xm._32(n,87).color,"warn"==xm._32(n,87).color,xm._32(n,87)._shouldForward("untouched"),xm._32(n,87)._shouldForward("touched"),xm._32(n,87)._shouldForward("pristine"),xm._32(n,87)._shouldForward("dirty"),xm._32(n,87)._shouldForward("valid"),xm._32(n,87)._shouldForward("invalid"),xm._32(n,87)._shouldForward("pending")]);l(n,96,1,[xm._32(n,102).ngClassUntouched,xm._32(n,102).ngClassTouched,xm._32(n,102).ngClassPristine,xm._32(n,102).ngClassDirty,xm._32(n,102).ngClassValid,xm._32(n,102).ngClassInvalid,xm._32(n,102).ngClassPending,xm._32(n,103)._isServer,xm._32(n,103).id,xm._32(n,103).placeholder,xm._32(n,103).disabled,xm._32(n,103).required,xm._32(n,103).readonly,xm._32(n,103)._ariaDescribedby||null,xm._32(n,103).errorState,xm._32(n,103).required.toString()]);l(n,116,0,xm._32(n,117)._hidden)})}function fm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,om)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n\n\n "])),(l()(),xm._39(-1,null,["\n\n"])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,26).onReset()&&u}return u},null,null)),xm._17(25,16384,null,0,Km.B,[],null,null),xm._17(26,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(28,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(30,0,null,null,7,"div",[["formArrayName","busIncome"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),xm._17(31,212992,null,0,Km.f,[[3,Km.c],[8,null],[8,null]],{name:[0,"name"]},null),xm._36(2048,null,Km.c,null,[Km.f]),xm._17(33,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,pm)),xm._17(36,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(40,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,a=l.component;if("click"===n){u=!1!==a.saveBusinessData(a.BuissnessForm.value)&&u}return u},Db.b,Db.a)),xm._17(44,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.BuissnessForm);l(n,31,0,"busIncome");l(n,36,0,e.BuissnessForm.get("busIncome").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,24,0,xm._32(n,28).ngClassUntouched,xm._32(n,28).ngClassTouched,xm._32(n,28).ngClassPristine,xm._32(n,28).ngClassDirty,xm._32(n,28).ngClassValid,xm._32(n,28).ngClassInvalid,xm._32(n,28).ngClassPending);l(n,30,0,xm._32(n,33).ngClassUntouched,xm._32(n,33).ngClassTouched,xm._32(n,33).ngClassPristine,xm._32(n,33).ngClassDirty,xm._32(n,33).ngClassValid,xm._32(n,33).ngClassInvalid,xm._32(n,33).ngClassPending)})}function hm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),xm._39(-1,null,[" \n "])),(l()(),xm._18(2,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","docName"],["placeholder","File Name"],["required",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0,a=l.component;if("blur"===n){u=!1!==xm._32(l,4)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,4)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,4)._onInput()&&u}if("blur"===n){u=!1!==a.docnames(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null)),xm._36(6144,null,ib.c,null,[rb.b]),xm._17(4,933888,null,0,rb.b,[xm.p,Hm.a,[8,null],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"File Name","","text")},function(l,n){l(n,2,0,xm._32(n,4)._isServer,xm._32(n,4).id,xm._32(n,4).placeholder,xm._32(n,4).disabled,xm._32(n,4).required,xm._32(n,4).readonly,xm._32(n,4)._ariaDescribedby||null,xm._32(n,4).errorState,xm._32(n,4).required.toString())})}function gm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),xm._39(1,null,["\n ","\n "]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.Name)})}function bm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,14,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),xm._17(1,16384,null,0,ab.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(3,0,null,null,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeimage(l.context.index)&&u}return u},null,null)),xm._17(4,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._18(6,0,null,null,1,"img",[["class","img-responsive"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,7).onClick(e)&&u}return u},null,null)),xm._17(7,16384,null,0,Gb.a,[xm.p,Yb.a],{src:[0,"src"]},null),(l()(),xm._39(-1,null,["\n\n \n "])),(l()(),xm._13(16777216,null,null,1,null,hm)),xm._17(10,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,gm)),xm._17(13,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"trash");l(n,7,0,"");l(n,10,0,""==n.context.$implicit.name);l(n,13,0,""!=n.context.$implicit.name)},function(l,n){l(n,3,0,xm._32(n,4)._hidden);l(n,6,0,xm._21(1,"",n.context.$implicit.image,""))})}function vm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(1,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._13(16777216,null,null,1,null,bm)),xm._17(4,802816,null,0,Df.i,[xm._1,xm.W,xm.B],{ngForOf:[0,"ngForOf"]},null),(l()(),xm._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.cameraArr)},null)}function ym(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(16,0,null,3,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(17,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(18,0,[""," - ",""])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(22,0,null,null,43,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(23,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(25,0,null,0,9,"ion-fab",[["middle",""],["right",""]],null,null,null,lv.b,lv.a)),xm._17(26,1228800,null,2,nv.a,[Wg.a],null,null),xm._37(335544320,2,{_mainButton:0}),xm._37(603979776,3,{_fabLists:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(30,0,null,0,3,"button",[["color","optblue"],["ion-fab",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.takePicture()&&u}return u},ev.b,ev.a)),xm._17(31,49152,[[2,4]],0,uv.a,[Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._18(32,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(33,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,1,["\n\n "])),(l()(),xm._18(36,0,null,1,16,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(37,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(39,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,nb.c,nb.b)),xm._17(40,49152,null,0,eb.e,[],null,null),(l()(),xm._18(41,0,null,2,1,"b",[],null,null,null,null,null)),(l()(),xm._39(-1,null,["General Images"])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._13(16777216,null,0,1,null,vm)),xm._17(45,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(47,0,null,0,4,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(48,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(54,0,null,1,10,"ion-footer",[],null,null,null,null,null)),xm._17(55,16384,null,0,Wb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(57,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(58,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(60,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.savePDImages()&&u}return u},Db.b,Db.a)),xm._17(61,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,["\n Save"])),(l()(),xm._39(-1,null,["\n \n \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,31,0,"optblue");l(n,33,0,"md-camera");l(n,45,0,0!=e.cameraArr.length);l(n,61,0,"primary","")},function(l,n){var e=n.component;l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,18,0,e.applicatentDetails.lender_full_name,e.applicatentDetails.lender_applicant_id);l(n,22,0,xm._32(n,23).statusbarPadding,xm._32(n,23)._hasRefresher);l(n,32,0,xm._32(n,33)._hidden);l(n,60,0,e.saveAccess)})}function Cm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"ion-title",[],null,null,null,bb.b,bb.a)),xm._17(1,49152,null,0,vb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),(l()(),xm._39(-1,0,["Salary Category"]))],null,null)}function wm(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),xm._17(1,16384,null,0,kb.a,[Dg.a,xm.p,xm.O,[2,Hg.a]],null,null),(l()(),xm._39(-1,null,["\n\n "])),(l()(),xm._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Pb.b,Pb.a)),xm._17(4,49152,null,0,Cb.a,[$g.a,[2,Hg.a],[2,Gg.a],Dg.a,xm.p,xm.O],{color:[0,"color"]},null),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==xm._32(l,8).toggle()&&u}return u},Db.b,Db.a)),xm._17(7,1097728,[[1,4]],0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],null,null),xm._17(8,1064960,null,0,Ob.a,[Ag.a,[2,Hg.a],[2,Tb.a],[2,Cb.a]],{menuToggle:[0,"menuToggle"]},null),xm._17(9,16384,null,1,Lb.a,[Dg.a,xm.p,xm.O,[2,yb.a],[2,Cb.a]],null,null),xm._37(603979776,1,{_buttons:1}),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),xm._17(13,147456,null,0,Vg.a,[Dg.a,xm.p,xm.O],{name:[0,"name"]},null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._39(-1,3,["\n "])),(l()(),xm._13(16777216,null,3,1,null,Cm)),xm._17(17,16384,null,0,Df.j,[xm._1,xm.W],{ngIf:[0,"ngIf"]},null),(l()(),xm._39(-1,3,["\n \n \n "])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n\n\n"])),(l()(),xm._18(21,0,null,null,140,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Mg.b,Mg.a)),xm._17(22,4374528,null,0,Kg.a,[Dg.a,Wg.a,Bg.a,xm.p,xm.O,$g.a,Rg.a,xm.H,[2,Hg.a],[2,Gg.a]],null,null),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._18(25,0,null,1,1,"h1",[["text-center",""]],null,null,null,null,null)),(l()(),xm._39(-1,null,["Salary info"])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._18(28,0,null,1,132,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==xm._32(l,30).onSubmit(e)&&u}if("reset"===n){u=!1!==xm._32(l,30).onReset()&&u}return u},null,null)),xm._17(29,16384,null,0,Km.B,[],null,null),xm._17(30,540672,null,0,Km.k,[[8,null],[8,null]],{form:[0,"form"]},null),xm._36(2048,null,Km.c,null,[Km.k]),xm._17(32,16384,null,0,Km.t,[Km.c],null,null),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(34,0,null,null,117,"mat-card",[["class","mat-card"]],null,null,null,nb.d,nb.a)),xm._17(35,49152,null,0,eb.a,[],null,null),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(37,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(39,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(40,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,2,{_control:0}),xm._37(335544320,3,{_placeholderChild:0}),xm._37(335544320,4,{_labelChild:0}),xm._37(603979776,5,{_errorChildren:1}),xm._37(603979776,6,{_hintChildren:1}),xm._37(603979776,7,{_prefixChildren:1}),xm._37(603979776,8,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(49,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","gross"],["matInput",""],["name","gross"],["placeholder","Gross"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,55)._onInput()&&u}return u},null,null)),xm._17(50,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(52,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(54,16384,null,0,Km.s,[Km.r],null,null),xm._17(55,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[2,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(60,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(62,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(63,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,9,{_control:0}),xm._37(335544320,10,{_placeholderChild:0}),xm._37(335544320,11,{_labelChild:0}),xm._37(603979776,12,{_errorChildren:1}),xm._37(603979776,13,{_hintChildren:1}),xm._37(603979776,14,{_prefixChildren:1}),xm._37(603979776,15,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(72,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","netTakeHome"],["matInput",""],["name","netTakeHome"],["placeholder","Net Take home"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,73)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,73).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,73)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,73)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,78)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,78)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,78)._onInput()&&u}return u},null,null)),xm._17(73,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(75,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(77,16384,null,0,Km.s,[Km.r],null,null),xm._17(78,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[9,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(83,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(85,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(86,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,16,{_control:0}),xm._37(335544320,17,{_placeholderChild:0}),xm._37(335544320,18,{_labelChild:0}),xm._37(603979776,19,{_errorChildren:1}),xm._37(603979776,20,{_hintChildren:1}),xm._37(603979776,21,{_prefixChildren:1}),xm._37(603979776,22,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(95,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bounsIncentive"],["matInput",""],["name","bounsIncentive"],["placeholder","Bonus or incentive"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,96)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,96).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,96)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,96)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,101)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,101)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,101)._onInput()&&u}return u},null,null)),xm._17(96,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(98,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(100,16384,null,0,Km.s,[Km.r],null,null),xm._17(101,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[16,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(106,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(108,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(109,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,23,{_control:0}),xm._37(335544320,24,{_placeholderChild:0}),xm._37(335544320,25,{_labelChild:0}),xm._37(603979776,26,{_errorChildren:1}),xm._37(603979776,27,{_hintChildren:1}),xm._37(603979776,28,{_prefixChildren:1}),xm._37(603979776,29,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(118,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","salaryDate"],["matInput",""],["name","salaryDate"],["placeholder","Salary date"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,119)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,119).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,119)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,119)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,124)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,124)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,124)._onInput()&&u}return u},null,null)),xm._17(119,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(121,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(123,16384,null,0,Km.s,[Km.r],null,null),xm._17(124,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[23,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,["\n "])),(l()(),xm._18(129,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(131,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,tb.b,tb.a)),xm._17(132,7389184,null,7,ib.b,[xm.p,xm.i,[2,ob.j]],null,null),xm._37(335544320,30,{_control:0}),xm._37(335544320,31,{_placeholderChild:0}),xm._37(335544320,32,{_labelChild:0}),xm._37(603979776,33,{_errorChildren:1}),xm._37(603979776,34,{_hintChildren:1}),xm._37(603979776,35,{_prefixChildren:1}),xm._37(603979776,36,{_suffixChildren:1}),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._18(141,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","anydelays"],["matInput",""],["name","anydelays"],["placeholder","Any Delays"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==xm._32(l,142)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,142).onTouched()&&u}if("compositionstart"===n){u=!1!==xm._32(l,142)._compositionStart()&&u}if("compositionend"===n){u=!1!==xm._32(l,142)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==xm._32(l,147)._focusChanged(!1)&&u}if("focus"===n){u=!1!==xm._32(l,147)._focusChanged(!0)&&u}if("input"===n){u=!1!==xm._32(l,147)._onInput()&&u}return u},null,null)),xm._17(142,16384,null,0,Km.d,[xm.P,xm.p,[2,Km.a]],null,null),xm._36(1024,null,Km.q,function(l){return[l]},[Km.d]),xm._17(144,671744,null,0,Km.i,[[3,Km.c],[8,null],[8,null],[2,Km.q]],{name:[0,"name"]},null),xm._36(2048,null,Km.r,null,[Km.i]),xm._17(146,16384,null,0,Km.s,[Km.r],null,null),xm._17(147,933888,null,0,rb.b,[xm.p,Hm.a,[2,Km.r],[2,Km.u],[2,Km.k],ob.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xm._36(2048,[[30,4]],ib.c,null,[rb.b]),(l()(),xm._39(-1,1,["\n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._39(-1,0,[" \n "])),(l()(),xm._39(-1,null,["\n "])),(l()(),xm._18(153,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),xm._17(154,16384,null,0,ub.a,[],null,null),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._18(156,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,null,null,Db.b,Db.a)),xm._17(157,1097728,null,0,Tb.a,[[8,""],Dg.a,xm.p,xm.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),xm._39(-1,0,[" Save"])),(l()(),xm._39(-1,null,["\n \n "])),(l()(),xm._39(-1,null,["\n"])),(l()(),xm._39(-1,1,["\n"])),(l()(),xm._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,30,0,e.salaryDetails);l(n,52,0,"gross");l(n,55,0,"Gross","text");l(n,75,0,"netTakeHome");l(n,78,0,"Net Take home","text");l(n,98,0,"bounsIncentive");l(n,101,0,"Bonus or incentive","text");l(n,121,0,"salaryDate");l(n,124,0,"Salary date","date");l(n,144,0,"anydelays");l(n,147,0,"Any Delays","text");l(n,157,0,"optblue","")},function(l,n){l(n,3,0,xm._32(n,4)._hidden,xm._32(n,4)._sbPadding);l(n,6,0,xm._32(n,8).isHidden);l(n,12,0,xm._32(n,13)._hidden);l(n,21,0,xm._32(n,22).statusbarPadding,xm._32(n,22)._hasRefresher);l(n,28,0,xm._32(n,32).ngClassUntouched,xm._32(n,32).ngClassTouched,xm._32(n,32).ngClassPristine,xm._32(n,32).ngClassDirty,xm._32(n,32).ngClassValid,xm._32(n,32).ngClassInvalid,xm._32(n,32).ngClassPending);l(n,39,1,[xm._32(n,40)._control.errorState,xm._32(n,40)._control.errorState,xm._32(n,40)._canLabelFloat,xm._32(n,40)._shouldLabelFloat(),xm._32(n,40)._hideControlPlaceholder(),xm._32(n,40)._control.disabled,xm._32(n,40)._control.focused,"primary"==xm._32(n,40).color,"accent"==xm._32(n,40).color,"warn"==xm._32(n,40).color,xm._32(n,40)._shouldForward("untouched"),xm._32(n,40)._shouldForward("touched"),xm._32(n,40)._shouldForward("pristine"),xm._32(n,40)._shouldForward("dirty"),xm._32(n,40)._shouldForward("valid"),xm._32(n,40)._shouldForward("invalid"),xm._32(n,40)._shouldForward("pending")]);l(n,49,1,[xm._32(n,54).ngClassUntouched,xm._32(n,54).ngClassTouched,xm._32(n,54).ngClassPristine,xm._32(n,54).ngClassDirty,xm._32(n,54).ngClassValid,xm._32(n,54).ngClassInvalid,xm._32(n,54).ngClassPending,xm._32(n,55)._isServer,xm._32(n,55).id,xm._32(n,55).placeholder,xm._32(n,55).disabled,xm._32(n,55).required,xm._32(n,55).readonly,xm._32(n,55)._ariaDescribedby||null,xm._32(n,55).errorState,xm._32(n,55).required.toString()]);l(n,62,1,[xm._32(n,63)._control.errorState,xm._32(n,63)._control.errorState,xm._32(n,63)._canLabelFloat,xm._32(n,63)._shouldLabelFloat(),xm._32(n,63)._hideControlPlaceholder(),xm._32(n,63)._control.disabled,xm._32(n,63)._control.focused,"primary"==xm._32(n,63).color,"accent"==xm._32(n,63).color,"warn"==xm._32(n,63).color,xm._32(n,63)._shouldForward("untouched"),xm._32(n,63)._shouldForward("touched"),xm._32(n,63)._shouldForward("pristine"),xm._32(n,63)._shouldForward("dirty"),xm._32(n,63)._shouldForward("valid"),xm._32(n,63)._shouldForward("invalid"),xm._32(n,63)._shouldForward("pending")]);l(n,72,1,[xm._32(n,77).ngClassUntouched,xm._32(n,77).ngClassTouched,xm._32(n,77).ngClassPristine,xm._32(n,77).ngClassDirty,xm._32(n,77).ngClassValid,xm._32(n,77).ngClassInvalid,xm._32(n,77).ngClassPending,xm._32(n,78)._isServer,xm._32(n,78).id,xm._32(n,78).placeholder,xm._32(n,78).disabled,xm._32(n,78).required,xm._32(n,78).readonly,xm._32(n,78)._ariaDescribedby||null,xm._32(n,78).errorState,xm._32(n,78).required.toString()]);l(n,85,1,[xm._32(n,86)._control.errorState,xm._32(n,86)._control.errorState,xm._32(n,86)._canLabelFloat,xm._32(n,86)._shouldLabelFloat(),xm._32(n,86)._hideControlPlaceholder(),xm._32(n,86)._control.disabled,xm._32(n,86)._control.focused,"primary"==xm._32(n,86).color,"accent"==xm._32(n,86).color,"warn"==xm._32(n,86).color,xm._32(n,86)._shouldForward("untouched"),xm._32(n,86)._shouldForward("touched"),xm._32(n,86)._shouldForward("pristine"),xm._32(n,86)._shouldForward("dirty"),xm._32(n,86)._shouldForward("valid"),xm._32(n,86)._shouldForward("invalid"),xm._32(n,86)._shouldForward("pending")]);l(n,95,1,[xm._32(n,100).ngClassUntouched,xm._32(n,100).ngClassTouched,xm._32(n,100).ngClassPristine,xm._32(n,100).ngClassDirty,xm._32(n,100).ngClassValid,xm._32(n,100).ngClassInvalid,xm._32(n,100).ngClassPending,xm._32(n,101)._isServer,xm._32(n,101).id,xm._32(n,101).placeholder,xm._32(n,101).disabled,xm._32(n,101).required,xm._32(n,101).readonly,xm._32(n,101)._ariaDescribedby||null,xm._32(n,101).errorState,xm._32(n,101).required.toString()]);l(n,108,1,[xm._32(n,109)._control.errorState,xm._32(n,109)._control.errorState,xm._32(n,109)._canLabelFloat,xm._32(n,109)._shouldLabelFloat(),xm._32(n,109)._hideControlPlaceholder(),xm._32(n,109)._control.disabled,xm._32(n,109)._control.focused,"primary"==xm._32(n,109).color,"accent"==xm._32(n,109).color,"warn"==xm._32(n,109).color,xm._32(n,109)._shouldForward("untouched"),xm._32(n,109)._shouldForward("touched"),xm._32(n,109)._shouldForward("pristine"),xm._32(n,109)._shouldForward("dirty"),xm._32(n,109)._shouldForward("valid"),xm._32(n,109)._shouldForward("invalid"),xm._32(n,109)._shouldForward("pending")]);l(n,118,1,[xm._32(n,123).ngClassUntouched,xm._32(n,123).ngClassTouched,xm._32(n,123).ngClassPristine,xm._32(n,123).ngClassDirty,xm._32(n,123).ngClassValid,xm._32(n,123).ngClassInvalid,xm._32(n,123).ngClassPending,xm._32(n,124)._isServer,xm._32(n,124).id,xm._32(n,124).placeholder,xm._32(n,124).disabled,xm._32(n,124).required,xm._32(n,124).readonly,xm._32(n,124)._ariaDescribedby||null,xm._32(n,124).errorState,xm._32(n,124).required.toString()]);l(n,131,1,[xm._32(n,132)._control.errorState,xm._32(n,132)._control.errorState,xm._32(n,132)._canLabelFloat,xm._32(n,132)._shouldLabelFloat(),xm._32(n,132)._hideControlPlaceholder(),xm._32(n,132)._control.disabled,xm._32(n,132)._control.focused,"primary"==xm._32(n,132).color,"accent"==xm._32(n,132).color,"warn"==xm._32(n,132).color,xm._32(n,132)._shouldForward("untouched"),xm._32(n,132)._shouldForward("touched"),xm._32(n,132)._shouldForward("pristine"),xm._32(n,132)._shouldForward("dirty"),xm._32(n,132)._shouldForward("valid"),xm._32(n,132)._shouldForward("invalid"),xm._32(n,132)._shouldForward("pending")]);l(n,141,1,[xm._32(n,146).ngClassUntouched,xm._32(n,146).ngClassTouched,xm._32(n,146).ngClassPristine,xm._32(n,146).ngClassDirty,xm._32(n,146).ngClassValid,xm._32(n,146).ngClassInvalid,xm._32(n,146).ngClassPending,xm._32(n,147)._isServer,xm._32(n,147).id,xm._32(n,147).placeholder,xm._32(n,147).disabled,xm._32(n,147).required,xm._32(n,147).readonly,xm._32(n,147)._ariaDescribedby||null,xm._32(n,147).errorState,xm._32(n,147).required.toString()])})}Object.defineProperty(n,"__esModule",{value:!0});var Fm=e(58),xm=e(0),Sm=e(14),Im=e(123),qm=e(183),km=e(65),Pm=e(331),Dm=e(79),Tm=(e(420),e(56)),Om=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Lm=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Am=(new Pm.c({UserPoolId:"ap-south-1_y7dt3iEaX",ClientId:"291qt4smn5pql6o8cc2hi201lj"}),new Pm.c({UserPoolId:"ap-south-1_hFiGyr1Gw",ClientId:"38v9rpp1495v60e1gd14mj6rjr"}),new Pm.c({UserPoolId:"ap-south-1_qQ85yQZJO",ClientId:"2o5c3cs9k3als16nqhp3irh8rs"})),Vm=function(){function l(){this.loggedIn=!1,this.isloggin=!1}return l.prototype.getCurrentUser=function(){return Am.getCurrentUser()},Object.defineProperty(l.prototype,"isLoggedIn",{get:function(){return this.loggedIn=null!=Am.getCurrentUser(),this.loggedIn},enumerable:!0,configurable:!0}),l.prototype.refresh=function(){var l;null!=this.getCurrentUser()?this.getCurrentUser().getSession(function(n,e){return n?console.log("CognitoUtil: Can't set the credentials:"+n):e.isValid()?(l=e.isValid(),Object(Tm.of)(l),console.log("CognitoUtil: refreshed successfully")):(l=e.isValid(),console.log("CognitoUtil: refreshed but session is still not valid")),l}):this.loggedIn=!1},l.prototype.getAccessToken=function(){var l=this;return this.refresh(),new Promise(function(n,e){null!=l.getCurrentUser()?l.getCurrentUser().getSession(function(l,u){l?(console.log("CognitoUtil: Can't set the credentials:"+l),"",e(l)):u.isValid()&&(u,n())}):e()})},l.prototype.getToken=function(){var l="";return null!=this.getCurrentUser()?this.getCurrentUser().getSession(function(n,e){n?!1:e.isValid()?(l=e,!0):!1}):!1,l},l=Om([Object(xm.x)(),Lm("design:paramtypes",[])],l)}(),jm=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Nm=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Em=function(){function l(l){this.http=l,this.commonimage="http://ssa.sineedge.com/sparqapi/logo/avatar.jpg",console.log("Hello ConstantsProvider Provider")}return l.prototype.apiurl=function(){return"http://ssa.sineedge.com/sparqtest/api/"},l.prototype.getcurrentDate=function(){var l=new Date,n=(l.getHours(),l.getMinutes(),l.getSeconds(),l.getFullYear()+"-"+(l.getMonth()+1)+"-"+l.getDate());l.getHours(),l.getMinutes();return(n+"T00:00").toString()},l.prototype.convertNumberToWords=function(l){var n=new Array;n[0]="",n[1]="One",n[2]="Two",n[3]="Three",n[4]="Four",n[5]="Five",n[6]="Six",n[7]="Seven",n[8]="Eight",n[9]="Nine",n[10]="Ten",n[11]="Eleven",n[12]="Twelve",n[13]="Thirteen",n[14]="Fourteen",n[15]="Fifteen",n[16]="Sixteen",n[17]="Seventeen",n[18]="Eighteen",n[19]="Nineteen",n[20]="Twenty",n[30]="Thirty",n[40]="Forty",n[50]="Fifty",n[60]="Sixty",n[70]="Seventy",n[80]="Eighty",n[90]="Ninety";var e=(l=l.toString()).split(".")[0].split(",").join(""),u=e.length,a="",t="";if(u<=9){for(var i=new Array(0,0,0,0,0,0,0,0,0),o=new Array,r=0;r=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Rm=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Um=(new Pm.c({UserPoolId:"ap-south-1_hFiGyr1Gw",ClientId:"38v9rpp1495v60e1gd14mj6rjr"}),new Pm.c({UserPoolId:"ap-south-1_qQ85yQZJO",ClientId:"2o5c3cs9k3als16nqhp3irh8rs"})),Bm=(new Date).toJSON().slice(0,19).replace("T"," "),$m=function(){function l(l,n,e){this.http=l,this.shared=n,this.con=e,this.apiurl=e.apiurl()}return l.prototype.dologin=function(l){var n=new Pm.a(l),e=l.newpassword,u=[],a=new Pm.b({Username:l.Username,Pool:Um});return Dm.Observable.create(function(l){a.authenticateUser(n,{newPasswordRequired:function(n,t){a.completeNewPasswordChallenge(e,u,{onSuccess:function(n){l.next(n),l.complete()},onFailure:function(n){l.error(n)}})},onSuccess:function(n){l.next(n),l.complete(),this.shared.isloggin=!0},onFailure:function(n){l.error(n)}})})},l.prototype.userforgotpass=function(l){var n=new Pm.b({Username:l.Username,Pool:Um});return Dm.Observable.create(function(l){n.forgotPassword({onSuccess:function(n){l.next(n)},onFailure:function(l){alert(l.message||JSON.stringify(l))},inputVerificationCode:function(l){var e=prompt("Please input verification code ",""),u=prompt("Enter new password ","");n.confirmPassword(e,u,{onSuccess:function(){},onFailure:function(l){}})}})})},l.prototype.logout=function(){var l=this;return Dm.Observable.create(function(n){l.shared.getCurrentUser().signOut(),n.next(),n.complete()})},l.prototype.getlocale=function(){return(this.shared.getToken()||null).idToken.payload.locale},l.prototype.getuserprofile=function(l){return this.http.post(this.apiurl+"getUsersDetails",{userid:l})},l.prototype.userpinupdate=function(l){var n=this.getlocale(),e={mpin:l,updatedon:Bm,fk_updatedby:n,userid:n},u=new FormData;return u.append("records",JSON.stringify(e)),this.http.post(this.apiurl+"updateExistUser",u)},l=Wm([Object(xm.x)(),Rm("design:paramtypes",[km.c,Vm,Em])],l)}(),Mm=e(335),Km=e(3),Hm=e(11),Gm=e(189),Ym=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Qm=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},zm=function(){function l(l,n){this.http=l,this.constants=n,this.apiurl=n.apiurl(),console.log("Hello PdtriggerProvider Provider")}return l.prototype.getpddetails=function(l){return console.log(l),this.http.get(this.apiurl+"listLessPDDetails/get?pdofficerid="+l)},l.prototype.getFullPDdetails=function(l){return this.http.post(this.apiurl+"getFullPDDetails",l)},l.prototype.updatepdStatus=function(l){return this.http.post(this.apiurl+"updatePDMaster",{records:l})},l.prototype.saveCurrentLocation=function(l){return this.http.post(this.apiurl+"savePDOfficerCurrentLocation",l)},l.prototype.checkotp=function(l){return this.http.post(this.apiurl+"checkOTP",{records:l})},l=Ym([Object(xm.x)(),Qm("design:paramtypes",[km.c,Em])],l)}(),Jm=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Xm=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Zm=function(){function l(l,n){this.http=l,this.constant=n,console.log("Hello QuestionCategoryProvider Provider"),this.apiurl=n.apiurl()}return l.prototype.getLoadTemplate=function(l){return this.http.get(this.apiurl+"loadFullTemplate?pd_id="+l)},l.prototype.saveQusetion=function(l){return this.http.post(this.apiurl+"savePDQuestions",{records:[l]})},l.prototype.getAnswerTemplate=function(l){return this.http.post(this.apiurl+"getAnswersForPD",l)},l.prototype.getcommondrop=function(l){return this.http.post(this.apiurl+"getListOfMaster",{master_name:l})},l.prototype.saveForm=function(l){return this.http.post(this.apiurl+"savePDFormDetails",{records:l})},l.prototype.retiverForm=function(l){return this.http.post(this.apiurl+"getPDFormDetails",l)},l.prototype.saveassessedForms=function(l,n){return this.http.post(this.apiurl+l,n)},l.prototype.retiverassessedForm=function(l,n){return this.http.post(this.apiurl+l,n)},l.prototype.updatePdApplicant=function(l){return this.http.post(this.apiurl+"updatePDApplicants",{pd_applicant_details:l})},l.prototype.getEndUseForLoan=function(l){return this.http.post(this.apiurl+"getEndUseOfLoan",{records:{pd_id:l}})},l.prototype.getCompaniesListsForBusiness=function(l){return this.http.post(this.apiurl+"getCompaniesListsForBusiness",{records:{pd_id:l}})},l.prototype.getStateWiseCities=function(l){return this.http.post(this.apiurl+"getListOfStatesAndCities",{records:{state_id:l}})},l.prototype.getAllPersonsName=function(l){return this.http.post(this.apiurl+"getAllPersonsName",{pd_id:l})},l.prototype.getStateCityDetails=function(){return this.http.post(this.apiurl+"getListOfStatesCities","")},l.prototype.getAssetsWithLoanFromBusiness=function(l){return this.http.post(this.apiurl+"getAssetsWithLoanFromBusiness",{pd_id:l})},l.prototype.getTypeofActivityForSuppliedInfoForm=function(l,n){return this.http.post(this.apiurl+"getTypeOfActivetyFromBusinessForm",{records:{pd_id:l,company_id:n}})},l.prototype.stockFormAccess=function(l,n){return this.http.post(this.apiurl+"getProductsFromBusiness",{pd_id:l,company_id:n})},l.prototype.savePDImages=function(l){return this.http.post(this.apiurl+"savePDPhotos",{records:l})},l.prototype.getFamilyDetails=function(l){return this.http.post(this.apiurl+"getFamilyDetails",{pd_id:l})},l=Jm([Object(xm.x)(),Xm("design:paramtypes",[km.c,Em])],l)}(),lp=e(249),np=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},ep=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},up=function(){function l(l,n){this.http=l,this.camera=n,console.log("Hello CameraProvider Provider")}return l.prototype.getpicture=function(){return this.camera.getPicture({quality:100,destinationType:this.camera.DestinationType.DATA_URL,targetWidth:500,targetHeight:500,correctOrientation:!0}).then(function(l){return"data:image/png;base64,"+l},function(l){console.log("CAMERA ERROR -> "+JSON.stringify(l))})},l=np([Object(xm.x)(),ep("design:paramtypes",[km.c,lp.a])],l)}(),ap=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},tp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ip=function(){function l(l,n){this.http=l,this.toast=n,console.log("Hello ToastProvider Provider")}return l.prototype.pdTriggerappmessage=function(l){this.toast.create({message:l,duration:3e3,position:"bottom",dismissOnPageChange:!0}).present()},l=ap([Object(xm.x)(),tp("design:paramtypes",[km.c,Sm.w])],l)}(),op=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},rp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},_p=(new Date).toJSON().slice(0,19).replace("T"," "),dp=function(){function l(l,n,e,u,a,t,i,o){this.navCtrl=l,this.navParams=n,this.fb=u,this.qstDetails=a,this.aws=t,this.camera=i,this.toast=o,this.docName=[],this.docArray=[],this.imageArray=[],this.SwipedTabsIndicator=null,this.tabTitleWidthArray=[],this.tabElementWidth_px=50,this.screenWidth_px=0,this.isRight=!1,this.isLeft=!1,this.tabs=[],console.log("Width: "+e.width()),this.screenWidth_px=e.width(),this.questionAnswer=this.fb.group({answerDetails:[null],items:this.fb.array([])}),this.questionanotherData=this.fb.group({questionRemarks:[null]}),this.getpdQuestionDetails(),this.userid=this.aws.getlocale()}return l.prototype.ionViewDidLoad=function(){},l.prototype.ionViewDidEnter=function(){this.SwipedTabsIndicator=document.getElementById("indicator");for(var l in this.tabs)this.tabTitleWidthArray.push(document.getElementById("tabTitle"+l).offsetWidth);this.selectTab(0)},l.prototype.ionViewWillLeave=function(){this.navCtrl.setRoot(uh,{pdDetails:this.pdinfo})},l.prototype.scrollIndicatiorTab=function(){this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0),this.isLeft&&console.log(this.isLeft),this.isRight&&console.log(this.isRight)},l.prototype.selectTab=function(l){this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[l]+"px",this.SwipedTabsIndicator.style.webkitTransform="translate3d("+this.calculateDistanceToSpnd(l)+"px,0,0)",this.SwipedTabsSlider.slideTo(l)},l.prototype.calculateDistanceToSpnd=function(l){for(var n=0,e=0;en&&(this.isLeft=!1,this.isRight=!0),this.SwipedTabsSlider.isEnd()&&(this.isRight=!1),this.SwipedTabsSlider.isBeginning()&&(this.isLeft=!1),this.isRight&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])+"px,0,0)"),this.isLeft&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])+"px,0,0)"),this.isRight||this.isLeft||(this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+"px")},l.prototype.getpdQuestionDetails=function(){this.questionDetails=this.navParams.get("questionDetails"),console.log("157",this.questionDetails),this.pdinfo=this.navParams.get("pdDetails"),console.log(this.pdinfo);for(var l=0,n=this.questionDetails.questions;l=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},cp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},mp=function(){function l(l,n,e,u,a,t,i,o){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=a,this.toast=t,this.alerCtrl=i,this.constant=o,this.placeholderName="Was any business activity seen at the Address Type during PD visit?",this.premisesRentAmtInwords=[],this.locality=[],this.pdlocation=[],this.addressTypes=[],this.addressRemarksAccess=!1,this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.address=(this.pdDetails.addressline2=null!=this.pdDetails.addressline3)?this.pdDetails.addressline1+","+this.pdDetails.addressline2+","+this.pdDetails.addressline3:this.pdDetails.addressline1+", - , -",this.getdropdownlist(),this.pdQuestionAddress=this.fb.group({address:[this.address],address_type:[null],address_type_others:[null],locality:[null],locality_others:[null],pd_location:[null],comment_locality:[null],other_comment_locality:[null],address_form_remark:[null],address_ownership:[null],other_ownership:[null],rent_amt:[null],other_premises_bussiness_activity:[null],bussiness_activity_remark:[null],bussiness_activity:[null],bussiness_address_type:[null],bussiness_address_type_others:[null],business_years:[null],business_month:[null],additional_address_units:this.fb.array([])}),this.getaddressForm()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAddressPage")},l.prototype.ionViewWillLeave=function(){},l.prototype.getdropdownlist=function(){var l=this;this.qustCat.getcommondrop("ADDRESSTYPE").subscribe(function(n){1==n.dataStatus&&(l.addressTypes=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("PDLOCATIONAPPROACH").subscribe(function(n){l.pdlocation=n,1==l.pdlocation.dataStatus&&(l.pdlocation=l.pdlocation.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("COMMENTSONLOCALITY").subscribe(function(n){l.cmtlocality=n,1==l.cmtlocality.dataStatus&&(l.cmtlocality=l.cmtlocality.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("LOCALITY").subscribe(function(n){1==n.dataStatus&&(l.locality=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("RESIDENCEOWNERSHIP").subscribe(function(n){1==n.dataStatus&&(l.residence=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("CITY").subscribe(function(n){1==n.dataStatus&&(l.CITY=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.createUnits=function(l){return this.fb.group(null==l?{no_of_additional_units:[""],premises_type:[""],premises_type_others:[""],premises_city:[""],premises_remarks:[""]}:{no_of_additional_units:[l.no_of_additional_units],premises_type:[l.premises_type],premises_type_others:[l.premises_type_others],premises_city:[l.premises_city],premises_remarks:[l.premises_remarks]})},l.prototype.addUnits=function(){this.items=this.pdQuestionAddress.get("additional_address_units"),this.items.push(this.createUnits(null))},l.prototype.removeUnits=function(l){this.items.removeAt(l)},l.prototype.ConvertMonthintoYear=function(l){var n=l%12,e=l/12;this.pdQuestionAddress.controls.business_years.setValue(+this.pdQuestionAddress.controls.business_years.value+ +Math.floor(e)),this.pdQuestionAddress.controls.business_month.setValue(Math.floor(n))},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n){console.log(l),this.premisesRentAmtInwords[n]=this.constant.convertNumberToWords(l.target.value)},l.prototype.inWordsForRent=function(l){this.rentAmtInwords=this.constant.convertNumberToWords(l.target.value)},l.prototype.selectedAddressType=function(l){this.placeholderName="Was any business activity seen at the "+l+" during PD visit?"},l.prototype.savepdQuestion=function(l){var n=this;console.log(l);var e={};e.address=l.address,null!=l.address_type_others&&(e.address_type_others=l.address_type_others),e.address_type=l.address_type,e.locality=l.locality,e.locality_others=7==l.locality?l.locality_others:null,e.pd_location=l.pd_location,e.comment_locality=l.comment_locality,e.other_comment_locality=l.other_comment_locality,e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.address_form_remark=l.address_form_remark,e.address_ownership=l.address_ownership,e.other_ownership=l.other_ownership,e.rent_amt=l.rent_amt,e.other_premises_bussiness_activity=l.other_premises_bussiness_activity,e.bussiness_activity=l.bussiness_activity,e.bussiness_activity_remark=l.bussiness_activity_remark,e.business_years=l.business_years,e.business_month=l.business_month,console.log("Additional Units",this.pdQuestionAddress.controls.additional_address_units.value),console.log("item",this.items),e.additional_address_units=l.additional_address_units,this.qustCat.saveForm(e).subscribe(function(l){n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!")})},l.prototype.getaddressForm=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(l.getaddressDetails=n,1==l.getaddressDetails.dataStatus){if(l.getaddressDetails=l.getaddressDetails.records,null!=l.getaddressDetails.additional_address_units)Object.keys(n.records.additional_address_units).map(function(l){});l.pdQuestionAddress.get("additional_address_units");l.pdQuestionAddress.controls.address.setValue(l.getaddressDetails.address),l.pdQuestionAddress.controls.pd_location.setValue(l.getaddressDetails.pd_location),l.pdQuestionAddress.controls.address_type.setValue(l.getaddressDetails.address_type);var e=l.addressTypes.filter(function(n){return n.address_type_id==l.getaddressDetails.address_type});l.selectedAddressType(e),null!=l.getaddressDetails.address_type&&(l.pdQuestionAddress.controls.address_type_others.setValue(l.getaddressDetails.address_type_others),l.selectedAddressType(l.getaddressDetails.address_type_others)),l.pdQuestionAddress.controls.comment_locality.setValue(l.getaddressDetails.comment_locality),null!=l.getaddressDetails.comment_locality&&l.pdQuestionAddress.controls.other_comment_locality.setValue(l.getaddressDetails.other_comment_locality),l.pdQuestionAddress.controls.locality.setValue(l.getaddressDetails.locality),null!=l.getaddressDetails.locality&&l.pdQuestionAddress.controls.locality_others.setValue(l.getaddressDetails.locality_others),l.pdQuestionAddress.controls.address_form_remark.setValue(l.getaddressDetails.address_form_remark),l.pdQuestionAddress.controls.address_ownership.setValue(l.getaddressDetails.address_ownership),l.pdQuestionAddress.controls.other_ownership.setValue(l.getaddressDetails.other_ownership),l.pdQuestionAddress.controls.rent_amt.setValue(l.getaddressDetails.rent_amt),null!=l.getaddressDetails.rent_amt&&(l.rentAmtInwords=l.constant.convertNumberToWords(l.getaddressDetails.rent_amt)),l.pdQuestionAddress.controls.other_premises_bussiness_activity.setValue(l.getaddressDetails.other_premises_bussiness_activity),l.pdQuestionAddress.controls.bussiness_activity_remark.setValue(null!=l.getaddressDetails.other_premises_bussiness_activity?l.getaddressDetails.other_premises_bussiness_activity:""),l.pdQuestionAddress.controls.bussiness_activity.setValue(l.getaddressDetails.bussiness_activity),l.pdQuestionAddress.controls.business_years.setValue(l.getaddressDetails.business_years),l.pdQuestionAddress.controls.business_month.setValue(l.getaddressDetails.business_month),console.log(l.getaddressDetails.additional_address_units),console.log("1",l.getaddressDetails.additional_address_units)}})},l=sp([Object(xm.k)({selector:"page-pd-question-address",templateUrl:"pd-question-address.html"}),cp("design:paramtypes",[Sm.r,Sm.s,Km.g,Zm,$m,ip,Sm.a,Em])],l)}(),pp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},fp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},hp=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.fb=e,this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.empInfo=this.fb.group({nameOfEmp:[null],yearWithEmp:[null],empMet:[null],designationOfEmp:[null],salaryConfirm:[null],actualSalary:[null],attRegisterSeen:[null],salaryRegisterSeen:[null]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionEmpInfoPage")},l=pp([Object(xm.k)({selector:"page-pd-question-emp-info",templateUrl:"pd-question-emp-info.html"}),fp("design:paramtypes",[Sm.r,Sm.s,Km.g])],l)}(),gp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},bp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},vp=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.toast=a,this.aws=t,this.constant=i,this.applicants=[],this.placeholderName=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.amtInwords=[],this.emiAmtInwords=[],this.dataFromAssets=[],this.labelArr=[],this.investmentTypeData=[],this.applicants=[],this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details,this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.getdropdown(),console.log(this.applicants),this.users=this.aws.getlocale(),this.currentLoans=this.fb.group({existing_loan:[null],currentloan_remarks:[null],loan_details:this.fb.array([])})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionCurrentLoansPage"),this.getcurrentLoans()},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.lenderData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){l.frequencyData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("EXISTINGLOANTYPES").subscribe(function(n){l.loanTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){console.log("Entering company List"),1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}),console.log("company List",n.records));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}),console.log("Company applicant",l.mergeCompanyApplicant))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}),console.log(this.mergeCompanyApplicant)),this.qustCat.getcommondrop("INVESTMENTTYPE").subscribe(function(n){l.investmentTypeData=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.exitsCheck=function(l){console.log(l),"Yes"==l&&this.addLoanDetails()},l.prototype.createLoanDetail=function(l){return this.fb.group({label:null==l?[""]:[l.label],other_frequency:[""],loan_amount:[""],frequency:[""],emi:[""],loan_type:[""],others_loan_type:[""],loan_taken_by:[""],others_loan_taken:[""],lender:[""],others_lender:[""],original_tenure:[""],current_balance_tenure:[""],elapsed_tenure:[]})},l.prototype.addLoanDetails=function(){this.currentLoans.controls.loan_details.push(this.createLoanDetail(null))},l.prototype.deleteLoanDetails=function(l){var n=this.currentLoans.controls.loan_details;1==n.length?this.currentLoans.controls.loan_details.reset():n.removeAt(l)},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){return null!=l&&0==l.id},l.prototype.checkTenure=function(l){l.controls.current_balance_tenure.setValidators([Km.y.required,Km.y.max(+l.value.original_tenure)]),l.controls.current_balance_tenure.updateValueAndValidity()},l.prototype.calculateTenure=function(l){null!=l.value.original_tenure&&""!=l.value.original_tenure&&null!=l.value.current_balance_tenure&&""!=l.value.current_balance_tenure&&l.controls.elapsed_tenure.setValue(l.value.original_tenure-l.value.current_balance_tenure)},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.constant.convertNumberToWords(l.target.value);break;case 2:this.emiAmtInwords[n]=this.constant.convertNumberToWords(l.target.value)}},l.prototype.selectedfrequency=function(l,n){switch(+l){case 1:this.placeholderName[n]="Instalment Amount";break;case 2:this.placeholderName[n]="Annual Instalment Amount";break;case 3:this.placeholderName[n]="Halfyearly Instalment Amount";break;case 4:this.placeholderName[n]="Fortnightly Instalment Amount";break;case 5:this.placeholderName[n]="Daily Instalment Amount";break;case 6:this.placeholderName[n]="Quarterly Instalment Amount";break;case 7:this.placeholderName[n]="Monthly Instalment Amount";break;default:this.placeholderName[n]="Instalment Amount"}},l.prototype.submitCurrentloan=function(l){var n=this;console.log(l);var e={};e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.existing_loan=l.existing_loan,e.loan_details=l.loan_details,e.currentloan_remarks=l.currentloan_remarks,console.log("data",e),this.qustCat.saveForm(e).subscribe(function(l){console.log("data",l),1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.navCtrl.pop())})},l.prototype.getcurrentLoans=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){var e=l.currentLoans.controls.loan_details;if(1==n.dataStatus){var u=n.records;if(console.log("res",n.records),void 0!==n.records.loan_details&&null!=n.records.loan_details&&""!=n.records.loan_details){var a=Object.keys(n.records.loan_details).map(function(l){return console.log("Function result",n.records.loan_details[l]),n.records.loan_details[l]});l.currentLoans.controls.existing_loan.setValue(u.existing_loan),l.currentLoans.controls.currentloan_remarks.setValue(u.currentloan_remarks);var t=l.currentLoans.controls.loan_details;"No"!=u.existing_loan&&(0==a.length?t.push(l.createLoanDetail(null)):(a.forEach(function(n,e){console.log("Datas",n),t.push(l.createLoanDetail(null)),l.selectedfrequency(n.frequency,e),""!=n.loan_amount&&(l.amtInwords[e]=l.constant.convertNumberToWords(n.loan_amount)),""!=n.emi&&(l.emiAmtInwords[e]=l.constant.convertNumberToWords(n.emi))}),l.currentLoans.controls.loan_details.setValue(a)))}else l.currentLoans.controls.existing_loan.setValue(u.existing_loan),l.currentLoans.controls.currentloan_remarks.setValue(u.currentloan_remarks)}else l.qustCat.getAssetsWithLoanFromBusiness(l.pdid).subscribe(function(n){if(1==n.dataStatus){var u=n.record;if(u.business_assets.length>0&&u.business_assets.map(function(n){l.dataFromAssets.push({mode:n.business_assets_mode,mode_name:n.business_assets_mode_name,details:n.business_details,owner_name:n.business_name_of_the_owner})}),u.other_assests.length>0)if(u.other_assests.map(function(n){l.dataFromAssets.push({mode:n.assets_mode,mode_name:n.assets_mode_name,details:n.details,owner_name:n.name_of_the_owner})}),l.dataFromAssets.length>0){var a=[];l.dataFromAssets.forEach(function(n,e){if(1==n.mode){var u;n.details.forEach(function(l,n){u=l.any_other_assets});a[e]=" : "+n.owner_name+" - "+n.mode_name+(""!=u?"( "+u+" )":"")}if(2==n.mode){var t;n.details.forEach(function(l,n){t=l.property_type_name});a[e]=" : "+n.owner_name+" - "+n.mode_name+(""!=t?"( "+t+" )":"")}if(3==n.mode){var i;n.details.forEach(function(l,n){i=l.manufacturer_model_vehicle});a[e]=" : "+n.owner_name+" - "+n.mode_name+(""!=i?"( "+i+" )":"")}if(4==n.mode){var o;n.details.forEach(function(l,n){o=l.equipment_manufacturing_description});a[e]=" : "+n.owner_name+" - "+n.mode_name+(""!=o?"( "+o+" )":"")}if(6==n.mode&&(a[e]=" : "+n.owner_name+" - "+n.mode_name),7==n.mode){var r;n.details.forEach(function(n,e){r=1!=n.investments_type?l.investmentTypeData.filter(function(l){return l.id==n.investments_type})[0].name:n.other_investments_type});a[e]=" : "+n.owner_name+" - "+n.mode_name+(""!=r?"( "+r+" )":"")}});var t=l.currentLoans.controls.loan_details;l.labelArr=a;l.labelArr.length>0&&(l.currentLoans.controls.existing_loan.setValue("Yes"),l.labelArr.forEach(function(n,e){t.push(l.createLoanDetail({label:n,loan_amount:"",frequency:"",other_frequency:"",emi:"",loan_type:"",others_loan_type:"",loan_taken_by:"",others_loan_taken:"",lender:"",others_lender:"",original_tenure:"",current_balance_tenure:"",elapsed_tenure:""}))}))}else e.push(l.createLoanDetail(null))}})})},l=gp([Object(xm.k)({selector:"page-pd-question-current-loans",templateUrl:"pd-question-current-loans.html"}),bp("design:paramtypes",[Sm.r,Sm.s,Km.g,Zm,ip,$m,Em])],l)}(),yp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Cp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},wp=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=a,this.toast=t,this.constant=i,this.enduse=[],this.mortageAccess=!1,this.ownerNames=[],this.isOtherPurpose=!1,this.endUserList=[],this.mergeCompanyApplicant=[],this.m_endUseOFTopUpList=[],this.isContribution=!1,this.isOtherSource=!1,this.isPLSource=!1,this.sourceList=[],this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),console.log(this.pdDetails),this.applicants=this.pdDetails.applicat_details,this.productAbbr=this.pdDetails.product_abbr,this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.getDropdown(),this.loanDetailsForm=this.fb.group({loan_amount:[this.pdDetails.loan_amount],end_use:["",Km.y.compose([Km.y.required])],end_use_other:[""],is_transfer:["",Km.y.compose([Km.y.required])],balance_transfer_amount:[""],topup_amount:[""],end_use_topup:[""],other_end_use_topup:[""],lender:[""],other_bt_lender:[""],own_contribution:["",Km.y.compose([Km.y.required])],source:[""],other_source:[""],emi_level:["",Km.y.compose([Km.y.required])],property_type:["",Km.y.compose([Km.y.required])],property_type_others:[""],owner_name:["",Km.y.compose([Km.y.required])],construction_status:["",Km.y.compose([Km.y.required])],emv_per_customer:["",Km.y.compose([Km.y.required])],loandetails_remarks:["",Km.y.compose([Km.y.required])]}),console.log(75,this.pdDetails.product_abbr),this.mortagetypeAccess="BL"!=this.pdDetails.product_abbr||"PL"!=this.pdDetails.product_abbr||"LL"!=this.pdDetails.product_abbr,console.log(this.mortagetypeAccess),"PL"!=this.productAbbr&&"BL"!=this.productAbbr&&"LAP"!=this.productAbbr||(this.isContribution=!0)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionLoansPage"),this.getLoanDetails()},l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getEndUseForLoan(this.pdid).subscribe(function(n){l.m_endUseForLoan=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("STATUSOFCONSTRUCTION").subscribe(function(n){l.m_statusofCunstruction=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("MORTAGEPROPERTIES").subscribe(function(n){if(1==n.dataStatus){var e=l;l.m_mortageTypeProperty=n.records.filter(function(l){return"LAP"!=e.pdDetails.product_abbr&&l.group_name==e.pdDetails.product_abbr&&1==l.isactive?l:"LAP"==e.pdDetails.product_abbr&&l.sub_group_name==e.pdDetails.subproduct_name?l:void 0}),console.log(l.m_mortageTypeProperty)}}),this.qustCat.getcommondrop("SOURCEOFBALANCETRANSFER").subscribe(function(n){l.m_sourceofamount=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("SUBPRODUCTS").subscribe(function(n){if(1==n.dataStatus){var e=l;l.m_endUseofLoad=n.records.filter(function(l){if(e.pdDetails.fk_product_id==l.fk_product_id&&1==l.isactive)return l}),l.endUserChange(l.enduse)}}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){console.log("Entering company List"),1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}),console.log("company List",n.records));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}),"LAP"!=this.productAbbr&&this.mergeCompanyApplicant.push({groupName:"OTHERS",groupValues:[{id:0,name:"Not Yet Finalised",group_id:2}]})),this.qustCat.getcommondrop("ENDUSEOFTOPUP").subscribe(function(n){l.m_endUseOFTopUpList=n.records.filter(function(l){return 1==l.is_active})}),console.log("complete")},l.prototype.selectedBalancesTransferChanges=function(l){"no"==l.value?(this.loanDetailsForm.controls.is_topup.clearValidators(),this.loanDetailsForm.controls.is_topup.updateValueAndValidity()):"yes"==l.value&&(this.loanDetailsForm.controls.is_topup.setValidators([Km.y.required]),this.loanDetailsForm.controls.is_topup.updateValueAndValidity())},l.prototype.mortage_type=function(l){console.log(l);var n=this.m_mortageTypeProperty.filter(function(n){return n.mortage_property_id==l})[0];console.log(n);this.mortageAccess="Others (Please Specify)"==n.property_name},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.loanCalc=function(){var l,n=this.loanDetailsForm.value.balance_transfer_amount,e=this.loanDetailsForm.value.loan_amount;null!=n&&""!=n&&null!=e&&""!=e&&(l=e-n),this.loanDetailsForm.controls.topup_amount.setValue(l)},l.prototype.endUserChange=function(l){var n=this;console.log("change",this.m_endUseForLoan),l.forEach(function(l){var e=n.m_endUseForLoan.filter(function(n){return n.enduse_of_loan_id==l})[0];e=e.enduse_of_loan.substr(0,6).toLowerCase(),n.endUserList.push({end_use:l}),console.log(201,e),n.isOtherPurpose="others"==e}),console.log(this.endUserList)},l.prototype.ownerNameChange=function(l){var n=this;this.ownerNames=[],l.value.forEach(function(l){n.ownerNames.push({owner_name:l})})},l.prototype.sourceChange=function(l){var n=this;this.isOtherSource=l.some(function(l){return 1==l}),this.isPLSource=l.some(function(l){return 3==l}),this.sourceList=[],l.forEach(function(l){n.sourceList.push({source:l})})},l.prototype.inWords=function(l,n){switch(n){case 1:this.loanAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 2:this.balTxrfAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 3:this.valAsPerAgmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 4:this.ownContributionInWords=this.constant.convertNumberToWords(l.target.value);break;case 5:this.topUpAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 6:this.emiAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 7:this.emvAmtInWords=this.constant.convertNumberToWords(l.target.value)}},l.prototype.submitLoanDetails=function(){var l=this,n={};n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.fk_createdby=this.users,n.loan_amount=this.loanDetailsForm.controls.loan_amount.value;var e=[];if(this.loanDetailsForm.controls.end_use.value.forEach(function(l){e.push({end_use:l})}),n.end_use_group=e,this.isOtherPurpose&&(n.end_use_other=this.loanDetailsForm.controls.end_use_other.value),n.is_transfer=this.loanDetailsForm.controls.is_transfer.value,"yes"==this.loanDetailsForm.controls.is_transfer.value)n.balance_transfer_amount=this.loanDetailsForm.controls.balance_transfer_amount.value;else if("no"==this.loanDetailsForm.controls.is_transfer.value){n.own_contribution=this.loanDetailsForm.controls.own_contribution.value;var u=[];""!=this.loanDetailsForm.controls.source.value&&this.loanDetailsForm.controls.source.value.forEach(function(l){u.push({sources:l})}),n.source_group=u}if(n.topup_amount=this.loanDetailsForm.controls.topup_amount.value,n.topup_amount>0&&(n.end_use_topup=this.loanDetailsForm.controls.end_use_topup.value,1==n.end_use_topup&&(n.other_end_use_topup=this.loanDetailsForm.controls.other_end_use_topup.value)),"yes"==this.loanDetailsForm.controls.is_transfer.value&&(n.lender=this.loanDetailsForm.controls.lender.value),1==this.loanDetailsForm.controls.lender.value&&(n.other_bt_lender=this.loanDetailsForm.controls.other_bt_lender.value),n.other_source=this.isOtherSource?this.loanDetailsForm.controls.other_source.value:"",n.emi_level=this.loanDetailsForm.controls.emi_level.value,1==this.mortageCardAccess){if(n.property_type=this.loanDetailsForm.controls.property_type.value,""!=this.loanDetailsForm.value.property_type_others&&null!=this.loanDetailsForm.value.property_type_others&&(n.property_type_others=this.loanDetailsForm.controls.property_type_others.value),""!=this.loanDetailsForm.controls.owner_name.value){var a=[];this.loanDetailsForm.controls.owner_name.value.forEach(function(l){a.push({owner_name:l})}),n.owner_name_group=a}n.owner_name_group="",n.construction_status=this.loanDetailsForm.controls.construction_status.value}else n.property_type=null,n.property_type_others=null,n.owner_name_group=null,n.construction_status=null,n.emv_per_customer=null;n.emv_per_customer=this.loanDetailsForm.controls.emv_per_customer.value,n.loandetails_remarks=this.loanDetailsForm.controls.loandetails_remarks.value,console.log("data",n),this.qustCat.saveForm(n).subscribe(function(n){console.log("data",n),l.navCtrl.pop(),l.toast.pdTriggerappmessage("Record Saved Successfully.!")})},l.prototype.getLoanDetails=function(){var l=this;console.log("Entering LoanDetails GEt");this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(console.log("value",n),1==n.dataStatus){var e=n.records;Object.keys(e.end_use_group).map(function(l){return e.end_use_group[l]}).forEach(function(n){l.enduse.push(n.end_use)});var u=[];if(null!=e.owner_name_group){Object.keys(e.owner_name_group).map(function(l){return e.owner_name_group[l]}).forEach(function(n){u.push(n.owner_name),l.ownerNames.push({end_use:n.end_use})})}if(console.log("ownername",e),l.loanDetailsForm.controls.loan_amount.setValue(e.loan_amount),e.loan_amount&&(l.loanAmtInWords=l.constant.convertNumberToWords(e.loan_amount)),l.loanDetailsForm.controls.end_use.setValue(l.enduse),l.endUserChange(l.enduse),""!=e.end_use_other&&l.loanDetailsForm.controls.end_use_other.setValue(e.end_use_other),l.loanDetailsForm.controls.is_transfer.setValue(e.is_transfer),e.balance_transfer_amount&&(l.loanDetailsForm.controls.balance_transfer_amount.setValue(e.balance_transfer_amount),l.balTxrfAmtInWords=l.constant.convertNumberToWords(e.balance_transfer_amount)),e.topup_amount&&(l.loanDetailsForm.controls.topup_amount.setValue(e.topup_amount),l.topUpAmtInWords=l.constant.convertNumberToWords(e.topup_amount),e.topup_amount>0&&(l.loanDetailsForm.controls.end_use_topup.setValue(e.end_use_topup),1==e.end_use_topup&&l.loanDetailsForm.controls.other_end_use_topup.setValue(e.other_end_use_topup))),e.balance_transfer_amount&&l.loanDetailsForm.controls.balance_transfer_amount.setValue(e.balance_transfer_amount),e.topup_amount&&l.loanDetailsForm.controls.topup_amount.setValue(e.topup_amount),e.lender&&l.loanDetailsForm.controls.lender.setValue(e.lender),l.loanDetailsForm.controls.own_contribution.setValue(e.own_contribution),e.own_contribution&&(l.ownContributionInWords=l.constant.convertNumberToWords(e.own_contribution)),"yes"!=e.is_transfer){var a=[];Object.keys(e.source_group).map(function(l){return e.source_group[l]}).forEach(function(l){a.push(l.sources)}),l.loanDetailsForm.controls.source.setValue(a),l.sourceChange(a),e.other_source&&l.loanDetailsForm.controls.other_source.setValue(e.other_source)}e.emi_level&&(l.loanDetailsForm.controls.emi_level.setValue(e.emi_level),l.emiAmtInWords=l.constant.convertNumberToWords(e.emi_level)),l.loanDetailsForm.controls.other_bt_lender.setValue(e.other_bt_lender),l.loanDetailsForm.controls.property_type.setValue(e.property_type),l.propertyType=e.property_type,null!=e.property_type_others&&(l.mortage_type(l.propertyType),console.log("mortageCardAccess",l.mortageCardAccess),1==l.mortageCardAccess&&l.loanDetailsForm.controls.property_type_others.setValue(e.property_type_others),l.loanDetailsForm.controls.owner_name.setValue(u),l.loanDetailsForm.controls.construction_status.setValue(e.construction_status),l.loanDetailsForm.controls.emv_per_customer.setValue(e.emv_per_customer),e.emv_per_customer&&(l.emvAmtInWords=l.constant.convertNumberToWords(e.emv_per_customer))),l.loanDetailsForm.controls.loandetails_remarks.setValue(e.loandetails_remarks)}}),"BL"==this.productAbbr||"PL"==this.productAbbr||"LL"==this.productAbbr?(this.mortageCardAccess=!1,this.loanDetailsForm.controls.owner_name.setValue(""),this.loanDetailsForm.controls.owner_name.clearValidators(),this.loanDetailsForm.controls.owner_name.updateValueAndValidity()):(this.mortageCardAccess=!0,this.loanDetailsForm.controls.owner_name.setValidators([Km.y.required]),this.loanDetailsForm.controls.owner_name.updateValueAndValidity())},l=yp([Object(xm.k)({selector:"page-pd-question-loans",templateUrl:"pd-question-loans.html"}),Cp("design:paramtypes",[Sm.r,Sm.s,Km.g,Zm,$m,ip,Em])],l)}(),Fp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},xp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Sp=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=a,this.toast=t,this.cons=i,this.existCompanyList=[],this.mergeCompanyApplicant=[],this.limitCaseFlag=[],this.amtInwords=[],this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 0==l.applicant_type||1==l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),console.log(this.pdDetails),this.users=this.aws.getlocale(),this.bankDetails=this.fb.group({bankitems:this.fb.array([]),banking_form_remark:[null]}),this.salaryField="SE"!=this.pdDetails.customer_segment_abbr.substring(0,2),this.getdropdown(),this.retiveBankDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBankingPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("ACCOUNTTYPE").subscribe(function(n){1==n.dataStatus&&(l.accountType=n.records)}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){1==n.dataStatus&&(l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){console.log("Entering company List"),1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}),console.log("company List",n.records))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}),console.log(this.mergeCompanyApplicant))},l.prototype.selectedAccTypeChanges=function(l,n){this.limitCaseFlag[n]=2!=l&&1!=l},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.ConvertMonthintoYear=function(l,n){var e=n%12,u=n/12;l.controls.vintage_year.setValue(+l.controls.vintage_year.value+ +Math.floor(u)),l.controls.vintage_month.setValue(Math.floor(e))},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){return null!=l&&0==l.id},l.prototype.createBankItem=function(l){return this.fb.group({applicant_name:[""],bank_name:[""],account_type:[""],salary:(this.pdDetails.customer_segment_abbr.substring(0,2),[""]),limit:[""],other_bank:[""],other_applicant:[""],vintage_year:[""],vintage_month:[""]})},l.prototype.addBankDetails=function(){this.bankitems=this.bankDetails.get("bankitems"),this.bankitems.push(this.createBankItem(""))},l.prototype.addmoreBankDetils=function(){this.bankitems=this.bankDetails.get("bankitems"),this.bankitems.push(this.createBankItem(""))},l.prototype.removebank=function(l){1==this.bankitems.length?this.bankitems.reset():this.bankitems.removeAt(l)},l.prototype.savepdBank=function(l){var n=this,e={};e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.banking_details=l.bankitems,e.banking_form_remark=l.banking_form_remark,console.log("data",e),this.qustCat.saveForm(e).subscribe(function(l){console.log("data",l),1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.navCtrl.pop())})},l.prototype.retiveBankDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=Object.keys(n.records.banking_details).map(function(l){return n.records.banking_details[l]});l.bankDetails.controls.banking_form_remark.setValue(n.records.banking_form_remark),l.bankitems=l.bankDetails.get("bankitems"),0==e.length?(console.log("Data=0"),l.bankitems.push(l.createBankItem(""))):(console.log("Data>0"),e.forEach(function(n,e){l.selectedAccTypeChanges(+n.account_type,e),""!=n.limit&&(l.amtInwords[e]=l.cons.convertNumberToWords(+n.limit)),l.bankitems.push(l.createBankItem(""))}),l.bankDetails.controls.bankitems.setValue(e))}else console.log("Data False"),l.addBankDetails()})},l=Fp([Object(xm.k)({selector:"page-pd-question-banking",templateUrl:"pd-question-banking.html"}),xp("design:paramtypes",[Sm.r,Sm.s,Km.g,$m,Zm,ip,Em])],l)}(),Ip=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},qp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},kp=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=a,this.toast=t,this.cons=i,this.earningStatus=[{type:"Earning",id:1},{type:"Non Earning",id:2}],this.cityData=[],this.pincodeData=[],this.FamilyMemberAsLabel=[],this.selectPerson=[],this.apiFamilyMembers=[],this.isReadOnly=[],this.RentAmount=[],this.IncomePerMonth=[],this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.selected_person=this.pdDetails.pdapplicants_details,this.selectPerson=this.pdDetails.applicat_details,console.log("applicant details",this.selected_person),console.log("Pd Applicant",this.pdDetails),this.users=this.aws.getlocale(),this.familyForm=this.fb.group({family_details:this.fb.array([]),family_details_form_remark:[""]}),this.getRelation(),this.getoccupation()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFamilyPage"),this.getFamilyData()},l.prototype.initFamilyDetails=function(l){var n=this;if(null===l){var e=this.fb.group({selected_person:["",Km.y.compose([Km.y.required])],residence_place:["",Km.y.compose([])],residence_city:["",Km.y.compose([])],residence_state:["",Km.y.compose([])],residence_pin:["",Km.y.compose([])],residence_No_of_years:["",Km.y.compose([])],residence_ownership:["",Km.y.compose([])],ownershipOther:[""],rent:[""],total_number_of_family_members:["",Km.y.compose([Km.y.min(1),Km.y.max(20)])],family_members_details:this.fb.array([])});this.familyForm.controls.family_details.push(e)}else l.forEach(function(l,e){null!=l.rent&&(n.RentAmount[e]=n.cons.convertNumberToWords(l.rent)),n.FamilyMemberAsLabel[e]=n.selectPerson.filter(function(n){return n.pd_co_applicant_id==l.selected_person})[0].applicant_name,n.getCity(l.residence_state,e);var u=n.fb.group({selected_person:[l.selected_person],residence_place:[l.residence_place],residence_city:[l.residence_city],residence_state:[l.residence_state],residence_pin:[l.residence_pin],residence_No_of_years:[l.residence_No_of_years,Km.y.compose([])],residence_ownership:[l.residence_ownership],rent:[l.rent||null],ownershipOther:[l.ownershipOther||null],total_number_of_family_members:[l.total_number_of_family_members,Km.y.compose([Km.y.min(1),Km.y.max(20)])],family_members_details:n.fb.array([])}),a=n.familyForm.controls.family_details;a.push(u);n.initFamilyMembersDetails(a.length-1,l.family_members_details),console.log(a)})},l.prototype.initFamilyMembersDetails=function(l,n){var e=this,u=this.familyForm.controls.family_details.controls[l].controls.family_members_details;n.forEach(function(l,n){null!=l.earning_gross_income_per_month&&(e.IncomePerMonth[n]=e.cons.convertNumberToWords(l.earning_gross_income_per_month));var a=e.fb.group({family_member_name:[l.family_member_name||null,Km.y.compose([])],family_member_relationship:[l.family_member_relationship||null,Km.y.compose([])],family_member_age:[l.family_member_age||null,Km.y.compose([])],family_member_earning_status:[l.family_member_earning_status||null,Km.y.compose([])],earning_segment:[l.earning_segment||null,Km.y.compose([])],earning_if_others_segment:[l.earning_if_others_segment||null,Km.y.compose([])],earning_gross_income_per_month:[l.earning_gross_income_per_month||null,Km.y.compose([])],earning_name_of_the_employer_or_business:[l.earning_name_of_the_employer_or_business||null,Km.y.compose([])],earning_number_of_years_in_employment_or_business:[l.earning_number_of_years_in_employment_or_business||null,Km.y.compose([])],non_earning_occupation:[l.non_earning_occupation||null,Km.y.compose([])],non_earning_if_others:[l.non_earning_if_others||null,Km.y.compose([])],non_earning_if_schoolorcollege:[l.non_earning_if_schoolorcollege||null,Km.y.compose([])],non_earning_if_retired_from:[l.non_earning_if_retired_from||null,Km.y.compose([])]});u.push(a)})},l.prototype.add=function(){this.initFamilyDetails(null),this.toast.pdTriggerappmessage("Family Details Added")},l.prototype.remove_family_details=function(l){this.familyForm.controls.family_details.removeAt(l)},l.prototype.addMemberDet=function(l){this.familyForm.controls.family_details.controls[l].controls.family_members_details.push(this.generateFamilyMembersDetailsGet())},l.prototype.removeMemberDet=function(l,n){var e=this.familyForm.controls.family_details.controls[n].controls.family_members_details;console.log("length",e),e.length>1?e.removeAt(l):e.reset()},l.prototype.getNumberOfFamilyMemberDetails=function(l){var n=this.familyForm.controls.family_details.controls[l].controls;if(n.total_number_of_family_members.valid){var e=n.total_number_of_family_members.value;console.log("Tot num",e);var u=this.familyForm.controls.family_details.controls[l].controls.family_members_details;if(console.log("Form Fields",u.length),e>=u.length)for(var a=e-u.length,t=0;t=e;t--)u.removeAt(t)}}else{(u=this.familyForm.controls.family_details.controls[l].controls.family_members_details).removeAt(u.length),u.controls=[]}},l.prototype.generateFamilyMembersDetailsGet=function(){return this.fb.group({family_member_name:["",Km.y.compose([])],family_member_relationship:["",Km.y.compose([])],family_member_age:["",Km.y.compose([])],family_member_earning_status:["",Km.y.compose([])],earning_segment:["",Km.y.compose([])],earning_if_others_segment:["",Km.y.compose([])],earning_gross_income_per_month:["",Km.y.compose([])],earning_name_of_the_employer_or_business:["",Km.y.compose([])],earning_number_of_years_in_employment_or_business:["",Km.y.compose([])],non_earning_occupation:["",Km.y.compose([])],non_earning_if_others:["",Km.y.compose([])],non_earning_if_schoolorcollege:["",Km.y.compose([])],non_earning_if_retired_from:["",Km.y.compose([])]})},l.prototype.getRelation=function(){var l=this;this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.relationData=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("PERSONSMET").subscribe(function(n){1==n.dataStatus&&(l.filteredStates=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("CUSTOMERSEGMENT").subscribe(function(n){1==n.dataStatus&&(l.cusSeg=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("RESIDENCEOWNERSHIP").subscribe(function(n){1==n.dataStatus&&(l.ownerShip=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("STATE").subscribe(function(n){1==n.dataStatus&&(l.stateData=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.getCity=function(l,n){var e=this;console.log("E value",l),this.qustCat.getStateWiseCities(l).subscribe(function(l){1==l.dataStatus&&(console.log(l.status),e.cityData[n]=l.records.cities,e.pincodeData[n]=l.records.pincode,console.log(e.cityData))})},l.prototype.getoccupation=function(){var l=this;this.qustCat.getcommondrop("OCCUPATIONMEMBERS").subscribe(function(n){1==n.dataStatus&&(l.occupationData=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.savepdfamily=function(l){var n=this,e={};e=this.familyForm.value,console.log("family details",e.family_details),Object.keys(e).forEach(function(l){return null==e[l]&&delete e[l]}),e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,this.qustCat.saveForm(e).subscribe(function(l){n.toast.pdTriggerappmessage("Record Saved Successfully"),n.navCtrl.pop()},function(l){console.log(l),n.toast.pdTriggerappmessage("Some Fields value is Missing Please Fill It")})},l.prototype.selectedPerson=function(l,n){var e=this;this.FamilyMemberAsLabel[n]=this.selectPerson.filter(function(n){return n.pd_co_applicant_id==l})[0].applicant_name;var u,a=this.familyForm.controls.family_details.controls[n].controls.family_members_details,t=a.length;if(this.apiFamilyMembers.length>0){var i=this.apiFamilyMembers.filter(function(n){return n.relation_to==l});if(i.length>0){u=i.length;for(var o=0;o0)for(var e=0,u=n;e0){var u=Object.keys(n.record.from_general_form).map(function(l){return n.record.from_general_form[l]}).map(function(l){return{id:l.pd_co_applicant_id.toString(),name:l.applicant_name,relationship:l.relationship,relation_to:l.relation_to,age:l.age,data_gets_from:"GeneralForm"}});e.push(u)}if(n.record.from_business_form.length>0){u=Object.keys(n.record.from_business_form).map(function(l){return n.record.from_business_form[l]}).map(function(l){return{id:l.other_family_relationship_id,name:l.family_member_name,relationship:l.other_family_relationship_id,relation_to:l.relation_to_id,age:"",data_gets_from:"BusinessForm"}});e.push(u)}l.apiFamilyMembers=[].concat.apply([],e)}});this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){console.log("datastatus",n.dataStatus),200==n.status?(console.log("getValue records",n.records.family_details),l.familyForm.controls.family_details_form_remark.setValue(n.records.family_details_form_remark),l.resValue=n,l.initFamilyDetails(n.records.family_details)):(console.log("no data"),l.initFamilyDetails(null))},function(l){console.log(l)})},l.prototype.inWords=function(l,n,e){switch(n){case 1:this.RentAmount[e]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.IncomePerMonth[e]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.initSetValue=function(l){for(var n=0,e=l;n=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Dp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Tp=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=a,this.toast=t,this.constprovider=i,this.m_any_asset_loan_type=[{value:"yes",viewValue:"Yes"},{value:"no",viewValue:"No"},{value:"nan",viewValue:"NA"}],this.FormList=!1,this.loadDetails=!0,this.appxMarketAmtInwords=[],this.OtherAppxMarketAmtInwords=[],this.emiAmtInwords=[],this.OtherEmiAmtInwords=[],this.PremiumPaidInwords=[],this.OtherPremiumPaidInwords=[],this.SumAssuredInwords=[],this.OtherSumAssuredInwords=[],this.AmtInvestInwords=[],this.AssetValueInwords=[],this.OtherAssetValueInwords=[],this.B_emiAmtInwords=[],this.O_emiAmtInwords=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.apiLoadFinish=!1,this.assestInfo="busass",this.FormId=this.navParams.get("FormId"),console.log(this.FormId),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.users=this.aws.getlocale(),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 0==l.applicant_type||1==l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.AssetsDetailsForm=this.fb.group({assets_details:this.fb.array([]),assets_form_remark:[""]}),this.getAssetDetails(),this.getdropList(),this.loadDetails=!0}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssestsPage")},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("ASSETTYPE").subscribe(function(n){1==n.dataStatus&&(l.m_assets_type=n.records.filter(function(l){return 1==l.isactive&&4!=l.id}))}),this.qustCat.getcommondrop("PROPERTIES").subscribe(function(n){1==n.dataStatus&&(l.m_propertyType=n.records)}),this.qustCat.getcommondrop("INVESTMENTTYPE").subscribe(function(n){1==n.dataStatus&&(l.m_investmentType=n.records)}),this.qustCat.getcommondrop("INSURANCETYPE").subscribe(function(n){1==n.dataStatus&&(l.m_insuranceType=n.records)}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records)}),this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.m_relation=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){console.log("Entering company List"),1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}),console.log("company List",n.records));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}),console.log("Company applicant",l.mergeCompanyApplicant));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u}),console.log("Applicants",l.mergeCompanyApplicant))})},l.prototype.createAsset=function(){return this.fb.group({assets_mode:[null],details:this.fb.array([]),approximate_market_value:[null],name_of_the_owner:[""],other_owner:[""],purchase_year:[null,Km.y.compose([Km.y.minLength(4),Km.y.maxLength(4)])],vintage_personal:[""],emi:[null]})},l.prototype.addAsset=function(l){1==l&&(this.assetItem=this.AssetsDetailsForm.get("assets_details"),this.assetItem.push(this.createAsset()))},l.prototype.deleteAsset=function(l,n){1==n&&(this.assetItem=this.AssetsDetailsForm.get("assets_details"),1==this.assetItem.length?this.AssetsDetailsForm.controls.assets_details.reset():this.assetItem.removeAt(l))},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.loanCalc=function(l,n){if(1==n){null!=l.value.original_loan_tenure&&""!=l.value.original_loan_tenure&&null!=l.value.balance_tenure&&""!=l.value.balance_tenure&&l.controls.elapsed_tenure.setValue(l.value.original_loan_tenure-l.value.balance_tenure)}},l.prototype.selectedAssetsType=function(l,n,e){console.log(l),console.log(n),console.log(e);var u=n;if(1==e){this.AssetsDetailsForm.controls.assets_details.at(u).get("details").controls.splice(0)}switch(l.value){case"1":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.otherAssetsDescription());break;case"2":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadProperty());break;case"3":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.load_Four_Weeler());break;case"4":this.AssetsDetailsForm.controls.assets_details.at(u).get("details");break;case"5":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadConsumerDurableDescription());break;case"6":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadInsuranceDescription());break;case"7":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadInvestDescription());break;case"8":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.otherAssetsDescription())}},l.prototype.loadProperty=function(){return this.fb.group({property_type:[""],other_property_type:[""]})},l.prototype.loadJwellDescription=function(){return this.fb.group({})},l.prototype.loadConsumerDurableDescription=function(){return this.fb.group({consumer_durable_description:[null]})},l.prototype.otherBusinessAssetsDescription=function(){return this.fb.group({any_other_assets:[""],any_other_asset_value:[""],any_other_asset_loan:[""]})},l.prototype.otherAssetsDescription=function(){return this.fb.group({any_other_assets:[""],any_other_asset_value:[""],any_other_asset_loan:[""]})},l.prototype.loadInsuranceDescription=function(){return this.fb.group({insurance_type:[null],premium_paid:[null],frequency_mode:[null],other_frequency_mode:[null],sum_assured:[null],members_coverd:[null]})},l.prototype.loadInvestDescription=function(){return this.fb.group({investments_type:[""],other_investments_type:[""],amount_of_invest:[""],bank_name:[""]})},l.prototype.load_Four_Weeler=function(){return this.fb.group({manufacturer_model_vehicle:[""]})},l.prototype.load_Two_Weeler=function(){return this.fb.group({manufacturer_model_two_weeler:[""]})},l.prototype.loadPropertyWithData=function(l){return this.fb.group({property_type:[l.property_type],other_property_type:[l.other_property_type]})},l.prototype.loadJwellDescriptionWithData=function(l){return this.fb.group({})},l.prototype.loadConsumerDurableDescriptionWithData=function(l){return this.fb.group({consumer_durable_description:[l.consumer_durable_description]})},l.prototype.otherAssetsDescriptionWithData=function(l){return this.fb.group({any_other_assets:[l.any_other_assets],any_other_asset_value:[l.any_other_asset_value],any_other_asset_loan:[l.any_other_asset_loan]})},l.prototype.otherBusinessAssetsDescriptionWithData=function(l){return this.fb.group({any_other_assets:[l.any_other_assets],any_other_asset_value:[l.any_other_asset_value],any_other_asset_loan:[l.any_other_asset_loan]})},l.prototype.loadInsuranceDescriptionWithData=function(l){return this.fb.group({premium_paid:[l.premium_paid],frequency_mode:[l.frequency_mode],other_frequency_mode:[l.other_frequency_mode],sum_assured:[l.sum_assured],members_coverd:[l.members_coverd]})},l.prototype.loadInvestDescriptionWithData=function(l){return this.fb.group({investments_type:[l.investments_type],other_investments_type:[l.other_investments_type],amount_of_invest:[l.amount_of_invest],bank_name:[l.bank_name]})},l.prototype.load_Four_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle]})},l.prototype.load_Two_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle]})},l.prototype.saveAssetDetails=function(l){var n=this;console.log(l),Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),l.pdid=this.pdDetails.pd_id,l.formid=this.FormId.form_id,l.fk_createdby=this.users,console.log("final",l),this.qustCat.saveForm(l).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.navCtrl.pop())})},l.prototype.getAssetDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=Object.keys(n.records.assets_details).map(function(l){return n.records.assets_details[l]});if(l.AssetsDetailsForm.controls.assets_form_remark.setValue(n.records.assets_form_remark),e.length>0)for(var u=0,a=e;u=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Lp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ap=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=a,this.toast=t,this.constant=i,this.incomeEarnedBy=[],this.amtInWords=[],this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,console.log("pdid",this.pdid),this.FormId=this.navParams.get("FormId"),this.getFrequency(),this.users=this.aws.getlocale(),this.otherIncomeForm=this.fb.group({other_income:[null],otherincome_remarks:[null],income_details:this.fb.array([])})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionOtherIncomePage"),this.getOtherIncome()},l.prototype.createDetail=function(){return this.fb.group({source:[""],others_source:[""],income_earned_by:[""],others_income_earned_by:[""],amount:[""],frequency:[""],others_frequency:[""]})},l.prototype.addIncomeDetails=function(){this.incomeDetails=this.otherIncomeForm.get("income_details"),this.incomeDetails.push(this.createDetail())},l.prototype.deleteIncomeDetails=function(l){this.incomeDetails=this.otherIncomeForm.get("income_details"),1==this.incomeDetails.length?this.otherIncomeForm.controls.income_details.reset():this.incomeDetails.removeAt(l)},l.prototype.checkotherDetails=function(l){if(console.log("Change",l),"Yes"==l&&this.addIncomeDetails(),"No"==l){this.otherIncomeForm.controls.income_details.removeAt(0)}},l.prototype.getFrequency=function(){var l=this;this.qustCat.getAllPersonsName(this.pdid).subscribe(function(n){1==n.dataStatus&&(console.log("income Earned by",n),l.incomeEarnedBy=n.record)});this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequencyData=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("SOURCEOFOTHERINCOME").subscribe(function(n){1==n.dataStatus&&(l.sourceIncome=n.records)})},l.prototype.inWords=function(l,n){this.amtInWords[n]=this.constant.convertNumberToWords(l.target.value)},l.prototype.submitOtherIncome=function(l){var n=this,e={};e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.other_income=l.other_income,e.income_details=l.income_details,e.otherincome_remarks=l.otherincome_remarks,console.log("data",e),this.qustCat.saveForm(e).subscribe(function(l){console.log("data",l),n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!")},function(l){})},l.prototype.getOtherIncome=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(l.incomeDetails=l.otherIncomeForm.get("income_details"),console.log(124,n),l.otherIncomeDetails=n,1==l.otherIncomeDetails.dataStatus)if(l.otherIncomeDetails=l.otherIncomeDetails.records,"Yes"==l.otherIncomeDetails.other_income){console.log("if");var e=Object.keys(n.records.income_details).map(function(l){return n.records.income_details[l]});console.log(l.otherIncomeDetails),l.otherIncomeForm.controls.other_income.setValue(l.otherIncomeDetails.other_income),l.otherIncomeForm.controls.otherincome_remarks.setValue(l.otherIncomeDetails.otherincome_remarks),0==e.length?l.incomeDetails.push(l.createDetail()):e.forEach(function(n,e){l.incomeDetails.push(l.createDetail()),l.amtInWords[e]=l.constant.convertNumberToWords(n.amount)}),l.otherIncomeForm.controls.income_details.setValue(e)}else console.log("else"),l.otherIncomeForm.controls.other_income.setValue(l.otherIncomeDetails.other_income),l.otherIncomeForm.controls.otherincome_remarks.setValue(l.otherIncomeDetails.otherincome_remarks);else l.incomeDetails.push(l.createDetail())})},l=Op([Object(xm.k)({selector:"page-pd-question-other-income",templateUrl:"pd-question-other-income.html"}),Lp("design:paramtypes",[Sm.r,Sm.s,Km.g,Zm,$m,ip,Em])],l)}(),Vp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},jp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Np=function(){function l(l,n,e,u,a,t){var i=this;this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=a,this.toast=t,this.business_manufacturingProducts=[],this.business_tradingProducts=[],this.m_titleList=[],this.m_paymentList=[],this.m_companyRelationShipList=[],this.noRecordsFound=!1,this.submitted=!1,this.errorMessage="",this.serviceProviderForm=!1,this.manufacturingForm=!1,this.tradingForm=!1,this.mfgCreditCardFlag=!1,this.trdCreditCardFlag=!1,this.mfgCounter=[],this.trdCounter=[],this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.form_id=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.users=this.aws.getlocale(),this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.company_id).subscribe(function(l){if(l.dataStatus){var n=l.records;i.initFormLoadDetails(n.type_of_activity),i.business_manufacturingProducts=n.type_of_activity.filter(function(l){if(2==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()});var e=Object.keys(n.type_of_activity).map(function(l){return n.type_of_activity[l]});e.length>0&&e.forEach(function(l){3==l.type_of_activity_id&&l.prodcuts&&i.business_tradingProducts.push(l.prodcuts),4==l.type_of_activity_id&&l.prodcuts&&i.business_tradingProducts.push(l.prodcuts)}),i.business_tradingProducts=[].concat.apply([],i.business_tradingProducts)}else i.toast.pdTriggerappmessage("No Category Records Found.!"),i.noRecordsFound=!1,i.errorMessage=l.msg},function(l){i.toast.pdTriggerappmessage("No Category Records Found.!"),i.noRecordsFound=!1,i.errorMessage="No Records Found , Something went Wrong!"}),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionSupplierInfoPage")},l.prototype.initFormLoadDetails=function(l){var n=this,e={};e.pd_id=this.pdDetails.pd_id,e.pd_form_id=this.form_id,e.company_id=this.company_id,this.qustCat.retiverForm(e).subscribe(function(e){if(1==e.dataStatus){var u=e.records;if(void 0!==u){n.supplierInfoForm=n.fb.group({pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});if(l.filter(function(l){return 2==l.type_of_activity_id}).length>0){n.initManufacturingProductsDetails(u.manufacturing_details[0].main_raw_materials),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(u.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit||null)}if(l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0){n.initTradingProductsDetails(u.trade_details[0].trading_products),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trade_details[0].trading_products_total_payments_percent_on_credit||null)}n.noRecordsFound=!0}else{n.supplierInfoForm=n.fb.group({pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trading_products_total_payments_percent_on_credit||null)),n.noRecordsFound=!0}l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.serviceProviderForm=!0)}else{n.supplierInfoForm=n.fb.group({pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),supplier_info_form_remark:[]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.serviceProviderForm=!0),n.noRecordsFound=!0}},function(l){})},l.prototype.manufacturingFormCreation=function(l){return l.filter(function(l){return 2==l.type_of_activity_id}).length>0?(this.manufacturingForm=!0,this.fb.group({main_raw_materials:this.fb.array([]),main_raw_materials_total_payments_percent_on_credit:[]})):void 0},l.prototype.tradingFormCreation=function(l){return l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0?(this.tradingForm=!0,this.fb.group({trading_products:this.fb.array([]),trading_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.initManufacturingProductsDetails=function(l){var n=this,e=this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials;null===l?e.push(this.initManufacturingProducts(null)):l.forEach(function(l,u){n.checkCard(l.manufacturing_payment_type,1,u),e.push(n.initManufacturingProducts(l))})},l.prototype.initManufacturingProducts=function(l){return this.fb.group(null===l?{manufacturing_raw_material_name:[""],manufacturing_supplier_name:[""],person_title_name:[""],person_designation:[""],other_person_designation:[""],manufacturing_contact_person_name:[""],manufacturing_contact_person_mobile_number:[""],manufacturing_payment_type:[""],manufacturing_payment_mode:[""],manufacturing_credit_days_from:[""],manufacturing_credit_days_to:[""],manufacturing_frequency_of_purchase:[""],person_stdcode:[""],person_landline:[""]}:{manufacturing_raw_material_name:[l.manufacturing_raw_material_name||null],manufacturing_supplier_name:[l.manufacturing_supplier_name||null],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],other_person_designation:[l.other_person_designation||null],manufacturing_contact_person_name:[l.manufacturing_contact_person_name||null],manufacturing_contact_person_mobile_number:[l.manufacturing_contact_person_mobile_number||null],manufacturing_payment_type:[l.manufacturing_payment_type||null],manufacturing_payment_mode:[l.manufacturing_payment_mode],manufacturing_credit_days_from:[l.manufacturing_credit_days_from||null],manufacturing_credit_days_to:[l.manufacturing_credit_days_to||null],manufacturing_frequency_of_purchase:[l.manufacturing_frequency_of_purchase||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null]})},l.prototype.initTradingProductsDetails=function(l){var n=this,e=this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products;null===l?e.push(this.initTradingProducts(null)):l.forEach(function(l,u){n.checkCard(l.trade_product_payment_type,2,u),e.push(n.initTradingProducts(l))})},l.prototype.initTradingProducts=function(l){return this.fb.group(null===l?{trade_product_name:[""],trade_supplier_name:[""],person_title_name:[""],person_designation:[""],other_person_designation:[""],trade_product_contact_person_name:[""],trade_product_contact_person_mobile_number:[""],person_stdcode:[null],person_landline:[null],trade_product_payment_type:[""],trade_product_payment_mode:[""],trade_product_frequency_of_purchase:[""],trade_product_credit_days_from:[""],trade_product_credit_days_to:[""]}:{trade_product_name:[l.trade_product_name],person_title_name:[l.person_title_name],person_designation:[l.person_designation],other_person_designation:[l.other_person_designation],trade_supplier_name:[l.trade_supplier_name],trade_product_contact_person_name:[l.trade_product_contact_person_name],trade_product_contact_person_mobile_number:[l.trade_product_contact_person_mobile_number],person_stdcode:[l.person_stdcode],person_landline:[l.person_landline],trade_product_payment_type:[l.trade_product_payment_type],trade_product_payment_mode:[l.trade_product_payment_mode],trade_product_frequency_of_purchase:[l.trade_product_frequency_of_purchase],trade_product_credit_days_from:[l.trade_product_credit_days_from],trade_product_credit_days_to:[l.trade_product_credit_days_to]})},l.prototype.addMoreRawMaterials=function(l){this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.push(this.initManufacturingProducts(null))},l.prototype.removeRawMaterials=function(l){this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.removeAt(l)},l.prototype.addMoretradeProduct=function(l){this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products.push(this.initTradingProducts(null))},l.prototype.removeTradingProduct=function(l){this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products.removeAt(l)},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.m_companyRelationShipList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.m_titleList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PAYMENTMODE").subscribe(function(n){l.m_paymentList=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.saveSupplierInfo=function(l){var n=this,e=l;Object.keys(e).forEach(function(l){return null==e[l]&&delete e[l]}),this.qustCat.saveForm(e).subscribe(function(l){200==l.status?(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!")):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.selectedPersonDesignation=function(l,n,e){},l.prototype.checkCard=function(l,n,e){2==n&&3==l?this.trdCounter[e]=1:2==n&&3!=l&&(this.trdCounter[e]=0);var u=this.trdCounter.reduce(function(l,n){return l+ +n},0);this.trdCreditCardFlag=u>0,1==n&&3==l?this.mfgCounter[e]=1:1==n&&3!=l&&(this.mfgCounter[e]=0);var a=this.mfgCounter.reduce(function(l,n){return l+ +n},0);this.mfgCreditCardFlag=a>0},l.prototype.selectedPaymentTerms=function(l,n,e){2==e?(3==n||(l.controls.trade_product_credit_days_from.clearValidators(),l.controls.trade_product_credit_days_from.setValue(""),l.controls.trade_product_credit_days_to.clearValidators(),l.controls.trade_product_credit_days_to.setValue("")),l.controls.trade_product_credit_days_from.updateValueAndValidity(),l.controls.trade_product_credit_days_to.updateValueAndValidity()):1==e&&(3==n||(l.controls.manufacturing_credit_days_from.clearValidators(),l.controls.manufacturing_credit_days_from.setValue(""),l.controls.manufacturing_credit_days_to.clearValidators(),l.controls.manufacturing_credit_days_to.setValue("")),l.controls.manufacturing_credit_days_from.updateValueAndValidity(),l.controls.manufacturing_credit_days_to.updateValueAndValidity())},l=Vp([Object(xm.k)({selector:"page-pd-question-supplier-info",templateUrl:"pd-question-supplier-info.html"}),jp("design:paramtypes",[Sm.r,Sm.s,Km.g,$m,Zm,ip])],l)}(),Ep=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Wp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Rp=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=a,this._fb=t,this.qualifications=["Graduate","Under Graduate","Post Graduate","Professional"],this.earningStatus=["Earning Member","House Wife","Student","Retired","Pensioner","Other Non earning member"],this.relationShipList=[],this.mainApplicantQuestions=["Name","Age","Entity","Educational Qualification","Earning Status"],this.coApplicantQuestions=["Name","Age","Entity","Educational Qualification","Earning Status","Relationship"],this.mainApplicantDetails=[],this.coApplicantDetails=[],this.repeat=3,this.loadDataStatus=!1,this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),console.log(this.pdDetails)}return l.prototype.ngOnInit=function(){this.loadPDDetails(),this.getRelationMaster(),this.mainApplicantDetails=this.pdDetails.applicat_details.filter(function(l){return 1==l.applicant_type}),this.coApplicantDetails=this.pdDetails.applicat_details.filter(function(l){return 0==l.applicant_type})},l.prototype.loadPDDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:"341"}).subscribe(function(n){if(200==n.status)l.loadFormWithIDData(n.records);else{var e=[];if(l.mainApplicantDetails.length>0)for(var u=0;u=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Bp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},$p=function(){function l(l,n,e,u,a,t,i){var o=this;this.navCtrl=l,this.navParams=n,this.qustCat=e,this.aws=u,this.toast=a,this.fb=t,this.constant=i,this.errorMessage="",this.M_rawValueInWords=[],this.M_goodsValueInWords=[],this.R_tradedGoodsValueInWords=[],this.T_tradedGoodsValueInWords=[],this.mrmCommentFlag=[],this.mfgCommentFlag=[],this.rtrdCommentFlag=[],this.wtrdCommentFlag=[],this.serviceProviderForm=!1,this.suppliers_raw_materials=[],this.suppliers_retail_trade_details=[],this.suppliers_wholesale_trade_details=[],this.suppliers_finished_goods=[],this.manufacturingForm=!1,this.retailForm=!1,this.tradingForm=!1,this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.company_id=this.pdDetails.company_id,this.pdid=this.pdDetails.pd_id,this.qustCat.stockFormAccess(this.pdid,this.company_id).subscribe(function(l){if(1!=l.dataStatus)return o.toast.pdTriggerappmessage("Fill Business Form First! / No Company Found at this ID "+o.company_id),o.noRecordsFound=!1,void(o.errorMessage="Fill Business Form First! / No Company Found at this ID"+o.company_id+"! ....");o.initstockForm(l.record)},function(l){o.toast.pdTriggerappmessage("Business Type Of Activity Not Available Please Check Business Information.!"),o.noRecordsFound=!1,o.errorMessage="No Records Found , Something went Wrong!"}),this.getdropdown()}return l.prototype.initstockForm=function(l){var n=this,e=Object.keys(l.from_business).map(function(n){return l.from_business[n]}),u=l.from_supplier,a={};a.pd_id=this.pdid,a.pd_form_id=this.formDetails.form_id,a.company_id=this.company_id,this.qustCat.retiverForm(a).subscribe(function(a){if(200==a.status){var t=a.records;void 0!==t?(n.stockForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[t.stock_remarks],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),retail_details:n.fb.array([n.retailFormCreation(e)]),trade_details:n.fb.array([n.tradingFormCreation(e)])}),e.length>0&&(e.forEach(function(l){if(2==l.type_of_activity_id&&l.products){var e=[];e.manufacturing_raw_materials=t.manufacturing_details[0].manufacturing_raw_materials,e.manufacturing_finished_goods=t.manufacturing_details[0].manufacturing_finished_goods,n.initManufacturingDetails(e)}if(3==l.type_of_activity_id&&l.products){var u=[];u.retail_traded_goods=t.retail_details[0].retail_traded_goods,n.initRetailDetails(u)}if(4==l.type_of_activity_id&&l.products){var a=[];a.trading_traded_goods=t.trade_details[0].trading_traded_goods,n.initTradingDetails(a)}5==l.type_of_activity_id&&l.products&&(n.serviceProviderForm=!0)}),n.noRecordsFound=!0)):(n.stockForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[""],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),retail_details:n.fb.array([n.retailFormCreation(l.from_business)]),trade_details:n.fb.array([n.tradingFormCreation(l.from_business)])}),e.length>0&&(e.forEach(function(l){2==l.type_of_activity_id&&l.products&&(n.suppliers_finished_goods=l.products,n.initManufacturingDetails(null)),3==l.type_of_activity_id&&l.products&&(n.suppliers_retail_trade_details=l.products,n.initRetailDetails(null)),4==l.type_of_activity_id&&l.products&&(n.suppliers_wholesale_trade_details=l.products,n.initTradingDetails(null)),5==l.type_of_activity_id&&l.products&&(n.serviceProviderForm=!0)}),n.noRecordsFound=!0))}else n.stockForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[""],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),retail_details:n.fb.array([n.retailFormCreation(l.from_business)]),trade_details:n.fb.array([n.tradingFormCreation(l.from_business)])}),e.length>0&&(e.forEach(function(l){2==l.type_of_activity_id&&l.products&&(n.suppliers_finished_goods=l.products,n.suppliers_raw_materials=u,n.initManufacturingDetails(null)),3==l.type_of_activity_id&&l.products&&(n.suppliers_retail_trade_details=l.products,n.initRetailDetails(null)),4==l.type_of_activity_id&&l.products&&(n.suppliers_wholesale_trade_details=l.products,n.initTradingDetails(null)),5==l.type_of_activity_id&&l.products&&(n.serviceProviderForm=!0)}),n.noRecordsFound=!0)})},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionStockInfoPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.uomData=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.manufacturingFormCreation=function(l){var n=l.from_business.filter(function(l){return 2==l.type_of_activity_id});return n.length>0?(this.manufacturingForm=!0,this.fb.group({manufacturing_raw_materials:this.fb.array([]),manufacturing_finished_goods:this.fb.array([])})):void 0},l.prototype.retailFormCreation=function(l){return l.filter(function(l){return 3==l.type_of_activity_id}).length>0?(this.retailForm=!0,this.fb.group({retail_traded_goods:this.fb.array([])})):void 0},l.prototype.tradingFormCreation=function(l){return l.filter(function(l){return 4==l.type_of_activity_id}).length>0?(this.tradingForm=!0,this.fb.group({trading_traded_goods:this.fb.array([])})):void 0},l.prototype.initManufacturingDetails=function(l){var n=this,e=this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials,u=this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods;null===l?(this.suppliers_raw_materials.length>0?this.suppliers_raw_materials.forEach(function(l){e.push(n.createRawmaterial({raw_name:l,stock_observed:"",raw_quantity:"",raw_uom:"",other_uom:"",raw_value:"",is_sufficiant_raw:"",rawmaterial_remarks:""}))}):e.push(this.createRawmaterial(null)),this.suppliers_finished_goods.length>0?this.suppliers_finished_goods.forEach(function(l){u.push(n.createGoods({goods_name:l,goods_observed:"",goods_quantity:"",goods_uom:"",goods_other_uom:"",goods_value:"",is_sufficiant_goods:"",finishedgoods_remarks:""}))}):u.push(this.createGoods(null))):(void 0!=l.manufacturing_raw_materials?l.manufacturing_raw_materials.forEach(function(l,u){l.raw_value&&n.inWords(l.raw_value,1,u),n.checkComments(l.is_sufficiant_raw,1,u),e.push(n.createRawmaterial(l))}):e.push(this.createRawmaterial(null)),void 0!=l.manufacturing_finished_goods?l.manufacturing_finished_goods.forEach(function(l,e){l.goods_value&&n.inWords(l.goods_value,2,e),n.checkComments(l.is_sufficiant_goods,2,e),u.push(n.createGoods(l))}):u.push(this.createGoods(null)))},l.prototype.createRawmaterial=function(l){return this.fb.group(null===l?{raw_name:[""],stock_observed:[""],raw_quantity:[""],raw_uom:[""],other_uom:[""],raw_value:[""],is_sufficiant_raw:[""],rawmaterial_remarks:[""]}:{raw_name:[l.raw_name],stock_observed:[l.stock_observed],raw_quantity:[l.raw_quantity],raw_uom:[l.raw_uom],other_uom:[l.other_uom],raw_value:[l.raw_value],is_sufficiant_raw:[l.is_sufficiant_raw],rawmaterial_remarks:[l.rawmaterial_remarks]})},l.prototype.initRetailDetails=function(l){var n=this,e=this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods;null===l?this.suppliers_retail_trade_details.length>0?this.suppliers_retail_trade_details.forEach(function(l){e.push(n.createTradedGoods({traded_goods_name:l,traded_goods_observed:"",traded_goods_quantity:"",traded_goods_uom:"",traded_goods_other_uom:"",estimated_traded_goods_value:"",is_sufficiant_traded_goods:"",traded_goods_remarks:""}))}):e.push(this.createTradedGoods(null)):void 0!==l.retail_traded_goods?l.retail_traded_goods.forEach(function(l,u){l.estimated_traded_goods_value&&n.inWords(l.estimated_traded_goods_value,3,u),n.checkComments(l.is_sufficiant_traded_goods,3,u),e.push(n.createTradedGoods(l))}):e.push(this.createTradedGoods(null))},l.prototype.createGoods=function(l){return this.fb.group(null===l?{goods_name:[""],goods_observed:[""],goods_quantity:[""],goods_uom:[""],goods_other_uom:[""],goods_value:[""],is_sufficiant_goods:[""],finishedgoods_remarks:[""]}:{goods_name:[l.goods_name],goods_observed:[l.goods_observed],goods_quantity:[l.goods_quantity],goods_uom:[l.goods_uom],goods_other_uom:[l.goods_other_uom],goods_value:[l.goods_value],is_sufficiant_goods:[l.is_sufficiant_goods],finishedgoods_remarks:[l.finishedgoods_remarks]})},l.prototype.initTradingDetails=function(l){var n=this,e=this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods;null===l?this.suppliers_wholesale_trade_details.length>0?this.suppliers_wholesale_trade_details.forEach(function(l){e.push(n.createTradedGoods({traded_goods_name:l,traded_goods_observed:"",traded_goods_quantity:"",traded_goods_uom:"",traded_goods_other_uom:"",estimated_traded_goods_value:"",is_sufficiant_traded_goods:"",traded_goods_remarks:""}))}):e.push(this.createTradedGoods(null)):void 0!==l.trading_traded_goods?l.trading_traded_goods.forEach(function(l,u){l.estimated_traded_goods_value&&n.inWords(l.estimated_traded_goods_value,4,u),n.checkComments(l.is_sufficiant_traded_goods,4,u),e.push(n.createTradedGoods(l))}):e.push(this.createTradedGoods(null))},l.prototype.createTradedGoods=function(l){return this.fb.group(null===l?{traded_goods_name:[""],traded_goods_observed:[""],traded_goods_quantity:[""],traded_goods_uom:[""],traded_goods_other_uom:[""],estimated_traded_goods_value:[""],is_sufficiant_traded_goods:[""],traded_goods_remarks:[""]}:{traded_goods_name:[l.traded_goods_name],traded_goods_observed:[l.traded_goods_observed],traded_goods_quantity:[l.traded_goods_quantity],traded_goods_uom:[l.traded_goods_uom],traded_goods_other_uom:[l.traded_goods_other_uom],estimated_traded_goods_value:[l.estimated_traded_goods_value],is_sufficiant_traded_goods:[l.is_sufficiant_traded_goods],traded_goods_remarks:[l.traded_goods_remarks]})},l.prototype.addRawMaterials=function(l){if(1==l){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials.push(this.createRawmaterial(null))}},l.prototype.deleteRawMaterials=function(l,n){if(1==n){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials.removeAt(l)}},l.prototype.addGoods=function(l){if(1==l){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods.push(this.createGoods(null))}},l.prototype.deleteGoods=function(l,n){if(1==n){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods.removeAt(l)}},l.prototype.addTradedGoods=function(l){switch(l){case 1:this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods.push(this.createTradedGoods(null));break;case 2:this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods.push(this.createTradedGoods(null))}},l.prototype.deleteTradedGoods=function(l,n){switch(n){case 1:this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods.removeAt(l);break;case 2:this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods.removeAt(l)}},l.prototype.checkComments=function(l,n,e){1==n&&"no"==l?this.mrmCommentFlag[e]=!0:1==n&&"no"!=l&&(this.mrmCommentFlag[e]=!1),2==n&&"no"==l?this.mfgCommentFlag[e]=!0:2==n&&"no"!=l&&(this.mfgCommentFlag[e]=!1),3==n&&"no"==l?this.rtrdCommentFlag[e]=!0:3==n&&"no"!=l&&(this.rtrdCommentFlag[e]=!1),4==n&&"no"==l?this.wtrdCommentFlag[e]=!0:4==n&&"no"!=l&&(this.wtrdCommentFlag[e]=!1)},l.prototype.saveStockInfo=function(l){var n=this;Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),this.qustCat.saveForm(l).subscribe(function(l){200==l.status?(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!")):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.inWords=function(l,n,e){switch(n){case 1:this.M_rawValueInWords[e]=this.constant.convertNumberToWords(l);break;case 2:this.M_goodsValueInWords[e]=this.constant.convertNumberToWords(l);break;case 3:this.R_tradedGoodsValueInWords[e]=this.constant.convertNumberToWords(l);break;case 4:this.T_tradedGoodsValueInWords[e]=this.constant.convertNumberToWords(l)}},l=Up([Object(xm.k)({selector:"page-pd-question-stock-info",templateUrl:"pd-question-stock-info.html"}),Bp("design:paramtypes",[Sm.r,Sm.s,Zm,$m,ip,Km.g,Em])],l)}(),Mp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Kp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Hp=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=a,this.fb=t,this.cons=i,this.FY_annualSalesInwords=[],this.FY_netProfitAmtInwords=[],this.FY_netLossAmtInwords=[],this.AV_annualSalesInwords=[],this.AV_netProfitAmtInwords=[],this.AV_netLossAmtInwords=[],this.AV_netProfitAmtFrmInwords=[],this.AV_netProfitAmtToInwords=[],this.AV_netLossAmtFrmInwords=[],this.AV_netLossAmtToInwords=[],this.AV_SalesFrmInwords=[],this.AV_SalesToInwords=[],this.AV_SalesInwords=[],this.AV_marginProfitAmtInwords=[],this.AV_marginLossAmtInwords=[],this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.FormId=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.users=this.aws.getlocale(),console.log("Pd",this.pdDetails),console.log("Form ",this.FormId),this.initFinancialForm()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFinancialInfoPage"),this.getDetails()},l.prototype.selectedStatement=function(l){if("yes"==l)this.isDisplay=!0,this.financialForm.controls.is_financial_customer.setValue("");else if("no"==l){this.isDisplay=!1,this.financialForm.controls.is_financial_customer.setValue("no");for(var n=this.financialForm.controls.date_per_financial;0!==n.length;)n.removeAt(0);this.financialForm.controls.financial_starting_year.setValue(""),this.financialForm.controls.financial_no_of_year.setValue("")}},l.prototype.selectedFinancialCustomer=function(l){if("yes"==l)for(var n=this.financialForm.controls.estimated_value;0!==n.length;)n.removeAt(0);else if("no"==l){(n=this.financialForm.controls.estimated_value).push(this.createValue(""))}},l.prototype.selectedProfitOrLossType=function(l,n){1==l.value?(n.controls.financial_net_loss.setValue(""),n.controls.financial_margin_of_loss.setValue("")):2==l.value&&(n.controls.financial_net_profit.setValue(""),n.controls.financial_margin_of_profit.setValue(""))},l.prototype.dynamicalFinYear=function(l){var n=l.target.value;this.customerCommentsFlag=1!=n;for(var e=this.financialForm.controls.financial_starting_year.value,u=this.financialForm.controls.date_per_financial;0!==u.length;)u.removeAt(0);if(n>0)for(var a=1;a<=n;a++){u.push(this.createDate(a-1+ +e+"-"+(+e+ +a)))}},l.prototype.initFinancialForm=function(){this.financialForm=this.fb.group({pdid:this.pdDetails.pd_id,formid:this.FormId,company_id:this.company_id,fk_createdby:this.users,financial_remarks:[""],is_financial_statements:[""],is_financial_customer:[""],financial_starting_year:["",Km.y.compose([Km.y.minLength(4),Km.y.maxLength(4)])],financial_no_of_year:[""],financial_reason:[""],financial_customer:[""],date_per_financial:this.fb.array([]),estimated_value:this.fb.array([])})},l.prototype.createDate=function(l){return this.fb.group({financial_year:[l,Km.y.compose([Km.y.pattern(/^[0-9]{4}-[0-9]{2}$/)])],financial_annual_sale:["",Km.y.compose([Km.y.pattern(/^[0-9\(\)]+$/)])],finanical_profit_or_loss:[""],financial_net_profit:["",Km.y.compose([Km.y.pattern(/^-?[1-9]\d*|0$/)])],financial_net_loss:["",Km.y.compose([Km.y.pattern(/^-?[1-9]\d*|0$/)])],financial_margin_of_profit:[""],financial_margin_of_loss:[""],financial_variation:[""],financial_profit_to_sale_variation:[""],financial_annualsales_variation:[""]})},l.prototype.createValue=function(l){return this.fb.group({estimate_sales_from:[""],estimate_sales_to:[""],estimate_sales_average:[""],estimate_profit_or_loss:[""],estimate_net_margin_availablity:[""],estimate_profit_range_from:[""],estimate_profit_range_to:[""],estimate_profit_margin_percent:[""],estimate_profit_margin:[""],estimate_net_profit_from:[""],estimate_net_profit_to:[""],estimate_net_profit_percent:[""],estimate_net_profit:[""],estimate_loss_range_from:[""],estimate_loss_range_to:[""],estimate_loss_margin_percent:[""],estimate_loss_margin:[""],estimate_net_loss_from:[""],estimate_net_loss_to:[""],estimate_net_loss_percent:[""],estimate_net_loss:[""],estimate_reason_for_loss:[""]})},l.prototype.submitDetails=function(){var l=this;1==this.financialForm.value.date_per_financial.finanical_profit_or_loss?(this.financialForm.value.date_per_financial.financial_net_profit.setValidators([Km.y.required]),this.financialForm.value.date_per_financial.financial_net_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_net_loss.clearValidators(),this.financialForm.value.date_per_financial.financial_net_loss.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_profit.setValidators([Km.y.required]),this.financialForm.value.date_per_financial.financial_margin_of_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_loss.clearValidators(),this.financialForm.value.date_per_financial.financial_margin_of_loss.updateValueAndValidity()):2==this.financialForm.value.date_per_financial.finanical_profit_or_loss&&(this.financialForm.value.date_per_financial.financial_net_profit.clearValidators(),this.financialForm.value.date_per_financial.financial_net_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_net_loss.setValidators([Km.y.required]),this.financialForm.value.date_per_financial.financial_net_loss.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_profit.clearValidators(),this.financialForm.value.date_per_financial.financial_margin_of_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_loss.setValidators([Km.y.required]),this.financialForm.value.date_per_financial.financial_margin_of_loss.updateValueAndValidity());this.qustCat.saveForm(this.financialForm.value).subscribe(function(n){200==n.status?(l.toast.pdTriggerappmessage("Record Saved Successfully"),l.navCtrl.pop()):l.toast.pdTriggerappmessage("Warning !! Something went Wrong")},function(n){l.toast.pdTriggerappmessage("Server is not Responding")})},l.prototype.getDetails=function(){var l=this,n=this.financialForm.controls.date_per_financial,e=this.financialForm.controls.estimated_value,u={};u.pd_id=this.pdDetails.pd_id,u.pd_form_id=this.FormId,u.company_id=this.company_id,this.qustCat.retiverForm(u).subscribe(function(u){if(1==u.dataStatus){var a=u.records;if("yes"==u.records.is_financial_statements){var t=Object.keys(u.records.date_per_financial).map(function(l){return u.records.date_per_financial[l]});t.length>0?(l.customerCommentsFlag=1!=t.length,t.forEach(function(e,u){l.FY_annualSalesInwords[u]=l.cons.convertNumberToWords(e.financial_annual_sale),l.FY_netProfitAmtInwords[u]=l.cons.convertNumberToWords(e.financial_net_profit),l.FY_netLossAmtInwords[u]=l.cons.convertNumberToWords(e.financial_net_loss),n.push(l.createDate(""))}),a.date_per_financial=t):n.push(l.createDate(""))}var i=Object.keys(u.records.estimated_value).map(function(l){return u.records.estimated_value[l]});i.length>0?(i.forEach(function(n,u){l.AV_SalesInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_average)),l.AV_SalesFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_from)),l.AV_SalesToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_to)),l.AV_marginProfitAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netProfitAmtFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netProfitAmtToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netProfitAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_profit)),l.AV_marginLossAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_loss_margin)),l.AV_netLossAmtFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netLossAmtToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netLossAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_loss)),e.push(l.createValue(""))}),a.estimated_value=i):e.push(l.createValue("")),a.pdid=l.pdDetails.pd_id,a.company_id=l.company_id,a.fk_createdby=l.users,a.formid=l.FormId,l.financialForm.setValue(a)}})},l.prototype.calculationForFinanicalStatement=function(){var l=this,n=this.financialForm.controls.date_per_financial,e="",u=[],a=[],t="",i="",o="",r="",_="",d="",s="";n.value.forEach(function(c,m){var p=n.controls[m];if(_=c.financial_annual_sale,0!=m){if(""!=_){var f=(_-e)/e*100,h=f!=1/0?Number.isNaN(f)?0:f.toFixed(2):0;p.controls.financial_annualsales_variation.setValue(h)}}else p.controls.financial_annualsales_variation.setValue(0);if(e=_,d=c.financial_net_profit,s=c.financial_net_loss,(""!=d||""!=s)&&0!=m)if(+d>+_)p.controls.financial_margin_of_profit.setValue("");else{s=0!=c.financial_net_loss?-1*c.financial_net_loss:c.financial_net_loss,i=0!=i?-1*i:i;var g=((""!=d?d:s)-(""!=t?t:i))/(""!=t?Math.abs(t):Math.abs(i))*100,b=g!=1/0?Number.isNaN(g)?0:g.toFixed(2):0;p.controls.financial_variation.setValue(b)}t=""!=c.financial_net_profit?c.financial_net_profit:0,i=""!=c.financial_net_loss?c.financial_net_loss:0;var v=c.finanical_profit_or_loss;if(1==v?(r="",p.controls.financial_margin_of_loss.setValue(""),""!=_&&""!=c.financial_net_profit&&(+d>+_?(l.toast.pdTriggerappmessage("profit is greater than Annual Sale "),p.controls.financial_net_profit.setValue(0),p.controls.financial_margin_of_profit.setValue(""),p.controls.financial_profit_to_sale_variation.setValue(""),p.controls.financial_variation.setValue("")):p.controls.financial_margin_of_profit.setValue((o=c.financial_net_profit/c.financial_annual_sale*100)!=1/0?Number.isNaN(o)?0:o.toFixed(2):0))):2==v&&(o="",p.controls.financial_margin_of_profit.setValue(""),""!=_&&""!=c.financial_net_loss&&(+c.financial_net_loss>+_&&(l.toast.pdTriggerappmessage("Loss is greater than Annual Sale "),p.controls.financial_net_loss.setValue(0),p.controls.financial_margin_of_loss.setValue(""),p.controls.financial_profit_to_sale_variation.setValue(""),p.controls.financial_variation.setValue("")),+s>+_?(p.controls.financial_net_loss.setValue(0),p.controls.financial_margin_of_loss.setValue(""),p.controls.financial_profit_to_sale_variation.setValue(""),p.controls.financial_variation.setValue("")):p.controls.financial_margin_of_loss.setValue((r=c.financial_net_loss/c.financial_annual_sale*100*-1)!=1/0?Number.isNaN(r)?0:r.toFixed(2):0))),u[m]=""!=c.financial_margin_of_profit?c.financial_margin_of_profit:0,a[m]=""!=c.financial_margin_of_loss?c.financial_margin_of_loss:0,(""!=o||""!=r)&&0!=m){r=void 0!==r?r:0,o=void 0!==o?o:0;var y=void 0!==a[m-1]?a[m-1]:0,C=void 0!==u[m-1]?u[m-1]:0;if(""!=_){var w=100*(((""!=o?o:r)-(0!=C?C:y))/(0!=C?Math.abs(C):Math.abs(y))),F=w!=1/0?Number.isNaN(w)?0:w!=-1/0?w.toFixed(2):0:0;p.controls.financial_profit_to_sale_variation.setValue(F)}}})},l.prototype.confirmAlert=function(l,n){var e=+n.value.estimate_sales_from,u=+n.value.estimate_sales_to;if(null!=e&&null!=u){if(+e>+u)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_sales_to.setValue(""),void n.controls.estimate_sales_average.setValue("");var a=(u-e)/e*100;if(e<=5e6)if(a>20){if(1!=confirm("Given Sales Range is greater than 20%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else if(e>5e6&&e<=1e7)if(a>15){if(1!=confirm("Given Sales Range is greater than 15%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else if(e>1e7)if(a>10){if(1!=confirm("Given Sales Range is greater than 10%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}this.calculateSalesAverage(l,n)},l.prototype.calculateSalesAverage=function(l,n){var e=n.value.estimate_sales_from,u=n.value.estimate_sales_to;if(""!=e&&""!=u){var a=+e+ +e/10,t=(+u+ +e)/2;a>t?(n.controls.estimate_sales_average.setValue(t!=1/0?t.toFixed(2):0),this.AV_SalesInwords[l]=this.cons.convertNumberToWords(Math.round(t))):(n.controls.estimate_sales_average.setValue(a!=1/0?a.toFixed(2):0),this.AV_SalesInwords[l]=this.cons.convertNumberToWords(Math.round(a)))}else n.controls.estimate_sales_average.setValue("")},l.prototype.calculateMarginProfit=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_profit_range_from.setValue(""),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var u=n.value.estimate_profit_range_from;if(+u>100)return this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"),n.controls.estimate_profit_range_from.setValue(""),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var a=n.value.estimate_profit_range_to;if(+a>100)return this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");if(""!=e&&""!=u&&""!=a){if(+u>+a)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var t=(a+u)/2,i=t*e/100;if(a-u>3){if(1!=confirm("Given Profit Percent Range is greater than 3"))return n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");n.controls.estimate_profit_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_profit_margin_percent.setValue(t!=1/0?t.toFixed(2):0),this.AV_marginProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}n.controls.estimate_profit_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_profit_margin_percent.setValue(t!=1/0?t.toFixed(2):0),this.AV_marginProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}},l.prototype.calculateProfitAmount=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_net_profit_from.setValue(""),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");var u=n.value.estimate_net_profit_from,a=n.value.estimate_net_profit_to;if(+a>+e)return this.toast.pdTriggerappmessage("Given Profit is Greater than Sales"),n.controls.estimate_net_profit_from.setValue(""),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");if(""!=e&&""!=u&&""!=a){if(+u>+a)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");var t=(a-u)/u*100,i=+u+ +u/10,o=(+a+ +u)/2;if(u<=5e6){if(t>=20){if(1!=confirm("Given Profit Range is greater than 20%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(a!=1/0?a:0)}else n.controls.estimate_net_profit_to.setValue(a!=1/0?a:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>5e6||u<=1e7){if(t>=15){if(1!=confirm("Given Sales Range is greater than 15%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(a!=1/0?a:0)}else n.controls.estimate_net_profit_to.setValue(a!=1/0?a:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>1e7){if(t>=10){if(1!=confirm("Given Sales Range is greater than 10%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(a!=1/0?a:0)}else n.controls.estimate_net_profit_to.setValue(a!=1/0?a:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(n.controls.estimate_net_profit_to.setValue(a!=1/0?a:0),i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);var r;n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}},l.prototype.calculateMarginLoss=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var u=n.value.estimate_loss_range_from;if(+u>100)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var a=n.value.estimate_loss_range_to;if(+a>100)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100 "),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");if(""!=e&&""!=u&&""!=a){if(+u>+a)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var t=(a+u)/2,i=t*e/100;if(a-u>3){if(1!=confirm("Given Loss Percent Range is greater than 3"))return n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");n.controls.estimate_loss_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_loss_margin_percent.setValue(t!=1/0?t.toFixed(2):0),this.AV_marginLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}n.controls.estimate_loss_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_loss_margin_percent.setValue(t!=1/0?t.toFixed(2):0),this.AV_marginLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}},l.prototype.calculateLossAmount=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_net_loss_from.setValue(""),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");var u=n.value.estimate_net_loss_from,a=n.value.estimate_net_loss_to;if(+a>+e)return this.toast.pdTriggerappmessage("Given Loss is Greater than Sales"),n.controls.estimate_net_loss_from.setValue(""),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");if(""!=e&&""!=u&&""!=a){if(+u>+a)return this.toast.pdTriggerappmessage("Given To value is Lower than From Value"),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");var t=(a-u)/u*100,i=+u+ +u/10,o=(+a+ +u)/2;if(u<=5e6){if(t>=20){if(1!=confirm("Given Profit Range is greater than 20%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(a!=1/0?a:0)}else n.controls.estimate_net_loss_to.setValue(a!=1/0?a:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>5e6||u<=1e7){if(t>=15){if(1!=confirm("Given Sales Range is greater than 15%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(a!=1/0?a:0)}else n.controls.estimate_net_loss_to.setValue(a!=1/0?a:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>1e7){if(t>=10){if(1!=confirm("Given Sales Range is greater than 10%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(a!=1/0?a:0)}else n.controls.estimate_net_loss_to.setValue(a!=1/0?a:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(n.controls.estimate_net_loss_to.setValue(a!=1/0?a:0),i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);var r;n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9\.]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.FY_annualSalesInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.FY_netProfitAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 3:this.FY_netLossAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 4:this.AV_annualSalesInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 5:this.AV_netProfitAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 6:this.AV_netLossAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 7:this.AV_netProfitAmtFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 8:this.AV_netProfitAmtToInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 9:this.AV_netLossAmtFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 10:this.AV_netLossAmtToInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 11:this.AV_SalesFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 12:this.AV_SalesToInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l=Mp([Object(xm.k)({selector:"page-pd-question-financial-info",templateUrl:"pd-question-financial-info.html"}),Kp("design:paramtypes",[Sm.r,Sm.s,$m,ip,Zm,Km.g,Em])],l)}(),Gp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Yp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Qp=function(){function l(l,n,e,u,a,t){var i=this;this.navCtrl=l,this.navParams=n,this.qustCat=e,this.aws=u,this.toast=a,this.fb=t,this.submitted=!1,this.m_paymentType=[],this.companyRelationShipList=[],this.titleList=[],this.noRecordsFound=!1,this.errorMessage="",this.m_manufacturingProducts=[],this.m_tradingProducts=[],this.m_suplierProducts=[],this.manufacturingForm=!1,this.tradingForm=!1,this.serviceProviderForm=!1,this.mfgCreditCardFlag=!1,this.trdCreditCardFlag=!1,this.spCreditCardFlag=!1,this.mfgCounter=[],this.trdCounter=[],this.spCounter=[],this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.company_id=this.pdDetails.company_id,this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid,this.company_id).subscribe(function(l){if(l.dataStatus){var n=l.records;i.m_manufacturingProducts=n.type_of_activity.filter(function(l){if(2==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()}),i.m_suplierProducts=n.type_of_activity.filter(function(l){if(5==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()});var e=Object.keys(n.type_of_activity).map(function(l){return n.type_of_activity[l]});e.length>0&&e.forEach(function(l){3==l.type_of_activity_id&&l.prodcuts&&i.m_tradingProducts.push(l.prodcuts),4==l.type_of_activity_id&&l.prodcuts&&i.m_tradingProducts.push(l.prodcuts)}),i.m_tradingProducts=[].concat.apply([],i.m_tradingProducts),i.initFormLoadDetails(n.type_of_activity)}else i.toast.pdTriggerappmessage("No Category Records Found.!"),i.noRecordsFound=!1,i.errorMessage=l.msg},function(l){i.toast.pdTriggerappmessage("No Category Records Found.!"),i.noRecordsFound=!1,i.errorMessage="No Records Found , Something went Wrong!"}),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionClientInfoPage")},l.prototype.initFormLoadDetails=function(l){var n=this,e={};e.pd_id=this.pdid,e.pd_form_id=this.formDetails.form_id,e.company_id=this.company_id,this.qustCat.retiverForm(e).subscribe(function(e){if(e.dataStatus){var u=e.records;if(void 0!==u){n.clientInfoForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});if(l.filter(function(l){return 2==l.type_of_activity_id}).length>0){n.initManufacturingProductsDetails(u.manufacturing_details[0].main_raw_materials),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(u.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit||null)}if(l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0){n.initTradingProductsDetails(u.trade_details[0].trading_products),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trade_details[0].trading_products_total_payments_percent_on_credit||null)}if(l.filter(function(l){return 5==l.type_of_activity_id}).length>0){n.initServiceProviderProductsDetails(a=u.service_provider_details[0].service_products),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(u.service_provider_details[0].service_products_total_payments_percent_on_credit||null)}l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}else{n.clientInfoForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));if(l.filter(function(l){return 5==l.type_of_activity_id}).length>0){var a=Object.keys(u.service_products).map(function(l){return u.service_products[l]});n.initServiceProviderProductsDetails(a),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(null)}l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}}else{n.clientInfoForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.initServiceProviderProductsDetails(null),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}},function(l){})},l.prototype.manufacturingFormCreation=function(l){return l.filter(function(l){return 2==l.type_of_activity_id}).length>0?(this.manufacturingForm=!0,this.fb.group({main_raw_materials:this.fb.array([]),main_raw_materials_total_payments_percent_on_credit:[]})):void 0},l.prototype.tradingFormCreation=function(l){return l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0?(this.tradingForm=!0,this.fb.group({trading_products:this.fb.array([]),trading_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.serviceProviderFormCreation=function(l){return l.filter(function(l){return 5==l.type_of_activity_id}).length>0?(this.serviceProviderForm=!0,this.fb.group({service_products:this.fb.array([]),service_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.initManufacturingProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials;null===l?e.push(this.initManufacturingProducts(null)):l.forEach(function(l,u){n.checkCard(l.manufacturing_payment_type,1,u),e.push(n.initManufacturingProducts(l))})},l.prototype.initManufacturingProducts=function(l){return this.fb.group(null===l?{manufacturing_product_name:[""],manufacturing_client_name:[""],manufacturing_contact_person_name:[""],manufacturing_contact_person_mobile_number:[""],manufacturing_payment_type:[""],manufacturing_payment_mode:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""],manufacturing_credit_days_from:[""],manufacturing_credit_days_to:[""]}:{manufacturing_product_name:[l.manufacturing_product_name||null],manufacturing_client_name:[l.manufacturing_client_name||null],manufacturing_contact_person_name:[l.manufacturing_contact_person_name||null],manufacturing_contact_person_mobile_number:[l.manufacturing_contact_person_mobile_number||null],manufacturing_payment_type:[l.manufacturing_payment_type||null],manufacturing_payment_mode:[l.manufacturing_payment_mode||null],manufacturing_credit_days:[l.manufacturing_credit_days||null],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null],manufacturing_credit_days_from:[l.manufacturing_credit_days_from||null],manufacturing_credit_days_to:[l.manufacturing_credit_days_to||null]})},l.prototype.initTradingProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products;null===l?e.push(this.initTradingProducts(null)):l.forEach(function(l,u){n.checkCard(l.trade_product_payment_type,2,u),e.push(n.initTradingProducts(l))})},l.prototype.initTradingProducts=function(l){return this.fb.group(null===l?{trade_product_name:[""],trade_client_name:[""],trade_product_contact_person_name:[""],trade_product_contact_person_mobile_number:[""],trade_product_payment_type:[""],trade_product_payment_mode:[""],trade_product_frequency_of_purchase:[""],trade_product_credit_days_from:[""],trade_product_credit_days_to:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""]}:{trade_product_name:[l.trade_product_name],trade_client_name:[l.trade_client_name],trade_product_contact_person_name:[l.trade_product_contact_person_name],trade_product_contact_person_mobile_number:[l.trade_product_contact_person_mobile_number],trade_product_payment_type:[l.trade_product_payment_type],trade_product_payment_mode:[l.trade_product_payment_mode],trade_product_frequency_of_purchase:[l.trade_product_frequency_of_purchase],trade_product_credit_days_from:[l.trade_product_credit_days_from],trade_product_credit_days_to:[l.trade_product_credit_days_to],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null]})},l.prototype.initServiceProviderProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products;null===l?e.push(this.initServiceProviderProducts(null)):l.forEach(function(l,u){n.checkCard(l.service_provider_product_payment_type,3,u),e.push(n.initServiceProviderProducts(l))})},l.prototype.initServiceProviderProducts=function(l){return this.fb.group(null===l?{service_provider_product_name:[""],service_provider_client_name:[""],service_provider_product_contact_person_name:[""],service_provider_product_contact_person_mobile_number:[""],service_provider_product_payment_type:[""],service_provider_product_payment_mode:[""],service_provider_product_frequency_of_purchase:[""],service_provider_product_credit_days_from:[""],service_provider_product_credit_days_to:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""]}:{service_provider_product_name:[l.service_provider_product_name],service_provider_client_name:[l.service_provider_client_name],service_provider_product_contact_person_name:[l.service_provider_product_contact_person_name],service_provider_product_contact_person_mobile_number:[l.service_provider_product_contact_person_mobile_number],service_provider_product_payment_type:[l.service_provider_product_payment_type],service_provider_product_payment_mode:[l.service_provider_product_payment_mode],service_provider_product_frequency_of_purchase:[l.service_provider_product_frequency_of_purchase],service_provider_product_credit_days_from:[l.service_provider_product_credit_days_from],service_provider_product_credit_days_to:[l.service_provider_product_credit_days_to],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null]})},l.prototype.addMoreRawMaterials=function(l){this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.push(this.initManufacturingProducts(null))},l.prototype.removeRawMaterials=function(l){this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.removeAt(l)},l.prototype.addMoretradeProduct=function(l){this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products.push(this.initTradingProducts(null))},l.prototype.removeTradingProduct=function(l){this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products.removeAt(l)},l.prototype.addMoreServiceProduct=function(l){this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products.push(this.initServiceProviderProducts(null))},l.prototype.removeServiceProduct=function(l){this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products.removeAt(l)},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.companyRelationShipList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.titleList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PAYMENTMODE").subscribe(function(n){l.m_paymentType=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.saveClientInfo=function(l){var n=this;Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),null==l.manufacturing_details[0]&&delete l.manufacturing_details,null==l.trade_details[0]&&delete l.trade_details,null==l.service_provider_details[0]&&delete l.service_provider_details,Object.keys(l).forEach(function(n){null!==l[n]&&void 0!==l[n]&&""!==l[n]||delete l[n]}),this.qustCat.saveForm(l).subscribe(function(l){200==l.status?(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!")):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.selectedPersonDesignation=function(l,n,e){},l.prototype.checkCard=function(l,n,e){3==n&&3==l?this.spCounter[e]=1:3==n&&3!=l&&(this.spCounter[e]=0);var u=this.spCounter.reduce(function(l,n){return l+ +n},0);this.spCreditCardFlag=u>0,2==n&&3==l?this.trdCounter[e]=1:2==n&&3!=l&&(this.trdCounter[e]=0);var a=this.trdCounter.reduce(function(l,n){return l+ +n},0);this.trdCreditCardFlag=a>0,1==n&&3==l?this.mfgCounter[e]=1:1==n&&3!=l&&(this.mfgCounter[e]=0);var t=this.mfgCounter.reduce(function(l,n){return l+ +n},0);this.mfgCreditCardFlag=t>0},l=Gp([Object(xm.k)({selector:"page-pd-question-client-info",templateUrl:"pd-question-client-info.html"}),Yp("design:paramtypes",[Sm.r,Sm.s,Zm,$m,ip,Km.g])],l)}(),zp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Jp=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Xp=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=a,this.fb=t,this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),this.rentalForms=this.fb.group({person_met:[null,Km.y.compose([Km.y.required])],property_own:[null,Km.y.compose([Km.y.required])],nature_property:[null,Km.y.compose([Km.y.required])],nature_others:[null],rental_home:this.fb.array([])}),this.getRentalDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionRentalInfoPage")},l.prototype.createrentalHome=function(){return this.fb.group({complete_add:[null,Km.y.compose([Km.y.required])],area_of_property:[null,Km.y.compose([Km.y.required])],structure_property:[null,Km.y.compose([Km.y.required])],total_room:[null,Km.y.compose([Km.y.required])],is_rent:[null,Km.y.compose([Km.y.required])],date_agreement:[null,Km.y.compose([Km.y.required])],date_validity:[null,Km.y.compose([Km.y.required])],rent_agreement:[null,Km.y.compose([Km.y.required])],actual_rent:[null,Km.y.compose([Km.y.required])],photo_areegment:[null,Km.y.compose([Km.y.required])],property_photographs:[null],bank:[null,Km.y.compose([Km.y.required])],cash:[null,Km.y.compose([Km.y.required])],rent_each_floor:[null,Km.y.compose([Km.y.required])],total_rent:[null,Km.y.compose([Km.y.required])],related_doc_owner:[null,Km.y.compose([Km.y.required])],details_tenants:this.fb.array([]),third_party_check:[null,Km.y.compose([Km.y.required])]})},l.prototype.createTenantsDetails=function(){return this.fb.group({name:[null,Km.y.compose([Km.y.required])],mobile_no:[null,Km.y.compose([Km.y.required])],tenants_seen:[null,Km.y.compose([Km.y.required])],tenants_con_owner:[null,Km.y.compose([Km.y.required])],rent_paid:[null,Km.y.compose([Km.y.required])],staying_since:[null,Km.y.compose([Km.y.required])]})},l.prototype.addrentalHome=function(){this.rentalForms.get("rental_home").push(this.createrentalHome()),this.addTenantsDetails(0)},l.prototype.addTenantsDetails=function(l){var n=this.rentalForms.controls.rental_home.at(l).get("details_tenants");console.log(n),n.push(this.createTenantsDetails())},l.prototype.deleteTenantsDetails=function(l,n){this.rentalForms.controls.rental_home.at(l).get("details_tenants").removeAt(n)},l.prototype.deleterentalHome=function(l){var n=this.rentalForms.controls.rental_home;1==n.length?this.rentalForms.controls.rental_home.reset():n.removeAt(l)},l.prototype.saveRentalDetails=function(l){var n=this,e={};console.log(this.rentalForms.value),e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.person_met=l.person_met,e.property_own=l.property_own,e.nature_property=l.nature_property,"others"==l.nature_property&&(e.nature_others=l.nature_others),e.rental_home=l.rental_home,Object.keys(e.rental_home).forEach(function(n){return null==e.rental_home[n]&&delete l[n]}),console.log("data",e),this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.navCtrl.pop())})},l.prototype.getRentalDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(console.log(n),1==n.dataStatus){var e,u=n.records,a=Object.keys(n.records.rental_home).map(function(l){return n.records.rental_home[l]}),t=l.rentalForms.controls.rental_home;a.forEach(function(n,u){console.log(u),console.log(t),a[u].details_tenants=Object.keys(n.details_tenants).map(function(l){return n.details_tenants[l]}),t.push(l.createrentalHome()),e=l.rentalForms.controls.rental_home.at(u).get("details_tenants"),a[u].details_tenants.forEach(function(n,u){e.push(l.createTenantsDetails())})}),l.rentalForms.controls.person_met.setValue(u.person_met),l.rentalForms.controls.property_own.setValue(u.property_own),l.rentalForms.controls.nature_property.setValue(u.nature_property),"others"==u.nature_property&&l.rentalForms.controls.nature_others.setValue(u.nature_others),l.rentalForms.controls.rental_home.setValue(a),console.log(l.rentalForms)}else l.addrentalHome()})},l.prototype.createTenantsDetailswithData=function(l,n){return this.fb.group({name:[n.name],mobile_no:[n.mobile_no],tenants_seen:[n.tenants_seen],tenants_con_owner:[n.tenants_con_owner],rent_paid:[n.rent_paid],staying_since:[n.staying_since]})},l.prototype.validateAllFormFields=function(l){var n=this;Object.keys(l.controls).forEach(function(e){var u=l.get(e);u instanceof Km.h?u.markAsTouched({onlySelf:!0}):u instanceof Km.j?n.validateAllFormFields(u):u instanceof Km.e&&n.validateAllFormFields(u)})},l=zp([Object(xm.k)({selector:"page-pd-question-rental-info",templateUrl:"pd-question-rental-info.html"}),Jp("design:paramtypes",[Sm.r,Sm.s,$m,ip,Zm,Km.g])],l)}(),Zp=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},lf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},nf=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=a,this.toast=t,this.salesData=[],this.annual=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.grossprofitCalc=this.navParams.get("grossprofit"),this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({salesCalItemwise:this.fb.array([])}),this.salesData=this.navParams.get("sales"),null!=this.salesData?this.getSalesItemData(this.salesData):this.addSalesCal(),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedSalesPage")},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.UOM=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.createSalesCal=function(){return this.fb.group({sci_id:[null],fk_pd_id:[this.pdDetails.pd_id],sales_item:[null,Km.y.compose([Km.y.required])],sales_qty:[null,Km.y.compose([Km.y.required])],fk_uom_id:[null,Km.y.compose([Km.y.required])],rate_per_unit:[null,Km.y.compose([Km.y.required])],fk_frequency_id:[null,Km.y.compose([Km.y.required])],annual_sale_value:[null],margin_per:[null],margin_per_uom:[null],margin_final_value:[null]})},l.prototype.addSalesCal=function(){if(this.assessedForm.valid){this.assessedForm.get("salesCalItemwise").push(this.createSalesCal())}else this.toast.pdTriggerappmessage("Enter the all fields")},l.prototype.removeSalesCal=function(l){this.annual.splice(l,1),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0),console.log(this.grandTotal);var n=this.assessedForm.get("salesCalItemwise");1==n.length?(n.removeAt(l),this.addSalesCal()):n.removeAt(l)},l.prototype.salecalculat=function(l,n){var e,u=n.value.fk_frequency_id,a=n.value.sales_qty,t=n.value.rate_per_unit;null!=a&&null!=t&&(1==u||(2==u?(this.annual[l]=e=a*t*250,n.controls.annual_sale_value.setValue(e)):3==u?(this.annual[l]=e=a*t,n.controls.annual_sale_value.setValue(e)):4==u||5==u&&(this.annual[l]=e=a*t*12,n.controls.annual_sale_value.setValue(e))),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0)),console.log(this.annual)},l.prototype.getSalesCalc=function(l){var n=l.value.margin_per,e=l.value.margin_per_uom,u=l.value.sales_qty,a="";null==n&&null==e||(null!=n?a=+n/100*+l.value.annual_sale_value:(console.log("else"),a=+u*+e),console.log(a),l.controls.margin_final_value.setValue(a))},l.prototype.saveData=function(l){var n=this,e={records:l.salesCalItemwise};console.log(e),this.qustCat.saveassessedForms("saveAssessedIncomeSalesCalculatedByItemwise",e).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})},l.prototype.getSalesItemData=function(l){var n=this;console.log(l);var e=this.assessedForm.get("salesCalItemwise");l.forEach(function(l,u){n.annual[u]=l.annual_sale_value,e.push(n.createSaleswithData(l))}),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0)},l.prototype.createSaleswithData=function(l){return this.fb.group({sci_id:[l.sci_id],fk_pd_id:[this.pdDetails.pd_id],sales_item:[l.sales_item,Km.y.compose([Km.y.required])],sales_qty:[l.sales_qty,Km.y.compose([Km.y.required])],fk_uom_id:[l.fk_uom_id,Km.y.compose([Km.y.required])],rate_per_unit:[l.rate_per_unit,Km.y.compose([Km.y.required])],fk_frequency_id:[l.fk_frequency_id,Km.y.compose([Km.y.required])],annual_sale_value:[l.annual_sale_value],margin_per:[l.margin_per],margin_per_uom:[l.margin_per_uom],margin_final_value:[l.margin_final_value]})},l=Zp([Object(xm.k)({selector:"page-pd-question-assessed-sales",templateUrl:"pd-question-assessed-sales.html"}),lf("design:paramtypes",[Sm.r,Sm.s,$m,Km.g,Zm,ip])],l)}(),ef=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},uf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},af=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=a,this.fb=t,this.constant=i,this.temparr=[],this.tempdate=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.salesDaily=this.navParams.get("salesDaily"),this.grossprofitCalc=this.navParams.get("grossprofit"),this.users=this.aws.getlocale(),this.currentDate=i.getcurrentDate().replace("T00:00",""),console.log(this.currentDate),this.salesDailyForm=this.fb.group({sales_product:this.fb.array([])}),null!=this.salesDaily?this.getDailySalesData(this.salesDaily):this.adddailySalaesProduct()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDailySalesPage")},l.prototype.createdailysalesProduct=function(){return this.fb.group({sim_id:[null],sales_item:[null,Km.y.compose([Km.y.required])],child:this.fb.array([]),fk_pd_id:[this.pdDetails.pd_id],margin_per:[null],margin_value:[null],fk_createdby:[this.users],isactive:["1"]})},l.prototype.createdailyChildSaleProduct=function(){return this.fb.group({simc_id:[null],fk_sim_id:[null],sales_date:[null,Km.y.compose([Km.y.required])],sales_value:[null,Km.y.compose([Km.y.required])],isactive:["1"]})},l.prototype.getSalesCalc=function(l,n,e){console.log(e);var u=new Date(l.value.sales_date).getMonth()+1,a=n.value.margin_per;if(null!=a&&null!=l.value.sales_value){var t=!1,i=0;if(0!=this.tempdate.length){for(var o=0;o=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},of=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},rf=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.fb=n,this.navParams=e,this.qustCat=u,this.toast=a,this.aws=t,this.annual=[],this.pdDetails=this.navParams.get("pdDetails"),this.purchaseDetails=this.navParams.get("purchase"),this.users=this.aws.getlocale(),this.rawMaterialForm=this.fb.group({purchase:this.fb.array([])}),null!=this.purchaseDetails?this.getpurchaseDetails(this.purchaseDetails):this.addPurchaseDetails(),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedPurchasePage")},l.prototype.createPurchaseDetails=function(){return this.fb.group({purchase_id:[null],fk_pd_id:[this.pdDetails.pd_id],purchase_item:[null,Km.y.compose([Km.y.required])],purchase_qty:[null,Km.y.compose([Km.y.required])],fk_uom_id:[null,Km.y.compose([Km.y.required])],rate_per_unit:[null,Km.y.compose([Km.y.required])],fk_frequency_id:[null,Km.y.compose([Km.y.required])],annual_purchase_value:[null,Km.y.compose([Km.y.required])],isactive:["1"],fk_createdby:[this.users]})},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.UOM=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("BUSINESSEXPENSES").subscribe(function(n){1==n.dataStatus&&(l.businessExpenses=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.addPurchaseDetails=function(){this.rawMaterialForm.controls.purchase.push(this.createPurchaseDetails())},l.prototype.deletePurchaseDetails=function(l){this.annual.splice(l,1),this.grandpurchaseTotal=this.annual.reduce(function(l,n){return+l+ +n},0);this.rawMaterialForm.controls.purchase.removeAt(l)},l.prototype.salecalculat=function(l,n){console.log(this.grandpurchaseTotal),console.log(n,l);var e=n.value.fk_frequency_id,u=n.value.purchase_qty,a=n.value.rate_per_unit;console.log(e,u,a,l);var t;null!=u&&null!=a?(1==e||(2==e?(this.annual[l]=t=u*a*250,n.controls.annual_purchase_value.setValue(t)):3==e?(this.annual[l]=t=u*a,n.controls.annual_purchase_value.setValue(t)):4==e||5==e&&(this.annual[l]=t=u*a*12,n.controls.annual_purchase_value.setValue(t))),this.grandpurchaseTotal=this.annual.reduce(function(l,n){return+l+ +n},0)):this.toast.pdTriggerappmessage("Enter the Purchase Quantity and UOM")},l.prototype.savepurchaseData=function(l){var n=this;if(this.rawMaterialForm.valid){var e={records:l.purchase};console.log("data",e),this.qustCat.saveassessedForms("saveAssessedIncomePurchaseDetails",e).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter All Field")},l.prototype.getpurchaseDetails=function(l){var n=this;console.log("function in",l);var e=this.rawMaterialForm.controls.purchase;console.log(e),0==l.length?(console.log("if"),this.addPurchaseDetails()):(console.log("else"),l.forEach(function(l,u){e.push(n.createPurchasewithData(l)),n.annual[u]=l.annual_purchase_value}),this.grandpurchaseTotal=this.annual.reduce(function(l,n){return+l+ +n},0))},l.prototype.createPurchasewithData=function(l){return this.fb.group({purchase_id:[l.purchase_id],fk_pd_id:[this.pdDetails.pd_id],purchase_item:[l.purchase_item,Km.y.compose([Km.y.required])],purchase_qty:[l.purchase_qty,Km.y.compose([Km.y.required])],fk_uom_id:[l.fk_uom_id,Km.y.compose([Km.y.required])],rate_per_unit:[l.rate_per_unit,Km.y.compose([Km.y.required])],fk_frequency_id:[l.fk_frequency_id,Km.y.compose([Km.y.required])],annual_purchase_value:[l.annual_purchase_value,Km.y.compose([Km.y.required])],isactive:["1"],fk_createdby:[this.users]})},l=tf([Object(xm.k)({selector:"page-pd-question-assessed-purchase",templateUrl:"pd-question-assessed-purchase.html"}),of("design:paramtypes",[Sm.r,Km.g,Sm.s,Zm,ip,$m])],l)}(),_f=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},df=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},sf=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=a,this.toast=t,this.grandExpenseTotal=[],this.expenseannual=[],this.pdDetails=this.navParams.get("pdDetails"),this.expenseDetails=this.navParams.get("expense"),this.users=this.aws.getlocale(),this.BuissnessForm=this.fb.group({busExpense:this.fb.array([])}),null!=this.expenseDetails?this.getBuisnessExpenses(this.expenseDetails):this.addBusinessDetails(),this.getdropdown()}return l.prototype.grandpurchaseTotal=function(l){throw new Error("Method not implemented.")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BUSINESSEXPENSES").subscribe(function(n){1==n.dataStatus&&(l.businessExpenses=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedBusinessPage")},l.prototype.createBusinessDetails=function(){return this.fb.group({pd_expense_id:[null],fk_pd_id:[this.pdDetails.pd_id],expense_item_id:[null,Km.y.compose([Km.y.required])],expense_value:[null,Km.y.compose([Km.y.required])],fk_frequency_id:[null,Km.y.compose([Km.y.required])],annual_expenses_value:[null,Km.y.compose([Km.y.required])],isactive:["1"],fk_createdby:[this.users]})},l.prototype.addBusinessDetails=function(){this.BuissnessForm.controls.busExpense.push(this.createBusinessDetails())},l.prototype.deleteBuisnessDetails=function(l){this.expenseannual.splice(l,1),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0);this.BuissnessForm.controls.busExpense.removeAt(l)},l.prototype.busExpensecalculat=function(l,n){console.log(n,l);var e,u=n.value.fk_frequency_id,a=n.value.expense_value;null!=a?(1==u||(2==u?(this.expenseannual[l]=e=250*a,n.controls.annual_expenses_value.setValue(e)):3==u?(this.expenseannual[l]=e=a,n.controls.annual_expenses_value.setValue(e)):4==u||5==u&&(this.expenseannual[l]=e=12*a,n.controls.annual_expenses_value.setValue(e))),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0)):this.toast.pdTriggerappmessage("Enter the Amount and Frequency")},l.prototype.saveBusinessData=function(l){var n=this;if(this.BuissnessForm.valid){var e={records:l.busExpense};console.log("data",e),this.qustCat.saveassessedForms("saveAssessedIncomeBusinessExpenses",e).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getBuisnessExpenses=function(l){var n=this;if(0==l.length)this.addBusinessDetails();else{var e=this.BuissnessForm.controls.busExpense;l.forEach(function(l,u){n.expenseannual[u]=l.annual_expenses_value,e.push(n.createBusinessExpensewithData(l))}),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createBusinessExpensewithData=function(l){return this.fb.group({pd_expense_id:[l.pd_expense_id],fk_pd_id:[this.pdDetails.pd_id],expense_item_id:[l.expense_item_id,Km.y.compose([Km.y.required])],expense_value:[l.expense_value,Km.y.compose([Km.y.required])],fk_frequency_id:[l.fk_frequency_id,Km.y.compose([Km.y.required])],annual_expenses_value:[l.annual_expenses_value,Km.y.compose([Km.y.required])],isactive:["1"],fk_createdby:[this.users]})},l=_f([Object(xm.k)({selector:"page-pd-question-assessed-business",templateUrl:"pd-question-assessed-business.html"}),df("design:paramtypes",[Sm.r,Sm.s,Km.g,$m,Zm,ip])],l)}(),cf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},mf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},pf=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.toast=a,this.qustCat=t,this.houseannual=[],this.grandHouseExpenseTotal=[],this.pdDetails=this.navParams.get("pdDetails"),this.houseExpenseDetails=this.navParams.get("FormId"),this.expenseDetails=this.navParams.get("expense"),this.users=this.aws.getlocale(),this.houseHoldForm=this.fb.group({houseExpense:this.fb.array([])}),null!=this.expenseDetails?this.getHouseholdExpense(this.expenseDetails):this.addHouseExpenses(),this.getdropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedHouseholdPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.createHouseExpense=function(){return this.fb.group({household_expense_id:[null],fk_pd_id:[this.pdDetails.pd_id],expense_item:[null,Km.y.compose([Km.y.required])],expense_value:[null,Km.y.compose([Km.y.required])],fk_frequency_id:[null,Km.y.compose([Km.y.required])],annual_expense_value:[null,Km.y.compose([Km.y.required])],isactive:["1"],fk_createdby:[this.users]})},l.prototype.addHouseExpenses=function(){this.houseHoldForm.controls.houseExpense.push(this.createHouseExpense())},l.prototype.deleteHouseExpense=function(l){this.houseannual.splice(l,1),this.grandHouseExpenseTotal=this.houseannual.reduce(function(l,n){return+l+ +n},0);this.houseHoldForm.controls.houseExpense.removeAt(l)},l.prototype.houseExpensecalculat=function(l,n){var e,u=n.value.fk_frequency_id,a=n.value.expense_value;null!=a?(1==u||(2==u?(this.houseannual[l]=e=250*a,n.controls.annual_expense_value.setValue(e)):3==u?(this.houseannual[l]=e=a,n.controls.annual_expense_value.setValue(e)):4==u||5==u&&(this.houseannual[l]=e=12*a,n.controls.annual_expense_value.setValue(e))),this.grandHouseExpenseTotal=this.houseannual.reduce(function(l,n){return+l+ +n},0),console.log(this.grandHouseExpenseTotal)):this.toast.pdTriggerappmessage("Enter the Amount and Frequency")},l.prototype.saveHouseExpenseData=function(l){var n=this;if(this.houseHoldForm.valid){this.qustCat.saveassessedForms("saveAssessedIncomeHouseholdExpenses",{records:l.houseExpense}).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getHouseholdExpense=function(l){var n=this;if(0==l.length)this.addHouseExpenses();else{var e=this.houseHoldForm.controls.houseExpense;l.forEach(function(l,u){n.houseannual[u]=l.annual_expense_value,e.push(n.createHouseholdwithData(l))}),this.grandHouseExpenseTotal=this.houseannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createHouseholdwithData=function(l){return this.fb.group({household_expense_id:[l.household_expense_id],fk_pd_id:[this.pdDetails.pd_id],expense_item:[l.expense_item,Km.y.compose([Km.y.required])],expense_value:[l.expense_value,Km.y.compose([Km.y.required])],fk_frequency_id:[l.fk_frequency_id,Km.y.compose([Km.y.required])],annual_expense_value:[l.annual_expense_value,Km.y.compose([Km.y.required])],isactive:["1"],fk_createdby:[this.users]})},l=cf([Object(xm.k)({selector:"page-pd-question-assessed-household",templateUrl:"pd-question-assessed-household.html"}),mf("design:paramtypes",[Sm.r,Sm.s,Km.g,$m,ip,Zm])],l)}(),ff=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},hf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},gf=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=a,this.toast=t,this.m_freqOfPurchase=[],this.grandIncomeTotal=[],this.incomeannual=[],this.pdDetails=this.navParams.get("pdDetails"),this.expenseDetails=this.navParams.get("income"),console.log(this.expenseDetails),this.users=this.aws.getlocale(),this.BuissnessForm=this.fb.group({busIncome:this.fb.array([])}),null!=this.expenseDetails?this.getBuisnessExpenses(this.expenseDetails):this.addBusinessDetails(),this.getdropdown()}return l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BUSINESSINCOME").subscribe(function(n){1==n.dataStatus&&(l.businessIncome=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedBusinessIncomePage")},l.prototype.createBusinessDetails=function(){return this.fb.group({pd_business_income_id:[null],fk_pd_id:[this.pdDetails.pd_id],business_income_id:[null,Km.y.compose([Km.y.required])],income_value:[null,Km.y.compose([Km.y.required])],fk_frequency_id:[null,Km.y.compose([Km.y.required])],annual_income_value:[null,Km.y.compose([Km.y.required])],isactive:["1"],fk_createdby:[this.users],other_income_item:[null],other_frequncy_item:[null]})},l.prototype.addBusinessDetails=function(){this.BuissnessForm.controls.busIncome.push(this.createBusinessDetails())},l.prototype.deleteBuisnessDetails=function(l){this.incomeannual.splice(l,1),this.grandIncomeTotal=this.incomeannual.reduce(function(l,n){return+l+ +n},0);this.BuissnessForm.controls.busIncome.removeAt(l)},l.prototype.busIncomecalculate=function(l,n){console.log(n,l);var e,u=n.value.fk_frequency_id,a=n.value.income_value;if(null!=a&&null!=a){var t=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==u})[0];1==u?(console.log(t.mutiple_factor),this.incomeannual[l]=e=a*t.mutiple_factor,n.controls.annual_income_value.setValue(e)):2==u?(this.incomeannual[l]=e=a*t.mutiple_factor,n.controls.annual_income_value.setValue(e)):3==u?(this.incomeannual[l]=e=a*t.mutiple_factor,n.controls.annual_income_value.setValue(e)):4==u?(this.incomeannual[l]=e=a*t.mutiple_factor,n.controls.annual_income_value.setValue(e)):5==u?(this.incomeannual[l]=e=a*t.mutiple_factor,n.controls.annual_income_value.setValue(e)):6==u?(this.incomeannual[l]=e=a*t.mutiple_factor,n.controls.annual_income_value.setValue(e)):7==u?(this.incomeannual[l]=e=a*t.mutiple_factor,n.controls.annual_income_value.setValue(e)):8==u&&(this.incomeannual[l]=e=a,n.controls.annual_income_value.setValue(e)),this.grandIncomeTotal=this.incomeannual.reduce(function(l,n){return+l+ +n},0)}else this.toast.pdTriggerappmessage("Enter the Amount and Frequency")},l.prototype.saveBusinessData=function(l){var n=this;if(this.BuissnessForm.valid){var e={records:l.busIncome};console.log("data",e),this.qustCat.saveassessedForms("saveOtherBusinessIncome",e).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getBuisnessExpenses=function(l){var n=this;if(0==l.length)this.addBusinessDetails();else{var e=this.BuissnessForm.controls.busIncome;l.forEach(function(l,u){n.incomeannual[u]=l.annual_income_value,e.push(n.createBusinessExpensewithData(l))}),this.grandIncomeTotal=this.incomeannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createBusinessExpensewithData=function(l){return this.fb.group({pd_business_income_id:[l.pd_business_income_id],fk_pd_id:[this.pdDetails.pd_id],business_income_id:[l.business_income_id,Km.y.compose([Km.y.required])],income_value:[l.income_value,Km.y.compose([Km.y.required])],fk_frequency_id:[l.fk_frequency_id,Km.y.compose([Km.y.required])],annual_income_value:[l.annual_income_value,Km.y.compose([Km.y.required])],isactive:["1"],fk_createdby:[this.users],other_income_item:[l.other_income_item],other_frequncy_item:[l.other_frequncy_item]})},l=ff([Object(xm.k)({selector:"page-pd-question-assessed-business-income",templateUrl:"pd-question-assessed-business-income.html"}),hf("design:paramtypes",[Sm.r,Sm.s,Km.g,$m,Zm,ip])],l)}(),bf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},vf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},yf=function(){function l(l,n,e,u,a,t){switch(this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=a,this.fb=t,this.houseannual=[],this.expenseannual=[],this.sales_item_month_value=[],this.sales_wise_month_headers=[],this.sales_month_wise_data=[],this.grandpurchaseTotal=null,this.annual=[],this.pdDetails=this.navParams.get("pdDetails"),this.pageId=this.navParams.get("pageId"),this.pageId){case 1:this.FormName="Sales Page";break;case 2:this.FormName="Purchase Page";break;case 3:this.FormName="Business Expense Page";break;case 4:this.FormName="House Hold Page";break;default:this.FormName="Question Page"}this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({sdc_id:[null],sales_declared_by_customer:[null],fk_pd_id:[this.pdDetails.pd_id],margin_per:[null],margin_value:[null],isactive:[1],fk_createdby:[this.users]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedInfoPage")},l.prototype.ionViewDidEnter=function(){},l.prototype.ionViewCanEnter=function(){this.getAssessedDetails()},l.prototype.getMarginCalc=function(){var l=this.assessedForm.controls.margin_per.value,n=this.assessedForm.controls.sales_declared_by_customer.value;if(null!=l&&null!=n){this.assessedForm.controls.margin_value.setValue(n*(l/100))}},l.prototype.saveData=function(l){var n=this,e={};e={records:l},console.log(e),this.qustCat.saveassessedForms("saveAssessedIncomeSalesDeclaredByCustomer",e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.getAssessedDetails())})},l.prototype.getAssessedDetails=function(){var l=this;this.sales_item_month_value=[],this.sales_month_wise_data=[],this.sales_item_value=[];this.qustCat.retiverassessedForm("getAssessedIncome",{pd_id:this.pdDetails.pd_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records.sales_declared_by_customer[0];l.sales_item_value=n.records.sales_calculated_by_itemwise,l.sales_item_month_value=n.records.sales_items_by_monthwise,l.purchse_details=n.records.purchase_details,l.grossprofitCalc=n.records.gross_profit_calculation_type[0],l.mode=l.grossprofitCalc.mode,console.log(l.grossprofitCalc);var u=l.purchse_details.reduce(function(l,n){return l},[]);console.log(u),l.businessExpenses_details=n.records.business_expenses,l.houseHold_details=n.records.house_hold_expenses,l.busissnessIncome=n.records.othre_business_income,l.sales_item_month_value.forEach(function(n,e){var u=Object.keys(n.items).map(function(l){return{header:l,value:n.items[l]}}),a=[];u.forEach(function(l,n){var e=l.value.reduce(function(l,n){return l+Number(n.sales_value)},0);a.push({items:l,itemsTotal:e})});var t=a.reduce(function(l,n){return l+Number(n.itemsTotal)},0),i=12/a.length,o=[];o.push({month_message:a.length+" Month Sales : "+t,month_value:t,year_message:" Yearly Sales Arrived : "+t*i,year_value:t*i}),l.sales_month_wise_data.push({salesItem:n.sales_item,expandElements:u,footerMessage:o,simId:n.sim_id})}),console.log(l.sales_month_wise_data),void 0!==e&&(l.assessedForm.controls.sdc_id.setValue(e.sdc_id),l.assessedForm.controls.sales_declared_by_customer.setValue(e.sales_declared_by_customer),l.assessedForm.controls.margin_value.setValue(e.margin_value),l.assessedForm.controls.margin_per.setValue(e.margin_per))}})},l.prototype.AddAssessedForm=function(){this.navCtrl.push(nf,{pdDetails:this.pdDetails,sales:null,grossprofit:this.grossprofitCalc})},l.prototype.editDetails=function(l){var n=this.sales_item_value.filter(function(n){return n.sci_id==l});console.log(n),this.navCtrl.push(nf,{pdDetails:this.pdDetails,sales:n,grossprofit:this.grossprofitCalc})},l.prototype.editAllDetails=function(l){this.navCtrl.push(nf,{pdDetails:this.pdDetails,sales:l,grossprofit:this.grossprofitCalc})},l.prototype.AddAssessedDailyForm=function(){this.navCtrl.push(af,{pdDetails:this.pdDetails,salesDaily:null,grossprofit:this.grossprofitCalc})},l.prototype.editAssessedDailyForm=function(l){var n=this.sales_item_month_value.filter(function(n){return n.sim_id==l});console.log(n),this.navCtrl.push(af,{pdDetails:this.pdDetails,salesDaily:n,grossprofit:this.grossprofitCalc})},l.prototype.AddPurchaseForm=function(){this.navCtrl.push(rf,{pdDetails:this.pdDetails,purchase:null})},l.prototype.editPurchaseDetails=function(l){var n=this.purchse_details.filter(function(n){return n.purchase_id==l});console.log(n),this.navCtrl.push(rf,{pdDetails:this.pdDetails,purchase:n})},l.prototype.editPurchaseAllDetails=function(l){console.log("260",l),this.navCtrl.push(rf,{pdDetails:this.pdDetails,purchase:l})},l.prototype.AddExpenseForm=function(){this.navCtrl.push(sf,{pdDetails:this.pdDetails,expense:null})},l.prototype.editExpenseDetails=function(l){var n=this.businessExpenses_details.filter(function(n){return n.pd_expense_id==l});console.log(n),this.navCtrl.push(sf,{pdDetails:this.pdDetails,expense:n})},l.prototype.editExpenseAllDetails=function(l){this.navCtrl.push(sf,{pdDetails:this.pdDetails,expense:l})},l.prototype.AddHouseExpenseForm=function(){this.navCtrl.push(pf,{pdDetails:this.pdDetails,expense:null})},l.prototype.editHouseExpenseDetails=function(l){var n=this.houseHold_details.filter(function(n){return n.household_expense_id==l});console.log(n),this.navCtrl.push(pf,{pdDetails:this.pdDetails,expense:n})},l.prototype.editHouseExpenseAllDetails=function(l){this.navCtrl.push(pf,{pdDetails:this.pdDetails,expense:l})},l.prototype.AddIncomeForm=function(){this.navCtrl.push(gf,{pdDetails:this.pdDetails,income:null})},l.prototype.editIncomeDetails=function(l){var n=this.busissnessIncome.filter(function(n){return n.pd_business_income_id==l});console.log(n),this.navCtrl.push(gf,{pdDetails:this.pdDetails,income:n})},l.prototype.editIncomeAllDetails=function(l){this.navCtrl.push(gf,{pdDetails:this.pdDetails,income:l})},l=bf([Object(xm.k)({selector:"page-pd-question-assessed-info",templateUrl:"pd-question-assessed-info.html"}),vf("design:paramtypes",[Sm.r,Sm.s,$m,Zm,ip,Km.g])],l)}(),Cf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},wf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ff=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=a,this.toast=t,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({calc_type_id:[null],fk_pd_id:[this.pdDetails.pd_id],mode:[null,Km.y.compose([Km.y.required])],margin:[null],fk_createdby:[this.users],fk_updatedby:[null]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDashPage")},l.prototype.ionViewCanEnter=function(){this.getassessedIncome()},l.prototype.getViewPage=function(l){this.navCtrl.push(yf,{pdDetails:this.pdDetails,pageId:l})},l.prototype.saveAssessedForm=function(l){var n=this;if(console.log(this.assessedForm.value),this.assessedForm.valid){var e={records:this.assessedForm.value};console.log("data",e),this.qustCat.saveassessedForms("saveAssessedIncomeCalculateMode",e).subscribe(function(l){1==l.dataStatus&&n.getassessedIncome()})}},l.prototype.getassessedIncome=function(){var l=this;this.qustCat.retiverassessedForm("getAssessedIncome",{pd_id:this.pdDetails.pd_id}).subscribe(function(n){1==n.dataStatus?(l.assessedProcess=!0,l.grossprofit=n.records.gross_profit_calculation_type[0],0!=n.records.purchase_details.length&&(l.purchaseData=!0),0==n.records.sales_items_by_monthwise.length&&0==n.records.sales_declared_by_customer.length&&0==n.records.sales_calculated_by_itemwise.length||(l.salesData=!0),0!=n.records.business_expenses.length&&(l.businessData=!0),0!=n.records.house_hold_expenses.length&&(l.houseExpenseData=!0),0!=n.records.othre_business_income.length&&(l.businessIncome=!0),console.log(n.records.final_data.length),0!=n.records.final_data.length&&(l.finalAccess=!0,l.finalData=n.records.final_data[0],l.finalIncome=l.finalData.income,l.finalExpense=l.finalData.expense),console.log(l.grossprofit),void 0!==l.grossprofit&&(l.grossAccess=!0,l.assessedForm.controls.mode.setValue(l.grossprofit.mode),l.assessedForm.controls.margin.setValue(l.grossprofit.margin),l.assessedForm.controls.calc_type_id.setValue(l.grossprofit.calc_type_id))):l.assessedProcess=!1})},l=Cf([Object(xm.k)({selector:"page-pd-question-assessed-dash",templateUrl:"pd-question-assessed-dash.html"}),wf("design:paramtypes",[Sm.r,Sm.s,$m,Km.g,Zm,ip])],l)}(),xf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Sf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},If=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=a,this.fb=t,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.representativeForm=this.fb.group({pdid:[this.pdDetails.pd_id],formid:[this.FormId.form_id],fk_createdby:[this.users],lender_representative_accompany:["",Km.y.compose([Km.y.required])],representative_remarks:["",Km.y.compose([Km.y.required])],lender_representative_details:this.fb.array([])}),this.getLenderReDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionLenderRepresentativePage")},l.prototype.createlenReDetails=function(){return this.fb.group({lender_representative_who_accompanies:["",Km.y.compose([Km.y.required])],lender_representative_carry_loan_files:["",Km.y.compose([Km.y.required])]})},l.prototype.selectedLoanChanges=function(l){if("Yes"==l.value){this.representativeForm.controls.lender_representative_details.push(this.createlenReDetails())}else if("No"==l.value){this.representativeForm.controls.lender_representative_details.removeAt(0)}},l.prototype.sumbitData=function(l){var n=this;if(this.representativeForm.valid){this.qustCat.saveForm(this.representativeForm.value).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter All Field")},l.prototype.getLenderReDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;if("Yes"==e.lender_representative_accompany){l.representativeForm.controls.lender_representative_accompany.setValue(e.lender_representative_accompany),l.representativeForm.controls.representative_remarks.setValue(e.representative_remarks);var u=Object.keys(n.records.lender_representative_details).map(function(l){return n.records.lender_representative_details[l]});console.log(u);var a=l.representativeForm.controls.lender_representative_details;u.forEach(function(n){a.push(l.createlenReDetails())}),l.representativeForm.controls.lender_representative_details.setValue(u)}else l.representativeForm.controls.lender_representative_accompany.setValue(e.lender_representative_accompany),l.representativeForm.controls.representative_remarks.setValue(e.representative_remarks)}})},l=xf([Object(xm.k)({selector:"page-pd-question-lender-representative",templateUrl:"pd-question-lender-representative.html"}),Sf("design:paramtypes",[Sm.r,Sm.s,$m,Zm,ip,Km.g])],l)}(),qf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},kf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Pf=function(){function l(l,n,e,u){this.navCtrl=l,this.navParams=n,this.fb=e,this.viewCtrl=u,this.applicantInfo={pd_co_applicant_id:"0",applicant_name:"",company_name:""},this.otherForm=this.fb.group({otherName:this.fb.array([])}),this.addmore()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionGeneralOtherApplicantPage")},l.prototype.createName=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name,Km.y.required]})},l.prototype.addmore=function(){if(this.otherForm.valid){this.otherForm.controls.otherName.push(this.createName(this.applicantInfo))}},l.prototype.deleteappdata=function(l){var n=this.otherForm.controls.otherName;1==n.length?n.reset():n.removeAt(l)},l.prototype.closeModal=function(){this.viewCtrl.dismiss(1)},l.prototype.submitData=function(l){this.otherForm.valid&&this.viewCtrl.dismiss(this.otherForm.value)},l=qf([Object(xm.k)({selector:"page-pd-question-general-other-applicant",templateUrl:"pd-question-general-other-applicant.html"}),kf("design:paramtypes",[Sm.r,Sm.s,Km.g,Sm.y])],l)}(),Df=e(4),Tf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Of=function(){function l(){}return l.prototype.transform=function(l,n){var e=n.existRelationList.filter(function(l){return l.relation_to==n.currentApplicantID});if(e.length>0){return l.filter(function(l){return!e.some(function(e){return l.pd_co_applicant_id==n.currentApplicantID||l.pd_co_applicant_id==e.pd_co_applicant_id})})}return l.filter(function(l){return l.pd_co_applicant_id!=n.currentApplicantID})},l=Tf([Object(xm.M)({name:"pdPipe"})],l)}(),Lf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Af=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Vf=function(){function l(l,n,e,u,a,t,i){var o=this;this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=a,this.fb=t,this.modal=i,this.pipe=new Df.d("en-US"),this.fetch_related_details=[],this.pd_applicants_details=[],this.OldData=[],this.OldData_indi=[],this.cart=[],this.maxDate=new Date,this.pd_applicants_details=[],this.pd_applicants_details.pop(),this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.getdropdown(),this.generalForm=this.fb.group({pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,applicant_list:this.fb.array([]),applicant_relation:this.fb.array([]),list_value:this.fb.array([]),company_value:this.fb.array([]),individuals:this.fb.array([]),companies:this.fb.array([]),persons_with_relationships:this.fb.array([]),company_with_relationships:this.fb.array([]),general_remark:""}),this.pd_applicants_details=this.pdDetails.applicat_details,this.buttonClick=!1,this.h_companies=!1,this.datav=[{name:"fairoj",id:1},{name:"ff",id:2}],this.generalForm.controls.list_value.valueChanges.subscribe(function(l){var n=o.generalForm.controls.list_value;o.individualsList=n.value.filter(function(l){return 1==l.is_applicant}),o.individualsListBothCase=n.value.filter(function(l){return 1==l.is_applicant||1==l.is_person_met}),o.fulldata=n.value}),this.generalForm.controls.company_value.valueChanges.subscribe(function(l){o.companyList=o.generalForm.controls.company_value.value.filter(function(l){return l.company_name})}),this.i=0}return l.prototype.ionViewDidLoad=function(){this.pd_applicants_details.pop(),console.log("ionViewDidLoad PdQuestionGeneralInfoPage"),this.getGeneralForm()},l.prototype.initlistv=function(l,n){var e=this.generalForm.controls.list_value;if("ins"==n)for(var u=0,a=l;u0&&l.forEach(function(l){u.push(e.createApplicant(l))}),n.length>0&&n.forEach(function(l){a.push(e.createApplicantRelation(l)),e.fetch_related_details.push(l.applicant_name)})},l.prototype.createApplicant=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name],company_name:[l.company_name],exist_status:[1==l.exist_status&&l.pd_co_applicant_id>0]})},l.prototype.coapplicantChange=function(l,n,e){var u=this,a=this.generalForm.controls.applicant_relation,t=this.generalForm.controls.applicant_list;if(e.exist_status.value)if(0==e.pd_co_applicant_id.value){var i=this.modal.create(Pf);i.onDidDismiss(function(l){1!=l?l.otherName.forEach(function(l){a.push(u.createApplicantRelation({pd_co_applicant_id:l.pd_co_applicant_id,applicant_name:l.applicant_name,applicant_relation_to:"",relation:"",company_name:"",company_relation:""})),u.fetch_related_details.push(l.applicant_name)}):t.at(n).get("exist_status").setValue(!1)}),i.present()}else{a.push(this.createApplicantRelation({pd_co_applicant_id:e.pd_co_applicant_id.value,applicant_name:e.applicant_name.value,applicant_relation_to:"",relation:"",company_name:e.company_name.value,company_relation:""})),this.fetch_related_details.push(e.applicant_name.value)}else{var o=this.generalForm.controls.applicant_relation,r=o.value.map(function(l){return l.pd_co_applicant_id}).indexOf(e.pd_co_applicant_id.value);if(0!=e.pd_co_applicant_id.value){o.removeAt(r);var _=this.fetch_related_details.indexOf(e.applicant_name.value);this.fetch_related_details.splice(_,1)}else t.at(n).get("exist_status").setValue(!1)}},l.prototype.createApplicantRelation=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name],company_name:[l.company_name,l.company_name?Km.y.required:Km.y.nullValidator],company_relationship:[l.company_relationship],applicant_relation_to:[l.applicant_relation_to,Km.y.required],relationship:[l.relationship]})},l.prototype.removereferance=function(l){this.generalForm.controls.applicant_relation.removeAt(l)},l.prototype.ConvertMonthintoYearforBusiness=function(l,n){var e=this.generalForm.get("companies"),u=l%12,a=l/12;(e=e.controls[n]).controls.business_years.setValue(+e.controls.business_years.value+ +Math.floor(a)),e.controls.business_month.setValue(Math.floor(u))},l.prototype.getDateObjects=function(l,n){var e=this.generalForm.get("companies");e.controls.business_years="",e.controls.business_month="",e=e.controls[n];var u=this.pdDetails.pd_date_of_initiation.split("/").reverse().join("/"),a=this.pipe.transform(l,"yyyy/MM/dd"),t=Date.parse(u)-Date.parse(a),i=Math.floor(t/1e3);i/=2592e3,i=Math.abs(Math.round(i)),e.controls.business_years.setValue(0),e.controls.business_month.setValue(0),i&&(e.controls.business_years.setValue(Math.floor(i/12)),e.controls.business_month.setValue(Math.floor(i%12)))},l.prototype.submitData=function(l){var n=this;console.log("Answer",l);var e={},u=[],a=[];Object.keys(l.list_value).map(function(n){return l.list_value[n]}).forEach(function(l){u.push(l)}),this.OldData_indi.length>0&&this.OldData_indi.forEach(function(l){u.push(l)});Object.keys(l.company_value).map(function(n){return l.company_value[n]}).forEach(function(l){a.push(l)}),this.OldData.length>0&&this.OldData.forEach(function(l){a.push(l)}),e.individuals=u,e.companies=a,e.pdid=l.pdid,e.formid=l.formid,e.fk_createdby=this.users,e.persons_with_relationships=l.persons_with_relationships,e.company_with_relationships=l.company_with_relationships,e.general_remark=l.general_remark,console.log("save Records",e),this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus?(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.navCtrl.pop()):n.toast.pdTriggerappmessage("Error")})},l.prototype.getGeneralForm=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){l.data_all=n.records;var e;if(l.generalForm.get("companies").controls=[],1==n.dataStatus){l.lengthv=l.data_all,l.generalForm.controls.general_remark.setValue(l.data_all.general_remark),l.initlistv(l.data_all.individuals,"get");var u=[];(e=Object.keys(n.records.companies).map(function(l){return n.records.companies[l]})).length>0&&e.forEach(function(n,e){0!=n.is_active?u.push(n):l.OldData.push(n)}),l.initCompanyValue(u,"get"),""!=l.data_all.persons_with_relationships&&l.initPersonRelationship(l.data_all.persons_with_relationships),""!=l.data_all.company_with_relationships&&l.initCompanyRelationShip(l.data_all.company_with_relationships)}})},l.prototype.createCompanies=function(l){return this.fb.group({company_order_id:[l.company_order_id],company_name:[l.company_name],company_messrs_name:["M/s"],is_company_applicant:[l.is_company_applicant],business_entity_type:[l.business_entity_type,Km.y.required],business_years:[l.business_years,Km.y.required],business_month:[l.business_month],business_date_object:[l.business_date_object],is_active:[l.is_active],is_new:[l.is_new]})},l=Lf([Object(xm.k)({selector:"page-pd-question-general-info",templateUrl:"pd-question-general-info.html",providers:[Of]}),Af("design:paramtypes",[Sm.r,Sm.s,$m,Zm,ip,Km.g,Sm.p])],l)}(),jf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Nf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ef=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=a,this.fb=t,this.constant=i,this.check_type=[{id:0,type_name:"Neighbourhood"},{id:1,type_name:"Reference Check"}],this.finalRemarksList=[{id:1,name:"Positive"},{id:2,name:"Negative"},{id:3,name:"Insufficient information provided"}],this.amtInWords=[],this.isDisplay=[],this.isDisplay2=[],this.pdDetails=this.navParams.get("pdDetails"),console.log("Pd",this.pdDetails),this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type}),this.applicants.push({pd_co_applicant_id:0,applicant_name:"Others"}),this.neighbourhoodForm=this.fb.group({pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,check_type:0,neighbourhood_list:this.fb.array([]),neighbourhood_status:[""],referencecheck_list:this.fb.array([]),neighbour_reference_remark:""}),this.users=this.aws.getlocale(),this.getneighbourhood(),this.getdropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionNeighbourHoodPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("RELATIONWITHBUSINESS").subscribe(function(n){1==n.dataStatus&&(l.relationBusiness=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequency=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.inWords=function(l,n){this.amtInWords[n]=this.constant.convertNumberToWords(l.target.value)},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.ConvertMonthintoYear=function(l,n,e){if(2==e){var u=n%12,a=n/12;l.controls.year_relation_applicant.setValue(+l.controls.year_relation_applicant.value+ +Math.floor(a)),l.controls.months_relation_applicant.setValue(Math.floor(u))}else if(1==e){u=n%12,a=n/12;l.controls.how_long_do_know_in_year.setValue(+l.controls.how_long_do_know_in_year.value+ +Math.floor(a)),l.controls.how_long_do_know_in_month.setValue(Math.floor(u))}},l.prototype.toggleVisibility=function(l,n,e){console.log(l,n);1==e?this.isDisplay[n]=l:2==e&&(this.isDisplay2[n]=l)},l.prototype.checkOthers=function(l){return console.log("check other value",l),null!=l&&0==l},l.prototype.createreferance=function(){return this.fb.group({reference_name:[null],mobile:["",Km.y.compose([Km.y.minLength(10),Km.y.maxLength(10)])],statecode:[null],landline:[null],location:[null],relationship_with:[null],others:[null],year_relation_applicant:[null],months_relation_applicant:[null],business_volume_amount:[null],business_volume_unit:[null],others_unit:[null],reference_final_remarks:[null],specify_final_remark:[null]})},l.prototype.addreferance=function(){this.neighbourhoodForm.controls.referencecheck_list.push(this.createreferance())},l.prototype.removereferance=function(l){var n=this.neighbourhoodForm.controls.referencecheck_list;1==n.length?n.reset():n.removeAt(l)},l.prototype.createNeighbourhood=function(){return this.fb.group({neighbourhood_name:[null],do_know:[""],how_long_do_know_in_year:[""],how_long_do_know_in_month:[""],organisation_owner:[""],is_applicant_owner:[""],other_organisation_owner:[""],did_not_know_the_business_operation:[""],did_not_know_the_owner:[""]})},l.prototype.addneighbourhood=function(){this.neighbourhoodForm.controls.neighbourhood_list.push(this.createNeighbourhood())},l.prototype.removeneighbourhood=function(l){var n=this.neighbourhoodForm.controls.neighbourhood_list;1==n.length?n.reset():n.removeAt(l)},l.prototype.submitData=function(l){var n=this;console.log(l);var e={},u=[],a=[];0==l.check_type?(l.neighbourhood_list.forEach(function(l,n){a.push({neighbourhood_name:l.neighbourhood_name,do_know:l.do_know,how_long_do_know_in_year:l.how_long_do_know_in_year,how_long_do_know_in_month:l.how_long_do_know_in_month,is_applicant_owner:l.is_applicant_owner,organisation_owner:l.organisation_owner,other_organisation_owner:l.other_organisation_owner,did_not_know_the_business_operation:l.did_not_know_the_business_operation,did_not_know_the_owner:l.did_not_know_the_owner})}),e.neighbourhood_list=a):(l.referencecheck_list.forEach(function(l,n){u.push({reference_name:l.reference_name,mobile:l.mobile,landline:l.statecode+"-"+l.landline,location:l.location,relationship_with:l.relationship_with,others:l.others,year_relation_applicant:l.year_relation_applicant,months_relation_applicant:l.months_relation_applicant,business_volume_amount:l.business_volume_amount,business_volume_unit:l.business_volume_unit,others_unit:l.others_unit,reference_final_remarks:l.reference_final_remarks,specify_final_remark:l.specify_final_remark})}),e.referencecheck_list=u),e.pdid=l.pdid,e.formid=l.formid,e.check_type=l.check_type,e.fk_createdby=this.users,e.neighbourhood_status=l.neighbourhood_status,e.neighbour_reference_remark=l.neighbour_reference_remark,console.log(e),this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})},l.prototype.getneighbourhood=function(){var l=this,n=this.neighbourhoodForm.controls.referencecheck_list,e=this.neighbourhoodForm.controls.neighbourhood_list;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(u){if(1==u.dataStatus){var a=u.records;if(console.log("neighbour Status",a),0==a.check_type){l.neighbourhoodForm.controls.check_type.setValue(a.check_type),l.neighbourhoodForm.controls.neighbour_reference_remark.setValue(a.neighbour_reference_remark),l.neighbourhoodForm.controls.neighbourhood_status.setValue(a.neighbourhood_status);var t=Object.keys(u.records.neighbourhood_list).map(function(l){return u.records.neighbourhood_list[l]});console.log("data"),t.forEach(function(n,u){console.log("did_not Know",n.did_not_know_the_business_operation),l.toggleVisibility(n.did_not_know_the_business_operation,u,1),l.toggleVisibility(n.did_not_know_the_owner,u,2),e.push(l.createNeighbourhood())}),l.neighbourhoodForm.controls.neighbourhood_list.setValue(t)}else l.addneighbourhood();if(1==a.check_type){var i=Object.keys(u.records.referencecheck_list).map(function(l){return u.records.referencecheck_list[l]});console.log(i),l.neighbourhoodForm.controls.check_type.setValue(a.check_type),l.neighbourhoodForm.controls.neighbour_reference_remark.setValue(a.neighbour_reference_remark),i.forEach(function(e,u){var a=e.landline.search("-");i[u].statecode=e.landline.substr(0,a),console.log(e),i[u].landline=e.landline.substr(+a+1,8),n.push(l.createreferance()),l.amtInWords[u]=l.constant.convertNumberToWords(e.business_volume_amount)}),console.log(i),l.neighbourhoodForm.controls.referencecheck_list.setValue(i)}else l.addreferance()}else l.addneighbourhood(),l.addreferance()})},l=jf([Object(xm.k)({selector:"page-pd-question-neighbour-hood",templateUrl:"pd-question-neighbour-hood.html"}),Nf("design:paramtypes",[Sm.r,Sm.s,$m,Zm,ip,Km.g,Em])],l)}(),Wf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Rf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Uf=function(){function l(l,n,e,u,a,t){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustcat=u,this.aws=a,this.toast=t,this.m_remarkTypeCustomerBehaviour=[],this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.users=a.getlocale(),console.log("form Id",this.FormId),this._finalRemarkForm=this.fb.group({fk_createdby:[this.users],pdid:[this.pdid],formid:[this.FormId.form_id],final_custormer_remark_type:[null],final_other_customer_behaviour:[null],is_service_provided:[null],final_form_remarks:[null]}),this.getDropDown(),this.getFinalRemark()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFinalRemarkPage")},l.prototype.getDropDown=function(){var l=this;this.qustcat.getcommondrop("CUSTOMERBEHAVIOUR").subscribe(function(n){console.log("drop",n),l.m_remarkTypeCustomerBehaviour=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.getFinalRemark=function(){var l=this;this.qustcat.retiverForm({pd_id:this.pdid,pd_form_id:this.FormId.form_id}).subscribe(function(n){1==n.dataStatus&&(console.log("Data get",n.records),l._finalRemarkForm.controls.final_custormer_remark_type.setValue(n.records.final_custormer_remark_type),l._finalRemarkForm.controls.final_other_customer_behaviour.setValue(n.records.final_other_customer_behaviour),l._finalRemarkForm.controls.is_service_provided.setValue(n.records.is_service_provided),l._finalRemarkForm.controls.final_form_remarks.setValue(n.records.final_form_remarks))})},l.prototype.saveFinalRemark=function(){var l=this;if(!this._finalRemarkForm.invalid){var n=this._finalRemarkForm.value;Object.keys(n).forEach(function(l){return null==n[l]&&delete n[l]}),console.log(JSON.stringify(n)),this.qustcat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Record Saved Successfully"),l.navCtrl.pop()):l.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})}},l=Wf([Object(xm.k)({selector:"page-pd-question-final-remark",templateUrl:"pd-question-final-remark.html"}),Rf("design:paramtypes",[Sm.r,Sm.s,Km.g,Zm,$m,ip])],l)}(),Bf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},$f=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Mf=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=a,this.fb=t,this.cons=i,this.stateList=[],this.applicants=[],this.businessEntityTypeList={business_entity_type_id:String,business_entity_type_name:String,sourcsection_labeleName:String},this.relationData=[],this.industryData=[],this.activityData=[],this.companyRelationShipList=[],this.countryDataList=[],this.filterCityList=[],this.errorMessage=[],this.titleData=[],this.personsList=[],this.ExportFlag=!1,this.ManufacturingCounterArray=[],this.RetailCounterArray=[],this.WholeSaleCounterArray=[],this.ServiceCounterArray=[],this.getStateCityDet(),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,console.log("pdails",this.pdDetails),this.formdetails=this.navParams.get("formDetails"),console.log(this.formdetails),this.FormId=this.formdetails.form_id,this.users=this.aws.getlocale(),this.applicants=this.pdDetails.applicat_details,console.log("Applicants",this.applicants),this.generalExistEntityType=this.pdDetails.business_entity_type,this.generalExistEntityType_other=this.pdDetails.business_entity_type_other,this.generalExistBusinessYear=this.pdDetails.business_years,this.step=0,this.businessForm=this.fb.group({fk_createdby:[this.users],pdid:[this.pdid],formid:[this.FormId],company_id:this.pdDetails.company_id,partners:this.fb.array([]),persons_with_relationships:this.fb.array([]),select_business_activity_type:this.fb.array([]),manufacturing_activity_details:this.fb.array([]),retail_trading_activity_details:this.fb.array([]),wholesale_trading_activity_details:this.fb.array([]),service_provider_activity_details:this.fb.array([]),others_activity_details:this.fb.array([]),export_sale_of_total_sales:[""],seasonality:[""],employees_total:["",Km.y.compose([Km.y.required])],employees_permanent:["",Km.y.compose([Km.y.required])],employees_temporary:["",Km.y.compose([Km.y.required])],employees_appx_salary:[""],was_the_company_name_board_sighted:["",Km.y.compose([Km.y.required])],officer_total:["",Km.y.compose([Km.y.required])],shop_eat_act_cert:[""],gst_Regn_cert:[""],pf_regn:[""],esic_regn:[""],other_documents:[""],documents:this.fb.array([]),business_remarks:[""]}),this.getdropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessInfoPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&l.relationData.push(n)})}),this.qustCat.getcommondrop("INDUSTRYCLASSIFICATION").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&l.industryData.push(n)})}),this.qustCat.getcommondrop("TYPEOFACTIVITY").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&l.activityData.push(n)})}),this.qustCat.getcommondrop("BUSINESSENTITYTYPE").subscribe(function(n){var e=n.records.filter(function(n){return n.business_entity_type_id==l.generalExistEntityType});l.businessEntityTypeList.business_entity_type_id=1==e[0].business_entity_type_id,l.businessEntityTypeList.business_entity_type_name=1!=e[0].business_entity_type_id?e[0].business_entity_type_name:l.generalExistEntityType_other,l.businessEntityTypeList.section_label=1!=e[0].business_entity_type_id?e[0].section_label:l.generalExistEntityType_other}),this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.companyRelationShipList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("COUNTRY").subscribe(function(n){l.countryDataList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.titleData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getAllPersonsName(this.pdid).subscribe(function(n){n.dataStatus&&(console.log("Person List",n),l.personsList=n.record.filter(function(l){return 1==l.applicant_type}),console.log("Person List",l.personsList))})},l.prototype.getStateCityDet=function(){var l=this;this.qustCat.getStateCityDetails().subscribe(function(n){l.stateList=n.records,l.getDetails()})},l.prototype.getDetails=function(){var l=this,n={};n.pd_id=this.pdid,n.pd_form_id=13,n.company_id=this.pdDetails.company_id,this.qustCat.retiverForm(n).subscribe(function(n){var e=n.records,u=l.businessForm.controls.partners,a=l.businessForm.controls.persons_with_relationships,t=l.businessForm.controls.select_business_activity_type,i=l.businessForm.controls.manufacturing_activity_details,o=l.businessForm.controls.retail_trading_activity_details,r=l.businessForm.controls.wholesale_trading_activity_details,_=l.businessForm.controls.service_provider_activity_details,d=l.businessForm.controls.others_activity_details,s=l.businessForm.controls.documents;if(200==n.status){var c=void 0,m=Object.keys(n.records.partners).map(function(l){return n.records.partners[l]});if(0==m.length?u.push(l.createPartners()):m.forEach(function(n,e){u.push(l.createPartners()),"Others"==n.partner_name&&u.controls[e].addControl("partner_other_name",new Km.h("",Km.y.required)),parseInt(n.total_business_experiance)>parseInt(n.current_business_experiance_year)?u.controls[e].addControl("total_business_previous_experience",new Km.h("",Km.y.required)):u.controls[e].removeControl("total_business_previous_experience")}),n.records.persons_with_relationships){var p=Object.keys(n.records.persons_with_relationships).map(function(l){return n.records.persons_with_relationships[l]});p.length>0?(p.forEach(function(n,e){a.push(l.createRelationShip())}),e.persons_with_relationships=p):e.persons_with_relationships=[]}else e.persons_with_relationships=[];"yes"==n.records.other_documents?(c=Object.keys(n.records.documents).map(function(l){return n.records.documents[l]})).forEach(function(n){s.push(l.createDocument())}):(c=[{document:""}],s.push(l.createDocument())),e.pdid=l.pdid,e.formid=13,e.company_id=l.pdDetails.company_id,e.fk_createdby=l.users,e.partners=m,e.documents=c,e.employees_appx_salary&&(l.appxSalaryAmtInwords=l.cons.convertNumberToWords(e.employees_appx_salary)),console.log("pa",l.businessForm.controls.partners.controls);var f=l.activityData.map(function(l){return{name:l.name,type_of_activity_id:l.type_of_activity_id}}),h=[];n.records.select_business_activity_type&&(h=Object.keys(n.records.select_business_activity_type).map(function(l){return n.records.select_business_activity_type[l].type_of_activity_id}));var g=f.map(function(l){return l.type_of_activity_id}).map(function(l,n){return h.indexOf(l)<0?(f[n].exist_status=0,f[n]):(f[n].exist_status=1,f[n])}).filter(function(l){return void 0!=l});if(g.length>0&&(g.forEach(function(n,e){t.push(l.createBusinessActivity(n))}),e.select_business_activity_type=g),n.records.manufacturing_activity_details){var b=Object.keys(n.records.manufacturing_activity_details).map(function(l){return n.records.manufacturing_activity_details[l]});b.length>0?(b.length>0?l.businessForm.addControl("export_import_cert",new Km.h("",Km.y.required)):l.businessForm.removeControl("export_import_cert"),b.length>0?l.businessForm.addControl("factory_cert",new Km.h("",Km.y.required)):l.businessForm.removeControl("factory_cert"),b.forEach(function(n,e){i.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(i.controls[e].addControl("india_where_sale_done",l.fb.array([])),i.controls[e].addControl("pan_india_options",new Km.h("",Km.y.required)),n.india_where_sale_done.forEach(function(n,u){i.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),i.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){i.controls[e].get("max_sale_state_name").push(l.maxSaleState())})):"Export"==n.area_of_sale?(i.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){i.controls[e].get("countries_where_export_done").push(l.createCountrySale())})):"Both"==n.area_of_sale&&(i.controls[e].addControl("india_where_sale_done",l.fb.array([])),i.controls[e].addControl("pan_india_options",new Km.h("",Km.y.required)),i.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){i.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){i.controls[e].get("max_sale_state_name").push(l.maxSaleState())}),i.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){i.controls[e].get("countries_where_export_done").push(l.createCountrySale())}))}),e.manufacturing_activity_details=b):e.manufacturing_activity_details=[]}else e.manufacturing_activity_details=[];if(n.records.retail_trading_activity_details){var v=Object.keys(n.records.retail_trading_activity_details).map(function(l){return n.records.retail_trading_activity_details[l]});v.length>0?(v.length>0?l.businessForm.addControl("export_import_cert",new Km.h("",Km.y.required)):l.businessForm.removeControl("export_import_cert"),v.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new Km.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),v.length>0?l.businessForm.addControl("applicant_use_pos_machines",new Km.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),v.forEach(function(n,e){o.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(o.controls[e].addControl("india_where_sale_done",l.fb.array([])),o.controls[e].addControl("pan_india_options",new Km.h("",Km.y.required)),n.india_where_sale_done.forEach(function(n,u){o.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),o.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){o.controls[e].get("max_sale_state_name").push(l.maxSaleState())})):"Export"==n.area_of_sale?(o.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){o.controls[e].get("countries_where_export_done").push(l.createCountrySale())})):"Both"==n.area_of_sale&&(o.controls[e].addControl("india_where_sale_done",l.fb.array([])),o.controls[e].addControl("pan_india_options",new Km.h("",Km.y.required)),o.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){o.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){o.controls[e].get("max_sale_state_name").push(l.maxSaleState())}),o.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){o.controls[e].get("countries_where_export_done").push(l.createCountrySale())}))}),e.retail_trading_activity_details=v):e.retail_trading_activity_details=[]}else e.retail_trading_activity_details=[];if(console.log("retail finish"),n.records.wholesale_trading_activity_details){var y=Object.keys(n.records.wholesale_trading_activity_details).map(function(l){return n.records.wholesale_trading_activity_details[l]});y.length>0?(y.length>0?l.businessForm.addControl("export_import_cert",new Km.h("",Km.y.required)):l.businessForm.removeControl("export_import_cert"),y.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new Km.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),y.length>0?l.businessForm.addControl("applicant_use_pos_machines",new Km.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),y.forEach(function(n,e){r.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(r.controls[e].addControl("india_where_sale_done",l.fb.array([])),r.controls[e].addControl("pan_india_options",new Km.h("",Km.y.required)),n.india_where_sale_done.forEach(function(n,u){r.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),r.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){r.controls[e].get("max_sale_state_name").push(l.maxSaleState())})):"Export"==n.area_of_sale?(r.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){r.controls[e].get("countries_where_export_done").push(l.createCountrySale())})):"Both"==n.area_of_sale&&(r.controls[e].addControl("india_where_sale_done",l.fb.array([])),r.controls[e].addControl("pan_india_options",new Km.h("",Km.y.required)),r.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){r.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){r.controls[e].get("max_sale_state_name").push(l.maxSaleState())}),r.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){r.controls[e].get("countries_where_export_done").push(l.createCountrySale())}))}),e.wholesale_trading_activity_details=y):e.wholesale_trading_activity_details=[]}else e.wholesale_trading_activity_details=[];if(console.log("whole Sale finish"),n.records.service_provider_activity_details){var C=Object.keys(n.records.service_provider_activity_details).map(function(l){return n.records.service_provider_activity_details[l]});C.length>0?(C.length>0?l.businessForm.addControl("practice_cert",new Km.h("",Km.y.required)):l.businessForm.removeControl("practice_cert"),C.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new Km.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),C.length>0?l.businessForm.addControl("applicant_use_pos_machines",new Km.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),C.forEach(function(n,e){_.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(_.controls[e].addControl("india_where_sale_done",l.fb.array([])),_.controls[e].addControl("pan_india_options",new Km.h("",Km.y.required)),n.india_where_sale_done.forEach(function(n,u){_.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),_.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){_.controls[e].get("max_sale_state_name").push(l.maxSaleState())})):"Export"==n.area_of_sale?(_.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){_.controls[e].get("countries_where_export_done").push(l.createCountrySale())})):"Both"==n.area_of_sale&&(_.controls[e].addControl("india_where_sale_done",l.fb.array([])),_.controls[e].addControl("pan_india_options",new Km.h("",Km.y.required)),_.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){_.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){_.controls[e].get("max_sale_state_name").push(l.maxSaleState())}),_.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){_.controls[e].get("countries_where_export_done").push(l.createCountrySale())}))}),e.service_provider_activity_details=C):(e.service_provider_activity_details=[],console.log("no data"))}else e.service_provider_activity_details=[];if(console.log("Service finish"),n.records.others_activity_details){var w=Object.keys(n.records.others_activity_details).map(function(l){return n.records.others_activity_details[l]});w.length>0?(w.forEach(function(n,e){d.push(l.createOthersActivity())}),e.others_activity_details=w):e.others_activity_details=[]}else e.others_activity_details=[];console.log("Others finish"),n.dataStatus&&"YES"==n.records.seasonality.toUpperCase()&&(l.businessForm.addControl("peak_period_of_business",new Km.h("",Km.y.required)),l.businessForm.addControl("month_of_business_run",new Km.h("",Km.y.required))),console.log("Seasonality"),console.log("businessVal",e),console.log("inserting.."),l.businessForm.setValue(e),console.log("Finish")}else{u.push(l.createPartners()),a.push(l.createRelationShip());var F=l.activityData.map(function(l){return{name:l.name,type_of_activity_id:l.type_of_activity_id,exist_status:0}});F.length>0&&F.forEach(function(n){t.push(l.createBusinessActivity(n))})}}),this.businessForm.controls.seasonality.valueChanges.subscribe(function(n){"YES"==n.toUpperCase()?l.businessForm.addControl("peak_period_of_business",new Km.h("",Km.y.required)):l.businessForm.removeControl("peak_period_of_business"),"YES"==n.toUpperCase()?l.businessForm.addControl("month_of_business_run",new Km.h("",Km.y.required)):l.businessForm.removeControl("month_of_business_run")})},l.prototype.filterCity=function(l,n){if(n){var e=this.stateList.filter(function(l){return l.state_id==n});return e.length>0?e[0].cities:[]}},l.prototype.filterMaxSaleState=function(l,n){if(this.filterCityList=n,n){var e=l.map(function(l){return l.state_id}),u=[];return(u=n.filter(function(l){return l.state_name}).map(function(l){return l.state_name}).map(function(n){var u=e.indexOf(n);return l[u]})).length>0?u:[]}},l.prototype.filterMaxSaleCities=function(l,n,e){var u=e.filter(function(l){return""!=l.city_name}).map(function(l){return l.city_name});if(u=[].concat.apply([],u),n){var a=l.map(function(l){return l.state_id}),t=n.map(function(n){var e=a.indexOf(n);return e=l[e].cities}),i=[].concat.apply([],t);if(i.length>0){return i.filter(function(l){return u.some(function(n){return l.city_id==n})})}return[]}return[]},l.prototype.checkTotalEmployee=function(l){this.businessForm.controls.employees_total.setValue((+l.value.employees_permanent||0)+(+l.value.employees_temporary||0))},l.prototype.checkWithExistBusinessYear=function(l,n){this.errorMessage[n]=l>this.generalExistBusinessYear?"Higher than Business Vintage":""},l.prototype.changeBusinessActivity=function(l){if(1==l.value.exist_status&&2==l.value.type_of_activity_id){this.ManufacturingChecked=l.value.exist_status;(n=this.businessForm.controls.manufacturing_activity_details).controls=[],n.setValue([]),console.log("true")}else if(0==l.value.exist_status&&2==l.value.type_of_activity_id){this.ManufacturingChecked=l.value.exist_status;var n;(n=this.businessForm.controls.manufacturing_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&3==l.value.type_of_activity_id){this.RetailedChecked=l.value.exist_status;(e=this.businessForm.controls.retail_trading_activity_details).controls=[],e.setValue([])}else if(0==l.value.exist_status&&3==l.value.type_of_activity_id){this.RetailedChecked=l.value.exist_status;var e;(e=this.businessForm.controls.retail_trading_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&4==l.value.type_of_activity_id){this.WholeSalesChecked=l.value.exist_status;(u=this.businessForm.controls.wholesale_trading_activity_details).controls=[],u.setValue([])}else if(0==l.value.exist_status&&4==l.value.type_of_activity_id){this.WholeSalesChecked=l.value.exist_status;var u;(u=this.businessForm.controls.wholesale_trading_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&5==l.value.type_of_activity_id){this.ServiceChecked=l.value.exist_status;(a=this.businessForm.controls.service_provider_activity_details).controls=[],a.setValue([])}else if(0==l.value.exist_status&&5==l.value.type_of_activity_id){this.ServiceChecked=l.value.exist_status;var a;(a=this.businessForm.controls.service_provider_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&1==l.value.type_of_activity_id){(t=this.businessForm.controls.others_activity_details).controls=[],t.setValue([])}else if(0==l.value.exist_status&&1==l.value.type_of_activity_id){var t;(t=this.businessForm.controls.others_activity_details).push(this.createOthersActivity())}this.businessForm.value.manufacturing_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("export_import_cert",new Km.h(this.businessForm.value.export_import_cert,Km.y.required)):this.businessForm.removeControl("export_import_cert"),this.businessForm.value.manufacturing_activity_details.length>0?this.businessForm.addControl("factory_cert",new Km.h(this.businessForm.value.factory_cert,Km.y.required)):this.businessForm.removeControl("factory_cert"),this.businessForm.value.service_provider_activity_details.length>0?this.businessForm.addControl("practice_cert",new Km.h(this.businessForm.value.practice_cert,Km.y.required)):this.businessForm.removeControl("practice_cert"),this.businessForm.value.service_provider_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("applicant_use_mobile_wallets",new Km.h(this.businessForm.value.applicant_use_mobile_wallets)):this.businessForm.removeControl("applicant_use_mobile_wallets"),this.businessForm.value.service_provider_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("applicant_use_pos_machines",new Km.h(this.businessForm.value.applicant_use_pos_machines)):this.businessForm.removeControl("applicant_use_pos_machines"),this.ManufacturingChecked&&this.RetailedChecked&&this.WholeSalesChecked&&this.ServiceChecked&&(this.ExportFlag=!1)},l.prototype.changeManufacturingAreaSale=function(l,n){var e=this.businessForm.get("manufacturing_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new Km.h("",Km.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new Km.h("",Km.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeRetailAreaSale=function(l,n){var e=this.businessForm.get("retail_trading_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new Km.h("",Km.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new Km.h("",Km.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeWholesaleAreaSale=function(l,n){var e=this.businessForm.get("wholesale_trading_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new Km.h("",Km.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new Km.h("",Km.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeServiceArea=function(l,n){var e=this.businessForm.get("service_provider_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new Km.h("",Km.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new Km.h("",Km.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changePanIndiaOptions=function(l,n,e){if(1==l){(u=this.businessForm.get("manufacturing_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(console.log("clicked yes"),u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(2==l){(u=this.businessForm.get("retail_trading_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(3==l){(u=this.businessForm.get("wholesale_trading_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(4==l){var u;(u=this.businessForm.get("service_provider_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}},l.prototype.changePartnerGroup=function(l,n){var e=this.businessForm.get("partners");"Others"==l?e.controls[n].addControl("partner_other_name",new Km.h("",Km.y.required)):e.controls[n].removeControl("partner_other_name")},l.prototype.createDesignation=function(){return this.fb.group({sec_name:["",Km.y.compose([Km.y.required])],sec_designation:["",Km.y.compose([Km.y.required])]})},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.getWorkExperience=function(l,n){var e=""==l.current_business_experiance_year?0:parseInt(l.current_business_experiance_year),u=""==l.total_business_experiance?0:parseInt(l.total_business_experiance),a=this.businessForm.get("partners");u>e?a.controls[n].addControl("total_business_previous_experience",new Km.h("",Km.y.required)):a.controls[n].removeControl("total_business_previous_experience")},l.prototype.ConvertMonthintoYear=function(l,n){var e=n%12,u=n/12;l.controls.current_business_experiance_year.setValue(+l.controls.current_business_experiance_year.value+ +Math.floor(u)),l.controls.current_business_experiance_month.setValue(Math.floor(e))},l.prototype.createPartners=function(){return this.fb.group({partner_name:["",Km.y.compose([Km.y.required])],shareholding:[""],started_business:[""],current_business_experiance_year:[""],current_business_experiance_month:[""],total_business_experiance:[""],total_business_previous_experience:[""]})},l.prototype.createRelationShip=function(){return this.fb.group({family_member_salutation:[""],family_member_name:[""],other_family_relationship_id:[""],relation_to_id:[""],relationship_with_company_id:[""],started_business:[""]})},l.prototype.createBusinessActivity=function(l){return this.fb.group({type_of_activity_id:[l.type_of_activity_id,Km.y.compose([Km.y.required])],name:[l.name,Km.y.compose([Km.y.required])],exist_status:[1==l.exist_status]})},l.prototype.createServiceActivity=function(){return this.fb.group({main_products:["",Km.y.compose([Km.y.required])],area_of_sale:["",Km.y.compose([Km.y.required])],description:[""]})},l.prototype.createOthersActivity=function(){return this.fb.group({others_details:["",Km.y.compose([Km.y.required])]})},l.prototype.manufactureDetails=function(){return this.fb.group({main_products:[""],area_of_sale:[""],description:[""]})},l.prototype.indiaSalesDone=function(){return this.fb.group({state_name:[""],city_name:[""]})},l.prototype.maxSaleState=function(){return this.fb.group({state_name:[""],city_name:[""]})},l.prototype.createDocument=function(){return this.fb.group({document:[""]})},l.prototype.addDesignation=function(){this.businessForm.controls.designation.push(this.createDesignation())},l.prototype.deleteDesignation=function(l){var n=this.businessForm.controls.designation;1==n.length?this.businessForm.controls.designation.reset():n.removeAt(l)},l.prototype.addPartnerDetails=function(l){var n=this.businessForm.controls.partners;l.stopPropagation();this.step=n.length,n.push(this.createPartners())},l.prototype.addPersonRelationship=function(l){l.stopPropagation();var n=this.businessForm.controls.persons_with_relationships;this.step=n.length,n.push(this.createRelationShip())},l.prototype.deletePersonRelationship=function(l){this.businessForm.controls.persons_with_relationships.removeAt(l)},l.prototype.deletePartnerDetails=function(l){var n=this.businessForm.controls.partners;1==n.length?this.businessForm.controls.partners.reset():n.removeAt(l)},l.prototype.addMoreManufacturing=function(){this.businessForm.controls.manufacturing_activity_details.push(this.manufactureDetails())},l.prototype.addMoreRetail=function(){this.businessForm.controls.retail_trading_activity_details.push(this.manufactureDetails())},l.prototype.addMoreWholesale=function(){this.businessForm.controls.wholesale_trading_activity_details.push(this.manufactureDetails())},l.prototype.createCountrySale=function(){return this.fb.group({country_name:["",Km.y.compose([Km.y.required])],approx_sale:["",Km.y.compose([Km.y.required])]})},l.prototype.addMoreState=function(l,n){if(1==n){this.businessForm.get("manufacturing_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("manufacturing_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeState=function(l,n,e){if(1==e){this.businessForm.get("manufacturing_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("manufacturing_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addRetailMoreState=function(l,n){if(1==n){this.businessForm.get("retail_trading_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("retail_trading_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeRetailState=function(l,n,e){if(1==e){this.businessForm.get("retail_trading_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("retail_trading_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addWholesaleMoreState=function(l,n){if(1==n){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeWholesaleState=function(l,n,e){if(1==e){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addServiceMoreState=function(l,n){if(1==n){this.businessForm.get("service_provider_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("service_provider_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.addMoreServiceprovider=function(){this.businessForm.controls.service_provider_activity_details.push(this.manufactureDetails())},l.prototype.addMoreOthersActivity=function(){this.businessForm.controls.others_activity_details.push(this.createOthersActivity())},l.prototype.removeServiceState=function(l,n,e){if(1==e){var u=this.businessForm.get("service_provider_activity_details");(u=u.controls[l].get("india_where_sale_done")).removeAt(n)}else if(2==e){var a=this.businessForm.get("service_provider_activity_details");(a=a.controls[l].get("countries_where_export_done")).removeAt(n)}},l.prototype.addDocuments=function(){this.businessForm.controls.documents.push(this.createDocument())},l.prototype.deleteDocuments=function(l){var n=this.businessForm.controls.documents;1==n.length?this.businessForm.controls.documents.reset():n.removeAt(l)},l.prototype.relationChanged=function(l){var n=this;this.relativeNames=[],l.value.forEach(function(l){n.relativeNames.push({member:l})})},l.prototype.initBusinessForm=function(){this.businessForm=this.fb.group({pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,fk_createdby:this.users,profession_name:["",Km.y.compose([Km.y.required])],business_years:["",Km.y.compose([Km.y.required])],industry:["",Km.y.compose([Km.y.required])],type_of_activity:["",Km.y.compose([Km.y.required])],seasonality:["",Km.y.compose([Km.y.required])],designation:this.fb.array([]),partners:this.fb.array([]),employees_total:["",Km.y.compose([Km.y.required])],employees_permanent:["",Km.y.compose([Km.y.required])],employees_temporary:["",Km.y.compose([Km.y.required])],officer_total:["",Km.y.compose([Km.y.required])],officer_permanent:["",Km.y.compose([Km.y.required])],officer_temporary:["",Km.y.compose([Km.y.required])],invested_amount:["",Km.y.compose([Km.y.required])],working_capital:["",Km.y.compose([Km.y.required])],is_service_provided:["",Km.y.compose([Km.y.required])],ownership_setup:["",Km.y.compose([Km.y.required])],ownership_others:[""],rent_paid:[""],shop_eat_act_cert:["",Km.y.compose([Km.y.required])],gst_Regn_cert:["",Km.y.compose([Km.y.required])],export_import_cert:["",Km.y.compose([Km.y.required])],factory_cert:["",Km.y.compose([Km.y.required])],practice_cert:["",Km.y.compose([Km.y.required])],pf_regn:["",Km.y.compose([Km.y.required])],esic_regn:["",Km.y.compose([Km.y.required])],other_documents:["",Km.y.compose([Km.y.required])],documents:this.fb.array([]),business_remarks:["",Km.y.compose([Km.y.required])],who_started:["",Km.y.compose([Km.y.required])],main_person:["",Km.y.compose([Km.y.required])],other_main_person:[""],family_members_involved:["",Km.y.compose([Km.y.required])],before_business:["",Km.y.compose([Km.y.required])],any_delays:["",Km.y.compose([Km.y.required])]})},l.prototype.submitDetails=function(){var l=this;console.log("First",this.businessForm.value);console.log(this.FormId);var n;n=this.businessForm.value,console.log("Records",n),"no"==n.other_documents&&delete n.documents,""==n.rent_paid&&delete n.rent_paid,""==n.ownership_others&&delete n.ownership_others;var e=0;n.manufacturing_activity_details.length>0&&n.manufacturing_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var u=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(u>100||u<100)&&e++}}),n.wholesale_trading_activity_details.length>0&&n.wholesale_trading_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var u=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(u>100||u<100)&&e++}}),n.retail_trading_activity_details.length>0&&n.retail_trading_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var u=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(u>100||u<100)&&e++}}),n.service_provider_activity_details.length>0&&n.service_provider_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var u=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(u>100||u<100)&&e++}}),e>0?this.toast.pdTriggerappmessage("warning!! Approximate sales doesn't add upto 100%"):(n.select_business_activity_type=n.select_business_activity_type.filter(function(l){return 1==l.exist_status}),this.qustCat.saveForm(n).subscribe(function(n){1==n.dataStatus&&(l.toast.pdTriggerappmessage("Record Saved Successfully.!"),l.navCtrl.pop())}))},l.prototype.getBuisnessDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){var e=n.records,u=l.businessForm.controls.designation,a=l.businessForm.controls.partners,t=l.businessForm.controls.documents;if(200==n.status){var i=void 0,o=Object.keys(n.records.designation).map(function(l){return n.records.designation[l]}),r=Object.keys(n.records.partners).map(function(l){return n.records.partners[l]}),_=[],d=[];Object.keys(n.records.family_members_involved).map(function(l){return n.records.family_members_involved[l]}).forEach(function(l){_.push(l.member),d.push(l)}),l.relativeNames=d,0==o.length?u.push(l.createDesignation()):o.forEach(function(n){u.push(l.createDesignation())}),0==r.length?a.push(l.createPartners()):r.forEach(function(n){a.push(l.createPartners())}),"yes"==n.records.other_documents?(i=Object.keys(n.records.documents).map(function(l){return n.records.documents[l]})).forEach(function(n){t.push(l.createDocument())}):(i=[{document:""}],t.push(l.createDocument())),"others"!=n.records.ownership_setup&&(e.ownership_others=""),"rented"!=n.records.ownership_setup&&(e.rent_paid=""),e.family_members_involved=_,e.pdid=l.pdDetails.pd_id,e.formid=l.FormId.form_id,e.fk_createdby=l.users,e.designation=o,e.partners=r,e.documents=i,l.businessForm.setValue(e)}else u.push(l.createDesignation()),a.push(l.createPartners()),t.push(l.createDocument())})},l.prototype.setStep=function(l){this.step=l},l.prototype.inWords=function(l,n){switch(n){case 1:this.appxSalaryAmtInwords=this.cons.convertNumberToWords(l.target.value)}},l.prototype.CheckExport=function(l,n,e){console.log("CheckExport"),console.log(l,n,e),console.log(this.ManufacturingChecked,this.RetailedChecked,this.WholeSalesChecked,this.ServiceChecked),this.ManufacturingChecked?this.ManufacturingChecked&&"MActivity"==n&&(this.ManufacturingCounterArray[e]=0):"MActivity"==n&&"Within India"!=l?this.ManufacturingCounterArray[e]=1:"MActivity"==n&&"Within India"!=l&&(this.ManufacturingCounterArray[e]=0),this.RetailedChecked?"RActivity"==n&&this.RetailedChecked&&(this.RetailCounterArray[e]=0):"RActivity"==n&&"Within India"!=l?this.RetailCounterArray[e]=1:"RActivity"==n&&"Within India"!=l&&(this.RetailCounterArray[e]=0),this.WholeSalesChecked?"WActivity"==n&&this.WholeSalesChecked&&(this.WholeSaleCounterArray[e]=0):"WActivity"==n&&"Within India"!=l?this.WholeSaleCounterArray[e]=1:"WActivity"==n&&"Within India"!=l&&(this.WholeSaleCounterArray[e]=0),this.ServiceChecked?"SPActivity"==n&&(this.ServiceCounterArray[e]=0):"SPActivity"==n&&"Within India"!=l?this.ServiceCounterArray[e]=1:"SPActivity"==n&&"Within India"!=l&&(this.ServiceCounterArray[e]=0);var u=this.ManufacturingCounterArray.reduce(function(l,n){return l+ +n},0);console.log(u,this.ManufacturingCounterArray);var a=this.RetailCounterArray.reduce(function(l,n){return l+ +n},0),t=this.WholeSaleCounterArray.reduce(function(l,n){return l+ +n},0),i=this.ServiceCounterArray.reduce(function(l,n){return l+ +n},0),o=u+a+t+i;this.ExportFlag=o>0,console.log("overallCounter , SumOfManufacturingCounter , SumOfRetailCounter , SumOfWholeSaleCounter , SumOfServiceCounter ",o,u,a,t,i),console.log("Current Flag Status : ",this.ExportFlag)},l=Bf([Object(xm.k)({selector:"page-pd-question-business-info",templateUrl:"pd-question-business-info.html"}),$f("design:paramtypes",[Sm.r,Sm.s,$m,ip,Zm,Km.g,Em])],l)}(),Kf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Hf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Gf=function(){function l(l,n,e,u,a,t,i){var o=this;this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustcat=a,this.cons=t,this.toast=i,this.currentYear=(new Date).getFullYear(),this.m_any_asset_loan_type=[{value:"yes",viewValue:"Yes"},{value:"no",viewValue:"No"},{value:"nan",viewValue:"NA"}],this.AssetValueInwords=[],this.appxMarketAmtInwords=[],this.RentAmtInwords=[],this.mergeCompanyApplicant=[],this.existCompanyList=[],this.placeholderName="Was any business activity seen at the Address Type during PD visit?",this.m_address_type=[],this.RentAmtInwordsForAddress=[],this.appxMarketAmtInwordsForAddress=[],this.isOtherOwnerForAddress=!1,this.isOtherOwner=!1,this.m_vehicle_type=[],this.apiLoadFinish=!1,this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.company_id=this.pdDetails.company_id,this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.generalExistBusinessYear=this.pdDetails.business_years,this.generalExistBusinessMonth=this.pdDetails.business_month,this.pageTitle=this.pdDetails.company_name+" - "+this.pageTitle,this.main_applicant=this.pdDetails.applicant_name,this.lender_applicant_id=this.pdDetails.lender_applicant_id,this.subproduct_abbr=this.pdDetails.subproduct_abbr,this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,this.getDetails(),this.getDropDown();var r={};r.pd_id=this.pdDetails.pd_id,r.pd_form_id="5",this.qustcat.retiverForm(r).subscribe(function(l){if(200==l.status){o.addressLabel="";var n=o.m_address_type.filter(function(n){return n.address_type_id==l.records.address_type})[0],e=l.records.address,u=1!=l.records.address_type?n.address_type:l.records.address_type_others;o.placeholderName="Was any business activity seen at the "+u+" during PD visit?",o.addressLabel=" : "+e+" / "+u}})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessAssetsPage")},l.prototype.getDropDown=function(){var l=this;this.qustcat.getcommondrop("VEHICLETYPE").subscribe(function(n){l.m_vehicle_type=n.records.filter(function(l){return 1==l.is_active})}),this.qustcat.getcommondrop("ASSETTYPE").subscribe(function(n){l.m_assets_type=n.records.filter(function(l){return 1==l.isactive&&1==l.flag})}),this.qustcat.getcommondrop("PROPERTIES").subscribe(function(n){l.m_propertyType=n.records.filter(function(l){return 1==l.isactive})}),this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u}))}),this.qustcat.getcommondrop("ADDRESSTYPE").subscribe(function(n){l.m_address_type=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.getDetails=function(){var l=this,n={};n.pd_id=this.pdDetails.pd_id,n.company_id=this.company_id,n.pd_form_id=22,this.qustcat.retiverForm(n).subscribe(function(n){l.formLoadData(1==n.dataStatus?n.records:null),l.apiLoadFinish=!0,console.log("success")})},l.prototype.formLoadData=function(l){if(null==l)this._businessAssetsQuesFrom=this.fb.group({pdid:[this.pdDetails.pd_id],formid:[this.formDetails.form_id],company_id:[this.company_id],fk_createdby:[this.users],business_years:[""],business_month:[""],business_address_availability:[""],business_is_pd_visited:[""],business_pd_visited_remark:[""],business_assets_for_address:this.fb.array([this.createBusinessAssetsForAddress()]),business_assets_details:this.fb.array([this.initBusinessDetails()]),business_assets_form_remark:[""]});else{var n=l;if(this._businessAssetsQuesFrom=this.fb.group({pdid:[this.pdDetails.pd_id],formid:[this.formDetails.form_id],company_id:[this.company_id],fk_createdby:[this.users],business_years:[n.business_years],business_month:[n.business_month],business_address_availability:[n.business_address_availability],business_is_pd_visited:[n.business_is_pd_visited],business_pd_visited_remark:[n.business_pd_visited_remark],business_assets_for_address:this.fb.array([]),business_assets_details:this.fb.array([]),business_assets_form_remark:[n.business_assets_form_remark||""]}),"yes"==n.business_address_availability)this.addBusinessAssetsForAddress(n.business_assets_for_address);else{this._businessAssetsQuesFrom.controls.business_assets_for_address.push(this.createBusinessAssetsForAddress())}this.addBusinessAssetsDetailsWithData(n.business_assets_details)}this.loadDetails=!0},l.prototype.initBusinessDetails=function(){return this.fb.group({business_assets_mode:[""],business_details:this.fb.array([]),business_approximate_market_value:[""],business_ownership_type:[""],business_monthly_rented_amt:[""],business_name_of_the_owner:[],business_name_of_the_other_owner:[],business_vintage:[""],business_purchase_year:["",Km.y.compose([Km.y.pattern("[1-9]{1}[0-9]{3}")])],business_emi:[""]})},l.prototype.loadProperty=function(){return this.fb.group({property_type:[""],other_property_type:[""],address_of_the_property:[""]})},l.prototype.load_Four_Weeler=function(){return this.fb.group({manufacturer_model_vehicle:[""],vehicle_type:[""],other_vehicle_type:[""]})},l.prototype.loadEquipmentManufacturingDescription=function(){return this.fb.group({equipment_manufacturing_description:[""]})},l.prototype.otherBusinessAssetsDescription=function(){return this.fb.group({any_other_assets:[""],any_other_asset_value:[""],any_other_asset_loan:[""]})},l.prototype.addAssetDetails=function(l){this._businessAssetsQuesFrom.controls.business_assets_details.push(this.initBusinessDetails())},l.prototype.removeAssetsDetails=function(l){this._businessAssetsQuesFrom.controls.business_assets_details.removeAt(l)},l.prototype.createBusinessAssetsForAddress=function(){return this.fb.group({business_approximate_market_value:[""],business_ownership_type:[""],business_monthly_rented_amt:[""],business_name_of_the_owner:[""],business_name_of_the_other_owner:[""],business_vintage:[""],business_purchase_year:["",Km.y.compose([Km.y.pattern("[1-9]{1}[0-9]{3}")])],business_emi:[""]})},l.prototype.selectedAssetsType=function(l,n){var e=n;switch(this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").controls.splice(0),l.value){case"1":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.otherBusinessAssetsDescription());break;case"2":this._businessAssetsQuesFrom.controls.business_assets_details.at(n).get("business_details").push(this.loadProperty());break;case"3":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.load_Four_Weeler());break;case"4":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.loadEquipmentManufacturingDescription())}},l.prototype.loadPropertyWithData=function(l){return this.fb.group({property_type:[l.property_type],other_property_type:[l.other_property_type],address_of_the_property:[l.address_of_the_property]})},l.prototype.load_Four_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle],vehicle_type:[l.vehicle_type],other_vehicle_type:[l.other_vehicle_type]})},l.prototype.loadEquipmentManufacturingDescriptionWithData=function(l){return this.fb.group({equipment_manufacturing_description:[l.equipment_manufacturing_description]})},l.prototype.otherBusinessAssetsDescriptionWithData=function(l){return this.fb.group({any_other_assets:[l.any_other_assets],any_other_asset_loan:[l.any_other_asset_loan]})},l.prototype.addBusinessAssetsForAddress=function(l){var n=this,e=Object.keys(l).map(function(n){return l[n]});if(e.length>0){e.forEach(function(l,e){n.RentAmtInwordsForAddress[e]=n.cons.convertNumberToWords(l.business_monthly_rented_amt),n.appxMarketAmtInwordsForAddress[e]=n.cons.convertNumberToWords(l.business_approximate_market_value);var u=1;l.business_name_of_the_owner.length>0&&l.business_name_of_the_owner.forEach(function(l){0==l.id&&2==l.group_id&&(u=l.id)}),n.isOtherOwnerForAddress=0==u});for(var u=0,a=e;u0){e.forEach(function(l,e){n.appxMarketAmtInwords[e]=n.cons.convertNumberToWords(+l.business_approximate_market_value),n.RentAmtInwords[e]=n.cons.convertNumberToWords(+l.business_monthly_rented_amt)});for(var u=0,a=e;uthis.generalExistBusinessYear?(this.yearErrorMessage="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_years.setValue(""),this._businessAssetsQuesFrom.controls.business_month.setValue("")):a==this.generalExistBusinessYear&&+e>this.generalExistBusinessMonth?(this.monthErrorMessage="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_years.setValue(""),this._businessAssetsQuesFrom.controls.business_month.setValue("")):(this.monthErrorMessage="",this.yearErrorMessage="",this._businessAssetsQuesFrom.controls.business_years.setValue(+n+ +Math.floor(u)),this._businessAssetsQuesFrom.controls.business_month.setValue(Math.floor(e)))},l.prototype.checkWithExistBusinessYear=function(l){+l>this.generalExistBusinessYear?(this.yearErrorMessage="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_years.setValue("")):this.yearErrorMessage=""},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.AssetValueInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.appxMarketAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 3:this.RentAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 9:this.RentAmtInwordsForAddress[n]=this.cons.convertNumberToWords(l.target.value);break;case 10:this.appxMarketAmtInwordsForAddress[n]=this.cons.convertNumberToWords(l.target.value)}},l=Kf([Object(xm.k)({selector:"page-pd-question-business-assets",templateUrl:"pd-question-business-assets.html"}),Hf("design:paramtypes",[Sm.r,Sm.s,$m,Km.g,Zm,Em,ip])],l)}(),Yf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Qf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},zf=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=a,this.cons=t,this.toast=i,this.existCompanyList=[],this.mergeCompanyApplicant=[],this.amtInwords=[],this.emiAmtInwords=[],this.limitCaseFlag=[],this.pdDetails=this.navParams.get("pdDetails"),this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase(),this.pd_cus_segment=this.pd_cus_segment.substring(0,3),this.pdid=this.pdDetails.pd_id,this.formDetails=this.navParams.get("formDetails"),this.form_id=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.users=this.aws.getlocale(),this.step=0,this.bankingForm=this.fb.group({itemRows:this.fb.array([]),banking_form_remark:[""]}),this.salaryField="SE"!=this.pdDetails.customer_segment_abbr.substring(0,2),this.getdropdown(),this.retiveBankDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessBankingPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("ACCOUNTTYPE").subscribe(function(n){1==n.dataStatus&&(l.accountType=n.records)}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){1==n.dataStatus&&(l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){console.log("Entering company List"),1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}),console.log("company List",n.records));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}),console.log("Company applicant",l.mergeCompanyApplicant))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}),console.log(this.mergeCompanyApplicant))},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){return null!=l&&0==l.id},l.prototype.selectedAccTypeChanges=function(l,n){this.limitCaseFlag[n]=2!=l&&1!=l},l.prototype.ConvertMonthintoYear=function(l,n){var e=n%12,u=n/12;l.controls.vintage_year.setValue(+l.controls.vintage_year.value+ +Math.floor(u)),l.controls.vintage_month.setValue(Math.floor(e))},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.emiAmtInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.setRequiredValidation=function(l,n,e){console.log(n),console.log(l),console.log(e),1==e&&(0==l?n.controls.other_applicant.setValidators([Km.y.required]):n.controls.other_applicant.clearValidators(),n.controls.other_applicant.updateValueAndValidity()),2==e&&(1==l?n.controls.other_bank.setValidators([Km.y.required]):n.controls.other_bank.clearValidators(),n.controls.other_bank.updateValueAndValidity())},l.prototype.createBankItem=function(l){return this.fb.group({applicant_name:[""],bank_name:[""],account_type:[""],salary:(this.pdDetails.customer_segment_abbr.substring(0,2),[""]),limit:[""],other_bank:[""],other_applicant:[""],is_main:[""],vintage_year:[""],vintage_month:[""]})},l.prototype.addBankDetails=function(l,n){n.stopPropagation();var e=this.bankingForm.controls.itemRows;this.step=e.length,e.push(this.createBankItem(""))},l.prototype.addmoreBankDetils=function(){this.itemRows=this.bankingForm.get("itemRows"),this.itemRows.push(this.createBankItem(""))},l.prototype.removebank=function(l){var n=this.bankingForm.controls.itemRows;1==n.length?n.reset():n.removeAt(l)},l.prototype.setStep=function(l){this.step=l},l.prototype.retiveBankDetails=function(){var l=this,n=this.bankingForm.controls.itemRows;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.form_id,company_id:this.company_id}).subscribe(function(e){if(1==e.dataStatus){var u=Object.keys(e.records.banking_details).map(function(l){return e.records.banking_details[l]});console.log("retrieve data",e.records),l.bankingForm.controls.banking_form_remark.setValue(e.records.banking_form_remark),0==u.length?(console.log("DAta Status 0"),n.push(l.createBankItem(""))):(console.log("DAta Status >1"),u.forEach(function(e,u){l.selectedAccTypeChanges(e.account_type,u),""!=e.limit&&(console.log("Datas",e),l.amtInwords[u]=l.cons.convertNumberToWords(+e.limit)),l.selectedAccTypeChanges(e.account_type,u),n.push(l.createBankItem(""))}),l.bankingForm.controls.itemRows.setValue(u))}else console.log("DAta Status False"),n.push(l.createBankItem(""))})},l.prototype.savepdBank=function(l){var n=this,e={};e.pdid=this.pdDetails.pd_id,e.formid=this.form_id,e.fk_createdby=this.users,e.company_id=this.company_id,e.banking_details=l.itemRows,e.banking_form_remark=l.banking_form_remark,console.log("data",e),this.qustCat.saveForm(e).subscribe(function(l){console.log("data",l),1==l.dataStatus?(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.navCtrl.pop()):n.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})},l=Yf([Object(xm.k)({selector:"page-pd-question-business-banking",templateUrl:"pd-question-business-banking.html"}),Qf("design:paramtypes",[Sm.r,Sm.s,$m,Km.g,Zm,Em,ip])],l)}(),Jf=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Xf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Zf=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.pdDetails=[],this.existCompanyList=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.getCompanyListForBusiness()}return l.prototype.getCompanyListForBusiness=function(){var l=this;this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){n.dataStatus?(l.existCompanyList=n.records.filter(function(l){return l.is_active}),l.waitLoading=!0):l.waitLoading=!1})},l.prototype.OnSelectBusinessGroupForms=function(l,n){this.pdDetails.company_id=n.company_order_id,this.pdDetails.company_name=n.company_name,this.pdDetails.business_entity_type=n.business_entity_type,this.pdDetails.business_entity_type_other=n.business_entity_type_other,this.pdDetails.business_years=n.business_years,this.pdDetails.business_month=n.business_month,1==l.form_id&&this.navCtrl.push(Np,{formDetails:l,pdDetails:this.pdDetails}),2==l.form_id&&this.navCtrl.push(Qp,{formDetails:l,pdDetails:this.pdDetails}),11==l.form_id&&this.navCtrl.push($p,{formDetails:l,pdDetails:this.pdDetails}),13==l.form_id&&this.navCtrl.push(Mf,{formDetails:l,pdDetails:this.pdDetails}),14==l.form_id&&(this.navCtrl.push(Hp,{formDetails:l,pdDetails:this.pdDetails}),console.log("form_id",l.form_id)),15==l.form_id&&this.navCtrl.push(Np,{formDetails:l,pdDetails:this.pdDetails}),21==l.form_id&&this.navCtrl.push(zf,{formDetails:l,pdDetails:this.pdDetails}),22==l.form_id&&this.navCtrl.push(Gf,{formDetails:l,pdDetails:this.pdDetails})},l=Jf([Object(xm.k)({selector:"page-pd-question-business-group",templateUrl:"pd-question-business-group.html"}),Xf("design:paramtypes",[Sm.r,Sm.s,Zm])],l)}(),lh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},nh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},eh=(new Date).toJSON().slice(0,19).replace("T"," "),uh=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.templateget=e,this.aws=u,this.shared=a,this.toast=t,this.pdstatusprovide=i,this.bgColortempForm=[],this.bgColorqustCat=[],this.questionCateAccess=null,this.questionfinishedList=[],this.overallqustioncountAccess=!0,this.pddetails=this.navParams.get("pdDetails"),console.log("Pd",this.pddetails)}return l.prototype.ionViewCanEnter=function(){this.getcategoryList()},l.prototype.ionViewDidLoad=function(){this.shared.refresh(),console.log("ionViewDidLoad PdQuestionCategoryPage")},l.prototype.getcategoryList=function(){var l=this;this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(function(n){l.questionCate=n,1==l.questionCate.dataStatus&&(l.questionCate=l.questionCate.records,l.random_ng_past(),""!=l.questionCate.question_answers&&""!=l.questionCate.template_forms?(l.questionCateAccess=!0,l.templateAccess=!0,l.questionCate=l.questionCate,l.searchQuestion=l.questionCate.question_answers,l.overallqustioncountAccess=0==l.questionCate.counts.overall_answered_count||0==l.questionCate.counts.overall_question_count||l.questionCate.counts.overall_answered_count!=l.questionCate.counts.overall_question_count):""!=l.questionCate.template_forms?(l.templateAccess=!0,l.questionCate=l.questionCate,l.searchTempForm=l.questionCate.template_forms):(l.questionCateAccess=!1,l.templateAccess=!1,l.questionCate="No Template Available"))})},l.prototype.random_ng_past=function(){for(var l=0,n=this.questionCate.question_answers;l=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},oh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},rh=function(){function l(l,n,e,u,a,t,i,o,r,_,d,s){this.navCtrl=l,this.navParams=n,this.pddetails=e,this.toast=u,this.Menu=a,this.commonconstant=t,this.aws=i,this.alertCtrl=o,this.qustCat=r,this.fb=_,this.geolocation=d,this.androidPermissions=s,this.timerOn=!0,this.otpStatusAccess=!0,this.maxtime=30,this.commonImage=this.commonconstant.commonimage,this.applicatentDetails=this.navParams.get("pdDetails"),this.reasonForm=this.fb.group({reason:[null,Km.y.compose([Km.y.required])],others_reason:[null]}),this.getDropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad OtpPage")},l.prototype.ionViewDidEnter=function(){this.setPermission(),this.timer(120)},l.prototype.setPermission=function(){var l=this;this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS,this.androidPermissions.PERMISSION.GET_ACCOUNTS]),this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION,this.androidPermissions.PERMISSION.GET_ACCOUNTS])},l.prototype.ionViewWillLeave=function(){clearTimeout(this.timeLimit)},l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("OTPREJECTION").subscribe(function(n){1==n.dataStatus&&(l.reason_otp=n.records.filter(function(l){return 1==l.isactive}),console.log(l.reason_otp))})},l.prototype.checkotp=function(l){var n=this;this.pddetails.checkotp({pd_id:this.applicatentDetails.pd_id,OTP:l}).subscribe(function(l){console.log("Otp",l),n.otpStatus=l,1==n.otpStatus.dataStatus?n.navCtrl.setRoot(uh,{pdDetails:n.applicatentDetails}):n.toast.pdTriggerappmessage("Enter the Correct OTP")})},l.prototype.timer=function(l){var n=this,e=Math.floor(l/60),u=l%60;if(e=e<10?"0"+e:e,u=u<10?"0"+u:u,this.balance_time=e+":"+u,(l-=1)>=0&&this.timerOn)this.timeLimit=setTimeout(function(){n.timer(l)},1e3);else if(this.timerOn){this.users=this.aws.getlocale();var a;this.alertCtrl.create({title:"OTP Expired ",message:"Do you want sure resend OTP",buttons:[{text:"OTP Without Start",handler:function(){n.otpStatusAccess=!1}},{text:"Resend OTP",handler:function(){n.geolocation.getCurrentPosition().then(function(l){a={pd_id:n.applicatentDetails.pd_id,pd_status:"STARTED",mobile_no:n.applicatentDetails.applicat_details[0].mobile_no,fk_updatedby:n.users,link:l.coords.latitude+","+l.coords.longitude},console.log(a),n.pddetails.updatepdStatus(a).subscribe(function(l){n.timer(60)})})}}]}).present()}},l.prototype.saveotpreasno=function(){var l=this;if(console.log(this.reasonForm.value),this.reasonForm.valid){this.pddetails.checkotp({pd_id:this.applicatentDetails.pd_id,reason:this.reasonForm.value.reason,other_reason:this.reasonForm.value.others_reason}).subscribe(function(n){l.otpStatus=n,1==l.otpStatus.dataStatus&&l.navCtrl.setRoot(uh,{pdDetails:l.applicatentDetails})})}else this.toast.pdTriggerappmessage("Enter The All Field")},l=ih([Object(xm.k)({selector:"page-otp",templateUrl:"otp.html"}),oh("design:paramtypes",[Sm.r,Sm.s,zm,ip,Sm.o,Em,$m,Sm.a,Zm,Km.g,ah.a,th.a])],l)}(),_h=e(190),dh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},sh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ch=function(){function l(l,n,e,u,a){this.navCtrl=l,this.navParams=n,this.camera=e,this.qustCat=u,this.toast=a,this.cameraArr=[],this.count=0,this.saveAccess=!1,this.FormId="",this.applicatentDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId")}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdGeneralImagesPage")},l.prototype.takePicture=function(){var l=this;this.camera.getpicture().then(function(n){l.count=l.count+1,l.cameraArr.push({image:n,name:""})})},l.prototype.removeimage=function(l){this.count=this.count-1,this.cameraArr.splice(l,1)},l.prototype.docnames=function(l,n,e){this.cameraArr[n]={image:e,Name:l}},l.prototype.savePDImages=function(){var l=this;this.saveAccess=!0;var n={pd_id:this.applicatentDetails.pd_id,formid:""};n.images=this.cameraArr,this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus&&(l.saveAccess=!1,l.navCtrl.pop(),l.toast.pdTriggerappmessage("Record Saved Successfully.!"))})},l=dh([Object(xm.k)({selector:"page-pd-general-images",templateUrl:"pd-general-images.html"}),sh("design:paramtypes",[Sm.r,Sm.s,up,Zm,ip])],l)}(),mh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},ph=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},fh=(new Date).toJSON().slice(0,19),hh=function(){function l(l,n,e,u,a,t,i,o,r,_,d,s,c,m){this.navCtrl=l,this.navParams=n,this.fb=e,this.statusBar=u,this.platform=a,this.launchNavigator=t,this.aws=i,this.pdDetails=o,this.geolocation=r,this.alertCtrl=_,this.locationAccuracy=d,this.toast=s,this.constant=c,this.androidPermissions=m,this.initiatedAccess=!1,this.scheduleAccess=!1,this.pipe=new Df.d("en-US"),this.acceptedAccess=!1,this.startedAccess=!1,this.timeOut=15e3,this.maxdate=this.pipe.transform(new Date,"yyyy-MM-ddThh:mm").toString(),this.statusBar.styleDefault(),this.statusBar.overlaysWebView(!1),this.statusBar.backgroundColorByHexString("#db4437");this.pipe.transform(new Date,"dd/MM/yyyy hh:mm a");this.applicatentDetails=this.navParams.get("pdDetails"),this.getFullPD(),"ALLOCATED"==this.applicatentDetails.pd_status&&(this.acceptedAccess=!0),"ACCEPTED"==this.applicatentDetails.pd_status&&(this.scheduleAccess=!0),"SCHEDULED"==this.applicatentDetails.pd_status&&(this.initiatedAccess=!0),"INITIATED"==this.applicatentDetails.pd_status&&(this.startedAccess=!0,this.getenableAccuracy()),this.users=this.aws.getlocale()}return l.prototype.ionViewDidLoad=function(){this.setPermission()},l.prototype.ionViewCanLeave=function(){clearInterval(this.timeInterval)},l.prototype.locationnavicate=function(l){this.launchNavigator.navigate(l)},l.prototype.setPermission=function(){var l=this;this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS,this.androidPermissions.PERMISSION.GET_ACCOUNTS]),this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION,this.androidPermissions.PERMISSION.GET_ACCOUNTS])},l.prototype.getFullPD=function(){var l=this;this.pdDetails.getFullPDdetails({pdid:this.applicatentDetails.pd_id}).subscribe(function(n){if(1==n.dataStatus){var e=l.pipe.transform(new Date,"yyyy-MM-dd HH:mm"),u=n.records.pd_master_details[0].scheduled_on_for_validation,a=Date.parse(e)-Date.parse(u),t=Math.floor(a/1e3/60/60);l.enableStartPD=t<=-4}})},l.prototype.pdStatus=function(l,n){var e=this;"BOUNCED"==l?this.pdDetails.updatepdStatus({pd_id:n.pd_id,pd_status:l,fk_updatedby:this.users,updatedon:fh}).subscribe(function(l){e.updateStatus=l,1==e.updateStatus.dataStatus&&e.navCtrl.setRoot(Fh)}):"ACCEPTED"==l&&this.pdDetails.updatepdStatus({pd_id:n.pd_id,pd_status:l,fk_updatedby:this.users,updatedon:fh}).subscribe(function(l){e.updateStatus=l,1==e.updateStatus.dataStatus?(e.getNewpdupdate(),e.scheduleAccess=!0):e.scheduleAccess=!1})},l.prototype.pdschedule=function(l,n){var e=this;console.log(l);var u=l.slice(0,19).replace("T"," ");console.log(u),this.pdDetails.updatepdStatus({pd_id:n.pd_id,pd_status:"SCHEDULED",scheduled_on:u,fk_updatedby:this.users,updatedon:fh}).subscribe(function(l){e.updateSchedule=l,1==e.updateSchedule.dataStatus&&(e.getNewpdupdate(),e.initiatedAccess=!0)})},l.prototype.getenableAccuracy=function(){var l=this;this.locationAccuracy.canRequest().then(function(n){n&&l.locationAccuracy.request(l.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function(){l.getcurrentLocation()},function(l){return alert("Error requesting location permissions"+JSON.stringify(l))})})},l.prototype.getcurrentLocation=function(){var l=this,n={frequency:3e3,enableHighAccuracy:!0,timeOut:1e3};this.timeInterval=setInterval(function(){l.currentPosPDofficer="",l.geolocation.getCurrentPosition(n).then(function(n){void 0!=n.coords&&(l.currentPosPDofficer=n.coords.latitude+","+n.coords.longitude,console.log(l.currentPosPDofficer),l.pdDetails.saveCurrentLocation({pd_id:l.applicatentDetails.pd_id,link:l.currentPosPDofficer}).subscribe(function(l){}))}).catch(function(n){l.toast.pdTriggerappmessage(n.message)})},this.timeOut)},l.prototype.pdreschedule=function(){this.scheduleAccess=!0,this.initiatedAccess=!1},l.prototype.pdinitiated=function(l){var n=this;this.locationAccuracy.canRequest().then(function(e){e&&n.locationAccuracy.request(n.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function(){n.geolocation.getCurrentPosition().then(function(e){n.currentPosPDofficer=e.coords.latitude+","+e.coords.longitude,n.pdDetails.updatepdStatus({pd_id:l.pd_id,pd_status:"INITIATED",mobile_no:l.applicat_details[0].mobile_no,officerName:l.pd_allocated_to,firstName:l.applicat_details[0].applicant_name,fk_updatedby:n.users,updatedon:fh,link:n.currentPosPDofficer}).subscribe(function(l){n.updateinitiated=l,1==n.updateinitiated.dataStatus?(n.getNewpdupdate(),n.getcurrentLocation(),n.startedAccess=!0):n.startedAccess=!1})}).catch(function(l){console.log("Error getting location",l)})},function(l){return alert("Error requesting location permissions"+JSON.stringify(l))})})},l.prototype.startPdDiscussion=function(l){var n,e=this;this.alertCtrl.create({title:"Starting PD Officer",message:"Do you want sure PD officer Start",buttons:[{text:"No",role:"cancel",handler:function(){}},{text:"YES",handler:function(){e.geolocation.getCurrentPosition().then(function(u){e.currentPosPDofficer=u.coords.latitude+","+u.coords.longitude,n={pd_id:l.pd_id,pd_status:"STARTED",mobile_no:l.applicat_details[0].mobile_no,fk_updatedby:e.users,updatedon:fh,link:e.currentPosPDofficer},console.log(n),e.pdDetails.updatepdStatus(n).subscribe(function(n){e.updatestarted=n,1==e.updatestarted.dataStatus&&(clearInterval(e.timeInterval),e.navCtrl.setRoot(rh,{pdDetails:l}))})})}}]}).present()},l.prototype.getNewpdupdate=function(){var l=this;this.acceptedAccess=!1,this.initiatedAccess=!1,this.scheduleAccess=!1,this.startedAccess=!1,this.pdDetails.getpddetails(this.users).subscribe(function(n){l.appdata=n,1==l.appdata.dataStatus&&(l.applicatentDetails=l.appdata.records.filter(function(n){return n.pd_id==l.applicatentDetails.pd_id})[0],"ALLOCATED"==l.applicatentDetails.pd_status&&(l.acceptedAccess=!0),"ACCEPTED"==l.applicatentDetails.pd_status&&(l.scheduleAccess=!0),"SCHEDULED"==l.applicatentDetails.pd_status&&(l.initiatedAccess=!0,l.getFullPD()),"INITIATED"==l.applicatentDetails.pd_status&&(l.startedAccess=!0))})},l.prototype.camerasetup=function(){this.navCtrl.push(ch,{pdDetails:this.applicatentDetails})},l=mh([Object(xm.k)({selector:"page-input",templateUrl:"input.html"}),ph("design:paramtypes",[Sm.r,Sm.s,Km.g,Im.a,Hm.a,Gm.a,$m,zm,ah.a,Sm.a,_h.a,ip,Em,th.a])],l)}(),gh=e(250),bh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},vh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},yh=function(){function l(l,n){this.http=l,this.sql=n,console.log("Hello DatabaseProvider Provider"),this.createnewdb()}return l.prototype.createnewdb=function(){var l=this;this.sql.create({name:"sinnedge",location:"defalut"}).then(function(n){n.executeSql("CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)").then(function(n){l.getuserDetails()}).catch(function(l){return console.log(l)})})},l.prototype.getuserDetails=function(){this.sql.create({name:"sineedge",location:"default"}).then(function(l){l.executeSql("select * from expense ORDER BY rowid DESC").then(function(l){console.log(l)})})},l=bh([Object(xm.x)(),vh("design:paramtypes",[km.c,gh.a])],l)}(),Ch=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},wh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Fh=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.pdofficer=u,this.shared=a,this.db=t,this.androidPermissions=i,this.bgColorPast=[],this.bgColor=[],this.pdinprogress=[],this.pdlistdetails=[],this.pdlist="inpro",this.pdlistaccess=null,console.log("Entered")}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdListPage"),this.db.getuserDetails(),this.setpermission()},l.prototype.ionViewCanEnter=function(){console.log("Pd list ionViewCanEnter"),this.getpdTriggerdetails()},l.prototype.filter=function(l){l?(this.viewchange=!1,this.pdinprogress=this.pdinprogress,this.pdschduleDetails=this.pdschduleDetails):this.viewchange=!0},l.prototype.pdlistsearch=function(l){console.log(l),this.pdinprogress=this.searchinprogress,this.pdschduleDetails=this.searchpast;var n=l.target.value;if("inpro"==this.pdlist){if(""==n.trim())return;this.pdinprogress=this.searchinprogress.filter(function(l){return void 0!==l.applicat_details&&l.applicat_details[0].applicant_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.pd_status.toLowerCase().indexOf(n.toLowerCase())>-1||null!=l.city_name&&l.city_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.lender_applicant_id.toLowerCase().indexOf(n.toLowerCase())>-1})}else{if(""==n.trim())return console.log(n.trim()),void console.log(this.pdlistdetails);this.pdschduleDetails=this.searchpast.filter(function(l){return l.applicat_details[0].applicant_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.pd_status.toLowerCase().indexOf(n.toLowerCase())>-1||l.city_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.lender_applicant_id.toLowerCase().indexOf(n.toLowerCase())>-1})}},l.prototype.newpage=function(){this.navCtrl.push(hh)},l.prototype.getpdTriggerdetails=function(){var l=this,n=this.aws.getlocale();console.log("User",n),this.pdofficer.getpddetails(n).subscribe(function(n){l.pdlistdetails=n,1==l.pdlistdetails.dataStatus?(console.log(l.pdlistdetails),l.pdlistaccess=!0,l.pdschduleDetails=l.pdlistdetails.records.filter(function(l){return"ACCEPTED"==l.pd_status||"SCHEDULED"==l.pd_status||"INITIATED"==l.pd_status||"STARTED"==l.pd_status||"INPROGRESS"==l.pd_status&&l.applicat_details}),l.searchpast=l.pdschduleDetails,l.pdinprogress=l.pdlistdetails.records.filter(function(l){return"ALLOCATED"==l.pd_status}),l.searchinprogress=l.pdinprogress,console.log(l.pdinprogress),l.random_bg_color(),l.random_ng_past()):(l.pdlistaccess=!1,l.pdlistdetails="No Records Found")})},l.prototype.random_bg_color=function(){for(var l=0,n=this.pdinprogress;l=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Sh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ih=function(){function l(l,n,e,u,a){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.commonconstant=a,this.commonImage=this.commonconstant.commonimage,this.Username=this.navParams.get("Username"),this.Password=this.navParams.get("Password")}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PasswordPage")},l.prototype.setNewPassword=function(l){var n=this;if(""!=l&&null!=l&&void 0!==l){var e={Username:this.Username,Password:this.Password,newpassword:l};console.log(e),this.aws.dologin(e).subscribe(function(l){console.log(l),n.navCtrl.setRoot(Fh)},function(l){n.toast.pdTriggerappmessage(l.message)})}else this.toast.pdTriggerappmessage("Enter the new Password")},l=xh([Object(xm.k)({selector:"page-password",templateUrl:"password.html"}),Sh("design:paramtypes",[Sm.r,Sm.s,$m,ip,Em])],l)}(),qh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},kh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ph=function(){function l(l,n,e,u,a,t){this.aws=l,this.dialog=n,this.shared=e,this.navCtrl=u,this.Menu=a,this.toast=t,this.status=!1,this.config={disableClose:!1,width:"",height:"",position:{top:"",bottom:"",left:"",right:""}}}return l.prototype.ngOnInit=function(){},l.prototype.ionViewDidEnter=function(){this.Menu.enable(!1)},l.prototype.ionViewWillLeave=function(){this.Menu.enable(!0)},l.prototype.login=function(){var l=this;if(void 0!==this.email&&void 0!==this.password&&""!=this.email&&""!=this.password&&null!=this.email&&null!=this.password){this.aws.dologin({Username:this.email,Password:this.password}).subscribe(function(n){var e=l.aws.getlocale();l.aws.getuserprofile(e).subscribe(function(n){l.users=n,1==l.users.dataStatus&&("PD Officer"==l.users.records[0].role_name||"PD Executive"==l.users.records[0].role_name?l.navCtrl.setRoot(Fh):(l.toast.pdTriggerappmessage("This App only for PD Officers"),localStorage.clear()))})},function(n){console.log(JSON.stringify(n.message)),"New password is required."==n.message?l.navCtrl.setRoot(Ih,{Username:l.email,Password:l.password}):(console.log(JSON.stringify(n.message)),l.toast.pdTriggerappmessage(JSON.stringify(n.message)))})}else this.toast.pdTriggerappmessage("Enter Email or Password")},l.prototype.forgotopen=function(){this.status=!0},l.prototype.forgotpassword=function(){var l={Username:this.email};console.log(l)},l.prototype.loggedInCheck=function(){return this.shared.isLoggedIn?(alert("if"),!1):(alert("else"),!0)},l=qh([Object(xm.k)({selector:"page-login",templateUrl:"login.html"}),kh("design:paramtypes",[$m,Mm.h,Vm,Sm.r,Sm.o,ip])],l)}(),Dh=e(191),Th=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Oh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Lh=function(){function l(l,n){this.http=l,this.loadingCtrl=n,console.log("Hello LoadingProvider Provider")}return l.prototype.pdloader=function(l){this.loading=this.loadingCtrl.create({content:l}),this.loading.present()},l=Th([Object(xm.x)(),Oh("design:paramtypes",[km.c,Sm.n])],l)}(),Ah=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Vh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},jh=function(){function l(l,n,e,u,a,t,i,o,r,_){this.navCtrl=l,this.navParams=n,this.Menu=e,this.fb=u,this.shared=a,this.toast=t,this.faio=i,this.aws=o,this.loadingCtrl=r,this.commonconstant=_,this.mpinaccess=!1,this.commonImage=this.commonconstant.commonimage,this.shared.refresh(),this.getuserDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad AuthPage")},l.prototype.ionViewDidEnter=function(){this.Menu.enable(!1)},l.prototype.ionViewWillLeave=function(){this.Menu.enable(!0)},l.prototype.getuserDetails=function(){var l=this;this.loadingCtrl.pdloader("loading...");var n=this.aws.getlocale();this.aws.getuserprofile(n).subscribe(function(n){l.userDetails=n,1==l.userDetails.dataStatus?(l.loadingCtrl.loading.dismiss(),l.userDetails=l.userDetails.records,"PD Executive"==l.userDetails[0].role_name||"PD Officer"==l.userDetails[0].role_name?l.mpinaccess=null==l.userDetails[0].mpin:(l.toast.pdTriggerappmessage("This App only for PD Officers"),localStorage.clear())):l.toast.pdTriggerappmessage("")})},l.prototype.setnewpin=function(l){var n=this;console.log("set Pin"),this.aws.userpinupdate(l).subscribe(function(l){n.newpindetails=l,1==n.newpindetails.dataStatus&&n.navCtrl.setRoot(Fh)})},l.prototype.checkpin=function(l){console.log("Check pin",l),""!=l&&null!=l?this.userDetails[0].mpin==l?(console.log("Entering List page"),this.navCtrl.setRoot(Fh)):this.toast.pdTriggerappmessage("Enter The Correct PIN"):this.toast.pdTriggerappmessage("Enter The PIN")},l.prototype.checkfingerprint=function(){var l=this;console.log("Check Finger"),this.faio.show({clientId:"Fingerprint-Demo",clientSecret:"password",localizedFallbackTitle:"Use Pin",localizedReason:"Please authenticate",disableBackup:!0}).then(function(n){l.navCtrl.setRoot(Fh)}).catch(function(n){l.toast.pdTriggerappmessage("err: "+n)})},l=Ah([Object(xm.k)({selector:"page-auth",templateUrl:"auth.html"}),Vh("design:paramtypes",[Sm.r,Sm.s,Sm.o,Km.g,Vm,ip,Dh.a,$m,Lh,Em])],l)}(),Nh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Eh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Wh=function(){function l(l,n,e,u,a,t){var i=this;this.platform=l,this.statusBar=n,this.splashScreen=e,this.aws=u,this.shared=a,this.AWS=t,this.userAccess=!1,this.rootPage=Ph,this.initializeApp(),this.pages=[{title:"Home",icon:"home",method:function(){return i.menulist(1)}},{title:"Logout",icon:"md-exit",method:function(){return i.menulist(2)}}]}return l.prototype.initializeApp=function(){var l=this;this.platform.ready().then(function(){l.statusBar.styleDefault(),l.platform.is("android")&&(l.statusBar.overlaysWebView(!1),l.statusBar.backgroundColorByHexString("#db4437")),l.splashScreen.hide(),l.shared.getAccessToken().then(function(){l.getuserDetails(),l.rootPage=jh}).catch(function(){setTimeout(function(){l.rootPage=Ph},1e3)})})},l.prototype.getuserDetails=function(){var l=this,n=this.aws.getlocale();this.aws.getuserprofile(n).subscribe(function(n){l.userDetails=n,1==l.userDetails.dataStatus&&(l.userAccess=!0,l.userDetails=l.userDetails.records[0])})},l.prototype.menulist=function(l){var n=this;switch(l){case 1:this.nav.setRoot(Fh);break;case 2:this.AWS.logout().subscribe(function(){n.nav.setRoot(Ph)})}},l.prototype.logout=function(){this.nav.setRoot(Ph)},Nh([Object(xm.Z)(Sm.q),Eh("design:type",Sm.q)],l.prototype,"nav",void 0),l=Nh([Object(xm.k)({templateUrl:"app.html"}),Eh("design:paramtypes",[Sm.u,Im.a,qm.a,$m,Vm,$m])],l)}(),Rh=e(354),Uh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Bh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},$h=function(){function l(){}return l.prototype.getlogin=function(){},l=Uh([Object(xm.x)(),Bh("design:paramtypes",[])],l)}(),Mh=e(55),Kh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Hh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Gh=function(){function l(l){this.shared=l}return l.prototype.intercept=function(l,n){var e;this.shared.refresh(),e=(e=this.shared.getToken()||null).getIdToken().getJwtToken();var u=l.clone({headers:new km.h({Authorization:"sparqvenba2018",Token:e,From:"1"})});return n.handle(u).pipe(Object(Mh.catchError)(this.handleError("role",[])))},l.prototype.handleError=function(l,n){return void 0===l&&(l="operation"),function(l){if(l instanceof km.f)return console.error("Error: "+l.status),401==l.status&&localStorage.clear(),Object(Tm.of)(n)}},l=Kh([Object(xm.x)(),Hh("design:paramtypes",[Vm])],l)}(),Yh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Qh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},zh=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.SwipedTabsIndicator=null,this.tabTitleWidthArray=[],this.tabElementWidth_px=50,this.screenWidth_px=0,this.isRight=!0,this.isLeft=!0,this.tabs=[],this.tabs=["1","2","3","4","5","6","7","9","10","11"],console.log("Width: "+e.width()),this.screenWidth_px=e.width()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad GoogleplaytabPage")},l.prototype.ionViewDidEnter=function(){this.SwipedTabsIndicator=document.getElementById("indicator");for(var l in this.tabs)this.tabTitleWidthArray.push(document.getElementById("tabTitle"+l).offsetWidth);this.selectTab(0)},l.prototype.scrollIndicatiorTab=function(){this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0)},l.prototype.selectTab=function(l){this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[l]+"px",this.SwipedTabsIndicator.style.webkitTransform="translate3d("+this.calculateDistanceToSpnd(l)+"px,0,0)",this.SwipedTabsSlider.slideTo(l)},l.prototype.calculateDistanceToSpnd=function(l){for(var n=0,e=0;en&&(this.isLeft=!1,this.isRight=!0),this.SwipedTabsSlider.isEnd()&&(this.isRight=!1),this.SwipedTabsSlider.isBeginning()&&(this.isLeft=!1),this.isRight&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])+"px,0,0)"),this.isLeft&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])+"px,0,0)"),this.isRight||this.isLeft||(this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+"px")},Yh([Object(xm.Z)("SwipedTabsSlider"),Qh("design:type",Sm.v)],l.prototype,"SwipedTabsSlider",void 0),Yh([Object(xm.Z)("MultiItemsScrollingTabs"),Qh("design:type",Sm.e)],l.prototype,"ItemsTitles",void 0),l=Yh([Object(xm.k)({selector:"page-googleplaytab",templateUrl:"googleplaytab.html"}),Qh("design:paramtypes",[Sm.r,Sm.s,Sm.u])],l)}(),Jh=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},Xh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Zh=function(){function l(l,n){this.navCtrl=l,this.navParams=n,this.pdFullDetails=[],this.pdFullDetails=this.navParams.get("pdDetails"),console.log(this.pdFullDetails)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdAllocationPage")},l=Jh([Object(xm.k)({selector:"page-pd-allocation",templateUrl:"pd-allocation.html"}),Xh("design:paramtypes",[Sm.r,Sm.s])],l)}(),lg=e(451),ng=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},eg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ug=function(){function l(l,n,e,u,a,t,i){this.navCtrl=l,this.navParams=n,this.viewCtrl=e,this.aws=u,this.pdservice=a,this.qustCat=t,this.fb=i,this.bounce_reason_others=null,this.pdDetails=this.navParams.get("appdetails"),this.status=this.navParams.get("status"),this.users=this.aws.getlocale(),this.getDropdown()}return l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("BOUNCEMASTER").subscribe(function(n){1==n.dataStatus&&(l.bounseMaster=n.records.filter(function(l){return 1==l.isactive}),console.log(l.bounseMaster))})},l.prototype.updatePDStatus=function(){var l=this;if(null!=this.bounce_reason){this.pdservice.updatepdStatus({pd_id:this.pdDetails.pd_id,pd_status:this.status,fk_updatedby:this.users,bounce_reason:this.bounce_reason,bounce_reason_others:this.bounce_reason_others}).subscribe(function(n){1==n.dataStatus&&l.navCtrl.setRoot(Fh)})}},l=ng([Object(xm.k)({selector:"page-bounced-reject",templateUrl:"bounced-reject.html"}),eg("design:paramtypes",[Sm.r,Sm.s,Sm.y,$m,zm,Zm,Km.g])],l)}(),ag=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},tg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ig=function(){function l(l,n,e,u){this.navCtrl=l,this.navParams=n,this.qustcat=e,this.aws=u,this.existCompanyList=[],this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale,this.getDropDown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessPage")},l.prototype.getDropDown=function(){var l=this;this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){l.existCompanyList=n.records.filter(function(l){return 1==l.is_active&&1==l.is_company_applicant}),console.log(l.existCompanyList)})},l=ag([Object(xm.k)({selector:"page-pd-question-business",templateUrl:"pd-question-business.html"}),tg("design:paramtypes",[Sm.r,Sm.s,Zm,$m])],l)}(),og=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},rg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},_g=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.fb=e,this.salaryDetails=this.fb.group({gross:[null],netTakeHome:[null],bounsIncentive:[null],salaryDate:[null],anydelays:[null]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionSalaryInfoPage")},l=og([Object(xm.k)({selector:"page-pd-question-salary-info",templateUrl:"pd-question-salary-info.html"}),rg("design:paramtypes",[Sm.r,Sm.s,Km.g])],l)}(),dg=this&&this.__decorate||function(l,n,e,u){var a,t=arguments.length,i=t<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(t<3?a(i):t>3?a(n,e,i):a(n,e))||i);return t>3&&i&&Object.defineProperty(n,e,i),i},sg=function(){function l(){}return l=dg([Object(xm.E)({declarations:[Wh,jh,Ph,Fh,uh,dp,zh,Ih,Zh,hh,rh,mp,Tp,Sp,vp,hp,kp,Mf,wp,Hp,Ap,Np,Rp,$p,Qp,Xp,yf,af,nf,Mf,pf,rf,Ff,ug,sf,If,Vf,Pf,Ef,Uf,ig,Zf,Gf,zf,gf,ch,_g],imports:[Fm.a,Km.w,Km.m,Sm.m.forRoot(Wh,{},{links:[]}),Rh.a,Mm.a,Mm.b,Mm.c,Mm.d,Mm.e,Mm.f,Mm.g,Mm.i,Mm.n,Mm.j,Mm.k,Mm.l,Mm.m,Mm.n,Mm.o,Mm.p,Mm.q,Mm.r,Mm.s,Mm.t,Mm.u,Mm.v,Mm.w,Mm.y,Mm.x,Mm.z,Mm.A,Mm.C,Mm.D,Mm.E,Mm.F,Mm.B,km.d,lg.a],bootstrap:[Sm.k],entryComponents:[Wh,jh,Ph,Fh,uh,dp,zh,Ih,Zh,hh,rh,mp,Tp,Sp,vp,hp,kp,Mf,wp,Hp,Ap,Np,Rp,$p,Qp,Xp,yf,af,nf,Mf,pf,rf,Ff,ug,sf,If,Vf,Pf,Ef,Uf,ig,Zf,Gf,zf,gf,ch,_g],providers:[Im.a,$m,$h,Gh,ip,Em,Vm,qm.a,zm,Dh.a,gh.a,th.a,{provide:km.a,useClass:Gh,multi:!0},{provide:xm.r,useClass:Sm.l},Gm.a,$m,Zm,up,lp.a,Of,_h.a,Lh,ah.a,yh]})],l)}(),cg=e(140),mg=e(452),pg=e(453),fg=e(454),hg=e(455),gg=e(456),bg=e(457),vg=e(458),yg=e(459),Cg=e(460),wg=e(359),Fg=e(461),xg=e(462),Sg=e(463),Ig=e(464),qg=e(115),kg=e(54),Pg=e(52),Dg=e(2),Tg=e(82),Og=e(90),Lg=e(218),Ag=e(22),Vg=e(20),jg=e(465),Ng=e(101),Eg=e(174),Wg=e(5),Rg=e(18),Ug=e(37),Bg=e(9),$g=e(8),Mg=e(28),Kg=e(15),Hg=e(6),Gg=e(13),Yg=e(85),Qg=e(466),zg=e(145),Jg=e(99),Xg=e(64),Zg=xm._16({encapsulation:2,styles:[],data:{}}),lb=xm._14("ng-component",Wh,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"ng-component",[],null,null,null,i,Zg)),xm._17(1,49152,null,0,Wh,[Wg.a,Im.a,qm.a,$m,Vm,$m],null,null)],null,null)},{},{},[]),nb=e(33),eb=e(27),ub=e(31),ab=e(40),tb=e(41),ib=e(26),ob=e(7),rb=e(36),_b=e(132),db=e(77),sb=e(30),cb=e(12),mb=xm._16({encapsulation:2,styles:[],data:{}}),pb=xm._14("page-auth",jh,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-auth",[],null,null,null,_,mb)),xm._17(1,49152,null,0,jh,[Gg.a,cb.a,Ag.a,Km.g,Vm,ip,Dh.a,$m,Lh,Em],null,null)],null,null)},{},{},[]),fb=e(114),hb=xm._16({encapsulation:2,styles:[],data:{}}),gb=xm._14("page-login",Ph,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-login",[],null,null,null,s,hb)),xm._17(1,114688,null,0,Ph,[$m,fb.d,Vm,Gg.a,Ag.a,ip],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),bb=e(34),vb=e(29),yb=e(23),Cb=e(19),wb=e(151),Fb=e(102),xb=e(144),Sb=e(147),Ib=e(251),qb=e(111),kb=e(25),Pb=e(32),Db=e(21),Tb=e(16),Ob=e(38),Lb=e(35),Ab=e(110),Vb=e(252),jb=e(121),Nb=xm._16({encapsulation:2,styles:[],data:{}}),Eb=xm._14("page-pd-list",Fh,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-list",[],null,null,null,I,Nb)),xm._17(1,49152,null,0,Fh,[Gg.a,cb.a,$m,zm,Vm,yh,th.a],null,null)],null,null)},{},{},[]),Wb=e(122),Rb=xm._16({encapsulation:2,styles:[],data:{}}),Ub=xm._14("page-pd-question-category",uh,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-category",[],null,null,null,E,Rb)),xm._17(1,49152,null,0,uh,[Gg.a,cb.a,Zm,$m,Vm,ip,zm],null,null)],null,null)},{},{},[]),Bb=e(152),$b=e(105),Mb=e(94),Kb=e(78),Hb=e(53),Gb=e(192),Yb=e(131),Qb=e(253),zb=e(127),Jb=e(360),Xb=e(148),Zb=e(112),lv=e(194),nv=e(109),ev=e(195),uv=e(89),av=e(467),tv=e(179),iv=e(361),ov=e(362),rv=xm._16({encapsulation:2,styles:[],data:{}}),_v=xm._14("page-pd-question",dp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question",[],null,null,null,ll,rv)),xm._17(1,49152,null,0,dp,[Gg.a,cb.a,Wg.a,Km.g,Zm,$m,up,ip],null,null)],null,null)},{},{},[]),dv=xm._16({encapsulation:2,styles:[],data:{}}),sv=xm._14("page-googleplaytab",zh,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-googleplaytab",[],null,null,null,il,dv)),xm._17(1,49152,null,0,zh,[Gg.a,cb.a,Wg.a],null,null)],null,null)},{},{},[]),cv=xm._16({encapsulation:2,styles:[],data:{}}),mv=xm._14("page-password",Ih,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-password",[],null,null,null,ol,cv)),xm._17(1,49152,null,0,Ih,[Gg.a,cb.a,$m,ip,Em],null,null)],null,null)},{},{},[]),pv=xm._16({encapsulation:2,styles:[],data:{}}),fv=xm._14("page-pd-allocation",Zh,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-allocation",[],null,null,null,fl,pv)),xm._17(1,49152,null,0,Zh,[Gg.a,cb.a],null,null)],null,null)},{},{},[]),hv=e(108),gv=e(468),bv=e(169),vv=e(168),yv=e(119),Cv=xm._16({encapsulation:2,styles:[],data:{}}),wv=xm._14("page-input",hh,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-input",[],null,null,null,Fl,Cv)),xm._17(1,49152,null,0,hh,[Gg.a,cb.a,Km.g,Im.a,Hm.a,Gm.a,$m,zm,ah.a,yv.a,_h.a,ip,Em,th.a],null,null)],null,null)},{},{},[]),Fv=e(49),xv=e(51),Sv=e(45),Iv=e(39),qv=e(17),kv=xm._16({encapsulation:2,styles:[],data:{}}),Pv=xm._14("page-otp",rh,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-otp",[],null,null,null,Tl,kv)),xm._17(1,49152,null,0,rh,[Gg.a,cb.a,zm,ip,Ag.a,Em,$m,yv.a,Zm,Km.g,ah.a,th.a],null,null)],null,null)},{},{},[]),Dv=xm._16({encapsulation:2,styles:[],data:{}}),Tv=xm._14("page-pd-question-address",mp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-address",[],null,null,null,Rl,Dv)),xm._17(1,49152,null,0,mp,[Gg.a,cb.a,Km.g,Zm,$m,ip,yv.a,Em],null,null)],null,null)},{},{},[]),Ov=xm._16({encapsulation:2,styles:[],data:{}}),Lv=xm._14("page-pd-question-assests",Tp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assests",[],null,null,null,vn,Ov)),xm._17(1,49152,null,0,Tp,[Gg.a,cb.a,Km.g,$m,Zm,ip,Em],null,null)],null,null)},{},{},[]),Av=xm._16({encapsulation:2,styles:[],data:{}}),Vv=xm._14("page-pd-question-banking",Sp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-banking",[],null,null,null,On,Av)),xm._17(1,49152,null,0,Sp,[Gg.a,cb.a,Km.g,$m,Zm,ip,Em],null,null)],null,null)},{},{},[]),jv=xm._16({encapsulation:2,styles:[],data:{}}),Nv=xm._14("page-pd-question-current-loans",vp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-current-loans",[],null,null,null,Yn,jv)),xm._17(1,49152,null,0,vp,[Gg.a,cb.a,Km.g,Zm,ip,$m,Em],null,null)],null,null)},{},{},[]),Ev=xm._16({encapsulation:2,styles:[],data:{}}),Wv=xm._14("page-pd-question-emp-info",hp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-emp-info",[],null,null,null,zn,Ev)),xm._17(1,49152,null,0,hp,[Gg.a,cb.a,Km.g],null,null)],null,null)},{},{},[]),Rv=xm._16({encapsulation:2,styles:[],data:{}}),Uv=xm._14("page-pd-question-family",kp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-family",[],null,null,null,Ce,Rv)),xm._17(1,49152,null,0,kp,[Gg.a,cb.a,Km.g,Zm,$m,ip,Em],null,null)],null,null)},{},{},[]),Bv=e(104),$v=e(153),Mv=xm._16({encapsulation:2,styles:[],data:{}}),Kv=xm._14("page-pd-question-business-info",Mf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-business-info",[],null,null,null,ft,Mv)),xm._17(1,49152,null,0,Mf,[Gg.a,cb.a,$m,ip,Zm,Km.g,Em],null,null)],null,null)},{},{},[]),Hv=xm._16({encapsulation:2,styles:[],data:{}}),Gv=xm._14("page-pd-question-loans",wp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-loans",[],null,null,null,Bt,Hv)),xm._17(1,49152,null,0,wp,[Gg.a,cb.a,Km.g,Zm,$m,ip,Em],null,null)],null,null)},{},{},[]),Yv=xm._16({encapsulation:2,styles:[],data:{}}),Qv=xm._14("page-pd-question-financial-info",Hp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-financial-info",[],null,null,null,Di,Yv)),xm._17(1,49152,null,0,Hp,[Gg.a,cb.a,$m,ip,Zm,Km.g,Em],null,null)],null,null)},{},{},[]),zv=xm._16({encapsulation:2,styles:[],data:{}}),Jv=xm._14("page-pd-question-other-income",Ap,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-other-income",[],null,null,null,Bi,zv)),xm._17(1,49152,null,0,Ap,[Gg.a,cb.a,Km.g,Zm,$m,ip,Em],null,null)],null,null)},{},{},[]),Xv=xm._16({encapsulation:2,styles:[],data:{}}),Zv=xm._14("page-pd-question-supplier-info",Np,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-supplier-info",[],null,null,null,ho,Xv)),xm._17(1,49152,null,0,Np,[Gg.a,cb.a,Km.g,$m,Zm,ip],null,null)],null,null)},{},{},[]),ly=xm._16({encapsulation:2,styles:[],data:{}}),ny=xm._14("page-pd-question-personal-info",Rp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-personal-info",[],null,null,null,Io,ly)),xm._17(1,114688,null,0,Rp,[Gg.a,cb.a,$m,Zm,ip,Km.g],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),ey=xm._16({encapsulation:2,styles:[],data:{}}),uy=xm._14("page-pd-question-stock-info",$p,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-stock-info",[],null,null,null,hr,ey)),xm._17(1,49152,null,0,$p,[Gg.a,cb.a,Zm,$m,ip,Km.g,Em],null,null)],null,null)},{},{},[]),ay=xm._16({encapsulation:2,styles:[],data:{}}),ty=xm._14("page-pd-question-client-info",Qp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-client-info",[],null,null,null,n_,ay)),xm._17(1,49152,null,0,Qp,[Gg.a,cb.a,Zm,$m,ip,Km.g],null,null)],null,null)},{},{},[]),iy=xm._16({encapsulation:2,styles:[],data:{}}),oy=xm._14("page-pd-question-rental-info",Xp,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-rental-info",[],null,null,null,__,iy)),xm._17(1,49152,null,0,Xp,[Gg.a,cb.a,$m,ip,Zm,Km.g],null,null)],null,null)},{},{},[]),ry=xm._16({encapsulation:2,styles:[],data:{}}),_y=xm._14("page-pd-question-assessed-info",yf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assessed-info",[],null,null,null,D_,ry)),xm._17(1,49152,null,0,yf,[Gg.a,cb.a,$m,Zm,ip,Km.g],null,null)],null,null)},{},{},[]),dy=xm._16({encapsulation:2,styles:[],data:{}}),sy=xm._14("page-pd-question-assessed-daily-sales",af,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assessed-daily-sales",[],null,null,null,N_,dy)),xm._17(1,49152,null,0,af,[Gg.a,cb.a,$m,Zm,ip,Km.g,Em],null,null)],null,null)},{},{},[]),cy=xm._16({encapsulation:2,styles:[],data:{}}),my=xm._14("page-pd-question-assessed-sales",nf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assessed-sales",[],null,null,null,K_,cy)),xm._17(1,49152,null,0,nf,[Gg.a,cb.a,$m,Km.g,Zm,ip],null,null)],null,null)},{},{},[]),py=xm._16({encapsulation:2,styles:[],data:{}}),fy=xm._14("page-pd-question-assessed-household",pf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assessed-household",[],null,null,null,J_,py)),xm._17(1,49152,null,0,pf,[Gg.a,cb.a,Km.g,$m,ip,Zm],null,null)],null,null)},{},{},[]),hy=xm._16({encapsulation:2,styles:[],data:{}}),gy=xm._14("page-pd-question-assessed-purchase",rf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assessed-purchase",[],null,null,null,ad,hy)),xm._17(1,49152,null,0,rf,[Gg.a,Km.g,cb.a,Zm,ip,$m],null,null)],null,null)},{},{},[]),by=xm._16({encapsulation:2,styles:[],data:{}}),vy=xm._14("page-pd-question-assessed-dash",Ff,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assessed-dash",[],null,null,null,yd,by)),xm._17(1,49152,null,0,Ff,[Gg.a,cb.a,$m,Km.g,Zm,ip],null,null)],null,null)},{},{},[]),yy=xm._16({encapsulation:2,styles:[],data:{}}),Cy=xm._14("page-bounced-reject",ug,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-bounced-reject",[],null,null,null,Fd,yy)),xm._17(1,49152,null,0,ug,[Gg.a,cb.a,Hg.a,$m,zm,Zm,Km.g],null,null)],null,null)},{},{},[]),wy=xm._16({encapsulation:2,styles:[],data:{}}),Fy=xm._14("page-pd-question-assessed-business",sf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assessed-business",[],null,null,null,Dd,wy)),xm._17(1,49152,null,0,sf,[Gg.a,cb.a,Km.g,$m,Zm,ip],null,null)],null,null)},{},{},[]),xy=xm._16({encapsulation:2,styles:[],data:{}}),Sy=xm._14("page-pd-question-lender-representative",If,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-lender-representative",[],null,null,null,Ad,xy)),xm._17(1,49152,null,0,If,[Gg.a,cb.a,$m,Zm,ip,Km.g],null,null)],null,null)},{},{},[]),Iy=e(469),qy=e(171),ky=e(170),Py=e(470),Dy=e(165),Ty=e(471),Oy=e(182),Ly=e(84),Ay=e(185),Vy=e(176),jy=xm._16({encapsulation:2,styles:[],data:{}}),Ny=xm._14("page-pd-question-general-info",Vf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,2,"page-pd-question-general-info",[],null,null,null,ms,jy)),xm._36(4608,null,Of,Of,[]),xm._17(2,49152,null,0,Vf,[Gg.a,cb.a,$m,Zm,ip,Km.g,Vy.a],null,null)],null,null)},{},{},[]),Ey=xm._16({encapsulation:2,styles:[],data:{}}),Wy=xm._14("page-pd-question-general-other-applicant",Pf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-general-other-applicant",[],null,null,null,gs,Ey)),xm._17(1,49152,null,0,Pf,[Gg.a,cb.a,Km.g,Hg.a],null,null)],null,null)},{},{},[]),Ry=e(472),Uy=e(188),By=xm._16({encapsulation:2,styles:[],data:{}}),$y=xm._14("page-pd-question-neighbour-hood",Ef,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-neighbour-hood",[],null,null,null,$s,By)),xm._17(1,49152,null,0,Ef,[Gg.a,cb.a,$m,Zm,ip,Km.g,Em],null,null)],null,null)},{},{},[]),My=xm._16({encapsulation:2,styles:[],data:{}}),Ky=xm._14("page-pd-question-final-remark",Uf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-final-remark",[],null,null,null,Gs,My)),xm._17(1,49152,null,0,Uf,[Gg.a,cb.a,Km.g,Zm,$m,ip],null,null)],null,null)},{},{},[]),Hy=xm._16({encapsulation:2,styles:[],data:{}}),Gy=xm._14("page-pd-question-business",ig,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-business",[],null,null,null,Ys,Hy)),xm._17(1,49152,null,0,ig,[Gg.a,cb.a,Zm,$m],null,null)],null,null)},{},{},[]),Yy=xm._16({encapsulation:2,styles:[],data:{}}),Qy=xm._14("page-pd-question-business-group",Zf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-business-group",[],null,null,null,ec,Yy)),xm._17(1,49152,null,0,Zf,[Gg.a,cb.a,Zm],null,null)],null,null)},{},{},[]),zy=xm._16({encapsulation:2,styles:[],data:{}}),Jy=xm._14("page-pd-question-business-assets",Gf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-business-assets",[],null,null,null,Hc,zy)),xm._17(1,49152,null,0,Gf,[Gg.a,cb.a,$m,Km.g,Zm,Em,ip],null,null)],null,null)},{},{},[]),Xy=xm._16({encapsulation:2,styles:[],data:{}}),Zy=xm._14("page-pd-question-business-banking",zf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-business-banking",[],null,null,null,im,Xy)),xm._17(1,49152,null,0,zf,[Gg.a,cb.a,$m,Km.g,Zm,Em,ip],null,null)],null,null)},{},{},[]),lC=xm._16({encapsulation:2,styles:[],data:{}}),nC=xm._14("page-pd-question-assessed-business-income",gf,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-assessed-business-income",[],null,null,null,fm,lC)),xm._17(1,49152,null,0,gf,[Gg.a,cb.a,Km.g,$m,Zm,ip],null,null)],null,null)},{},{},[]),eC=xm._16({encapsulation:2,styles:[],data:{}}),uC=xm._14("page-pd-general-images",ch,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-general-images",[],null,null,null,ym,eC)),xm._17(1,49152,null,0,ch,[Gg.a,cb.a,up,Zm,ip],null,null)],null,null)},{},{},[]),aC=xm._16({encapsulation:2,styles:[],data:{}}),tC=xm._14("page-pd-question-salary-info",_g,function(l){return xm._41(0,[(l()(),xm._18(0,0,null,null,1,"page-pd-question-salary-info",[],null,null,null,wm,aC)),xm._17(1,49152,null,0,_g,[Gg.a,cb.a,Km.g],null,null)],null,null)},{},{},[]),iC=e(237),oC=e(355),rC=e(71),_C=e(70),dC=e(336),sC=e(128),cC=e(328),mC=e(129),pC=e(341),fC=e(187),hC=e(342),gC=e(247),bC=e(246),vC=e(347),yC=e(349),CC=e(142),wC=e(120),FC=e(213),xC=e(234),SC=e(217),IC=e(166),qC=e(225),kC=e(233),PC=e(229),DC=e(327),TC=e(235),OC=e(220),LC=e(236),AC=e(61),VC=e(338),jC=e(339),NC=e(186),EC=e(245),WC=e(340),RC=e(343),UC=e(344),BC=e(345),$C=e(346),MC=e(248),KC=e(351),HC=e(352),GC=e(353),YC=e(350),QC=e(356),zC=xm._15(sg,[cg.b],function(l){return xm._29([xm._30(512,xm.l,xm._11,[[8,[mg.a,pg.a,fg.a,hg.a,gg.a,bg.a,vg.a,yg.a,Cg.a,wg.a,Fg.a,xg.a,Sg.a,Sg.b,Ig.a,lb,pb,gb,Eb,Ub,_v,sv,mv,fv,wv,Pv,Tv,Lv,Vv,Nv,Wv,Uv,Kv,Gv,Qv,Jv,Zv,ny,uy,ty,oy,_y,sy,my,fy,gy,vy,Cy,Fy,Sy,Ny,Wy,$y,Ky,Gy,Qy,Jy,Zy,nC,uC,tC]],[3,xm.l],xm.F]),xm._30(5120,xm.D,xm._28,[[3,xm.D]]),xm._30(4608,Df.l,Df.k,[xm.D,[2,Df.w]]),xm._30(5120,xm.b,xm._19,[]),xm._30(5120,xm.B,xm._25,[]),xm._30(5120,xm.C,xm._26,[]),xm._30(4608,Fm.c,Fm.q,[Df.c]),xm._30(6144,xm.S,null,[Fm.c]),xm._30(4608,Fm.f,iC.a,[]),xm._30(5120,Fm.d,function(l,n,e,u,a){return[new Fm.k(l,n),new Fm.o(e),new Fm.n(u,a)]},[Df.c,xm.H,Df.c,Df.c,Fm.f]),xm._30(4608,Fm.e,Fm.e,[Fm.d,xm.H]),xm._30(135680,Fm.m,Fm.m,[Df.c]),xm._30(4608,Fm.l,Fm.l,[Fm.e,Fm.m]),xm._30(5120,oC.a,Rh.d,[]),xm._30(5120,oC.c,Rh.e,[]),xm._30(4608,oC.b,Rh.c,[oC.a,oC.c]),xm._30(5120,xm.Q,Rh.f,[Fm.l,oC.b,xm.H]),xm._30(6144,Fm.p,null,[Fm.m]),xm._30(4608,xm.X,xm.X,[xm.H]),xm._30(4608,Fm.h,Fm.h,[Df.c]),xm._30(4608,Fm.i,Fm.i,[Df.c]),xm._30(4608,Km.g,Km.g,[]),xm._30(4608,Km.C,Km.C,[]),xm._30(4608,rC.b,Rh.b,[xm.Q,Fm.b]),xm._30(6144,qv.b,null,[Df.c]),xm._30(4608,qv.c,qv.c,[[2,qv.b]]),xm._30(4608,Hm.a,Hm.a,[]),xm._30(5120,Iv.c,Iv.a,[[3,Iv.c],xm.H,Hm.a]),xm._30(5120,Iv.f,Iv.e,[[3,Iv.f],Hm.a,xm.H]),xm._30(4608,_C.i,_C.i,[Iv.c,Iv.f,xm.H,Df.c]),xm._30(5120,_C.e,_C.k,[[3,_C.e],Df.c]),xm._30(4608,_C.h,_C.h,[Iv.f,Df.c]),xm._30(5120,_C.f,_C.n,[[3,_C.f],Df.c]),xm._30(4608,_C.c,_C.c,[_C.i,_C.e,xm.l,_C.h,_C.f,xm.f,xm.z,xm.H,Df.c]),xm._30(5120,_C.l,_C.m,[_C.c]),xm._30(5120,dC.a,dC.b,[_C.c]),xm._30(4608,sb.l,sb.l,[Hm.a]),xm._30(4608,sb.k,sb.k,[sb.l,xm.H,Df.c]),xm._30(136192,sb.e,sb.c,[[3,sb.e],Df.c]),xm._30(5120,sb.p,sb.o,[[3,sb.p],[2,sb.m],Df.c]),xm._30(5120,sb.j,sb.h,[[3,sb.j],xm.H,Hm.a]),xm._30(5120,Hb.d,Hb.e,[[3,Hb.d]]),xm._30(4608,sC.b,sC.b,[]),xm._30(4608,ob.d,ob.d,[]),xm._30(5120,Df.g,cC.b,[Df.r,[2,Df.a],Dg.a]),xm._30(4608,Df.f,Df.f,[Df.g]),xm._30(5120,fb.b,fb.c,[_C.c]),xm._30(4608,fb.d,fb.d,[_C.c,xm.z,[2,Df.f],[2,fb.a],fb.b,[3,fb.d],_C.e]),xm._30(4608,km.l,km.l,[]),xm._30(6144,km.k,null,[km.l]),xm._30(4608,km.i,km.i,[km.k]),xm._30(6144,km.b,null,[km.i]),xm._30(4608,km.j,km.o,[Df.c,xm.K,km.m]),xm._30(4608,km.p,km.p,[km.j,km.n]),xm._30(4608,Vm,Vm,[]),xm._30(5120,km.a,function(l,n){return[l,new Gh(n)]},[km.p,Vm]),xm._30(5120,km.g,km.q,[km.b,[2,km.a]]),xm._30(4608,km.c,km.c,[km.g]),xm._30(5120,mC.d,mC.a,[[3,mC.d],[2,km.c],Fm.c,[2,Df.c]]),xm._30(4608,Ay.h,Ay.h,[]),xm._30(5120,Ay.a,Ay.b,[_C.c]),xm._30(5120,pC.b,pC.d,[_C.c]),xm._30(6144,ob.h,null,[xm.D]),xm._30(4608,ob.c,ob.z,[[2,ob.h]]),xm._30(5120,Sv.a,Sv.b,[_C.c]),xm._30(5120,fC.b,fC.c,[_C.c]),xm._30(5120,hC.b,hC.a,[[3,hC.b]]),xm._30(4608,gC.d,gC.d,[Hm.a]),xm._30(135680,gC.a,gC.a,[gC.d,xm.H]),xm._30(4608,bC.b,bC.b,[_C.c,sb.p,xm.z,gC.a,[3,bC.b]]),xm._30(5120,vC.b,vC.a,[[3,vC.b]]),xm._30(4608,yC.a,yC.a,[]),xm._30(5120,CC.b,CC.d,[$g.a,CC.a]),xm._30(5120,Xg.a,Xg.b,[$g.a,CC.b,Df.f,wC.b,xm.l]),xm._30(4608,Yb.a,Yb.a,[$g.a,Dg.a,Xg.a]),xm._30(4608,FC.a,FC.a,[$g.a,Dg.a]),xm._30(4608,yv.a,yv.a,[$g.a,Dg.a]),xm._30(4608,xC.a,xC.a,[]),xm._30(4608,Pg.a,Pg.a,[]),xm._30(4608,Ly.a,Ly.a,[Wg.a]),xm._30(4608,Rg.a,Rg.a,[Dg.a,Wg.a,xm.H,Bg.a]),xm._30(4608,SC.a,SC.a,[$g.a,Dg.a]),xm._30(4608,Vy.a,Vy.a,[$g.a,Dg.a,Xg.a]),xm._30(4608,IC.a,IC.a,[$g.a,Dg.a]),xm._30(4608,qC.a,qC.a,[$g.a,Dg.a,Xg.a]),xm._30(4608,kC.a,kC.a,[Dg.a,Wg.a,Bg.a,$g.a,Ug.l]),xm._30(4608,PC.a,PC.a,[$g.a,Dg.a]),xm._30(4608,Jg.a,Jg.a,[Wg.a,Dg.a]),xm._30(4608,Im.a,Im.a,[]),xm._30(4608,Em,Em,[km.c]),xm._30(4608,$m,$m,[km.c,Vm,Em]),xm._30(4608,$h,$h,[]),xm._30(4608,Gh,Gh,[Vm]),xm._30(4608,ip,ip,[km.c,PC.a]),xm._30(4608,qm.a,qm.a,[]),xm._30(4608,zm,zm,[km.c,Em]),xm._30(4608,Dh.a,Dh.a,[]),xm._30(4608,gh.a,gh.a,[]),xm._30(4608,th.a,th.a,[]),xm._30(4608,Gm.a,Gm.a,[]),xm._30(4608,Zm,Zm,[km.c,Em]),xm._30(4608,lp.a,lp.a,[]),xm._30(4608,up,up,[km.c,lp.a]),xm._30(4608,Of,Of,[]),xm._30(4608,_h.a,_h.a,[]),xm._30(4608,Lh,Lh,[km.c,SC.a]),xm._30(4608,ah.a,ah.a,[]),xm._30(4608,yh,yh,[km.c,gh.a]),xm._30(512,Df.b,Df.b,[]),xm._30(512,xm.r,DC.a,[]),xm._30(256,Dg.b,{},[]),xm._30(1024,TC.a,TC.b,[]),xm._30(1024,Wg.a,Wg.b,[Fm.b,TC.a,xm.H]),xm._30(1024,Dg.a,Dg.c,[Dg.b,Wg.a]),xm._30(512,Bg.a,Bg.a,[Wg.a]),xm._30(512,Ag.a,Ag.a,[]),xm._30(512,$g.a,$g.a,[Dg.a,Wg.a,[2,Ag.a]]),xm._30(512,Ug.l,Ug.l,[$g.a]),xm._30(256,CC.a,{links:[]},[]),xm._30(512,xm.j,xm.j,[]),xm._30(512,OC.a,OC.a,[xm.j]),xm._30(1024,wC.b,wC.c,[OC.a,xm.z]),xm._30(1024,xm.c,function(l,n,e,u,a,t,i,o,r,_,d,s,c){return[Fm.s(l),LC.a(n),xC.b(e,u),kC.b(a,t,i,o,r),wC.d(_,d,s,c)]},[[2,xm.G],Dg.a,Wg.a,Bg.a,Dg.a,Wg.a,Bg.a,$g.a,Ug.l,Dg.a,CC.a,wC.b,xm.H]),xm._30(512,xm.d,xm.d,[[2,xm.c]]),xm._30(131584,xm.f,xm.f,[xm.H,xm._12,xm.z,xm.r,xm.l,xm.d]),xm._30(512,xm.e,xm.e,[xm.f]),xm._30(512,Fm.a,Fm.a,[[3,Fm.a]]),xm._30(512,Km.z,Km.z,[]),xm._30(512,Km.w,Km.w,[]),xm._30(512,Km.m,Km.m,[]),xm._30(512,cC.a,cC.a,[]),xm._30(512,Rh.a,Rh.a,[]),xm._30(512,qv.a,qv.a,[]),xm._30(256,ob.f,!0,[]),xm._30(512,ob.n,ob.n,[[2,ob.f]]),xm._30(512,Hm.b,Hm.b,[]),xm._30(512,ob.y,ob.y,[]),xm._30(512,ob.w,ob.w,[]),xm._30(512,ob.u,ob.u,[]),xm._30(512,AC.g,AC.g,[]),xm._30(512,Iv.b,Iv.b,[]),xm._30(512,_C.g,_C.g,[]),xm._30(512,dC.c,dC.c,[]),xm._30(512,sb.a,sb.a,[]),xm._30(512,db.d,db.d,[]),xm._30(512,VC.a,VC.a,[]),xm._30(512,eb.f,eb.f,[]),xm._30(512,sC.c,sC.c,[]),xm._30(512,zb.c,zb.c,[]),xm._30(512,jC.a,jC.a,[]),xm._30(512,fb.g,fb.g,[]),xm._30(512,mC.c,mC.c,[]),xm._30(512,Ay.i,Ay.i,[]),xm._30(512,ob.p,ob.p,[]),xm._30(512,NC.a,NC.a,[]),xm._30(512,$b.c,$b.c,[]),xm._30(512,EC.c,EC.c,[]),xm._30(512,Bv.b,Bv.b,[]),xm._30(512,WC.a,WC.a,[]),xm._30(512,ib.d,ib.d,[]),xm._30(512,rb.c,rb.c,[]),xm._30(512,pC.c,pC.c,[]),xm._30(512,ob.A,ob.A,[]),xm._30(512,ob.r,ob.r,[]),xm._30(512,Sv.d,Sv.d,[]),xm._30(512,fC.d,fC.d,[]),xm._30(512,hC.c,hC.c,[]),xm._30(512,RC.a,RC.a,[]),xm._30(512,UC.a,UC.a,[]),xm._30(512,Kb.c,Kb.c,[]),xm._30(512,BC.b,BC.b,[]),xm._30(512,$C.a,$C.a,[]),xm._30(512,Uy.b,Uy.b,[]),xm._30(512,gC.c,gC.c,[]),xm._30(512,bC.d,bC.d,[]),xm._30(512,vC.c,vC.c,[]),xm._30(512,MC.m,MC.m,[]),xm._30(512,KC.a,KC.a,[]),xm._30(512,HC.a,HC.a,[]),xm._30(512,GC.a,GC.a,[]),xm._30(512,YC.d,YC.d,[]),xm._30(512,yC.b,yC.b,[]),xm._30(512,km.e,km.e,[]),xm._30(512,km.d,km.d,[]),xm._30(512,QC.a,QC.a,[]),xm._30(512,sg,sg,[]),xm._30(256,Df.a,"/",[]),xm._30(256,km.m,"XSRF-TOKEN",[]),xm._30(256,km.n,"X-XSRF-TOKEN",[]),xm._30(256,pC.a,{overlapTrigger:!0,xPosition:"after",yPosition:"below"},[]),xm._30(256,ob.g,ob.k,[]),xm._30(256,fC.a,{showDelay:0,hideDelay:0,touchendHideDelay:1500},[]),xm._30(256,BC.a,!1,[]),xm._30(256,cg.a,Wh,[])])});Object(xm._5)(),Object(Fm.j)().bootstrapModuleFactory(zC)}},[363]); \ No newline at end of file +webpackJsonp([0],{ + +/***/ 10: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return QuestionCategoryProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/* + Generated class for the QuestionCategoryProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +var QuestionCategoryProvider = (function () { + function QuestionCategoryProvider(http, constant) { + this.http = http; + this.constant = constant; + console.log('Hello QuestionCategoryProvider Provider'); + this.apiurl = constant.apiurl(); + } + QuestionCategoryProvider.prototype.getLoadTemplate = function (pdid) { + return this.http.get(this.apiurl + 'loadFullTemplate?pd_id=' + pdid); + }; + QuestionCategoryProvider.prototype.saveQusetion = function (saveData) { + var records = { 'records': [saveData] }; + return this.http.post(this.apiurl + 'savePDQuestions', records); + }; + QuestionCategoryProvider.prototype.getAnswerTemplate = function (qustDetails) { + return this.http.post(this.apiurl + 'getAnswersForPD', qustDetails); + }; + /*** + * Get PD Questions dropdown api + * sriram + */ + QuestionCategoryProvider.prototype.getcommondrop = function (tableName) { + var masters = { 'master_name': tableName }; + return this.http.post(this.apiurl + 'getListOfMaster', masters); + }; + QuestionCategoryProvider.prototype.saveForm = function (records) { + var record = { 'records': records }; + return this.http.post(this.apiurl + 'savePDFormDetails', record); + }; + QuestionCategoryProvider.prototype.retiverForm = function (records) { + return this.http.post(this.apiurl + 'getPDFormDetails', records); + }; + /**Assessed Form Details API */ + QuestionCategoryProvider.prototype.saveassessedForms = function (api, saveData) { + return this.http.post(this.apiurl + api, saveData); + }; + QuestionCategoryProvider.prototype.retiverassessedForm = function (api, records) { + return this.http.post(this.apiurl + api, records); + }; + QuestionCategoryProvider.prototype.updatePdApplicant = function (editData) { + // editData.fk_updatedby = this._aws.getlocale(); + // editData.updatedon = currentdate; + return this.http.post(this.apiurl + "updatePDApplicants", { "pd_applicant_details": editData }); + }; + QuestionCategoryProvider.prototype.getEndUseForLoan = function (pdid) { + return this.http.post(this.apiurl + "getEndUseOfLoan", { "records": { "pd_id": pdid } }); + }; + QuestionCategoryProvider.prototype.getCompaniesListsForBusiness = function (pdid) { + return this.http.post(this.apiurl + "getCompaniesListsForBusiness", { "records": { "pd_id": pdid } }); + }; + QuestionCategoryProvider.prototype.getStateWiseCities = function (stateid) { + return this.http.post(this.apiurl + "getListOfStatesAndCities", { "records": { "state_id": stateid } }); + }; + QuestionCategoryProvider.prototype.getAllPersonsName = function (pdid) { + return this.http.post(this.apiurl + "getAllPersonsName", { "pd_id": pdid }); + }; + QuestionCategoryProvider.prototype.getStateCityDetails = function () { + return this.http.post(this.apiurl + "getListOfStatesCities", ""); + }; + QuestionCategoryProvider.prototype.getAssetsWithLoanFromBusiness = function (pdid) { + return this.http.post(this.apiurl + "getAssetsWithLoanFromBusiness", { "pd_id": pdid }); + }; + QuestionCategoryProvider.prototype.getTypeofActivityForSuppliedInfoForm = function (pd_id, company_id) { + return this.http.post(this.apiurl + "getTypeOfActivetyFromBusinessForm", { "records": { "pd_id": pd_id, "company_id": company_id } }); + }; + /** For Stock Details + * To Get The Products With TypeofActivity From Business + **/ + QuestionCategoryProvider.prototype.stockFormAccess = function (pdid, companyid) { + // { "pd_id":"104","company_id":"1"} + return this.http.post(this.apiurl + "getProductsFromBusiness", { "pd_id": pdid, "company_id": companyid }); + }; + /*****Save Images */ + QuestionCategoryProvider.prototype.savePDImages = function (imagesDetails) { + var record = { 'records': imagesDetails }; + return this.http.post(this.apiurl + 'savePDPhotos', record); + }; + QuestionCategoryProvider.prototype.getFamilyDetails = function (pdid) { + return this.http.post(this.apiurl + 'getFamilyDetails', { "pd_id": pdid }); + }; + QuestionCategoryProvider.prototype.getAddressDetails = function (pdid) { + return this.http.post(this.apiurl + 'getPDAddress', { 'pd_id': pdid }); + }; + QuestionCategoryProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__constants_constants__["a" /* ConstantsProvider */]]) + ], QuestionCategoryProvider); + return QuestionCategoryProvider; +}()); + +//# sourceMappingURL=question-category.js.map + +/***/ }), + +/***/ 123: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionCategoryPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_cognito_service__ = __webpack_require__(69); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pd_question_pd_question__ = __webpack_require__(360); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_list_pd_list__ = __webpack_require__(76); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pd_question_pd_question_address_pd_question_address__ = __webpack_require__(362); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pd_question_pd_question_emp_info_pd_question_emp_info__ = __webpack_require__(363); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pd_question_pd_question_current_loans_pd_question_current_loans__ = __webpack_require__(364); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pd_question_pd_question_loans_pd_question_loans__ = __webpack_require__(365); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__pd_question_pd_question_banking_pd_question_banking__ = __webpack_require__(366); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pd_question_pd_question_family_pd_question_family__ = __webpack_require__(367); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pd_question_pd_question_assests_pd_question_assests__ = __webpack_require__(368); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pd_question_pd_question_other_income_pd_question_other_income__ = __webpack_require__(369); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(200); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pd_question_pd_question_personal_info_pd_question_personal_info__ = __webpack_require__(370); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(201); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(202); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(203); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__pd_question_pd_question_rental_info_pd_question_rental_info__ = __webpack_require__(371); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(372); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__pd_question_pd_question_lender_representative_pd_question_lender_representative__ = __webpack_require__(380); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__pd_question_pd_question_general_info_pd_question_general_info__ = __webpack_require__(381); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__ = __webpack_require__(384); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__pd_question_pd_question_final_remark_pd_question_final_remark__ = __webpack_require__(385); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__pd_question_pd_question_business_group_pd_question_business_group__ = __webpack_require__(386); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/** + * Generated class for the PdQuestionCategoryPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var currentdate = new Date().toJSON().slice(0, 19).replace('T', ' '); +var PdQuestionCategoryPage = (function () { + function PdQuestionCategoryPage(navCtrl, navParams, templateget, aws, shared, toast, pdstatusprovide) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.templateget = templateget; + this.aws = aws; + this.shared = shared; + this.toast = toast; + this.pdstatusprovide = pdstatusprovide; + this.bgColortempForm = []; + this.bgColorqustCat = []; + this.questionCateAccess = null; + this.questionfinishedList = []; + this.overallqustioncountAccess = true; + this.pddetails = this.navParams.get('pdDetails'); + } + PdQuestionCategoryPage.prototype.ionViewCanEnter = function () { + this.getcategoryList(); + }; + // doughuntChart() + // { + // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, { + // type: 'doughnut', + // data: { + // // labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"], + // datasets: [{ + // label: '# of Votes', + // data: [12], + // backgroundColor: [ + // // 'rgba(255, 99, 132, 0.2)', + // 'rgba(54, 162, 235, 0.2)', + // // 'rgba(255, 206, 86, 0.2)', + // // 'rgba(75, 192, 192, 0.2)', + // // 'rgba(153, 102, 255, 0.2)', + // // 'rgba(255, 159, 64, 0.2)' + // ], + // hoverBackgroundColor: [ + // "#FF6384", + // "#36A2EB", + // "#FFCE56", + // "#FF6384", + // "#36A2EB", + // "#FFCE56" + // ] + // }] + // } + // }); + // } + PdQuestionCategoryPage.prototype.ionViewDidLoad = function () { + this.shared.refresh(); + //this.doughuntChart(); + console.log('ionViewDidLoad PdQuestionCategoryPage'); + }; + PdQuestionCategoryPage.prototype.getcategoryList = function () { + var _this = this; + var j = 1; + this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(function (res) { + _this.questionCate = res; + if (_this.questionCate.dataStatus == true) { + _this.questionCate = _this.questionCate.records; + _this.random_ng_past(); + if (_this.questionCate.question_answers != '' && _this.questionCate.template_forms != '') { + _this.questionCateAccess = true; + _this.templateAccess = true; + _this.questionCate = _this.questionCate; + _this.searchQuestion = _this.questionCate.question_answers; + if (_this.questionCate.counts.overall_answered_count != 0 && _this.questionCate.counts.overall_question_count != 0 && _this.questionCate.counts.overall_answered_count == _this.questionCate.counts.overall_question_count) { + _this.overallqustioncountAccess = false; + } + else { + _this.overallqustioncountAccess = true; + } + } + else if (_this.questionCate.template_forms != '') { + _this.templateAccess = true; + _this.questionCate = _this.questionCate; + _this.searchTempForm = _this.questionCate.template_forms; + // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count) + // { + // this.overallqustioncountAccess = false; + // }else + // { + // this.overallqustioncountAccess = true; + // } + } + else { + _this.questionCateAccess = false; + _this.templateAccess = false; + _this.questionCate = "No Template Available"; + } + } + }); + }; + PdQuestionCategoryPage.prototype.random_ng_past = function () { + for (var _i = 0, _a = this.questionCate.question_answers; _i < _a.length; _i++) { + var id = _a[_i]; + var a = Math.floor(Math.random() * 256); + var b = Math.floor(Math.random() * 256); + var c = Math.floor(Math.random() * 256); + this.bgColorqustCat.push("rgb(" + a + "," + b + "," + c + ")"); + } + for (var _b = 0, _c = this.questionCate.template_forms; _b < _c.length; _b++) { + var id = _c[_b]; + var x = Math.floor(Math.random() * 256); + var y = Math.floor(Math.random() * 256); + var z = Math.floor(Math.random() * 256); + this.bgColortempForm.push("rgb(" + x + "," + y + "," + z + ")"); + } + }; + PdQuestionCategoryPage.prototype.questionsTag = function (categroyId) { + this.pdinfo = this.pddetails; + this.questionCate = this.questionCate.question_answers.filter(function (cate) { return cate.fk_question_category_id == categroyId; })[0]; + // if(this.questionCate.questions.length !="0"){ + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pd_question_pd_question__["a" /* PdQuestionPage */], { 'questionDetails': this.questionCate, 'pdDetails': this.pdinfo }); + // }else + // { + // this.getcategoryList(); + // this.toast.pdTriggerappmessage('No Question Available'); + // } + }; + PdQuestionCategoryPage.prototype.tempQustionTag = function (categroyId) { + this.pdinfo = this.pddetails; + var formName = this.questionCate.template_forms.filter(function (temp) { return temp.form_id == categroyId; })[0]; + if (categroyId == 5) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 12) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 10) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_12__pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 8) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 13) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_28__pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 7) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 6) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_14__pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 4) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_15__pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 9) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_16__pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 1) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_17__pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 3) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_18__pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 11) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_19__pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 14) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_20__pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 2) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_21__pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 17) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_22__pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 16) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_23__pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 15) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_24__pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 18) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_25__pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 19) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_26__pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 20) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_27__pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + }; + PdQuestionCategoryPage.prototype.filter = function (view) { + if (!view) { + this.viewchange = true; + } + else { + this.viewchange = false; + } + //alert(this.viewchange); + }; + PdQuestionCategoryPage.prototype.pdlistsearch = function (searchbar) { + // this.questionCate = this.searchQuestion; + // this.questionCate.template_forms = this.searchTempForm; + // reset countries list with initial call + //this.pdinprogress = this.countriesInitial; + // set q to the value of the searchbar + var q = searchbar.target.value; + // if the value is an empty string don't filter the items + if (this.searchQuestion !== undefined) { + if (q.trim() == '') { + return; + } + else { + // this.questionCate.question_answers = this.searchQuestion.filter((v) => { + // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) { + // return true; + // } + // }) + } + } + else { + if (q.trim() == '') { + return; + } + else { + // this.questionCate.template_forms = this.searchTempForm.filter((v) => { + // if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) { + // return true; + // } + // }) + } + } + }; + PdQuestionCategoryPage.prototype.completed = function () { + var _this = this; + var users = this.aws.getlocale(); + var data = { 'pd_id': this.questionCate.pdmaster_details.pd_id, 'pd_status': 'COMPLETED', 'fk_updatedby': users, 'updatedon': currentdate }; + this.pdstatusprovide.updatepdStatus(data).subscribe(function (res) { + _this.completedAccess = res; + if (_this.completedAccess.dataStatus == true) { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_8__pd_list_pd_list__["a" /* PdListPage */]); + } + }); + }; + PdQuestionCategoryPage.prototype.doRefresh = function (refresher) { + this.questionCate = []; + this.questionfinishedList = []; + this.shared.refresh(); + this.getcategoryList(); + setTimeout(function () { + refresher.complete(); + }, 2000); + }; + PdQuestionCategoryPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-category',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question-category\pd-question-category.html"*/'\n\n \n\n \n\n \n\n {{pddetails.applicant_name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{category.category_name[0] | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{category.category_name}}

\n\n

{{category.answerd_count}} / {{category.questions_count}} Questions

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{tempForm.form_name[0] | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{tempForm.form_name}}

\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n
\n\n \n\n \n\n

{{questionCate}}

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question-category\pd-question-category.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */]]) + ], PdQuestionCategoryPage); + return PdQuestionCategoryPage; +}()); + +//# sourceMappingURL=pd-question-category.js.map + +/***/ }), + +/***/ 198: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return OtpPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__ = __webpack_require__(123); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__ = __webpack_require__(204); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_android_permissions__ = __webpack_require__(124); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + + +/** + * Generated class for the OtpPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var OtpPage = (function () { + function OtpPage(navCtrl, navParams, pddetails, toast, Menu, commonconstant, aws, alertCtrl, qustCat, fb, geolocation, androidPermissions) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.pddetails = pddetails; + this.toast = toast; + this.Menu = Menu; + this.commonconstant = commonconstant; + this.aws = aws; + this.alertCtrl = alertCtrl; + this.qustCat = qustCat; + this.fb = fb; + this.geolocation = geolocation; + this.androidPermissions = androidPermissions; + this.timerOn = true; + this.otpStatusAccess = true; + this.maxtime = 30; + this.commonImage = this.commonconstant.commonimage; + this.applicatentDetails = this.navParams.get('pdDetails'); + this.reasonForm = this.fb.group({ + reason: [null, __WEBPACK_IMPORTED_MODULE_8__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_8__angular_forms__["m" /* Validators */].required])], + others_reason: [null], + }); + this.getDropdown(); + } + OtpPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad OtpPage'); + }; + OtpPage.prototype.ionViewDidEnter = function () { + //this.Menu.enable(false); + this.setPermission(); + this.timer(120); + }; + OtpPage.prototype.setPermission = function () { + var _this = this; + this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION); }); + this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); + this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION); }); + this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); + }; + OtpPage.prototype.ionViewWillLeave = function () { + //this.Menu.enable(true); + clearTimeout(this.timeLimit); + }; + OtpPage.prototype.getDropdown = function () { + var _this = this; + this.qustCat.getcommondrop('OTPREJECTION').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.reason_otp = res['records'].filter(function (otp) { return otp.isactive == 1; }); + console.log(_this.reason_otp); + } + }); + }; + OtpPage.prototype.checkotp = function (otp) { + var _this = this; + var data = { 'pd_id': this.applicatentDetails.pd_id, 'OTP': otp, 'fk_updatedby': this.users }; + this.pddetails.checkotp(data).subscribe(function (res) { + console.log("Otp", res); + _this.otpStatus = res; + if (_this.otpStatus.dataStatus == true) { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': _this.applicatentDetails }); + } + else { + _this.toast.pdTriggerappmessage('Enter the Correct OTP'); + } + }); + }; + OtpPage.prototype.timer = function (remaining) { + var _this = this; + // console.log(remaining); + var m = Math.floor(remaining / 60); + var s = remaining % 60; + m = m < 10 ? '0' + m : m; + s = s < 10 ? '0' + s : s; + // var balance_time = m + ':' + s; + this.balance_time = m + ':' + s; + remaining -= 1; + // console.log(this.balance_time); + if (remaining >= 0 && this.timerOn) { + this.timeLimit = setTimeout(function () { + _this.timer(remaining); + }, 1000); + return; + } + if (!this.timerOn) { + // Do validate stuff here + return; + } + // Do timeout stuff here + this.users = this.aws.getlocale(); + var data; + var alert = this.alertCtrl.create({ + title: 'OTP Expired ', + message: 'Do you want sure resend OTP', + buttons: [ + { + text: 'OTP Without Start', + handler: function () { + _this.otpStatusAccess = false; + } + }, + { + text: 'Resend OTP', + handler: function () { + _this.geolocation.getCurrentPosition().then(function (resp) { + var currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; + data = { 'pd_id': _this.applicatentDetails.pd_id, 'pd_status': 'STARTED', 'mobile_no': _this.applicatentDetails.applicat_details[0].mobile_no, 'fk_updatedby': _this.users, 'link': currentPosPDofficer }; + console.log(data); + _this.pddetails.updatepdStatus(data).subscribe(function (res) { + _this.timer(60); + }); + }); + // console.log('Buy clicked'); + } + } + ] + }); + alert.present(); + }; + OtpPage.prototype.saveotpreasno = function () { + var _this = this; + console.log(this.reasonForm.value); + if (this.reasonForm.valid) { + var data = { 'pd_id': this.applicatentDetails.pd_id, 'reason': this.reasonForm.value.reason, 'other_reason': this.reasonForm.value.others_reason, 'fk_updatedby': this.users }; + this.pddetails.checkotp(data).subscribe(function (res) { + _this.otpStatus = res; + if (_this.otpStatus.dataStatus == true) { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': _this.applicatentDetails }); + } + else { + // this.toast.pdTriggerappmessage('Enter the Correct OTP'); + } + }); + } + else { + this.toast.pdTriggerappmessage('Enter The All Field'); + } + }; + OtpPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-otp',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\otp\otp.html"*/'\n\n\n\n\n\n \n\n \n\n OTP Page\n\n Reason Page\n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

OTP

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{balance_time}}

\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

With out OTP Reason

\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{otp.rejection_reason}}\n\n \n\n \n\n {{reason}}\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\otp\otp.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["o" /* MenuController */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_7__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_8__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__["a" /* Geolocation */], __WEBPACK_IMPORTED_MODULE_10__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) + ], OtpPage); + return OtpPage; +}()); + +//# sourceMappingURL=otp.js.map + +/***/ }), + +/***/ 199: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CameraProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_camera__ = __webpack_require__(361); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/* + Generated class for the CameraProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +var CameraProvider = (function () { + function CameraProvider(http, camera) { + this.http = http; + this.camera = camera; + console.log('Hello CameraProvider Provider'); + } + CameraProvider.prototype.getpicture = function () { + var options = { + quality: 100, + destinationType: this.camera.DestinationType.DATA_URL, + targetWidth: 500, + targetHeight: 500, + correctOrientation: true + }; + // If set to crop, restricts the image to a square of 600 by 600 + return this.camera.getPicture(options).then(function (imageData) { + var base64Image = 'data:image/png;base64,' + imageData; + // console.log(base64Image); + return base64Image; + }, function (error) { + console.log('CAMERA ERROR -> ' + JSON.stringify(error)); + }); + }; + CameraProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_camera__["a" /* Camera */]]) + ], CameraProvider); + return CameraProvider; +}()); + +//# sourceMappingURL=camera.js.map + +/***/ }), + +/***/ 200: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionSupplierInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionSupplierInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionSupplierInfoPage = (function () { + function PdQuestionSupplierInfoPage(navCtrl, navParams, fb, aws, qustCat, toast) { + var _this = this; + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.business_manufacturingProducts = []; + this.business_tradingProducts = []; + this.m_titleList = []; + this.m_paymentList = []; + this.m_companyRelationShipList = []; + this.noRecordsFound = false; + this.submitted = false; + this.errorMessage = ''; + this.serviceProviderForm = false; + this.manufacturingForm = false; + this.tradingForm = false; + this.mfgCreditCardFlag = false; + this.trdCreditCardFlag = false; + this.mfgCounter = []; + this.trdCounter = []; + this.questionDetails = this.navParams.get('questionDetails'); + this.pdDetails = this.navParams.get('pdDetails'); + this.formDetails = this.navParams.get('formDetails'); + this.form_id = this.formDetails.form_id; + this.company_id = this.pdDetails.company_id; + this.users = this.aws.getlocale(); + this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(function (data) { + if (data.dataStatus) { + var datas_1 = data.records; + _this.initFormLoadDetails(datas_1.type_of_activity); + _this.business_manufacturingProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 2) { + return data; + } }).map(function (data) { return data.prodcuts.slice(); }); + // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); + var api = Object.keys(datas_1.type_of_activity).map(function (key) { + return datas_1.type_of_activity[key]; + }); + if (api.length > 0) { + api.forEach(function (val) { + if (val.type_of_activity_id == 3) { + if (val.prodcuts) { + _this.business_tradingProducts.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 4) { + if (val.prodcuts) { + _this.business_tradingProducts.push(val.prodcuts); + } + } + }); + } + _this.business_tradingProducts = [].concat.apply([], _this.business_tradingProducts); + } + else { + _this.toast.pdTriggerappmessage('No Category Records Found.!'); + _this.noRecordsFound = false; + _this.errorMessage = data.msg; + } + }, function (err) { + _this.toast.pdTriggerappmessage('No Category Records Found.!'); + _this.noRecordsFound = false; + _this.errorMessage = 'No Records Found , Something went Wrong!'; + }); + this.getdropList(); + } + PdQuestionSupplierInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionSupplierInfoPage'); + }; + PdQuestionSupplierInfoPage.prototype.initFormLoadDetails = function (record) { + var _this = this; + var params = {}; + params.pd_id = this.pdDetails.pd_id; + params.pd_form_id = this.form_id; + params.company_id = this.company_id; + this.qustCat.retiverForm(params).subscribe(function (data) { + if (data['dataStatus'] == true) { + var dataForm = data['records']; + if (dataForm !== undefined) { + _this.supplierInfoForm = _this.fb.group({ + pdid: [_this.pdDetails.pd_id], + formid: [_this.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + trade_details: _this.fb.array([_this.tradingFormCreation(record)]), + supplier_info_form_remark: [dataForm.supplier_info_form_remark || null] + // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), + }); + var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); + if (arr.length > 0) { + // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) { + // return dataForm.main_raw_materials[key]; + // }); + if (dataForm.manufacturing_details[0] != null) { + var api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials; + _this.initManufacturingProductsDetails(api_main_raw_materials); + _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null); + } + else { + _this.initManufacturingProductsDetails(null); + _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); + } + } + var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); + if (arr1.length > 0) { + // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) { + // return dataForm.trading_products[key]; + // }); + if (dataForm.trade_details[0] != null) { + var api_trading_products = dataForm.trade_details[0].trading_products; + _this.initTradingProductsDetails(api_trading_products); + _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null); + } + else { + _this.initTradingProductsDetails(null); + _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); + } + } + _this.noRecordsFound = true; + } + else { + _this.supplierInfoForm = _this.fb.group({ + pdid: [_this.pdDetails.pd_id], + formid: [_this.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + trade_details: _this.fb.array([_this.tradingFormCreation(record)]), + supplier_info_form_remark: [dataForm.supplier_info_form_remark || null] + // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), + }); + var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); + if (arr.length > 0) { + _this.initManufacturingProductsDetails(null); + _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); + } + var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); + if (arr1.length > 0) { + _this.initTradingProductsDetails(null); + _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null); + } + _this.noRecordsFound = true; + } + var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); + if (arr2.length > 0) { + _this.serviceProviderForm = true; + } + } + else { + _this.supplierInfoForm = _this.fb.group({ + pdid: [_this.pdDetails.pd_id], + formid: [_this.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + trade_details: _this.fb.array([_this.tradingFormCreation(record)]), + supplier_info_form_remark: [] + // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), + }); + var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); + if (arr.length > 0) { + _this.initManufacturingProductsDetails(null); + _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); + } + var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); + if (arr1.length > 0) { + _this.initTradingProductsDetails(null); + _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); + } + var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); + if (arr2.length > 0) { + _this.serviceProviderForm = true; + } + _this.noRecordsFound = true; + } + }, function (err) { + }); + }; + PdQuestionSupplierInfoPage.prototype.manufacturingFormCreation = function (val) { + var arr = val.filter(function (data) { return data.type_of_activity_id == 2; }); + if (arr.length > 0) { + this.manufacturingForm = true; + return this.fb.group({ + main_raw_materials: this.fb.array([]), + main_raw_materials_total_payments_percent_on_credit: [] + }); + // } + } + else { + return; + } + }; + PdQuestionSupplierInfoPage.prototype.tradingFormCreation = function (val) { + var arr = val.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); + if (arr.length > 0) { + this.tradingForm = true; + return this.fb.group({ + trading_products: this.fb.array([]), + trading_products_total_payments_percent_on_credit: [] + }); + } + else { + return; + } + }; + PdQuestionSupplierInfoPage.prototype.initManufacturingProductsDetails = function (datas) { + var _this = this; + var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; + if (datas === null) { + control.push(this.initManufacturingProducts(null)); + } + else { + datas.forEach(function (val, inx) { + _this.checkCard(val.manufacturing_payment_type, 1, inx); + control.push(_this.initManufacturingProducts(val)); + }); + } + }; + PdQuestionSupplierInfoPage.prototype.initManufacturingProducts = function (records) { + if (records === null) { + return this.fb.group({ + manufacturing_raw_material_name: [''], + manufacturing_supplier_name: [''], + person_title_name: [''], + person_designation: [''], + other_person_designation: [''], + manufacturing_contact_person_name: [''], + manufacturing_contact_person_mobile_number: [''], + //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) + manufacturing_payment_type: [''], + manufacturing_payment_mode: [''], + manufacturing_credit_days_from: [''], + manufacturing_credit_days_to: [''], + manufacturing_frequency_of_purchase: [''], + person_stdcode: [''], + //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) + person_landline: [''], + }); + } + else { + return this.fb.group({ + manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null], + manufacturing_supplier_name: [records.manufacturing_supplier_name || null], + person_title_name: [records.person_title_name || null], + person_designation: [records.person_designation || null], + other_person_designation: [records.other_person_designation || null], + manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null], + manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null], + //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])], + manufacturing_payment_type: [records.manufacturing_payment_type || null], + manufacturing_payment_mode: [records.manufacturing_payment_mode], + manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null], + manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null], + manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null], + person_stdcode: [records.person_stdcode || null], + //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) + person_landline: [records.person_landline || null], + }); + } + }; + PdQuestionSupplierInfoPage.prototype.initTradingProductsDetails = function (datas) { + var _this = this; + var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; + if (datas === null) { + control.push(this.initTradingProducts(null)); + } + else { + datas.forEach(function (val, inx) { + _this.checkCard(val.trade_product_payment_type, 2, inx); + control.push(_this.initTradingProducts(val)); + }); + } + }; + PdQuestionSupplierInfoPage.prototype.initTradingProducts = function (records) { + if (records === null) { + return this.fb.group({ + trade_product_name: [''], + trade_supplier_name: [''], + person_title_name: [''], + person_designation: [''], + other_person_designation: [''], + trade_product_contact_person_name: [''], + trade_product_contact_person_mobile_number: [''], + //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) + person_stdcode: [null], + //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) + person_landline: [null], + //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')]) + trade_product_payment_type: [''], + trade_product_payment_mode: [''], + trade_product_frequency_of_purchase: [''], + trade_product_credit_days_from: [''], + trade_product_credit_days_to: [''], + }); + } + else { + return this.fb.group({ + trade_product_name: [records.trade_product_name], + person_title_name: [records.person_title_name], + person_designation: [records.person_designation], + other_person_designation: [records.other_person_designation], + trade_supplier_name: [records.trade_supplier_name], + trade_product_contact_person_name: [records.trade_product_contact_person_name], + trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number], + //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) + person_stdcode: [records.person_stdcode], + //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) + person_landline: [records.person_landline], + //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')]) + trade_product_payment_type: [records.trade_product_payment_type], + trade_product_payment_mode: [records.trade_product_payment_mode], + trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase], + trade_product_credit_days_from: [records.trade_product_credit_days_from], + trade_product_credit_days_to: [records.trade_product_credit_days_to], + }); + } + }; + PdQuestionSupplierInfoPage.prototype.addMoreRawMaterials = function (e) { + // e.stropPropagation(); + var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; + control.push(this.initManufacturingProducts(null)); + }; + PdQuestionSupplierInfoPage.prototype.removeRawMaterials = function (inx) { + var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; + control.removeAt(inx); + }; + PdQuestionSupplierInfoPage.prototype.addMoretradeProduct = function (e) { + // e.stropPropagation(); + var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; + control.push(this.initTradingProducts(null)); + }; + PdQuestionSupplierInfoPage.prototype.removeTradingProduct = function (inx) { + var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; + control.removeAt(inx); + }; + PdQuestionSupplierInfoPage.prototype.getdropList = function () { + var _this = this; + this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { + _this.m_companyRelationShipList = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustCat.getcommondrop('TITLES').subscribe(function (data) { + _this.m_titleList = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustCat.getcommondrop('PAYMENTMODE').subscribe(function (data) { + _this.m_paymentList = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + }; + PdQuestionSupplierInfoPage.prototype.saveSupplierInfo = function (FormValues) { + var _this = this; + var answerFormValues = FormValues; + Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); + this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { + if (responsed['status'] == 200) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + else { + _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); + } + }); + }; + PdQuestionSupplierInfoPage.prototype.selectedPersonDesignation = function (items, e, flag) { + if (flag == 1) { + e == 1 ? '' : ''; + // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required]) + // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); + // items.controls['other_person_designation'].updateValueAndValidity(); + } + else if (flag == 2) { + e == 1 ? '' : ''; + // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) + // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); + // items.controls['other_person_designation'].updateValueAndValidity(); + } + }; + PdQuestionSupplierInfoPage.prototype.checkCard = function (e, flag, index) { + if (flag == 2 && e == 3) { + this.trdCounter[index] = 1; + } + else if (flag == 2 && e != 3) { + this.trdCounter[index] = 0; + } + var TRD = this.trdCounter.reduce(function (sum, val) { return sum + +val; }, 0); + this.trdCreditCardFlag = TRD > 0 ? true : false; + if (flag == 1 && e == 3) { + this.mfgCounter[index] = 1; + } + else if (flag == 1 && e != 3) { + this.mfgCounter[index] = 0; + } + var MFG = this.mfgCounter.reduce(function (sum, val) { return sum + +val; }, 0); + this.mfgCreditCardFlag = MFG > 0 ? true : false; + }; + PdQuestionSupplierInfoPage.prototype.selectedPaymentTerms = function (items, e, flag) { + if (flag == 2) { + if (e == 3) { + // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]); + // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]); + } + else { + items.controls['trade_product_credit_days_from'].clearValidators(); + items.controls['trade_product_credit_days_from'].setValue(''); + items.controls['trade_product_credit_days_to'].clearValidators(); + items.controls['trade_product_credit_days_to'].setValue(''); + } + items.controls['trade_product_credit_days_from'].updateValueAndValidity(); + items.controls['trade_product_credit_days_to'].updateValueAndValidity(); + } + else if (flag == 1) { + if (e == 3) { + //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]); + } + else { + items.controls['manufacturing_credit_days_from'].clearValidators(); + items.controls['manufacturing_credit_days_from'].setValue(''); + items.controls['manufacturing_credit_days_to'].clearValidators(); + items.controls['manufacturing_credit_days_to'].setValue(''); + } + items.controls['manufacturing_credit_days_from'].updateValueAndValidity(); + items.controls['manufacturing_credit_days_to'].updateValueAndValidity(); + } + }; + PdQuestionSupplierInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-supplier-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-supplier-info\pd-question-supplier-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n
Manufacturing Product Details
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n Raw Material #{{l+1}}\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{ pm.name }}\n\n \n\n \n\n \n\n \n\n Payment made in Cash.\n\n Payment made through Banking\n\n channels.\n\n \n\n \n\n \n\n No.of days of Credit Provided by Supplier \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n
Trading Product Details
\n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n Trading Product #{{l+1}}\n\n \n\n
\n\n \n\n \n\n {{ tp.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{ pm.name }}\n\n \n\n \n\n \n\n \n\n Payment made in Cash.\n\n Payment made through Banking\n\n channels.\n\n \n\n \n\n \n\n No.of days of Credit Provided by Supplier \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n
Service Provider Product Details
\n\n
\n\n\n\n
Service Provider Details Not applicable here !!
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-supplier-info\pd-question-supplier-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionSupplierInfoPage); + return PdQuestionSupplierInfoPage; +}()); + +//# sourceMappingURL=pd-question-supplier-info.js.map + +/***/ }), + +/***/ 201: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionStockInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionStockInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionStockInfoPage = (function () { + function PdQuestionStockInfoPage(navCtrl, navParams, qustCat, aws, toast, fb, constant) { + var _this = this; + this.navCtrl = navCtrl; + this.navParams = navParams; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.fb = fb; + this.constant = constant; + this.errorMessage = ''; + this.M_rawValueInWords = []; + this.M_goodsValueInWords = []; + this.R_tradedGoodsValueInWords = []; + this.T_tradedGoodsValueInWords = []; + this.mrmCommentFlag = []; + this.mfgCommentFlag = []; + this.rtrdCommentFlag = []; + this.wtrdCommentFlag = []; + this.serviceProviderForm = false; + this.suppliers_raw_materials = []; + this.suppliers_retail_trade_details = []; + this.suppliers_wholesale_trade_details = []; + this.suppliers_finished_goods = []; + this.manufacturingForm = false; + this.retailForm = false; + this.tradingForm = false; + this.pdDetails = this.navParams.get('pdDetails'); + this.formDetails = this.navParams.get('formDetails'); + this.users = this.aws.getlocale(); + this.company_id = this.pdDetails.company_id; + this.pdid = this.pdDetails.pd_id; + this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(function (data) { + if (data.dataStatus == true) { + _this.initstockForm(data.record); + } + else if (data.dataStatus == false) { + _this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + _this.company_id); + _this.noRecordsFound = false; + _this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + _this.company_id + '! ....'; + return; + } + else { + _this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + _this.company_id); + _this.noRecordsFound = false; + _this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + _this.company_id + '! ....'; + return; + } + }, function (err) { + _this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!'); + _this.noRecordsFound = false; + _this.errorMessage = 'No Records Found , Something went Wrong!'; + }); + this.getdropdown(); + } + PdQuestionStockInfoPage.prototype.initstockForm = function (record) { + var _this = this; + var api = Object.keys(record.from_business).map(function (key) { + return record.from_business[key]; + }); + var type3 = record.from_business.filter(function (data) { return data.type_of_activity_id == 3; }); + var type3length = type3[0].hasOwnProperty("products") ? type3[0].products.length : 0; + var type4 = record.from_business.filter(function (data) { return data.type_of_activity_id == 4; }); + var type4length = type4[0].hasOwnProperty("products") ? type4[0].products.length : 0; + var rm_api = record.from_supplier; + var params = {}; + params.pd_id = this.pdid; + params.pd_form_id = this.formDetails.form_id; + params.company_id = this.company_id; + this.qustCat.retiverForm(params).subscribe(function (value) { + if (value['status'] == 200) { + var dataForm_1 = value['records']; + if (dataForm_1 !== undefined) { + _this.stockForm = _this.fb.group({ + pdid: [_this.pdid], + formid: [_this.formDetails.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + stock_remarks: [dataForm_1.stock_remarks], + // is_sufficiant_raw:[dataForm.is_sufficiant_raw], + // rawmaterial_remarks:[dataForm.rawmaterial_remarks], + is_sufficiant_finished_and_traded_goods: [dataForm_1.is_sufficiant_finished_and_traded_goods], + finished_and_traded_goods_remarks: [dataForm_1.finished_and_traded_goods_remarks], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + retail_details: _this.fb.array([_this.retailFormCreation(api)]), + trade_details: _this.fb.array([_this.tradingFormCreation(api)]), + }); + if (api.length > 0) { + api.forEach(function (val) { + if (val.type_of_activity_id == 2) { + if (val.products) { + if (dataForm_1.manufacturing_details[0].manufacturing_finished_goods) { + _this.finishedAndTradedGoodsCommentCard = true; + } + var manufacturing_temparr = []; + manufacturing_temparr['manufacturing_raw_materials'] = dataForm_1.manufacturing_details[0].manufacturing_raw_materials; + _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm_1.manufacturing_details[0].is_sufficiant_raw), + _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm_1.manufacturing_details[0].rawmaterial_remarks); + manufacturing_temparr['manufacturing_finished_goods'] = dataForm_1.manufacturing_details[0].manufacturing_finished_goods; + _this.initManufacturingDetails(manufacturing_temparr); + } + } + if (val.type_of_activity_id == 3) { + if (val.products) { + _this.finishedAndTradedGoodsCommentCard = true; + var retail_temparr = []; + retail_temparr['retail_traded_goods'] = dataForm_1.retail_details[0].retail_traded_goods; + _this.initRetailDetails(retail_temparr); + } + } + if (val.type_of_activity_id == 4) { + if (val.products) { + _this.finishedAndTradedGoodsCommentCard = true; + var trading_temparr = []; + trading_temparr['trading_traded_goods'] = dataForm_1.trade_details[0].trading_traded_goods; + console.log("Trade", trading_temparr); + _this.initTradingDetails(trading_temparr); + } + } + if (val.type_of_activity_id == 5) { + if (val.products) { + _this.serviceProviderForm = true; + } + } + }); + _this.noRecordsFound = true; + } + } + else { + _this.stockForm = _this.fb.group({ + pdid: [_this.pdid], + formid: [_this.formDetails.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + stock_remarks: [''], + // is_sufficiant_raw:[''], + // rawmaterial_remarks:[''], + is_sufficiant_finished_and_traded_goods: [''], + finished_and_traded_goods_remarks: [''], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + retail_details: _this.fb.array([_this.retailFormCreation(record.from_business)]), + trade_details: _this.fb.array([_this.tradingFormCreation(record.from_business)]), + }); + if (api.length > 0) { + api.forEach(function (val) { + if (val.type_of_activity_id == 2) { + if (val.products) { + _this.finishedAndTradedGoodsCommentCard = true; + _this.suppliers_finished_goods = val.products; + _this.initManufacturingDetails(null); + _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm_1.manufacturing_details[0].is_sufficiant_raw.value || null), + _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm_1.manufacturing_details[0].rawmaterial_remarks || null); + } + } + if (val.type_of_activity_id == 3) { + if (val.products) { + _this.finishedAndTradedGoodsCommentCard = true; + _this.suppliers_retail_trade_details = val.products; + _this.initRetailDetails(null); + } + } + if (val.type_of_activity_id == 4) { + if (val.products) { + _this.finishedAndTradedGoodsCommentCard = true; + _this.suppliers_wholesale_trade_details = val.products; + _this.initTradingDetails(null); + } + } + if (val.type_of_activity_id == 5) { + if (val.products) { + // this.suppliers_service_product = val.products; + _this.serviceProviderForm = true; + } + } + }); + _this.noRecordsFound = true; + } + } + } + else { + console.log("Record", record); + _this.stockForm = _this.fb.group({ + pdid: [_this.pdid], + formid: [_this.formDetails.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + stock_remarks: [''], + // is_sufficiant_raw:[''], + // rawmaterial_remarks:[''], + is_sufficiant_finished_and_traded_goods: [''], + finished_and_traded_goods_remarks: [''], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + retail_details: _this.fb.array([_this.retailFormCreation(record.from_business)]), + trade_details: _this.fb.array([_this.tradingFormCreation(record.from_business)]), + }); + if (api.length > 0) { + api.forEach(function (val) { + if (val.type_of_activity_id == 2) { + if (val.products) { + _this.finishedAndTradedGoodsCommentCard = true; + _this.suppliers_finished_goods = val.products; + _this.suppliers_raw_materials = rm_api; + _this.initManufacturingDetails(null); + _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null); + _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null); + } + } + if (val.type_of_activity_id == 3) { + if (val.products) { + _this.finishedAndTradedGoodsCommentCard = true; + _this.suppliers_retail_trade_details = val.products; + _this.initRetailDetails(null); + } + } + if (val.type_of_activity_id == 4) { + if (val.products) { + _this.finishedAndTradedGoodsCommentCard = true; + _this.suppliers_wholesale_trade_details = val.products; + _this.initTradingDetails(null); + } + } + if (val.type_of_activity_id == 5) { + if (val.products) { + // this.suppliers_service_product = val.products; + _this.serviceProviderForm = true; + } + } + }); + _this.noRecordsFound = true; + } + } + }); + }; + PdQuestionStockInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionStockInfoPage'); + }; + PdQuestionStockInfoPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('UOM').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.uomData = data['records'].filter(function (uom) { return uom.isactive == 1; }); + } + }); + }; + PdQuestionStockInfoPage.prototype.manufacturingFormCreation = function (record) { + var arr = record.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); + var rm_arr = record.from_supplier; + //console.log("Manufacturing ",arr); + if (arr.length > 0) { + this.manufacturingForm = true; + return this.fb.group({ + is_sufficiant_raw: [], + rawmaterial_remarks: [], + manufacturing_raw_materials: this.fb.array([]), + manufacturing_finished_goods: this.fb.array([]), + }); + } + else { + return; + } + }; + PdQuestionStockInfoPage.prototype.retailFormCreation = function (val) { + var arr = val.filter(function (data) { return data.type_of_activity_id == 3; }); + // console.log("retail Form ",arr); + if (arr.length > 0) { + // if(arr.products != undefined){ + this.retailForm = true; + return this.fb.group({ + retail_traded_goods: this.fb.array([]) + }); + // }else{ + // this.retailForm = false; + // return; + // } + } + else { + return; + } + }; + PdQuestionStockInfoPage.prototype.tradingFormCreation = function (val) { + var arr = val.filter(function (data) { return data.type_of_activity_id == 4; }); + if (arr.length > 0) { + // if(arr.products === undefined){ + // this.tradingForm = false; + // return; + // } + this.tradingForm = true; + return this.fb.group({ + trading_traded_goods: this.fb.array([]) + }); + } + else { + return; + } + }; + PdQuestionStockInfoPage.prototype.initManufacturingDetails = function (datas) { + var _this = this; + var rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; + var finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; + var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; + if (datas === null) { + if (this.suppliers_raw_materials.length > 0) { + this.suppliers_raw_materials.forEach(function (val) { + var Ref_RawMaterials = { 'raw_name': val, + 'stock_observed': '', + 'raw_quantity': '', + 'raw_uom': '', + 'other_uom': '', + 'raw_value': '', + 'is_sufficiant_raw': '', + 'rawmaterial_remarks': '' }; + rawMaterial.push(_this.createRawmaterial(Ref_RawMaterials)); + }); + } + else { + rawMaterial.push(this.createRawmaterial(null)); + } + if (this.suppliers_finished_goods.length > 0) { + this.suppliers_finished_goods.forEach(function (val) { + var Ref_Finished_Goods = { 'goods_name': val, + 'goods_observed': '', + 'goods_quantity': '', + 'goods_uom': '', + 'goods_other_uom': '', + 'goods_value': '', + 'is_sufficiant_goods': '', + 'finishedgoods_remarks': '' }; + finishedGoods.push(_this.createGoods(Ref_Finished_Goods)); + }); + } + else { + finishedGoods.push(this.createGoods(null)); + } + } + else { + if (datas.manufacturing_raw_materials != undefined) { + datas.manufacturing_raw_materials.forEach(function (val, index) { + if (val.raw_value) { + _this.inWords(val.raw_value, 1, index); + } + _this.checkComments(val.is_sufficiant_raw, 1, index); + rawMaterial.push(_this.createRawmaterial(val)); + }); + } + else { + rawMaterial.push(this.createRawmaterial(null)); + } + if (datas.manufacturing_finished_goods != undefined) { + datas.manufacturing_finished_goods.forEach(function (val, index) { + if (val.goods_value) { + _this.inWords(val.goods_value, 2, index); + } + _this.checkComments(val.is_sufficiant_goods, 2, index); + finishedGoods.push(_this.createGoods(val)); + }); + } + else { + finishedGoods.push(this.createGoods(null)); + } + } + }; + PdQuestionStockInfoPage.prototype.createRawmaterial = function (records) { + if (records === null) { + return this.fb.group({ + raw_name: [''], + stock_observed: [''], + raw_quantity: [''], + raw_uom: [''], + other_uom: [''], + raw_value: [''], + is_sufficiant_raw: [''], + rawmaterial_remarks: [''] + }); + } + else { + return this.fb.group({ + raw_name: [records.raw_name], + stock_observed: [records.stock_observed], + raw_quantity: [records.raw_quantity], + raw_uom: [records.raw_uom], + other_uom: [records.other_uom], + raw_value: [records.raw_value], + is_sufficiant_raw: [records.is_sufficiant_raw], + rawmaterial_remarks: [records.rawmaterial_remarks] + }); + } + }; + PdQuestionStockInfoPage.prototype.initRetailDetails = function (datas) { + var _this = this; + var tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; + if (datas === null) { + if (this.suppliers_retail_trade_details.length > 0) { + // this.rawMaterialAccess = true; + this.suppliers_retail_trade_details.forEach(function (val) { + var Ref_Trade_Goods = { + 'traded_goods_name': val, + 'traded_goods_observed': '', + 'traded_goods_quantity': '', + 'traded_goods_uom': '', + 'traded_goods_other_uom': '', + 'estimated_traded_goods_value': '', + 'is_sufficiant_traded_goods': '', + 'traded_goods_remarks': '' + }; + tradedGoods.push(_this.createTradedGoods(Ref_Trade_Goods)); + }); + } + else { + tradedGoods.push(this.createTradedGoods(null)); + } + } + else { + if (datas.retail_traded_goods !== undefined) { + datas.retail_traded_goods.forEach(function (val, index) { + if (val.estimated_traded_goods_value) { + _this.inWords(val.estimated_traded_goods_value, 3, index); + } + _this.checkComments(val.is_sufficiant_traded_goods, 3, index); + tradedGoods.push(_this.createTradedGoods(val)); + }); + } + else { + tradedGoods.push(this.createTradedGoods(null)); + } + } + }; + PdQuestionStockInfoPage.prototype.createGoods = function (records) { + if (records === null) { + return this.fb.group({ + goods_name: [''], + goods_observed: [''], + goods_quantity: [''], + goods_uom: [''], + goods_other_uom: [''], + goods_value: [''], + is_sufficiant_goods: [''], + finishedgoods_remarks: [''] + }); + } + else { + return this.fb.group({ + goods_name: [records.goods_name], + goods_observed: [records.goods_observed], + goods_quantity: [records.goods_quantity], + goods_uom: [records.goods_uom], + goods_other_uom: [records.goods_other_uom], + goods_value: [records.goods_value], + is_sufficiant_goods: [records.is_sufficiant_goods], + finishedgoods_remarks: [records.finishedgoods_remarks] + }); + } + }; + PdQuestionStockInfoPage.prototype.initTradingDetails = function (datas) { + var _this = this; + var tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; + if (datas === null) { + if (this.suppliers_wholesale_trade_details.length > 0) { + this.suppliers_wholesale_trade_details.forEach(function (val) { + var Ref_Trade_Goods = { + 'traded_goods_name': val, + 'traded_goods_observed': '', + 'traded_goods_quantity': '', + 'traded_goods_uom': '', + 'traded_goods_other_uom': '', + 'estimated_traded_goods_value': '', + 'is_sufficiant_traded_goods': '', + 'traded_goods_remarks': '' + }; + tradedGoods.push(_this.createTradedGoods(Ref_Trade_Goods)); + }); + } + else { + tradedGoods.push(this.createTradedGoods(null)); + } + } + else { + if (datas.trading_traded_goods !== undefined) { + datas.trading_traded_goods.forEach(function (val, index) { + if (val.estimated_traded_goods_value) { + _this.inWords(val.estimated_traded_goods_value, 4, index); + } + _this.checkComments(val.is_sufficiant_traded_goods, 4, index); + tradedGoods.push(_this.createTradedGoods(val)); + }); + } + else { + tradedGoods.push(this.createTradedGoods(null)); + } + } + }; + PdQuestionStockInfoPage.prototype.createTradedGoods = function (records) { + if (records === null) { + return this.fb.group({ + traded_goods_name: [''], + traded_goods_observed: [''], + traded_goods_quantity: [''], + traded_goods_uom: [''], + traded_goods_other_uom: [''], + estimated_traded_goods_value: [''], + is_sufficiant_traded_goods: [''], + traded_goods_remarks: [''] + }); + } + else { + return this.fb.group({ + traded_goods_name: [records.traded_goods_name], + traded_goods_observed: [records.traded_goods_observed], + traded_goods_quantity: [records.traded_goods_quantity], + traded_goods_uom: [records.traded_goods_uom], + traded_goods_other_uom: [records.traded_goods_other_uom], + estimated_traded_goods_value: [records.estimated_traded_goods_value], + is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods], + traded_goods_remarks: [records.traded_goods_remarks] + }); + } + }; + /** Manufacturing -> To Add More Raw Material Details */ + PdQuestionStockInfoPage.prototype.addRawMaterials = function (flag) { + if (flag == 1) { + var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; + control.push(this.createRawmaterial(null)); + } + }; + /** Manufacturing -> To Remove Raw Material Details */ + PdQuestionStockInfoPage.prototype.deleteRawMaterials = function (index, flag) { + if (flag == 1) { + var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; + control.removeAt(index); + } + }; + /** Manufacturing -> To Add More Finished Goods */ + PdQuestionStockInfoPage.prototype.addGoods = function (flag) { + if (flag == 1) { + var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; + control.push(this.createGoods(null)); + } + }; + /** Manufacturing -> To Remove Finished Goods */ + PdQuestionStockInfoPage.prototype.deleteGoods = function (index, flag) { + if (flag == 1) { + var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; + control.removeAt(index); + } + }; + /** + * Case 1 Retail Traded -> To Add More trade Goods + * Case 2 wholesale Traded -> To Add More trade Goods + */ + PdQuestionStockInfoPage.prototype.addTradedGoods = function (flag) { + switch (flag) { + case 1: { + var control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; + control.push(this.createTradedGoods(null)); + break; + } + case 2: { + var control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; + control.push(this.createTradedGoods(null)); + break; + } + default: { + break; + } + } + }; + /** + * Case 1 Retail Traded -> To remove trade Goods + * Case 2 wholesale Traded -> To remove trade Goods + */ + PdQuestionStockInfoPage.prototype.deleteTradedGoods = function (index, flag) { + switch (flag) { + case 1: { + var control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; + control.removeAt(index); + break; + } + case 2: { + var control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; + control.removeAt(index); + break; + } + default: { + break; + } + } + //const control = this.stockForm.controls['traded_goods']; + }; + PdQuestionStockInfoPage.prototype.checkComments = function (e, flag, index) { + if (flag == 1 && e == 'no') { + this.mrmCommentFlag[index] = true; + } + else if (flag == 1 && e != 'no') { + this.mrmCommentFlag[index] = false; + } + if (flag == 2 && e == 'no') { + this.mfgCommentFlag[index] = true; + } + else if (flag == 2 && e != 'no') { + this.mfgCommentFlag[index] = false; + } + if (flag == 3 && e == 'no') { + this.rtrdCommentFlag[index] = true; + } + else if (flag == 3 && e != 'no') { + this.rtrdCommentFlag[index] = false; + } + if (flag == 4 && e == 'no') { + this.wtrdCommentFlag[index] = true; + } + else if (flag == 4 && e != 'no') { + this.wtrdCommentFlag[index] = false; + } + }; + /** To Save/Edited Popup Data */ + PdQuestionStockInfoPage.prototype.saveStockInfo = function (answerFormValues) { + var _this = this; + //To Remove The "Null" With Key also + Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); + this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { + if (responsed['status'] == 200) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + else { + _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); + } + }); + }; + PdQuestionStockInfoPage.prototype.inWords = function (e, flag, i) { + switch (flag) { + case 1: + this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e); + break; + case 2: + this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e); + break; + case 3: + this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); + break; + case 4: + this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); + break; + default: + break; + } + }; + PdQuestionStockInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-stock-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-stock-info\pd-question-stock-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n
Manufacturing Stock Details
\n\n
\n\n
\n\n
\n\n
\n\n Raw Material #{{a+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{M_rawValueInWords[a]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n Please comment on the stock level observed?\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n Finished Goods #{{b+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{M_goodsValueInWords[b]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
Retail Trading Details
\n\n
\n\n
\n\n
\n\n
\n\n Traded Goods #{{e+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{R_tradedGoodsValueInWords[e]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
Wholesale Trading Details
\n\n
\n\n
\n\n
\n\n
\n\n Traded Goods #{{g+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Add Stock Details\n\n No stock observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{T_tradedGoodsValueInWords[g]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n Please comment on the stock level observed? \n\n \n\n \n\n
\n\n
\n\n \n\n
Service Provider Details
\n\n
Service Provider Details Not applicable here !!
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-stock-info\pd-question-stock-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionStockInfoPage); + return PdQuestionStockInfoPage; +}()); + +//# sourceMappingURL=pd-question-stock-info.js.map + +/***/ }), + +/***/ 202: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFinancialInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionFinancialInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionFinancialInfoPage = (function () { + function PdQuestionFinancialInfoPage(navCtrl, navParams, aws, toast, qustCat, fb, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.toast = toast; + this.qustCat = qustCat; + this.fb = fb; + this.cons = cons; + this.FY_annualSalesInwords = []; + this.FY_netProfitAmtInwords = []; + this.FY_netLossAmtInwords = []; + this.AV_annualSalesInwords = []; + this.AV_netProfitAmtInwords = []; + this.AV_netLossAmtInwords = []; + this.AV_netProfitAmtFrmInwords = []; + this.AV_netProfitAmtToInwords = []; + this.AV_netLossAmtFrmInwords = []; + this.AV_netLossAmtToInwords = []; + this.AV_SalesFrmInwords = []; + this.AV_SalesToInwords = []; + this.AV_SalesInwords = []; + this.AV_marginProfitAmtInwords = []; + this.AV_marginLossAmtInwords = []; + this.av = [{ id: 6, name: 'Letter of Credit' }, + { id: 2, name: 'Bank Guarantee' }, + { id: 3, name: 'Cash Credit Limit' }, + { id: 7, name: 'OD Limit' }, + { id: 4, name: 'Factoring' }, + { id: 5, name: 'Forfaiting' }, + { id: 1, name: 'Others' }]; + this.pdDetails = this.navParams.get('pdDetails'); + this.formDetails = this.navParams.get('formDetails'); + this.FormId = this.formDetails.form_id; + // this.FormId=this.navParams.get('FormId'); + this.company_id = this.pdDetails.company_id; + this.users = this.aws.getlocale(); + this.initFinancialForm(); + } + PdQuestionFinancialInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionFinancialInfoPage'); + this.getDetails(); + }; + PdQuestionFinancialInfoPage.prototype.selectedStatement = function (e) { + if (e == 'yes') { + this.isDisplay = true; + this.financialForm.controls['is_financial_customer'].setValue(''); + } + else if (e == 'no') { + this.isDisplay = false; + this.financialForm.controls['is_financial_customer'].setValue('no'); + // this.selectedFinancialCustomer('no'); + var statementControl = this.financialForm.controls['date_per_financial']; + while (statementControl.length !== 0) { + statementControl.removeAt(0); + } + this.financialForm.controls['financial_starting_year'].setValue(''); + this.financialForm.controls['financial_no_of_year'].setValue(''); + // alert((new Date()).getFullYear()); + // let year1 = (new Date()).getFullYear(); + // let year2 = ((new Date()).getFullYear() + 1); + // let Year = year1 +'-'+ year2; + } + }; + /** fin customer data from Fin statement*/ + PdQuestionFinancialInfoPage.prototype.selectedFinancialCustomer = function (e) { + if (e == 'yes') { + var control = this.financialForm.controls['estimated_value']; + while (control.length !== 0) { + control.removeAt(0); + } + } + else if (e == 'no') { + var control = this.financialForm.controls['estimated_value']; + control.push(this.createValue('')); + } + }; + PdQuestionFinancialInfoPage.prototype.selectedProfitOrLossType = function (e, detail) { + if (e.value == 1) { + detail.controls.financial_net_loss.setValue(''); + detail.controls.financial_margin_of_loss.setValue(''); + } + else if (e.value == 2) { + detail.controls.financial_net_profit.setValue(''); + detail.controls.financial_margin_of_profit.setValue(''); + } + }; + /** For Auto-generating FinYear */ + PdQuestionFinancialInfoPage.prototype.dynamicalFinYear = function ($event) { + var e = $event.target.value; + if (e == 1) { + this.customerCommentsFlag = false; + } + else { + this.customerCommentsFlag = true; + } + var startingYear = this.financialForm.controls['financial_starting_year'].value; + var control = this.financialForm.controls['date_per_financial']; + while (control.length !== 0) { + control.removeAt(0); + } + if (e > 0) { + for (var i = 1; i <= e; i++) { + var Year = (+startingYear + (i - 1)) + '-' + ((+startingYear) + (+i)); + control.push(this.createDate(Year)); + } + } + }; + PdQuestionFinancialInfoPage.prototype.initFinancialForm = function () { + this.financialForm = this.fb.group({ + pdid: this.pdDetails.pd_id, + formid: this.FormId, + company_id: this.company_id, + fk_createdby: this.users, + financial_remarks: [''], + is_financial_statements: [''], + is_financial_customer: [''], + financial_starting_year: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].maxLength(4)])], + financial_no_of_year: [''], + financial_reason: [''], + financial_customer: [''], + receive_the_money_in_days: [''], + pay_the_money_in_days: [''], + unsold_stock_lies_in_days: [''], + is_there_working_capital_available: [''], + working_capital_facilities_availed: [''], + reason_for_working_capital_facilities_availed: [''], + // same_as_financial_statements:[''], + date_per_financial: this.fb.array([]), + estimated_value: this.fb.array([]) + }); + }; + PdQuestionFinancialInfoPage.prototype.createDate = function (date) { + return this.fb.group({ + financial_year: [date, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^[0-9]{4}-[0-9]{2}$/)])], + financial_annual_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^[0-9\(\)]+$/)])], + finanical_profit_or_loss: [''], + financial_net_profit: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^-?[1-9]\d*|0$/)])], + financial_net_loss: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^-?[1-9]\d*|0$/)])], + financial_margin_of_profit: [''], + financial_margin_of_loss: [''], + financial_variation: [''], + financial_profit_to_sale_variation: [''], + financial_annualsales_variation: [''], + }); + }; + /** CREATING financial Customer ( financial_year AutoGenerate ) */ + PdQuestionFinancialInfoPage.prototype.createValue = function (date) { + return this.fb.group({ + // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])], + estimate_sales_from: [''], + estimate_sales_to: [''], + estimate_sales_average: [''], + estimate_profit_or_loss: [''], + estimate_net_margin_availablity: [''], + estimate_profit_range_from: [''], + estimate_profit_range_to: [''], + estimate_profit_margin_percent: [''], + estimate_profit_margin: [''], + estimate_net_profit_from: [''], + estimate_net_profit_to: [''], + estimate_net_profit_percent: [''], + estimate_net_profit: [''], + estimate_loss_range_from: [''], + estimate_loss_range_to: [''], + estimate_loss_margin_percent: [''], + estimate_loss_margin: [''], + estimate_net_loss_from: [''], + estimate_net_loss_to: [''], + estimate_net_loss_percent: [''], + estimate_net_loss: [''], + estimate_reason_for_loss: [''], + estimate_receive_the_money_in_days: [''], + estimate_pay_the_money_in_days: [''], + estimate_unsold_stock_lies_in_days: [''], + estimate_working_capital_facilities_availed: [''], + reason_for_working_capital_facilities_availed: [''], + is_there_working_capital_available: [''] + }); + }; + PdQuestionFinancialInfoPage.prototype.submitDetails = function () { + var _this = this; + if (this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1) { + this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); + this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); + this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators(); + this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity(); + this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); + this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); + this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators(); + this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity(); + } + else if (this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) { + this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators(); + this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); + this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); + this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity(); + this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators(); + this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); + this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); + this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity(); + } + var records = this.financialForm.value; + this.qustCat.saveForm(records).subscribe(function (res) { + if (res['status'] == 200) { + _this.toast.pdTriggerappmessage("Record Saved Successfully"); + _this.navCtrl.pop(); + } + else { + _this.toast.pdTriggerappmessage("Warning !! Something went Wrong"); + } + }, function (err) { + _this.toast.pdTriggerappmessage("Server is not Responding"); + }); + }; + PdQuestionFinancialInfoPage.prototype.getDetails = function () { + var _this = this; + var financeDate = this.financialForm.controls['date_per_financial']; + //financeDate.push(this.createDate('')) + var estimate = this.financialForm.controls['estimated_value']; + //estimate.push(this.createValue('')) + var params = {}; + params.pd_id = this.pdDetails.pd_id; + params.pd_form_id = this.FormId; + params.company_id = this.company_id; + this.qustCat.retiverForm(params).subscribe(function (value) { + if (value['dataStatus'] == true) { + var retrieveData = value['records']; + if (value['records'].is_financial_statements == 'yes') { + var result = Object.keys(value['records'].date_per_financial).map(function (key) { + return value['records'].date_per_financial[key]; + }); + if (result.length > 0) { + _this.customerCommentsFlag = result.length == 1 ? false : true; + result.forEach(function (val, index) { + _this.FY_annualSalesInwords[index] = _this.cons.convertNumberToWords(val.financial_annual_sale); + _this.FY_netProfitAmtInwords[index] = _this.cons.convertNumberToWords(val.financial_net_profit); + _this.FY_netLossAmtInwords[index] = _this.cons.convertNumberToWords(val.financial_net_loss); + financeDate.push(_this.createDate('')); + }); + retrieveData.date_per_financial = result; + } + else { + financeDate.push(_this.createDate('')); + } + } + var result_val = Object.keys(value['records'].estimated_value).map(function (key) { + return value['records'].estimated_value[key]; + }); + if (result_val.length > 0) { + result_val.forEach(function (val, index) { + _this.AV_SalesInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_average)); + _this.AV_SalesFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_from)); + _this.AV_SalesToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_to)); + _this.AV_marginProfitAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); + _this.AV_netProfitAmtFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); + _this.AV_netProfitAmtToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); + _this.AV_netProfitAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_profit)); + _this.AV_marginLossAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin)); + _this.AV_netLossAmtFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); + _this.AV_netLossAmtToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); + _this.AV_netLossAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_loss)); + estimate.push(_this.createValue('')); + }); + retrieveData.estimated_value = result_val; + } + else { + estimate.push(_this.createValue('')); + } + retrieveData.pdid = _this.pdDetails.pd_id; + retrieveData.company_id = _this.company_id; + retrieveData.fk_createdby = _this.users; + retrieveData.formid = _this.FormId; + _this.financialForm.setValue(retrieveData); + } + else { + //financial_date.push(this.createDate()); + //estimated_val.push(this.createValue('')); + } + }); + }; + /** + * New Calculation for Finanical Statement + **/ + PdQuestionFinancialInfoPage.prototype.calculationForFinanicalStatement = function () { + var _this = this; + var parentArray = this.financialForm.controls['date_per_financial']; + // let prev_annual_sale : any = ''; + // let prev_profit_margin : any = ''; + // let prev_loss_margin : any = ''; + // let prev_profit_amt : any = ''; + // let prev_loss_amt : any = ''; + // let profit_margin : any = ''; + // let loss_margin : any = ''; + // let annual_sale : any = ''; + // let profit_amt : any = ''; + // let loss_amt : any = ''; + var prev_annual_sale = ''; + var prev_profit_margin = []; + var prev_loss_margin = []; + var prev_profit_amt = ''; + var prev_loss_amt = ''; + var profit_margin = ''; + var loss_margin = ''; + var annual_sale = ''; + var profit_amt = ''; + var loss_amt = ''; + parentArray.value.forEach(function (val, index) { + var childArray = parentArray.controls[index]; + annual_sale = val.financial_annual_sale; + /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) + * Label name = " Sale Variation from Previous Year in % " + */ + if (index != 0) { + if (annual_sale != '') { + var annual_sale_variation = ((annual_sale - prev_annual_sale) / prev_annual_sale) * 100; + var final_annual_sale_variation = (annual_sale_variation != Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2) : 0.00 : 0.00; + childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation); + } + } + else { + childArray.controls.financial_annualsales_variation.setValue(0.00); + } + prev_annual_sale = annual_sale; + /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/ + profit_amt = val.financial_net_profit; + loss_amt = val.financial_net_loss; + /** Calculating Profit's Variation - STARTS HERE + * Label name = "Profit Variation from Previous Year in %" + */ + if ((profit_amt != '' || loss_amt != '') && index != 0) { + if (+profit_amt > +annual_sale) { + childArray.controls.financial_margin_of_profit.setValue(''); + } + else { + loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss; + prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt; + var variation = (((profit_amt != '' ? profit_amt : loss_amt) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt)) / (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; + var final_variation = variation != Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00; + childArray.controls.financial_variation.setValue(final_variation); + } + } + prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0; + prev_loss_amt = val.financial_net_loss != '' ? val.financial_net_loss : 0; + /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/ + /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation + * Label name = "Net Profit to Sales in % (or) Net Loss to Sales in % + **/ + var SelectedlossOrProfit = val.finanical_profit_or_loss; + if (SelectedlossOrProfit == 1) { + loss_margin = ''; + childArray.controls.financial_margin_of_loss.setValue(''); + if (annual_sale != '' && val.financial_net_profit != '') { + if (+profit_amt > +annual_sale) { + // alert("profit is greater than Annual Sale "); + _this.toast.pdTriggerappmessage("profit is greater than Annual Sale "); + childArray.controls.financial_net_profit.setValue(0); + childArray.controls.financial_margin_of_profit.setValue(''); + childArray.controls.financial_profit_to_sale_variation.setValue(''); + childArray.controls.financial_variation.setValue(''); + } + else { + profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100; + childArray.controls.financial_margin_of_profit.setValue(profit_margin != Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2) : 0 : 0); + } + } + } + else if (SelectedlossOrProfit == 2) { + profit_margin = ''; + childArray.controls.financial_margin_of_profit.setValue(''); + if (annual_sale != '' && val.financial_net_loss != '') { + if (+val.financial_net_loss > +annual_sale) { + // alert("Loss is greater than Annual Sale "); + _this.toast.pdTriggerappmessage("Loss is greater than Annual Sale "); + childArray.controls.financial_net_loss.setValue(0); + childArray.controls.financial_margin_of_loss.setValue(''); + childArray.controls.financial_profit_to_sale_variation.setValue(''); + childArray.controls.financial_variation.setValue(''); + } + if (+loss_amt > +annual_sale) { + childArray.controls.financial_net_loss.setValue(0); + childArray.controls.financial_margin_of_loss.setValue(''); + childArray.controls.financial_profit_to_sale_variation.setValue(''); + childArray.controls.financial_variation.setValue(''); + } + else { + loss_margin = (val.financial_net_loss / val.financial_annual_sale) * 100 * (-1); + childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0); + } + } + } + prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit : 0; + prev_loss_margin[index] = val.financial_margin_of_loss != '' ? val.financial_margin_of_loss : 0; + // if(index != 0 ){ + // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; + // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0; + // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent); + // } + /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/ + /** Calculating Sales's Profit Variation + * Label name = "Variation of Profit % over sales" + **/ + if ((profit_margin != '' || loss_margin != '') && index != 0) { + loss_margin = loss_margin !== undefined ? loss_margin : 0; + profit_margin = profit_margin !== undefined ? profit_margin : 0; + var temp_prev_loss_margin = prev_loss_margin[index - 1] !== undefined ? prev_loss_margin[index - 1] : 0; + var temp_prev_profit_margin = prev_profit_margin[index - 1] !== undefined ? prev_profit_margin[index - 1] : 0; + if (annual_sale != '') { + var a = (profit_margin != '' ? profit_margin : loss_margin) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin); + var b = a / (temp_prev_profit_margin != 0 ? Math.abs(temp_prev_profit_margin) : Math.abs(temp_prev_loss_margin)); + var c = b * 100; + var final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0; + childArray.controls.financial_profit_to_sale_variation.setValue(final_percent); + } + } + /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/ + }); + }; + PdQuestionFinancialInfoPage.prototype.confirmAlert = function (i, details) { + var estimate_sales_from = +details.value.estimate_sales_from; + var estimate_sales_to = +details.value.estimate_sales_to; + if (estimate_sales_from != null && estimate_sales_to != null) { + if (+estimate_sales_from > +estimate_sales_to) { + // alert("Given To value is lower than From Value"); + this.toast.pdTriggerappmessage("Given To value is lower than From Value"); + details.controls.estimate_sales_to.setValue(''); + details.controls.estimate_sales_average.setValue(''); + return; + } + var C = (estimate_sales_to - estimate_sales_from); + var D = (C / estimate_sales_from) * 100; + if (estimate_sales_from <= 5000000) { + if (D > 20) { + var r = confirm("Given Sales Range is greater than 20%"); + if (r == true) { + details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); + } + else { + details.controls.estimate_sales_to.setValue(''); + return; + } + } + else { + details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); + } + } + else if (estimate_sales_from > 5000000 && estimate_sales_from <= 10000000) { + if (D > 15) { + var r = confirm("Given Sales Range is greater than 15%"); + if (r == true) { + details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); + } + else { + details.controls.estimate_sales_to.setValue(''); + return; + } + } + else { + details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); + } + } + else if (estimate_sales_from > 10000000) { + if (D > 10) { + var r = confirm("Given Sales Range is greater than 10%"); + if (r == true) { + details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); + } + else { + details.controls.estimate_sales_to.setValue(''); + return; + } + } + else { + details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); + } + } + else { + details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); + } + // if(D >= 30){ + // var r = confirm("Given Sales Range is greater than 30%"); + // if (r == true) { + // details.controls.estimate_sales_to.setValue(estimate_sales_to); + // }else{ + // details.controls.estimate_sales_to.setValue(''); + // return; + // } + // } + // else{ + // details.controls.estimate_sales_to.setValue(estimate_sales_to); + // } + } + this.calculateSalesAverage(i, details); + }; + PdQuestionFinancialInfoPage.prototype.calculateSalesAverage = function (i, details) { + var estimate_sales_from = details.value.estimate_sales_from; + var estimate_sales_to = details.value.estimate_sales_to; + if (estimate_sales_from != '' && estimate_sales_to != '') { + var range1 = +estimate_sales_from / 10; + var lower = (+estimate_sales_from) + range1; + var higer = ((+estimate_sales_to + +estimate_sales_from) / 2); + if (lower > higer) { + details.controls.estimate_sales_average.setValue(higer != Infinity ? higer.toFixed(2) : 0); + this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_sales_average.setValue(lower != Infinity ? lower.toFixed(2) : 0); + this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + else { + details.controls.estimate_sales_average.setValue(''); + } + }; + PdQuestionFinancialInfoPage.prototype.calculateMarginProfit = function (i, details) { + var sales_average = details.value.estimate_sales_average; + if (sales_average == '') { + // alert("Considered Sales Average is Empty"); + this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); + details.controls.estimate_profit_range_from.setValue(''); + details.controls.estimate_profit_range_to.setValue(''); + details.controls.estimate_profit_margin.setValue(''); + details.controls.estimate_profit_margin_percent.setValue(''); + return; + } + var estimate_profit_range_from = details.value.estimate_profit_range_from; + if (+estimate_profit_range_from > 100) { + // alert('Given Profit percent is More Than 100'); + this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"); + details.controls.estimate_profit_range_from.setValue(''); + details.controls.estimate_profit_range_to.setValue(''); + details.controls.estimate_profit_margin.setValue(''); + details.controls.estimate_profit_margin_percent.setValue(''); + return; + } + var estimate_profit_range_to = details.value.estimate_profit_range_to; + if (+estimate_profit_range_to > 100) { + // alert('Given Profit percent is More Than 100'); + this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"); + details.controls.estimate_profit_range_to.setValue(''); + details.controls.estimate_profit_margin.setValue(''); + details.controls.estimate_profit_margin_percent.setValue(''); + return; + } + if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != '') { + if (+estimate_profit_range_from > +estimate_profit_range_to) { + // alert("Given To value is lower than From Value"); + this.toast.pdTriggerappmessage("Given To value is lower than From Value"); + details.controls.estimate_profit_range_to.setValue(''); + details.controls.estimate_profit_margin.setValue(''); + details.controls.estimate_profit_margin_percent.setValue(''); + return; + } + var profit_percent = (estimate_profit_range_to + estimate_profit_range_from) / 2; + var Profit_Average = (profit_percent * sales_average) / 100; + var difference = (estimate_profit_range_to - estimate_profit_range_from); + if (difference > 3) { + var r = confirm("Given Profit Percent Range is greater than 3"); + if (r == true) { + details.controls.estimate_profit_margin.setValue(Profit_Average != Infinity ? Math.round(Profit_Average) : 0); + details.controls.estimate_profit_margin_percent.setValue(profit_percent != Infinity ? profit_percent.toFixed(2) : 0); + this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); + } + else { + details.controls.estimate_profit_range_to.setValue(''); + details.controls.estimate_profit_margin.setValue(''); + details.controls.estimate_profit_margin_percent.setValue(''); + return; + } + } + details.controls.estimate_profit_margin.setValue(Profit_Average != Infinity ? Math.round(Profit_Average) : 0); + details.controls.estimate_profit_margin_percent.setValue(profit_percent != Infinity ? profit_percent.toFixed(2) : 0); + this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); + // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average)); + // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2)); + } + }; + PdQuestionFinancialInfoPage.prototype.calculateProfitAmount = function (i, details) { + var sales_average = details.value.estimate_sales_average; + if (sales_average == '') { + //alert("Considered Sales Average is Empty"); + this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); + details.controls.estimate_net_profit_from.setValue(''); + details.controls.estimate_net_profit_to.setValue(''); + details.controls.estimate_net_profit.setValue(''); + details.controls.estimate_net_profit_percent.setValue(''); + return; + } + var estimate_net_profit_from = details.value.estimate_net_profit_from; + var estimate_net_profit_to = details.value.estimate_net_profit_to; + if (+estimate_net_profit_to > +sales_average) { + //alert("Given Profit is Greater than Sales"); + this.toast.pdTriggerappmessage("Given Profit is Greater than Sales"); + details.controls.estimate_net_profit_from.setValue(''); + details.controls.estimate_net_profit_to.setValue(''); + details.controls.estimate_net_profit.setValue(''); + details.controls.estimate_net_profit_percent.setValue(''); + return; + } + if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != '') { + if (+estimate_net_profit_from > +estimate_net_profit_to) { + // alert("Given To value is lower than From Value"); + this.toast.pdTriggerappmessage("Given To value is lower than From Value"); + details.controls.estimate_net_profit_to.setValue(''); + details.controls.estimate_net_profit.setValue(''); + details.controls.estimate_net_profit_percent.setValue(''); + return; + } + var C = (estimate_net_profit_to - estimate_net_profit_from); + var D = (C / estimate_net_profit_from) * 100; + var range1 = +estimate_net_profit_from / 10; + var lower = (+estimate_net_profit_from) + range1; + var higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2); + if (estimate_net_profit_from <= 5000000) { + if (D >= 20) { + var r = confirm("Given Profit Range is greater than 20%"); + if (r == true) { + details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); + } + else { + details.controls.estimate_net_profit_to.setValue(''); + details.controls.estimate_net_profit.setValue(''); + details.controls.estimate_net_profit_percent.setValue(''); + return; + } + } + else { + details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); + } + if (lower > higer) { + details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); + var Profit_percent = (higer / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); + var Profit_percent = (lower / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + else if (estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000) { + if (D >= 15) { + var r = confirm("Given Sales Range is greater than 15%"); + if (r == true) { + details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); + } + else { + details.controls.estimate_net_profit_to.setValue(''); + details.controls.estimate_net_profit.setValue(''); + details.controls.estimate_net_profit_percent.setValue(''); + return; + } + } + else { + details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); + } + if (lower > higer) { + details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); + var Profit_percent = (higer / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); + var Profit_percent = (lower / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + else if (estimate_net_profit_from > 10000000) { + if (D >= 10) { + var r = confirm("Given Sales Range is greater than 10%"); + if (r == true) { + details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); + } + else { + details.controls.estimate_net_profit_to.setValue(''); + details.controls.estimate_net_profit.setValue(''); + details.controls.estimate_net_profit_percent.setValue(''); + return; + } + } + else { + details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); + } + if (lower > higer) { + details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); + var Profit_percent = (higer / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); + var Profit_percent = (lower / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + else { + details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); + if (lower > higer) { + details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); + var Profit_percent = (higer / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); + var Profit_percent = (lower / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + } + }; + PdQuestionFinancialInfoPage.prototype.calculateMarginLoss = function (i, details) { + var sales_average = details.value.estimate_sales_average; + if (sales_average == '') { + // alert("Considered Sales Average is Empty"); + this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); + details.controls.estimate_loss_range_from.setValue(''); + details.controls.estimate_loss_range_to.setValue(''); + details.controls.estimate_loss_margin.setValue(''); + details.controls.estimate_loss_margin_percent.setValue(''); + return; + } + // else{ + var estimate_loss_range_from = details.value.estimate_loss_range_from; + if (+estimate_loss_range_from > 100) { + // alert('Given Loss Percent is more than 100'); + this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"); + details.controls.estimate_loss_range_from.setValue(''); + details.controls.estimate_loss_range_to.setValue(''); + details.controls.estimate_loss_margin.setValue(''); + details.controls.estimate_loss_margin_percent.setValue(''); + return; + } + var estimate_loss_range_to = details.value.estimate_loss_range_to; + if (+estimate_loss_range_to > 100) { + // alert('Given Loss Percent is more than 100'); + this.toast.pdTriggerappmessage("Given Loss Percent is more than 100 "); + details.controls.estimate_loss_range_from.setValue(''); + details.controls.estimate_loss_range_to.setValue(''); + details.controls.estimate_loss_margin.setValue(''); + details.controls.estimate_loss_margin_percent.setValue(''); + return; + } + if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != '') { + if (+estimate_loss_range_from > +estimate_loss_range_to) { + //alert("Given Loss Percent is more than 100"); + this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"); + details.controls.estimate_loss_range_to.setValue(''); + details.controls.estimate_loss_margin.setValue(''); + details.controls.estimate_loss_margin_percent.setValue(''); + return; + } + var loss_percent = (estimate_loss_range_to + estimate_loss_range_from) / 2; + var loss_Average = (loss_percent * sales_average) / 100; + var difference = (estimate_loss_range_to - estimate_loss_range_from); + // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average)); + // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2)); + // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); + if (difference > 3) { + var r = confirm("Given Loss Percent Range is greater than 3"); + if (r == true) { + details.controls.estimate_loss_margin.setValue(loss_Average != Infinity ? Math.round(loss_Average) : 0); + details.controls.estimate_loss_margin_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); + } + else { + details.controls.estimate_loss_range_to.setValue(''); + details.controls.estimate_loss_margin.setValue(''); + details.controls.estimate_loss_margin_percent.setValue(''); + return; + } + } + details.controls.estimate_loss_margin.setValue(loss_Average != Infinity ? Math.round(loss_Average) : 0); + details.controls.estimate_loss_margin_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); + } + }; + PdQuestionFinancialInfoPage.prototype.calculateLossAmount = function (i, details) { + var sales_average = details.value.estimate_sales_average; + if (sales_average == '') { + // alert("Considered Sales Average is Empty"); + this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); + details.controls.estimate_net_loss_from.setValue(''); + details.controls.estimate_net_loss_to.setValue(''); + details.controls.estimate_net_loss.setValue(''); + details.controls.estimate_net_loss_percent.setValue(''); + return; + } + var estimate_net_loss_from = details.value.estimate_net_loss_from; + var estimate_net_loss_to = details.value.estimate_net_loss_to; + if (+estimate_net_loss_to > +sales_average) { + // alert("Given Loss is Greater than Sales"); + this.toast.pdTriggerappmessage("Given Loss is Greater than Sales"); + details.controls.estimate_net_loss_from.setValue(''); + details.controls.estimate_net_loss_to.setValue(''); + details.controls.estimate_net_loss.setValue(''); + details.controls.estimate_net_loss_percent.setValue(''); + return; + } + if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != '') { + if (+estimate_net_loss_from > +estimate_net_loss_to) { + //alert("Given To value is Lower than From Value"); + this.toast.pdTriggerappmessage("Given To value is Lower than From Value"); + details.controls.estimate_net_loss_to.setValue(''); + details.controls.estimate_net_loss.setValue(''); + details.controls.estimate_net_loss_percent.setValue(''); + return; + } + // if(+estimate_net_loss_to > +estimate_net_loss_from){ + // alert("loss is greater than sales"); + // details.controls.estimate_net_loss_to.setValue(''); + // details.controls.estimate_net_loss.setValue(''); + // details.controls.estimate_net_loss_percent.setValue(''); + // return; + // } + var C = (estimate_net_loss_to - estimate_net_loss_from); + var D = (C / estimate_net_loss_from) * 100; + var range1 = +estimate_net_loss_from / 10; + var lower = (+estimate_net_loss_from) + range1; + var higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2); + if (estimate_net_loss_from <= 5000000) { + if (D >= 20) { + var r = confirm("Given Profit Range is greater than 20%"); + if (r == true) { + details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); + } + else { + details.controls.estimate_net_loss_to.setValue(''); + details.controls.estimate_net_loss.setValue(''); + details.controls.estimate_net_loss_percent.setValue(''); + return; + } + } + else { + details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); + } + if (lower > higer) { + details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); + var loss_percent = (higer / sales_average) * 100; + details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); + var loss_percent = (lower / sales_average) * 100; + details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + else if (estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000) { + if (D >= 15) { + var r = confirm("Given Sales Range is greater than 15%"); + if (r == true) { + details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); + } + else { + details.controls.estimate_net_loss_to.setValue(''); + details.controls.estimate_net_loss.setValue(''); + details.controls.estimate_net_loss_percent.setValue(''); + return; + } + } + else { + details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); + } + if (lower > higer) { + details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); + var loss_percent = (higer / sales_average) * 100; + details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); + var loss_percent = (lower / sales_average) * 100; + details.controls.estimate_net_profit_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + else if (estimate_net_loss_from > 10000000) { + if (D >= 10) { + var r = confirm("Given Sales Range is greater than 10%"); + if (r == true) { + details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); + } + else { + details.controls.estimate_net_loss_to.setValue(''); + details.controls.estimate_net_loss.setValue(''); + details.controls.estimate_net_loss_percent.setValue(''); + return; + } + } + else { + details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); + } + if (lower > higer) { + details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); + var loss_percent = (higer / sales_average) * 100; + details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); + var loss_percent = (lower / sales_average) * 100; + details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + else { + details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); + if (lower > higer) { + details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); + var loss_percent = (higer / sales_average) * 100; + details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); + } + else { + details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); + var loss_percent = (lower / sales_average) * 100; + details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); + } + } + } + }; + /** On Key Press Event For Input Field */ + PdQuestionFinancialInfoPage.prototype.keyPress = function (event) { + //const pattern = /[0-9\-\.\ ]/; + var pattern = /[0-9\.]/; + var inputChar = String.fromCharCode(event.charCode); + if (event.keyCode != 8 && !pattern.test(inputChar)) { + event.preventDefault(); + } + }; + /** To Convert Amount into Words */ + PdQuestionFinancialInfoPage.prototype.inWords = function (e, i, flag) { + switch (flag) { + case 1: + this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); + // this.placeholderName[i] = 'Weekly Instalment Amount'; break; + break; + case 2: + this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); + //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]); + break; + case 3: + this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); + // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]); + break; + case 4: + this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 5: + this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 6: + this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 7: + this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 8: + this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 9: + this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 10: + this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 11: + this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 12: + this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + default: + break; + } + }; + PdQuestionFinancialInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-financial-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-financial-info\pd-question-financial-info.html"*/'\n\n\n\n\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n
Data As Per Financial Statements
\n\n
\n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n\n\n \n\n \n\n
\n\n \n\n Enter year from Which Financials Provided\n\n \n\n Invalid year format\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n Financial Year : {{details.get(\'financial_year\').value}}\n\n
\n\n \n\n {{"₹"}} {{FY_annualSalesInwords[i]}} Only \n\n \n\n
\n\n \n\n Sale Variation from Previous Year in %\n\n   -\n\n \n\n

\n\n \n\n No difference in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_annualsales_variation\').value}} % \n\n \n\n \n\n Decrease in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_annualsales_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n \n\n
\n\n \n\n \n\n Net Profit\n\n Net Loss\n\n \n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{FY_netProfitAmtInwords[i]}} Only\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}}{{FY_netLossAmtInwords[i]}} Only\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n Profit Variation from Previous Year in %: \n\n   - \n\n

\n\n \n\n No difference in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_variation\').value}} % \n\n \n\n \n\n Decrease in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n \n\n \n\n Variation of Profit % over sales\n\n   -\n\n

\n\n \n\n No difference in Profit sales % in FY {{details.get(\'financial_year\').value}} over Profit sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Profit sales % in FY {{details.get(\'financial_year\').value}} over Profit sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_profit_to_sale_variation\').value}} % \n\n \n\n \n\n Decrease in Profit sales % in FY {{details.get(\'financial_year\').value}} over Profit sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_profit_to_sale_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
Financial As Per Customers
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesFrmInwords[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesToInwords[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesInwords[i]}} Only\n\n \n\n\n\n \n\n \n\n Net Profit\n\n Net Loss\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_marginProfitAmtInwords[i]}} Only \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtFrmInwords[i]}} Only \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtToInwords[i]}} Only \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtInwords[i]}} Only \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n {{a.name}} \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_marginLossAmtInwords[i]}} Only \n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtFrmInwords[i]}} Only \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtToInwords[i]}} Only \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtInwords[i]}} Only\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
Working Capital Details
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n {{a.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-financial-info\pd-question-financial-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], + __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionFinancialInfoPage); + return PdQuestionFinancialInfoPage; +}()); + +//# sourceMappingURL=pd-question-financial-info.js.map + +/***/ }), + +/***/ 203: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionClientInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionClientInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionClientInfoPage = (function () { + function PdQuestionClientInfoPage(navCtrl, navParams, qustCat, aws, toast, fb) { + var _this = this; + this.navCtrl = navCtrl; + this.navParams = navParams; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.fb = fb; + this.submitted = false; + this.m_paymentType = []; + this.companyRelationShipList = []; + this.titleList = []; + this.noRecordsFound = false; + this.errorMessage = ''; + this.m_manufacturingProducts = []; + this.m_tradingProducts = []; + this.m_suplierProducts = []; + this.manufacturingForm = false; + this.tradingForm = false; + this.serviceProviderForm = false; + this.mfgCreditCardFlag = false; + this.trdCreditCardFlag = false; + this.spCreditCardFlag = false; + this.mfgCounter = []; + this.trdCounter = []; + this.spCounter = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.formDetails = this.navParams.get('formDetails'); + this.users = this.aws.getlocale(); + this.pdid = this.pdDetails.pd_id; + this.company_id = this.pdDetails.company_id; + this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(function (data) { + if (data.dataStatus) { + var datas_1 = data.records; + _this.m_manufacturingProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 2) { + return data; + } }).map(function (data) { return data.prodcuts.slice(); }); + // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); + _this.m_suplierProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 5) { + return data; + } }).map(function (data) { return data.prodcuts.slice(); }); + var api = Object.keys(datas_1.type_of_activity).map(function (key) { + return datas_1.type_of_activity[key]; + }); + if (api.length > 0) { + api.forEach(function (val) { + if (val.type_of_activity_id == 3) { + if (val.prodcuts) { + _this.m_tradingProducts.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 4) { + if (val.prodcuts) { + _this.m_tradingProducts.push(val.prodcuts); + } + } + }); + } + _this.m_tradingProducts = [].concat.apply([], _this.m_tradingProducts); + _this.initFormLoadDetails(datas_1.type_of_activity); + } + else { + _this.toast.pdTriggerappmessage('No Category Records Found.!'); + _this.noRecordsFound = false; + _this.errorMessage = data.msg; + } + }, function (err) { + _this.toast.pdTriggerappmessage('No Category Records Found.!'); + _this.noRecordsFound = false; + _this.errorMessage = 'No Records Found , Something went Wrong!'; + }); + this.getdropList(); + } + PdQuestionClientInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionClientInfoPage'); + }; + PdQuestionClientInfoPage.prototype.initFormLoadDetails = function (record) { + var _this = this; + var params = {}; + params.pd_id = this.pdid; + params.pd_form_id = this.formDetails.form_id; + params.company_id = this.company_id; + this.qustCat.retiverForm(params).subscribe(function (data) { + if (data['dataStatus']) { + var dataForm_1 = data['records']; + if (dataForm_1 !== undefined) { + _this.clientInfoForm = _this.fb.group({ + pdid: [_this.pdid], + formid: [_this.formDetails.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + trade_details: _this.fb.array([_this.tradingFormCreation(record)]), + service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), + supplier_info_form_remark: [dataForm_1.supplier_info_form_remark || null] + // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), + }); + // Load form details for manufacturing + var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); + // if(dataForm.manufacturing_details[0].main_raw_materials){ + if (arr.length > 0) { + // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) { + // return dataForm.main_raw_materials[key]; + // }); + if (dataForm_1.manufacturing_details) { + console.log(dataForm_1); + var api_main_raw_materials = dataForm_1.manufacturing_details[0].main_raw_materials; + _this.initManufacturingProductsDetails(api_main_raw_materials); + _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm_1.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null); + } + else { + console.log("NO Data", dataForm_1); + _this.initManufacturingProductsDetails(null); + _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); + } + } + // } + // Load form details for the wholeshale trading details + var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); + if (arr1.length > 0) { + // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) { + // return dataForm.trading_products[key]; + // }); + if (dataForm_1.trade_details) { + var api_trading_products = dataForm_1.trade_details[0].trading_products; + _this.initTradingProductsDetails(api_trading_products); + _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm_1.trade_details[0].trading_products_total_payments_percent_on_credit || null); + } + else { + _this.initTradingProductsDetails(null); + _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); + } + } + // Load form details for the service provider prduct details + var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); + if (arr2.length > 0) { + // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) { + // return dataForm.service_products[key]; + // }); + if (dataForm_1.service_provider_details) { + var api_service_provider_products = dataForm_1.service_provider_details[0].service_products; + _this.initServiceProviderProductsDetails(api_service_provider_products); + _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm_1.service_provider_details[0].service_products_total_payments_percent_on_credit || null); + } + else { + _this.initServiceProviderProductsDetails(null); + _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); + } + } + // Load form details for the retail trading details + var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); + // if (arr3.length > 0) { + // this.retaildTradingForm = true; + // } + _this.noRecordsFound = true; + } + else { + _this.clientInfoForm = _this.fb.group({ + pdid: [_this.pdid], + formid: [_this.formDetails.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + trade_details: _this.fb.array([_this.tradingFormCreation(record)]), + service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), + supplier_info_form_remark: [dataForm_1.supplier_info_form_remark || null] + // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), + }); + var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); + if (arr.length > 0) { + _this.initManufacturingProductsDetails(null); + _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); + } + var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); + if (arr1.length > 0) { + _this.initTradingProductsDetails(null); + _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); + } + var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); + if (arr2.length > 0) { + var api_service_provider_products = Object.keys(dataForm_1.service_products).map(function (key) { + return dataForm_1.service_products[key]; + }); + _this.initServiceProviderProductsDetails(api_service_provider_products); + _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); + } + // Load form details for the retail trading details + var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); + // if (arr3.length > 0) { + // this.retaildTradingForm = true; + // } + _this.noRecordsFound = true; + } + } + else { + _this.clientInfoForm = _this.fb.group({ + pdid: [_this.pdid], + formid: [_this.formDetails.form_id], + company_id: [_this.company_id], + fk_createdby: [_this.users], + manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), + trade_details: _this.fb.array([_this.tradingFormCreation(record)]), + service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), + supplier_info_form_remark: [] + // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), + }); + var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); + if (arr.length > 0) { + _this.initManufacturingProductsDetails(null); + _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); + } + var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); + if (arr1.length > 0) { + _this.initTradingProductsDetails(null); + _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); + } + var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); + if (arr2.length > 0) { + _this.initServiceProviderProductsDetails(null); + _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); + } + // Load form details for the retail trading details + var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); + // if (arr3.length > 0) { + // this.retaildTradingForm = true; + // } + _this.noRecordsFound = true; + } + }, function (err) { + }); + }; + PdQuestionClientInfoPage.prototype.manufacturingFormCreation = function (val) { + var arr = val.filter(function (data) { return data.type_of_activity_id == 2; }); + if (arr.length > 0) { + this.manufacturingForm = true; + return this.fb.group({ + main_raw_materials: this.fb.array([]), + main_raw_materials_total_payments_percent_on_credit: [] + }); + // } + } + else { + return; + } + }; + PdQuestionClientInfoPage.prototype.tradingFormCreation = function (val) { + // let arr = val.filter(data => data.type_of_activity_id == 4); + var arr = val.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); + if (arr.length > 0) { + this.tradingForm = true; + return this.fb.group({ + trading_products: this.fb.array([]), + trading_products_total_payments_percent_on_credit: [] + }); + } + else { + return; + } + }; + PdQuestionClientInfoPage.prototype.serviceProviderFormCreation = function (val) { + var arr = val.filter(function (data) { return data.type_of_activity_id == 5; }); + if (arr.length > 0) { + this.serviceProviderForm = true; + return this.fb.group({ + service_products: this.fb.array([]), + service_products_total_payments_percent_on_credit: [] + }); + } + else { + return; + } + }; + PdQuestionClientInfoPage.prototype.initManufacturingProductsDetails = function (datas) { + var _this = this; + var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; + if (datas === null) { + control.push(this.initManufacturingProducts(null)); + } + else { + datas.forEach(function (val, inx) { + _this.checkCard(val.manufacturing_payment_type, 1, inx); + control.push(_this.initManufacturingProducts(val)); + }); + // for (let val of datas) { + // control.push(this.initManufacturingProducts(val)); + // } + } + }; + PdQuestionClientInfoPage.prototype.initManufacturingProducts = function (records) { + if (records === null) { + return this.fb.group({ + manufacturing_product_name: [''], + manufacturing_client_name: [''], + manufacturing_contact_person_name: [''], + manufacturing_contact_person_mobile_number: [''], + manufacturing_payment_type: [''], + manufacturing_payment_mode: [''], + // manufacturing_credit_days: [''], + person_title_name: [''], + person_designation: [''], + person_stdcode: [''], + person_landline: [''], + other_person_designation: [''], + manufacturing_credit_days_from: [''], + manufacturing_credit_days_to: [''] + }); + } + else { + return this.fb.group({ + manufacturing_product_name: [records.manufacturing_product_name || null], + manufacturing_client_name: [records.manufacturing_client_name || null], + manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null], + manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null], + manufacturing_payment_type: [records.manufacturing_payment_type || null], + manufacturing_payment_mode: [records.manufacturing_payment_mode || null], + manufacturing_credit_days: [records.manufacturing_credit_days || null], + person_title_name: [records.person_title_name || null], + person_designation: [records.person_designation || null], + person_stdcode: [records.person_stdcode || null], + person_landline: [records.person_landline || null], + other_person_designation: [records.other_person_designation || null], + manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null], + manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null] + }); + } + }; + PdQuestionClientInfoPage.prototype.initTradingProductsDetails = function (datas) { + var _this = this; + var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; + if (datas === null) { + control.push(this.initTradingProducts(null)); + } + else { + datas.forEach(function (val, inx) { + _this.checkCard(val.trade_product_payment_type, 2, inx); + control.push(_this.initTradingProducts(val)); + }); + // for (let val of datas) { + // control.push(this.initTradingProducts(val)); + // } + } + }; + PdQuestionClientInfoPage.prototype.initTradingProducts = function (records) { + if (records === null) { + return this.fb.group({ + trade_product_name: [''], + trade_client_name: [''], + trade_product_contact_person_name: [''], + trade_product_contact_person_mobile_number: [''], + trade_product_payment_type: [''], + trade_product_payment_mode: [''], + trade_product_frequency_of_purchase: [''], + trade_product_credit_days_from: [''], + trade_product_credit_days_to: [''], + person_title_name: [''], + person_designation: [''], + person_stdcode: [''], + person_landline: [''], + other_person_designation: [''], + }); + } + else { + return this.fb.group({ + trade_product_name: [records.trade_product_name], + trade_client_name: [records.trade_client_name], + trade_product_contact_person_name: [records.trade_product_contact_person_name], + trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number], + trade_product_payment_type: [records.trade_product_payment_type], + trade_product_payment_mode: [records.trade_product_payment_mode], + trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase], + trade_product_credit_days_from: [records.trade_product_credit_days_from], + trade_product_credit_days_to: [records.trade_product_credit_days_to], + person_title_name: [records.person_title_name || null], + person_designation: [records.person_designation || null], + person_stdcode: [records.person_stdcode || null], + person_landline: [records.person_landline || null], + other_person_designation: [records.other_person_designation || null], + }); + } + }; + PdQuestionClientInfoPage.prototype.initServiceProviderProductsDetails = function (datas) { + var _this = this; + var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; + if (datas === null) { + control.push(this.initServiceProviderProducts(null)); + } + else { + datas.forEach(function (val, inx) { + _this.checkCard(val.service_provider_product_payment_type, 3, inx); + control.push(_this.initServiceProviderProducts(val)); + }); + // for (let val of datas) { + // control.push(this.initServiceProviderProducts(val)); + // } + } + }; + PdQuestionClientInfoPage.prototype.initServiceProviderProducts = function (records) { + if (records === null) { + return this.fb.group({ + service_provider_product_name: [''], + service_provider_client_name: [''], + service_provider_product_contact_person_name: [''], + service_provider_product_contact_person_mobile_number: [''], + service_provider_product_payment_type: [''], + service_provider_product_payment_mode: [''], + service_provider_product_frequency_of_purchase: [''], + service_provider_product_credit_days_from: [''], + service_provider_product_credit_days_to: [''], + person_title_name: [''], + person_designation: [''], + person_stdcode: [''], + person_landline: [''], + other_person_designation: [''], + }); + } + else { + return this.fb.group({ + service_provider_product_name: [records.service_provider_product_name], + service_provider_client_name: [records.service_provider_client_name], + service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name], + service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number], + service_provider_product_payment_type: [records.service_provider_product_payment_type], + service_provider_product_payment_mode: [records.service_provider_product_payment_mode], + service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase], + service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from], + service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to], + person_title_name: [records.person_title_name || null], + person_designation: [records.person_designation || null], + person_stdcode: [records.person_stdcode || null], + person_landline: [records.person_landline || null], + other_person_designation: [records.other_person_designation || null], + }); + } + }; + PdQuestionClientInfoPage.prototype.addMoreRawMaterials = function (e) { + // e.stropPropagation(); + var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; + control.push(this.initManufacturingProducts(null)); + }; + PdQuestionClientInfoPage.prototype.removeRawMaterials = function (inx) { + var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; + control.removeAt(inx); + }; + PdQuestionClientInfoPage.prototype.addMoretradeProduct = function (e) { + // e.stropPropagation(); + var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; + control.push(this.initTradingProducts(null)); + }; + PdQuestionClientInfoPage.prototype.removeTradingProduct = function (inx) { + var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; + control.removeAt(inx); + }; + PdQuestionClientInfoPage.prototype.addMoreServiceProduct = function (e) { + // e.stropPropagation(); + var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; + control.push(this.initServiceProviderProducts(null)); + }; + PdQuestionClientInfoPage.prototype.removeServiceProduct = function (inx) { + var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; + control.removeAt(inx); + }; + PdQuestionClientInfoPage.prototype.getdropList = function () { + var _this = this; + this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { + _this.companyRelationShipList = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustCat.getcommondrop('TITLES').subscribe(function (data) { + _this.titleList = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustCat.getcommondrop('PAYMENTMODE').subscribe(function (data) { + _this.m_paymentType = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + }; + // saveclientDetails(answerData) + // { + // let records:any ={}; + // records.pdid = this.pdDetails.pd_id; + // records.formid = this.FormId.form_id; + // records.fk_createdby = this.users; + // records.client_details = answerData.clientArray; + // this.qustCat.saveForm(records).subscribe(res=> + // { + // if(res['dataStatus']==true) + // { + // this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + // this.navCtrl.pop(); + // } + // }); + // } + /** To Save/Edited Popup Data */ + PdQuestionClientInfoPage.prototype.saveClientInfo = function (answerFormValues) { + var _this = this; + Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); + if (answerFormValues.manufacturing_details[0] == null) { + delete answerFormValues['manufacturing_details']; + } + if (answerFormValues.trade_details[0] == null) { + delete answerFormValues['trade_details']; + } + if (answerFormValues.service_provider_details[0] == null) { + delete answerFormValues['service_provider_details']; + } + //To Remove The "Null" With Key also + Object.keys(answerFormValues).forEach(function (key) { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { + delete answerFormValues[key]; + } ; }); + this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { + if (responsed['status'] == 200) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + else { + _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); + } + }); + }; + PdQuestionClientInfoPage.prototype.selectedPersonDesignation = function (items, e, flag) { + if (flag == 1) { + // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required]) + // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); + // items.controls['other_person_designation'].updateValueAndValidity(); + } + else if (flag == 2) { + // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) + // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); + // items.controls['other_person_designation'].updateValueAndValidity(); + } + else if (flag == 3) { + // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) + // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); + // items.controls['other_person_designation'].updateValueAndValidity(); + } + }; + PdQuestionClientInfoPage.prototype.checkCard = function (e, flag, index) { + if (flag == 3 && e == 3) { + this.spCounter[index] = 1; + } + else if (flag == 3 && e != 3) { + this.spCounter[index] = 0; + } + var SP = this.spCounter.reduce(function (sum, val) { return sum + +val; }, 0); + this.spCreditCardFlag = SP > 0 ? true : false; + if (flag == 2 && e == 3) { + this.trdCounter[index] = 1; + } + else if (flag == 2 && e != 3) { + this.trdCounter[index] = 0; + } + var TRD = this.trdCounter.reduce(function (sum, val) { return sum + +val; }, 0); + this.trdCreditCardFlag = TRD > 0 ? true : false; + if (flag == 1 && e == 3) { + this.mfgCounter[index] = 1; + } + else if (flag == 1 && e != 3) { + this.mfgCounter[index] = 0; + } + var MFG = this.mfgCounter.reduce(function (sum, val) { return sum + +val; }, 0); + this.mfgCreditCardFlag = MFG > 0 ? true : false; + }; + PdQuestionClientInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-client-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-client-info\pd-question-client-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n
Manufacturing Product Details
\n\n
\n\n
\n\n
\n\n
\n\n Product #{{l+1}}\n\n \n\n
\n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n \n\n \n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
Trading Product Details
\n\n
\n\n
\n\n
\n\n
\n\n Trading Product #{{l+1}}\n\n \n\n
\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n\n\n \n\n \n\n \n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n \n\n\n\n \n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
Service Provider Product Details
\n\n \n\n
\n\n
\n\n
\n\n
\n\n Service Provided #{{l+1}}\n\n \n\n
\n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n \n\n \n\n \n\n
\n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-client-info\pd-question-client-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) + ], PdQuestionClientInfoPage); + return PdQuestionClientInfoPage; +}()); + +//# sourceMappingURL=pd-question-client-info.js.map + +/***/ }), + +/***/ 22: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ConstantsProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +/* + Generated class for the ConstantsProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +var ConstantsProvider = (function () { + function ConstantsProvider(http) { + this.http = http; + this.commonimage = "http://ssa.sineedge.com/sparqapi/logo/avatar.jpg"; + console.log('Hello ConstantsProvider Provider'); + } + ConstantsProvider.prototype.apiurl = function () { + var testapiurl = 'http://ssa.sineedge.com/sparqtest/api/'; + var devapiurl = 'http://ssa.sineedge.com/sparqapi/api/'; + var localapiurl = 'http://192.168.0.9/sparqapi/api/'; + return devapiurl; + }; + ConstantsProvider.prototype.getcurrentDate = function () { + var today = new Date(); + var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds(); + var date = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate(); + var time = today.getHours() + ":" + today.getMinutes(); + var CurrentDate = date + "T00:00"; + return CurrentDate.toString(); + }; + ConstantsProvider.prototype.convertNumberToWords = function (amount) { + var words = new Array(); + words[0] = ''; + words[1] = 'One'; + words[2] = 'Two'; + words[3] = 'Three'; + words[4] = 'Four'; + words[5] = 'Five'; + words[6] = 'Six'; + words[7] = 'Seven'; + words[8] = 'Eight'; + words[9] = 'Nine'; + words[10] = 'Ten'; + words[11] = 'Eleven'; + words[12] = 'Twelve'; + words[13] = 'Thirteen'; + words[14] = 'Fourteen'; + words[15] = 'Fifteen'; + words[16] = 'Sixteen'; + words[17] = 'Seventeen'; + words[18] = 'Eighteen'; + words[19] = 'Nineteen'; + words[20] = 'Twenty'; + words[30] = 'Thirty'; + words[40] = 'Forty'; + words[50] = 'Fifty'; + words[60] = 'Sixty'; + words[70] = 'Seventy'; + words[80] = 'Eighty'; + words[90] = 'Ninety'; + amount = amount.toString(); + var atemp = amount.split("."); + var number = atemp[0].split(",").join(""); + var n_length = number.length; + var value = ""; + var words_string = ""; + if (n_length <= 9) { + var n_array = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0); + var received_n_array = new Array(); + for (var i = 0; i < n_length; i++) { + received_n_array[i] = number.substr(i, 1); + } + for (var i = 9 - n_length, j = 0; i < 9; i++, j++) { + n_array[i] = received_n_array[j]; + } + for (var i = 0, j = 1; i < 9; i++, j++) { + if (i == 0 || i == 2 || i == 4 || i == 7) { + if (n_array[i] == 1) { + n_array[j] = 10 + parseInt(n_array[j]); + n_array[i] = 0; + } + } + } + value = ""; + for (var i = 0; i < 9; i++) { + if (i == 0 || i == 2 || i == 4 || i == 7) { + value = n_array[i] * 10; + } + else { + value = n_array[i]; + } + if (value != 0) { + words_string += words[value] + " "; + } + if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) { + words_string += "Crores "; + } + if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) { + words_string += "Lakhs "; + } + if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) { + words_string += "Thousand "; + } + if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) { + words_string += "Hundred and "; + } + else if (i == 6 && value != 0) { + words_string += "Hundred "; + } + } + words_string = words_string.split(" ").join(" "); + } + return words_string; + }; + ConstantsProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */]]) + ], ConstantsProvider); + return ConstantsProvider; +}()); + +//# sourceMappingURL=constants.js.map + +/***/ }), + +/***/ 246: +/***/ (function(module, exports) { + +function webpackEmptyAsyncContext(req) { + // Here Promise.resolve().then() is used instead of new Promise() to prevent + // uncatched exception popping up in devtools + return Promise.resolve().then(function() { + throw new Error("Cannot find module '" + req + "'."); + }); +} +webpackEmptyAsyncContext.keys = function() { return []; }; +webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; +module.exports = webpackEmptyAsyncContext; +webpackEmptyAsyncContext.id = 246; + +/***/ }), + +/***/ 289: +/***/ (function(module, exports) { + +function webpackEmptyAsyncContext(req) { + // Here Promise.resolve().then() is used instead of new Promise() to prevent + // uncatched exception popping up in devtools + return Promise.resolve().then(function() { + throw new Error("Cannot find module '" + req + "'."); + }); +} +webpackEmptyAsyncContext.keys = function() { return []; }; +webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; +module.exports = webpackEmptyAsyncContext; +webpackEmptyAsyncContext.id = 289; + +/***/ }), + +/***/ 333: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoginPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_material__ = __webpack_require__(349); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(69); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pd_list_pd_list__ = __webpack_require__(76); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__password_password__ = __webpack_require__(395); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +// import { Component, OnInit, ViewEncapsulation } from '@angular/core'; + +// import { CustomValidators } from 'ng2-validation'; + + + + + +var LoginPage = (function () { + function LoginPage(aws, dialog, shared, navCtrl, Menu, toast) { + this.aws = aws; + this.dialog = dialog; + this.shared = shared; + this.navCtrl = navCtrl; + this.Menu = Menu; + this.toast = toast; + this.status = false; + this.config = { + disableClose: false, + width: '', + height: '', + position: { + top: '', + bottom: '', + left: '', + right: '' + } + }; + } + LoginPage.prototype.ngOnInit = function () { + //this.loggedInCheck(); + }; + LoginPage.prototype.ionViewDidEnter = function () { + this.Menu.enable(false); + }; + LoginPage.prototype.ionViewWillLeave = function () { + this.Menu.enable(true); + }; + /** + * @param email + * @param password + * AWS login service + */ + LoginPage.prototype.login = function () { + var _this = this; + // console.log(this.email); + if (this.email !== undefined && this.password !== undefined && this.email != '' && this.password != '' && this.email != null && this.password != null) { + var auth = { 'Username': this.email, 'Password': this.password }; + this.aws.dologin(auth).subscribe(function (awsres) { + var userid = _this.aws.getlocale(); + _this.aws.getuserprofile(userid).subscribe(function (usersres) { + _this.users = usersres; + if (_this.users.dataStatus == true) { + if (_this.users.records[0].role_name == "PD Officer" || _this.users.records[0].role_name == "PD Executive") { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_5__pd_list_pd_list__["a" /* PdListPage */]); + } + else { + _this.toast.pdTriggerappmessage('This App only for PD Officers'); + localStorage.clear(); + } + } + }); + }, function (err) { + console.log(JSON.stringify(err.message)); + if (err.message == "New password is required.") { + //console.log("if"); + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__password_password__["a" /* PasswordPage */], { 'Username': _this.email, 'Password': _this.password }); + } + else { + console.log(JSON.stringify(err.message)); + _this.toast.pdTriggerappmessage(JSON.stringify(err.message)); + } + //alert(err.message); + }); + } + else { + this.toast.pdTriggerappmessage('Enter Email or Password'); + } + }; + /** + * New password set + * Defalut aws function + * @param email password,newpassword + */ + // newpassopen() { + // let dialogRef = this.dialog.open(NewPasswordDialog, this.config); + // dialogRef.afterClosed().subscribe(result => { + // if (result !== undefined) { + // let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result }; + // console.log(auth); + // this.aws.dologin(auth).subscribe(res => { + // console.log(res); + // // this.router.navigate(['/home']); + // }, err => { + // // alert(err.message); + // }) + // } + // }); + // } + LoginPage.prototype.forgotopen = function () { + this.status = true; + }; + LoginPage.prototype.forgotpassword = function () { + var auth = { 'Username': this.email }; + console.log(auth); + // this.aws.userforgotpass(auth).subscribe(res => { + // console.log(res); + // }) + }; + LoginPage.prototype.loggedInCheck = function () { + //alert(this.shared.isLoggedIn); + if (this.shared.isLoggedIn) { + alert("if"); + // this.router.navigate(['/home']); + return false; + } + else { + alert("else"); + return true; + } + }; + LoginPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-login',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\login\login.html"*/'\n\n\n\n\n\n\n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\login\login.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_material__["h" /* MatDialog */], + __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["o" /* MenuController */], + __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], LoginPage); + return LoginPage; +}()); + +// ======================= END ============================== +/** +* New password Dialog +*/ +// const newpassword = new FormControl('', Validators.required); +// const confirmPassword = new FormControl(''); +// @Component({ +// selector: 'app-jazz-dialog', +// template: ` +//
New Password Change.
+// +// +// +//
+// +// +// +// Passwords do not math. +//
+// +// ` +// }) +// export class NewPasswordDialog { +// newpassword: any = newpassword; +// confirmPassword: any = confirmPassword; +// jazzMessage = 'Jazzy jazz jazz'; +// constructor(public dialogRef: MatDialogRef) { +// } +// } +// @Component({ +// selector: 'app-jazz-dialog', +// template: ` +//
Forgot Password
+// +// +// +//
+// +// ` +// }) +// export class ForgotPass { +// newpassword: any = newpassword; +// confirmPassword: any = confirmPassword; +// jazzMessage = 'Jazzy jazz jazz'; +// constructor(public dialogRef: MatDialogRef) { +// } +// } +//# sourceMappingURL=login.js.map + +/***/ }), + +/***/ 358: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InputPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_status_bar__ = __webpack_require__(187); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_cdk_platform__ = __webpack_require__(38); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_launch_navigator__ = __webpack_require__(359); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__otp_otp__ = __webpack_require__(198); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__ = __webpack_require__(204); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__angular_common__ = __webpack_require__(8); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__ionic_native_location_accuracy__ = __webpack_require__(390); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_constants_constants__ = __webpack_require__(22); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pd_general_images_pd_general_images__ = __webpack_require__(391); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__ionic_native_android_permissions__ = __webpack_require__(124); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pages_input_bounced_reject_bounced_reject__ = __webpack_require__(392); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + + + + + + + + +/** + * Generated class for the InputPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var currentdate = new Date().toJSON().slice(0, 19); +var InputPage = (function () { + function InputPage(navCtrl, navParams, fb, statusBar, platform, launchNavigator, aws, pdDetails, geolocation, alertCtrl, locationAccuracy, toast, constant, androidPermissions) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.statusBar = statusBar; + this.platform = platform; + this.launchNavigator = launchNavigator; + this.aws = aws; + this.pdDetails = pdDetails; + this.geolocation = geolocation; + this.alertCtrl = alertCtrl; + this.locationAccuracy = locationAccuracy; + this.toast = toast; + this.constant = constant; + this.androidPermissions = androidPermissions; + this.initiatedAccess = false; + this.scheduleAccess = false; + this.pipe = new __WEBPACK_IMPORTED_MODULE_10__angular_common__["d" /* DatePipe */]('en-US'); + this.acceptedAccess = false; + this.startedAccess = false; + this.timeOut = 15 * 1000; + this.maxdate = this.pipe.transform(new Date(), 'yyyy-MM-ddThh:mm').toString(); + /***Header value pass */ + this.statusBar.styleDefault(); + this.statusBar.overlaysWebView(false); + this.statusBar.backgroundColorByHexString('#db4437'); + var timeStart = this.pipe.transform(new Date(), 'dd/MM/yyyy hh:mm a'); + this.applicatentDetails = this.navParams.get('pdDetails'); + this.getFullPD(); + if (this.applicatentDetails.pd_status == 'ALLOCATED') { + this.acceptedAccess = true; + } + if (this.applicatentDetails.pd_status == 'ACCEPTED') { + this.scheduleAccess = true; + } + if (this.applicatentDetails.pd_status == 'SCHEDULED') { + this.initiatedAccess = true; + } + //console.log(this.initiatedAccess); + if (this.applicatentDetails.pd_status == 'INITIATED') { + this.startedAccess = true; + this.getenableAccuracy(); + } + this.users = this.aws.getlocale(); + } + InputPage.prototype.ionViewDidLoad = function () { + this.setPermission(); + }; + InputPage.prototype.ionViewCanLeave = function () { + clearInterval(this.timeInterval); + }; + InputPage.prototype.locationnavicate = function (address) { + this.launchNavigator.navigate(address); + }; + InputPage.prototype.setPermission = function () { + var _this = this; + this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION); }); + this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); + this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION); }); + this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); + }; + InputPage.prototype.getFullPD = function () { + var _this = this; + var records = { 'pdid': this.applicatentDetails.pd_id }; + this.pdDetails.getFullPDdetails(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.other_applicant = res['records'].applicants_details; + console.log(_this.other_applicant); + var courrentDateTime = _this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); + var scheduledDateTime = res['records'].pd_master_details[0].scheduled_on_for_validation; + var diffInMs = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime); + var diffInHours = Math.floor(diffInMs / 1000 / 60 / 60); + if (diffInHours <= -4) { + _this.enableStartPD = true; + } + else { + _this.enableStartPD = false; + } + } + }); + }; + InputPage.prototype.pdStatus = function (status, appdetails) { + var _this = this; + var data; + if (status == 'BOUNCED') { + data = { 'pd_id': appdetails.pd_id, 'pd_status': status, 'fk_updatedby': this.users, 'updatedon': currentdate }; + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_16__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], { 'details': data }); + // this.pdDetails.updatepdStatus(data).subscribe(res=> + // { + // this.updateStatus = res; + // if(this.updateStatus.dataStatus == true) + // { + // this.navCtrl.setRoot(PdListPage); + // } + // }) + } + else if (status == 'ACCEPTED') { + data = { 'pd_id': appdetails.pd_id, 'pd_status': status, 'fk_updatedby': this.users, 'updatedon': currentdate }; + this.pdDetails.updatepdStatus(data).subscribe(function (res) { + _this.updateStatus = res; + if (_this.updateStatus.dataStatus == true) { + _this.getNewpdupdate(); + _this.scheduleAccess = true; + } + else { + _this.scheduleAccess = false; + } + }); + } + }; + InputPage.prototype.pdschedule = function (scheduledate, appdetails) { + var _this = this; + var data; + console.log(scheduledate); + if (scheduledate != undefined) { + var schDate = scheduledate.slice(0, 19).replace('T', ' '); + console.log(schDate); + data = { 'pd_id': appdetails.pd_id, 'pd_status': 'SCHEDULED', 'scheduled_on': schDate, 'fk_updatedby': this.users, 'updatedon': currentdate }; + this.pdDetails.updatepdStatus(data).subscribe(function (res) { + _this.updateSchedule = res; + if (_this.updateSchedule.dataStatus == true) { + _this.getNewpdupdate(); + _this.initiatedAccess = true; + } + }); + } + else { + this.toast.pdTriggerappmessage("Please Choose the Schedule Date"); + } + }; + InputPage.prototype.getenableAccuracy = function () { + var _this = this; + this.locationAccuracy.canRequest().then(function (canRequest) { + if (canRequest) { + // the accuracy option will be ignored by iOS + _this.locationAccuracy.request(_this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function () { + _this.getcurrentLocation(); + }, function (error) { return alert('Error requesting location permissions' + JSON.stringify(error)); }); + } + }); + }; + InputPage.prototype.getcurrentLocation = function () { + var _this = this; + var data; + var options = { + frequency: 3000, + enableHighAccuracy: true, + timeOut: 1000, + }; + this.timeInterval = setInterval(function () { + _this.currentPosPDofficer = ''; + _this.geolocation.getCurrentPosition(options).then(function (resp) { + // resp.coords.latitude + // resp.coords.longitude + if (resp.coords != undefined) { + _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; + // this.toast.pdTriggerappmessage(this.currentPosPDofficer); + console.log(_this.currentPosPDofficer); + data = { 'pd_id': _this.applicatentDetails.pd_id, 'link': _this.currentPosPDofficer }; + _this.pdDetails.saveCurrentLocation(data).subscribe(function (res) { + // this.updateinitiated = res; + // if(this.updateinitiated.dataStatus == true) + // { + // // this.getNewpdupdate(); + // // this.startedAccess = true; + // }else + // { + // this.startedAccess = false; + // } + }); + } + }).catch(function (error) { + _this.toast.pdTriggerappmessage(error.message); + }); + }, this.timeOut); + }; + InputPage.prototype.pdreschedule = function () { + this.scheduleAccess = true; + this.initiatedAccess = false; + }; + InputPage.prototype.pdinitiated = function (appdetails) { + var _this = this; + var data; + this.locationAccuracy.canRequest().then(function (canRequest) { + if (canRequest) { + // the accuracy option will be ignored by iOS + _this.locationAccuracy.request(_this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function () { + _this.geolocation.getCurrentPosition().then(function (resp) { + // resp.coords.latitude + // resp.coords.longitude + _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; + data = { 'pd_id': appdetails.pd_id, 'pd_status': 'INITIATED', 'mobile_no': appdetails.applicat_details[0].mobile_no, 'officerName': appdetails.pd_allocated_to, 'firstName': appdetails.applicat_details[0].applicant_name, 'fk_updatedby': _this.users, 'updatedon': currentdate, 'link': _this.currentPosPDofficer }; + _this.pdDetails.updatepdStatus(data).subscribe(function (res) { + _this.updateinitiated = res; + if (_this.updateinitiated.dataStatus == true) { + _this.getNewpdupdate(); + _this.getcurrentLocation(); + _this.startedAccess = true; + } + else { + _this.startedAccess = false; + } + }); + }).catch(function (error) { + console.log('Error getting location', error); + }); + }, function (error) { return alert('Error requesting location permissions' + JSON.stringify(error)); }); + } + }); + }; + InputPage.prototype.startPdDiscussion = function (appdetails) { + var _this = this; + var data; + var alert = this.alertCtrl.create({ + title: 'Starting PD Officer', + message: 'Do you want sure PD officer Start', + buttons: [ + { + text: 'No', + role: 'cancel', + handler: function () { + // console.log('Cancel clicked'); + // this.toast.pdTriggerappmessage('') + } + }, + { + text: 'YES', + handler: function () { + _this.geolocation.getCurrentPosition().then(function (resp) { + _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; + data = { 'pd_id': appdetails.pd_id, 'pd_status': 'STARTED', 'mobile_no': appdetails.applicat_details[0].mobile_no, 'fk_updatedby': _this.users, 'updatedon': currentdate, 'link': _this.currentPosPDofficer }; + console.log(data); + _this.pdDetails.updatepdStatus(data).subscribe(function (res) { + _this.updatestarted = res; + if (_this.updatestarted.dataStatus == true) { + clearInterval(_this.timeInterval); + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_8__otp_otp__["a" /* OtpPage */], { 'pdDetails': appdetails }); + } + }); + // console.log('Buy clicked'); + }); + } + } + ] + }); + alert.present(); + }; + InputPage.prototype.getNewpdupdate = function () { + var _this = this; + this.acceptedAccess = false; + this.initiatedAccess = false; + this.scheduleAccess = false; + this.startedAccess = false; + this.pdDetails.getpddetails(this.users).subscribe(function (res) { + _this.appdata = res; + if (_this.appdata.dataStatus == true) { + _this.applicatentDetails = _this.appdata.records.filter(function (app) { return app.pd_id == _this.applicatentDetails.pd_id; })[0]; + if (_this.applicatentDetails.pd_status == 'ALLOCATED') { + _this.acceptedAccess = true; + } + if (_this.applicatentDetails.pd_status == 'ACCEPTED') { + _this.scheduleAccess = true; + } + if (_this.applicatentDetails.pd_status == 'SCHEDULED') { + _this.initiatedAccess = true; + _this.getFullPD(); + } + if (_this.applicatentDetails.pd_status == 'INITIATED') { + _this.startedAccess = true; + } + } + }); + }; + InputPage.prototype.camerasetup = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_14__pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], { 'pdDetails': this.applicatentDetails }); + }; + InputPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-input',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\input\input.html"*/'\n\n \n\n \n\n {{applicatentDetails.lender_full_name}} - {{applicatentDetails.lender_applicant_id}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n   {{applicatentDetails.applicat_details[0].applicant_name | titlecase}}\n\n \n\n
\n\n \n\n \n\n {{applicatentDetails.customer_segment_name}}\n\n \n\n
\n\n \n\n \n\n \n\n {{applicatentDetails.addressline1}}
\n\n {{applicatentDetails.city_name}}
\n\n {{applicatentDetails.state_name}}\n\n -{{applicatentDetails.pincode}}\n\n -{{applicatentDetails.other_pincode}}
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{applicatentDetails.applicat_details[0].mobile_no}} \n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{applicatentDetails.product_name}}\n\n / {{applicatentDetails.subproduct_name}}\n\n \n\n
\n\n \n\n \n\n \n\n Schedule Date\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n  {{applicatentDetails.scheduled_on}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n
Applicant # {{i+1}}
\n\n
\n\n \n\n \n\n   {{other_app.applicant_name | titlecase}}\n\n \n\n \n\n \n\n \n\n {{other_app.mobile_no}}\n\n \n\n \n\n \n\n \n\n
\n\n

\n\n \n\n
\n\n \n\n
Lender Contact Details
\n\n
\n\n \n\n \n\n \n\n \n\n   {{applicatentDetails.pd_contact_person}}\n\n \n\n \n\n \n\n \n\n {{applicatentDetails.pd_contact_mobileno}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\input\input.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], + __WEBPACK_IMPORTED_MODULE_3__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_4__angular_cdk_platform__["a" /* Platform */], __WEBPACK_IMPORTED_MODULE_5__ionic_native_launch_navigator__["a" /* LaunchNavigator */], + __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__["a" /* Geolocation */], + __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_11__ionic_native_location_accuracy__["a" /* LocationAccuracy */], __WEBPACK_IMPORTED_MODULE_12__providers_common_provider_toast__["a" /* ToastProvider */], + __WEBPACK_IMPORTED_MODULE_13__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_15__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) + ], InputPage); + return InputPage; +}()); + +//# sourceMappingURL=input.js.map + +/***/ }), + +/***/ 360: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pd_question_category_pd_question_category__ = __webpack_require__(123); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(199); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +/** + * Generated class for the PdQuestionPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var currentdate = new Date().toJSON().slice(0, 19).replace('T', ' '); +var PdQuestionPage = (function () { + function PdQuestionPage(navCtrl, navParams, platform, fb, qstDetails, aws, camera, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qstDetails = qstDetails; + this.aws = aws; + this.camera = camera; + this.toast = toast; + this.docName = []; + this.docArray = []; + this.imageArray = []; + this.SwipedTabsIndicator = null; + this.tabTitleWidthArray = []; + this.tabElementWidth_px = 50; + this.screenWidth_px = 0; + this.isRight = false; + this.isLeft = false; + this.tabs = []; + this.screenWidth_px = platform.width(); + this.questionAnswer = this.fb.group({ + answerDetails: [null], + items: this.fb.array([]), + }); + this.questionanotherData = this.fb.group({ + questionRemarks: [null] + }); + this.getpdQuestionDetails(); + this.userid = this.aws.getlocale(); + } + PdQuestionPage.prototype.ionViewDidLoad = function () { + }; + PdQuestionPage.prototype.ionViewDidEnter = function () { + this.SwipedTabsIndicator = document.getElementById("indicator"); + for (var i in this.tabs) + this.tabTitleWidthArray.push(document.getElementById("tabTitle" + i).offsetWidth); + this.selectTab(0); + }; + PdQuestionPage.prototype.ionViewWillLeave = function () { + this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_5__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': this.pdinfo }); + }; + PdQuestionPage.prototype.scrollIndicatiorTab = function () { + this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - this.screenWidth_px / 2, 0); + // let answerDetails = this.questionAnswer.value; + // let remarks = this.questionanotherData.value; + if (this.isLeft) { + //this.prev(answerDetails,remarks,this.questionDetails); + } + if (this.isRight) { + //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails); + } + }; + PdQuestionPage.prototype.selectTab = function (index) { + this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; + this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; + this.SwipedTabsSlider.slideTo(index); + }; + PdQuestionPage.prototype.calculateDistanceToSpnd = function (index) { + var result = 0; + for (var _i = 0; _i < index; _i++) { + result = result + this.tabTitleWidthArray[_i]; + } + return result; + }; + PdQuestionPage.prototype.updateIndicatorPosition = function () { + var index = this.SwipedTabsSlider.getActiveIndex(); + if (this.SwipedTabsSlider.length() == index) + index = index - 1; + this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; + this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; + }; + PdQuestionPage.prototype.updateIndicatorPositionOnTouchEnd = function () { + var _this = this; + setTimeout(function () { _this.updateIndicatorPosition(); }, 200); + }; + PdQuestionPage.prototype.animateIndicator = function ($event) { + this.isLeft = false; + this.isRight = false; + var currentSliderCenterProgress = (1 / (this.SwipedTabsSlider.length() - 1)) * this.SwipedTabsSlider.getActiveIndex(); + if ($event.progress < currentSliderCenterProgress) { + this.isLeft = true; + this.isRight = false; + } + if ($event.progress > currentSliderCenterProgress) { + this.isLeft = false; + this.isRight = true; + } + if (this.SwipedTabsSlider.isEnd()) + this.isRight = false; + if (this.SwipedTabsSlider.isBeginning()) + this.isLeft = false; + if (this.isRight) + this.SwipedTabsIndicator.style.webkitTransform = + 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) + + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() + 1]) + + 'px,0,0)'; + if (this.isLeft) + this.SwipedTabsIndicator.style.webkitTransform = + 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) + + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() - 1]) + + 'px,0,0)'; + if (!this.isRight && !this.isLeft) + this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()] + "px"; + }; + /** + * Pd Discussion Qustion Load + */ + PdQuestionPage.prototype.getpdQuestionDetails = function () { + this.questionDetails = this.navParams.get('questionDetails'); + this.pdinfo = this.navParams.get('pdDetails'); + for (var _a = 0, _b = this.questionDetails.questions; _a < _b.length; _a++) { + var qustimage = _b[_a]; + if (qustimage.images !== undefined) { + for (var _c = 0, _d = qustimage.images; _c < _d.length; _c++) { + var image = _d[_c]; + image.questionId = qustimage.fk_question_id; + this.docArray.push(image); + } + for (var _e = 0, _f = qustimage.answers; _e < _f.length; _e++) { + var answers = _f[_e]; + if (qustimage.fk_question_answertype == 3) { + this.items = this.questionAnswer.get('items'); + this.items.push(this.getquestionAnswer(answers)); + } + } + } + } + for (var i = 1; i <= this.questionDetails.questions_count; i++) { + var j = i.toString(); + this.tabs.push(j); + } + }; + PdQuestionPage.prototype.getquestionAnswer = function (answers) { + return this.fb.group({ + "pd_detail_answer_id": answers.pd_detail_answer_id, + "pd_answer_id": answers.question_answer_id, + "pd_answer": answers.answer, + "pd_answer_weightage": answers.template_answer_weightage, + "fk_pd_id": this.pdinfo.pd_id, + "fk_pd_detail_id": answers.fk_pd_detail_id, + "checkbox": (answers.isactive == null ? false : true) + }); + }; + // count = 0; + PdQuestionPage.prototype.getDocUpload = function (qustid) { + var _this = this; + // this.docqustid = qustId; + this.camera.getpicture().then(function (res) { + if (res !== undefined) { + _this.docArray.push({ 'pd_document_name': res, 'pd_document_title': '', 'questionId': qustid }); + } + }); + // this.count++; + }; + PdQuestionPage.prototype.docnames = function (name, id, image, qustid) { + this.docArray[id] = { 'pd_document_name': image, 'pd_document_title': name, 'questionId': qustid }; + }; + PdQuestionPage.prototype.removeimage = function (index) { + //for(let i=0;i<=this.igrimage.length;i++){ + //if(this.igrimage[i]== this.igrimage[index]){ + this.docArray.splice(index, 1); + //} + //} + }; + PdQuestionPage.prototype.saveQuestionDetails = function (answerDetails, questionRemarks, questionDetails) { + for (var _a = 0, _b = this.docArray; _a < _b.length; _a++) { + var docs = _b[_a]; + if (docs.pd_document_title != '' && docs.pd_document_title != null && docs.pd_document_title !== undefined) { + //alert(); + this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': docs.pd_document_title }); + // return true; + } + else { + //alert(); + this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': "docNames" }); + } + } + if (answerDetails.answerDetails != null) { + //alert('answers'); + var pd_id = this.pdinfo.pd_id; + var catid = questionDetails.fk_question_category_id; + var qt_id = questionDetails.questions.filter(function (qst) { return qst.template_question_id == answerDetails.answerDetails.fk_template_question_id; })[0]; + var qut_id = qt_id.fk_question_id; + var qustName = qt_id.question; + var qut_weightage = qt_id.question_weightage; + var ans_id = answerDetails.answerDetails.fk_question_answer_id; + var pd_answer = answerDetails.answerDetails.answer; + var ans_weightage = answerDetails.answerDetails.template_answer_weightage; + var pd_remarks = questionRemarks.questionRemarks; + var updatedby = ''; + var updateon = ''; + var createdby = ''; + var createon = ''; + var pd_details_id = ''; + var pd_detail_answer_id = ''; + if (qt_id.pd_detail_id == null) { + createdby = this.userid; + createon = currentdate; + pd_details_id = ''; + } + else { + pd_details_id = qt_id.pd_detail_id; + updatedby = this.userid; + updateon = currentdate; + pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id; + } + var saveRecords = { + "pd_detail_id": pd_details_id, + "fk_pd_id": pd_id, + "fk_category_id": catid, + "fk_question_id": qut_id, + "pd_question": qustName, + "pd_question_weightage": qut_weightage, + "question_remark": pd_remarks, + "answers": [{ "pd_detail_answer_id": pd_detail_answer_id, + "pd_answer_id": ans_id, + "pd_answer": pd_answer, + "pd_answer_weightage": qut_weightage, + "fk_pd_id": pd_id, + "fk_pd_detail_id": pd_details_id, + }], + "fk_createdon": createon, + "createdby": createdby, + "fk_updatedon": updateon, + "updatedby": updatedby, + "images": this.imageArray || "", + }; + // this.qstDetails.saveQusetion(saveRecords).subscribe(res=> + // { + // this.qustCate = res; + // if(this.qustCate.dataStatus == true){ + // this.SwipedTabsSlider.slideNext(); + // this.docArray = []; + // this.getcategoryList(qt_id,pd_id); + // } + // }) + // }else + // { + // this.SwipedTabsSlider.slideNext(); + } + }; + PdQuestionPage.prototype.getcategoryList = function (qustinfo, pdId) { + var _this = this; + var qustDetails = { "question_id": qustinfo.fk_question_id, "pd_id": pdId, "template_id": qustinfo.fk_template_id, "category_id": qustinfo.fk_template_question_category_id + }; + var answerData; + this.qstDetails.getAnswerTemplate(qustDetails).subscribe(function (res) { + answerData = res; + if (answerData.dataStatus == true) { + // answerData = answerData.records; + // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0]; + // eachquestion['answers'] = answerData.answers; + // this.questionDetails = + // this.imageArray = answerData.images; + // for(let docs of this.imageArray) + // { + // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''}) + // } + _this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark); + } + }); + }; + PdQuestionPage.prototype.prev = function (answerDetails, questionRemarks, questionDetails) { + var _this = this; + for (var _a = 0, _b = this.docArray; _a < _b.length; _a++) { + var docs = _b[_a]; + if (docs.pd_document_title != '' && docs.pd_document_title != null && docs.pd_document_title !== undefined) { + //alert(); + this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': docs.pd_document_title }); + // return true; + } + else { + //alert(); + this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': "docNames" }); + } + } + if (answerDetails.answerDetails != null) { + //alert('answers'); + var pd_id_1 = this.pdinfo.pd_id; + var catid = questionDetails.fk_question_category_id; + var qt_id_1 = questionDetails.questions.filter(function (qst) { return qst.template_question_id == answerDetails.answerDetails.fk_template_question_id; })[0]; + var qut_id = qt_id_1.fk_question_id; + var qustName = qt_id_1.question; + var qut_weightage = qt_id_1.question_weightage; + var ans_id = answerDetails.answerDetails.fk_question_answer_id; + var pd_answer = answerDetails.answerDetails.answer; + var ans_weightage = answerDetails.answerDetails.template_answer_weightage; + var pd_remarks = questionRemarks.questionRemarks; + var updatedby = ''; + var updateon = ''; + var createdby = ''; + var createon = ''; + var pd_details_id = ''; + var pd_detail_answer_id = ''; + if (qt_id_1.pd_detail_id == null) { + createdby = this.userid; + createon = currentdate; + pd_details_id = ''; + } + else { + pd_details_id = qt_id_1.pd_detail_id; + updatedby = this.userid; + updateon = currentdate; + pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id; + } + var saveRecords = { + "pd_detail_id": pd_details_id, + "fk_pd_id": pd_id_1, + "fk_category_id": catid, + "fk_question_id": qut_id, + "pd_question": qustName, + "pd_question_weightage": qut_weightage, + "question_remark": pd_remarks, + "answers": [{ "pd_detail_answer_id": pd_detail_answer_id, + "pd_answer_id": ans_id, + "pd_answer": pd_answer, + "pd_answer_weightage": qut_weightage, + "fk_pd_id": pd_id_1, + "fk_pd_detail_id": pd_details_id, + }], + "fk_createdon": createon, + "createdby": createdby, + "fk_updatedon": updateon, + "updatedby": updatedby, + "images": this.imageArray || "", + }; + this.qstDetails.saveQusetion(saveRecords).subscribe(function (res) { + _this.qustCate = res; + if (_this.qustCate.dataStatus == true) { + _this.SwipedTabsSlider.slidePrev(); + _this.docArray = []; + _this.getcategoryList(qt_id_1, pd_id_1); + } + }); + } + else { + if (this.SwipedTabsSlider.getActiveIndex() != 0) { + this.SwipedTabsSlider.slidePrev(); + } + } + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('SwipedTabsSlider'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["v" /* Slides */]) + ], PdQuestionPage.prototype, "SwipedTabsSlider", void 0); + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('MultiItemsScrollingTabs'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) + ], PdQuestionPage.prototype, "ItemsTitles", void 0); + PdQuestionPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question.html"*/'\n\n\n\n\n\n \n\n \n\n {{questionDetails.category_name}} Category\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tab}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n\n\n\n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{qustDetails.question}}

\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n {{answerType.answer}}\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n\n\n
\n\n \n\n \n\n
\n\n
\n\n {{img.pd_document_title}}\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n\n\n \n\n \n\n \n\n {{ control.controls.pd_answer.value }}\n\n \n\n\n\n \n\n\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n\n\n
\n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["u" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionPage); + return PdQuestionPage; +}()); + +//# sourceMappingURL=pd-question.js.map + +/***/ }), + +/***/ 362: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAddressPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionAddressPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAddressPage = (function () { + // counts:number = 1; + function PdQuestionAddressPage(navCtrl, navParams, fb, qustCat, aws, toast, alerCtrl, constant) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.alerCtrl = alerCtrl; + this.constant = constant; + //placeholderName : any = 'Estimated area of the (Address Type)'; + this.placeholderName = []; + this.premisesRentAmtInwords = []; + this.locality = []; + this.pdlocation = []; + this.addressTypes = []; + this.addressRemarksAccess = false; + this.cityData = []; + this.pincodeData = []; + this.stateData = []; + this.uomData = []; + this.questionDetails = this.navParams.get('questionDetails'); + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + this.users = this.aws.getlocale(); + // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){ + // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3; + // }else{ + // this.address = this.pdDetails.addressline1+', - , -'; + // } + // this.pdState = this.pdDetails.fk_state; + // this.getCityAndPincodeDetails(this.pdState); + // this.pdCity = this.pdDetails.fk_city; + // this.pdPincode = this.pdDetails.pincode_id; + // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : ''; + this.getdropdownlist(); + this.pdQuestionAddress = this.fb.group({ + addresses: this.fb.array([]), + address_form_remark: [''] + // address_ownership:[null], + // other_ownership:[null], + // rent_amt:[null], + // other_premises_bussiness_activity : [null], + // bussiness_activity_remark:[null], + // bussiness_activity:[null], + // bussiness_address_type:[null], + // bussiness_address_type_others:[null], + // business_years:[null], + // business_month:[null], + // additional_address_units: this.fb.array([]), + }); + this.getaddressForm(); + //this.loadPD() + } + PdQuestionAddressPage.prototype.ionViewDidLoad = function () { + //this.addUnits(); + console.log("ionViewDidLoad PdQuestionAddressPage"); + }; + PdQuestionAddressPage.prototype.ionViewWillLeave = function () { + // let method = this.alerCtrl.create({ + // message: 'Do You Want Save', + // buttons: [ + // { + // text: 'Save', + // cssClass: 'method-color', + // handler: () => { + // + // } + // }, + // { + // text: 'Cancel', + // cssClass: 'method-color', + // handler: () => { + // + // this.navCtrl.pop(); + // } + // } + // ] + // }); + // method.present() + }; + /** To Get City And Pincode Data For Address Form + * Param 'stateID' -> selected StateId + */ + PdQuestionAddressPage.prototype.getCityAndPincodeDetails = function (stateID, i) { + var _this = this; + this.qustCat.getStateWiseCities(stateID).subscribe(function (data) { + if (data.status == 200) { + _this.cityData[i] = data.records.cities; + _this.pincodeData[i] = data.records.pincode; + } + }); + }; + PdQuestionAddressPage.prototype.getdropdownlist = function () { + // this.addressTypes = [ + var _this = this; + // {'id':'Office','Name':'Office'}, + // {'id':'Clinic','Name':'Clinic'}, + // {'id':'Factory','Name':'Factory'}, + // {'id':'Warehouse','Name':'Warehouse'}, + // {'id':'Shop','Name':'Shop'}, + // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'}, + // {'id':'Residence','Name':'Residence'}, + // {'id':'OTHERS','Name':'OTHERS'} + // ]; + this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.addressTypes = res['records'].filter(function (add) { return add.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(function (res) { + _this.pdlocation = res; + if (_this.pdlocation.dataStatus == true) { + _this.pdlocation = _this.pdlocation.records.filter(function (loca) { return loca.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(function (res) { + _this.cmtlocality = res; + if (_this.cmtlocality.dataStatus == true) { + _this.cmtlocality = _this.cmtlocality.records.filter(function (loc) { return loc.isactive == 1; }); + } + }); + // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=> + // { + // this.custBehaviour = res; + // if(this.custBehaviour.dataStatus == true) + // { + // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1); + // } + // }) + this.qustCat.getcommondrop('LOCALITY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.locality = res['records'].filter(function (loc) { return loc.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.residence = res['records'].filter(function (red) { return red.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('CITY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.CITY = res['records'].filter(function (red) { return red.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('STATE').subscribe(function (res) { + _this.stateData = res['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustCat.getcommondrop('UOM').subscribe(function (res) { + _this.uomData = res['records'].filter(function (val) { return val.isactive == 1; }); + }); + }; + // checkaddress(value) + // { + // + // if(value=="OTHERS") + // { + // this.addressRemarksAccess = true; + // }else + // { + // this.addressRemarksAccess = false; + // } + // } + // createItem(): FormGroup { + // return this.fb.group({ + // name: [null], + // do_you_know: [null], + // how_long: [null], + // is_owner: [null], + // }); + // }; + PdQuestionAddressPage.prototype.createUnits = function (val) { + if (val == null) { + return this.fb.group({ + no_of_additional_units: [''], + premises_type: [''], + premises_type_others: [''], + premises_city: [''], + // premises_ownership: [''], + //premises_ownership_others: [''], + //premises_rent_amt:[''], + premises_remarks: [''], + }); + } + else { + return this.fb.group({ + no_of_additional_units: [val.no_of_additional_units], + premises_type: [val.premises_type], + premises_type_others: [val.premises_type_others], + premises_city: [val.premises_city], + // premises_ownership: [val.premises_ownership], + // premises_ownership_others: [val.other_ownership], + // premises_rent_amt:[val.rent_amt], + premises_remarks: [val.premises_remarks], + }); + } + }; + PdQuestionAddressPage.prototype.addUnits = function () { + this.items = this.pdQuestionAddress.get('additional_address_units'); + this.items.push(this.createUnits(null)); + }; + PdQuestionAddressPage.prototype.removeUnits = function (i) { + this.items.removeAt(i); + }; + PdQuestionAddressPage.prototype.ConvertMonthintoYear = function (e) { + var business_year = this.pdQuestionAddress.controls.business_years.value; + var converted_month = e % 12; + var converted_year = e / 12; + this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year)); + this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month)); + }; + PdQuestionAddressPage.prototype.initAddress = function (AddressDetails) { + if (AddressDetails != null) { + return this.fb.group({ + address: [AddressDetails.address, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + address_type: [AddressDetails.address_type, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + address_type_others: [AddressDetails.address_type_others], + state: [AddressDetails.state], + city: [AddressDetails.city], + pincode: [AddressDetails.pincode], + pincode_others: [AddressDetails.pincode_others, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(6), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(6)])], + locality: [AddressDetails.locality, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + locality_others: [AddressDetails.locality_others], + locality_mixuse: [AddressDetails.locality_mixuse], + pd_location: [AddressDetails.pd_location, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + comment_locality: [AddressDetails.comment_locality, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + estimated_area: [AddressDetails.estimated_area], + uom: [AddressDetails.uom], + uom_others: [AddressDetails.uom_others] + }); + } + else { + return this.fb.group({ + address: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + address_type: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + address_type_others: [''], + state: [''], + city: [''], + pincode: [''], + pincode_others: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(6), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(6)])], + locality: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + locality_others: [''], + locality_mixuse: [''], + pd_location: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + comment_locality: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + estimated_area: [''], + uom: [''], + uom_others: [''] + }); + } + }; + /** On Key Press Event For Numbers */ + PdQuestionAddressPage.prototype.keyPress = function (event) { + var pattern = /[0-9]/; + var inputChar = String.fromCharCode(event.charCode); + if (event.keyCode != 8 && !pattern.test(inputChar)) { + event.preventDefault(); + } + }; + PdQuestionAddressPage.prototype.inWords = function (e, i) { + this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value); + }; + PdQuestionAddressPage.prototype.inWordsForRent = function (e) { + this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value); + }; + PdQuestionAddressPage.prototype.selectedAddressType = function (e, i) { + this.placeholderName[i] = 'Estimated area of the ' + e; + }; + PdQuestionAddressPage.prototype.savepdQuestion = function (answerData) { + var _this = this; + var records = {}; + // records.address = answerData.address; + // if(answerData.address_type_others != null){ + // records.address_type_others = answerData.address_type_others; + // } + // // records.state =answerData.state + // records.city = answerData.city + // records.pincode = answerData.pincode + // records.pincode_others = answerData.pincode== 1 ? + // this.pdQuestionAddress.controls.pincode_others.value : ''; + // records.address_type = answerData.address_type; + // records.locality = answerData.locality; + // records.locality_others = answerData.locality == 1 ? + // this.pdQuestionAddress.controls.locality_others.value : ''; + // records.locality_mixuse = answerData.locality == 5 ? + // this.pdQuestionAddress.controls.locality_mixuse.value : ''; + // records.pd_location = answerData.pd_location; + // records.comment_locality = answerData.comment_locality; + // records.other_comment_locality = answerData.other_comment_locality; + // records.estimated_area = answerData.estimated_area; + // records.uom = answerData.uom; + // records.uom_others = answerData.uom == 1 ? + // this.pdQuestionAddress.controls.uom_others.value : ''; + // records.customer_behaviour = answerData.customer_behaviour; + // records.neighbourhood = answerData.neighbourhood; + console.log("Answer DAta", answerData); + records.addresses = answerData.addresses; + records.address_form_remark = answerData.address_form_remark; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.address_form_remark = answerData.address_form_remark; + // records.address_ownership = answerData.address_ownership; + // records.other_ownership = answerData.other_ownership; + // records.rent_amt = answerData.rent_amt; + // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity; + // records.bussiness_activity = answerData.bussiness_activity; + // records.bussiness_activity_remark = answerData.bussiness_activity_remark; + // records.business_years = answerData.business_years; + // records.business_month = answerData.business_month; + // records.additional_address_units = answerData.additional_address_units; + this.qustCat.saveForm(records).subscribe(function (data) { + // let params: any = {}; + // params.pd_id = '250'; + // params.pd_form_id = '250'; + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + }, function (err) { + _this.toast.pdTriggerappmessage('Something went wrong '); + }); + }; + PdQuestionAddressPage.prototype.getaddressForm = function () { + var _this = this; + var res; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + var control = _this.pdQuestionAddress.controls['addresses']; + _this.getaddressDetails = res; + if (_this.getaddressDetails.dataStatus == true) { + if (_this.getaddressDetails.records.addresses) { + _this.getaddressDetails = _this.getaddressDetails.records.addresses; + if (_this.getaddressDetails.length == 0) { + control.push(_this.initAddress('')); + } + else { + _this.getaddressDetails.forEach(function (datas, index) { + var val = { + 'address': datas.address, + 'address_type': datas.address_type, + 'address_type_others': datas.address_type_others, + 'state': datas.state, + 'city': datas.city, + 'pincode': datas.pincode, + 'pincode_others': datas.pincode_others, + 'locality': datas.locality, + 'locality_others': datas.locality_others, + 'locality_mixuse': datas.locality_mixuse, + 'pd_location': datas.pd_location, + 'comment_locality': datas.comment_locality, + 'estimated_area': datas.estimated_area, + 'uom': datas.uom, + 'uom_others': datas.uom_others + }; + _this.getCityAndPincodeDetails(datas.state, index); + var selectedAddressType = _this.addressTypes.filter(function (element) { return element.address_type_id == datas.address_type; })[0]; + _this.selectedAddressType(selectedAddressType.address_type, index); + if (datas.address_type == 1) { + _this.selectedAddressType(datas.address_type_others, index); + } + control.push(_this.initAddress(val)); + }); + _this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark); + } + // if(this.getaddressDetails.additional_address_units != null){ + // var result = Object.keys(res['records'].additional_address_units).map(function(key) { + // // return res['records'].additional_address_units[key]; + // //for slicing the automatically created + // }); + // //this.removeUnits(0); + // } + // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray; + // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address); + // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state) + // if (this.getaddressDetails.state != '') { + // this.getCityAndPincodeDetails(this.getaddressDetails.state); + // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city); + // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode); + // if (this.getaddressDetails.pincode == 1) { + // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others); + // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]); + // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity(); + // } + // } + // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location); + // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type); + // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type); + // this.selectedAddressType(selectedAddressType); + // if(this.getaddressDetails.address_type != null) { + // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others); + // this.selectedAddressType(this.getaddressDetails.address_type_others); + // } + // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality); + // if(this.getaddressDetails.comment_locality != null){ + // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality); + // } + // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour); + // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality); + // if(this.getaddressDetails.locality == 1 ){ + // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others); + // } + // if(this.getaddressDetails.locality == 5){ + // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse) + // } + // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area); + // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom); + // if (this.getaddressDetails.uom == 1) { + // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others); + // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required]) + // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity(); + // } + // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark); + // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership); + // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership); + // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt); + // if(this.getaddressDetails.rent_amt != null){ + // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt); + // } + // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity); + // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) { + // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity); + // } + // else{ + // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(''); + // } + // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity); + // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years); + // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month); + /* if(this.getaddressDetails.bussiness_activity == 'yes') { + + if (result.length == 0) { + + control.push(this.createUnits(null)); + } else {*/ + //for(let val of this.getaddressDetails.additional_address_units){ + //control.push(this.createUnits(val)); + //} + //result.forEach((datas,index) => { + //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt); + //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas); + //}); + //} + // } + } + else { + control.push(_this.initAddress('')); + } + } + else + _this.loadPD(); + }); + }; + PdQuestionAddressPage.prototype.loadPD = function () { + var _this = this; + var control = this.pdQuestionAddress.controls['addresses']; + this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(function (res) { + if (res.dataStatus == true) { + _this.addressesList = res.records.filter(function (item) { return item.isactive == 1; }); + console.log('this.addressesList', _this.addressesList); + if (_this.addressesList.length > 0) { + _this.addressesList.forEach(function (datas, index) { + var obj = { + 'address': datas.addressline1, + 'address_type': '', + 'address_type_others': '', + 'state': datas.fk_state, + 'city': datas.fk_city, + 'pincode': datas.pincode_id, + 'pincode_others': datas.other_pincode, + 'locality': '', + 'locality_others': '', + 'locality_mixuse': '', + 'pd_location': '', + 'comment_locality': '', + 'estimated_area': '', + 'uom': '', + 'uom_others': '' + }; + _this.getCityAndPincodeDetails(datas.fk_state, index); + control.push(_this.initAddress(obj)); + }); + } + else { + control.push(_this.initAddress('')); + } + } + else { + control.push(_this.initAddress('')); + } + }); + }; + PdQuestionAddressPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-address',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-address\pd-question-address.html"*/'\n\n\n\n \n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
Address Details # {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{SL.name}}\n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n\n\n \n\n \n\n Select\n\n {{PL.pincode}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n --\n\n {{m_addressType.address_type}} \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n \n\n
\n\n \n\n \n\n --\n\n {{m_locality.locality_name}}\n\n \n\n\n\n \n\n \n\n
\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n --\n\n {{data.description}}\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n --\n\n {{data.rating}}\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-address\pd-question-address.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAddressPage); + return PdQuestionAddressPage; +}()); + +//# sourceMappingURL=pd-question-address.js.map + +/***/ }), + +/***/ 363: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionEmpInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/** + * Generated class for the PdQuestionEmpInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionEmpInfoPage = (function () { + function PdQuestionEmpInfoPage(navCtrl, navParams, fb) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.questionDetails = this.navParams.get('questionDetails'); + this.pdDetails = this.navParams.get('pdDetails'); + this.empInfo = this.fb.group({ + nameOfEmp: [null], + yearWithEmp: [null], + empMet: [null], + designationOfEmp: [null], + salaryConfirm: [null], + actualSalary: [null], + attRegisterSeen: [null], + salaryRegisterSeen: [null] + }); + } + PdQuestionEmpInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionEmpInfoPage'); + }; + PdQuestionEmpInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-emp-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-emp-info\pd-question-emp-info.html"*/'\n\n\n\n \n\n \n\n Employee Salary Category\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n

Emp Met

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n \n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n

Salary amt confirmed

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n

Attendance Register seen

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n\n\n \n\n

Salary register seen

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n\n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-emp-info\pd-question-emp-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */]]) + ], PdQuestionEmpInfoPage); + return PdQuestionEmpInfoPage; +}()); + +//# sourceMappingURL=pd-question-emp-info.js.map + +/***/ }), + +/***/ 364: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionCurrentLoansPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionCurrentLoansPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionCurrentLoansPage = (function () { + function PdQuestionCurrentLoansPage(navCtrl, navParams, fb, qustCat, toast, aws, constant) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.toast = toast; + this.aws = aws; + this.constant = constant; + this.applicants = []; + this.placeholderName = []; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.amtInwords = []; + this.emiAmtInwords = []; + this.dataFromAssets = []; + this.labelArr = []; + this.investmentTypeData = []; + this.applicants = []; + this.questionDetails = this.navParams.get('questionDetails'); + this.pdDetails = this.navParams.get('pdDetails'); + this.pdid = this.pdDetails.pd_id; + this.FormId = this.navParams.get('FormId'); + this.applicants = this.pdDetails.applicat_details; + this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); + this.getdropdown(); + // this.applicants.push + this.users = this.aws.getlocale(); + this.currentLoans = this.fb.group({ + existing_loan: [null], + currentloan_remarks: [null], + loan_details: this.fb.array([]) + }); + } + PdQuestionCurrentLoansPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + this.getcurrentLoans(); + }; + PdQuestionCurrentLoansPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (res) { + _this.lenderData = res['records'].filter(function (len) { return len.isactive == 1; }); + }); + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + _this.frequencyData = res['records'].filter(function (frq) { return frq.isactive == 1; }); + }); + this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(function (val) { + _this.loanTypeData = val['records'].filter(function (loan) { return loan.isactive == 1; }); + }); + this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { + // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + if (data['dataStatus'] == true) { + _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + } + var modifyCompanyList = []; + if (_this.existCompanyList.length > 0) { + modifyCompanyList = _this.existCompanyList.map(function (element) { + return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; + }); + //modifyCompanyList.push({'id':"0",'name':'Others','group_id':1}) + _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); + // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + } + }); + var modifyApplicantList = []; + if (this.applicants.length > 0) { + modifyApplicantList = this.applicants.map(function (element) { + return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; + }); + this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); + } + this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(function (data) { + _this.investmentTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(function (data) { + _this.addressTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustCat.getcommondrop('PROPERTIES').subscribe(function (data) { + _this.propertyTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + }; + PdQuestionCurrentLoansPage.prototype.exitsCheck = function (val) { + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + if (val == "Yes") { + this.addLoanDetails(); + } + }; + PdQuestionCurrentLoansPage.prototype.createLoanDetail = function (data) { + return this.fb.group({ + label: data == null ? [''] : [data.label], + other_frequency: [''], + loan_amount: [''], + frequency: [''], + emi: [''], + loan_type: [''], + others_loan_type: [''], + loan_taken_by: [''], + others_loan_taken: [''], + lender: [''], + others_lender: [''], + original_tenure: [''], + current_balance_tenure: [''], + elapsed_tenure: [], + }); + }; + PdQuestionCurrentLoansPage.prototype.addLoanDetails = function () { + var control = this.currentLoans.controls['loan_details']; + control.push(this.createLoanDetail(null)); + }; + PdQuestionCurrentLoansPage.prototype.deleteLoanDetails = function (index) { + var control = this.currentLoans.controls['loan_details']; + if (control.length == 1) { + this.currentLoans.controls['loan_details'].reset(); + } + else { + control.removeAt(index); + } + }; + PdQuestionCurrentLoansPage.prototype.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + PdQuestionCurrentLoansPage.prototype.checkOthers = function (values) { + if (values != null) { + return values.id == 0 ? true : false; + } + else { + return false; + } + }; + PdQuestionCurrentLoansPage.prototype.checkTenure = function (details) { + var originalTenure = details.value.original_tenure; + // alert(originalTenure); + details.controls.current_balance_tenure.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(+originalTenure)]); + details.controls.current_balance_tenure.updateValueAndValidity(); + // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]); + // details.controls.current_balance_tenure.updateValueAndValidity(); + // let BalanceTenure = details.value.current_balance_tenure; + // if( originalTenure < BalanceTenure){ + // alert('Greater'); + // details.controls.current_balance_tenure.setValue(''); + // alert('validation setted For'); + // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]); + // details.controls.current_balance_tenure.updateValueAndValidity(); + // } + }; + PdQuestionCurrentLoansPage.prototype.calculateTenure = function (details) { + var ElapsedValues; + if (details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '') { + ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure; + details.controls['elapsed_tenure'].setValue(ElapsedValues); + } + }; + PdQuestionCurrentLoansPage.prototype.keyPress = function (event) { + var pattern = /[0-9]/; + var inputChar = String.fromCharCode(event.charCode); + if (event.keyCode != 8 && !pattern.test(inputChar)) { + event.preventDefault(); + } + }; + PdQuestionCurrentLoansPage.prototype.inWords = function (e, i, flag) { + switch (flag) { + case 1: + this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value); + break; + case 2: + this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value); + break; + default: + break; + } + }; + PdQuestionCurrentLoansPage.prototype.selectedfrequency = function (e, i) { + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + // alert('function in'); + switch (+e) { + case 1: + this.placeholderName[i] = 'Instalment Amount'; + break; + case 2: + this.placeholderName[i] = 'Annual Instalment Amount'; + break; + case 3: + this.placeholderName[i] = 'Halfyearly Instalment Amount'; + break; + case 4: + this.placeholderName[i] = 'Fortnightly Instalment Amount'; + break; + case 5: + this.placeholderName[i] = 'Daily Instalment Amount'; + break; + case 6: + this.placeholderName[i] = 'Quarterly Instalment Amount'; + break; + case 7: + this.placeholderName[i] = 'Monthly Instalment Amount'; + break; + default: + this.placeholderName[i] = 'Instalment Amount'; + break; + } + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + }; + PdQuestionCurrentLoansPage.prototype.submitCurrentloan = function (answerData) { + var _this = this; + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + var records = {}; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.existing_loan = answerData.existing_loan; + records.loan_details = answerData.loan_details; + records.currentloan_remarks = answerData.currentloan_remarks; + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + this.qustCat.saveForm(records).subscribe(function (data) { + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + if (data['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + _this.navCtrl.pop(); + } + }); + }; + PdQuestionCurrentLoansPage.prototype.getcurrentLoans = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + var control = _this.currentLoans.controls['loan_details']; + if (res['dataStatus'] == true) { + var currentLoanDetails = res['records']; + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + if (res['records'].loan_details !== undefined && res['records'].loan_details != null && res['records'].loan_details != '') { + var result = Object.keys(res['records'].loan_details).map(function (key) { + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + return res['records'].loan_details[key]; + }); + _this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan); + _this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks); + var control_1 = _this.currentLoans.controls['loan_details']; + if (currentLoanDetails.existing_loan != 'No') { + if (result.length == 0) { + control_1.push(_this.createLoanDetail(null)); + } + else { + result.forEach(function (datas, index) { + // let objs = { + // 'label': datas.label, + // 'loan_amount': datas.loan_amount, + // 'frequency':datas.frequency, + // 'other_frequency':datas.other_frequency, + // 'emi': datas.emi, + // 'loan_type': datas.loan_type, + // 'others_loan_type': datas.others_loan_type, + // 'loan_taken_by':datas.loan_taken_by, + // 'others_loan_taken':datas.others_loan_taken, + // 'lender': datas.lender, + // 'others_lender':datas.others_lender, + // 'original_tenure': datas.original_tenure, + // 'current_balance_tenure': datas.current_balance_tenure, + // 'elapsed_tenure':datas.elapsed_tenure + // } + control_1.push(_this.createLoanDetail(null)); + _this.selectedfrequency(datas.frequency, index); + if (datas.loan_amount != '') { + _this.amtInwords[index] = _this.constant.convertNumberToWords(datas.loan_amount); + } + if (datas.emi != '') { + _this.emiAmtInwords[index] = _this.constant.convertNumberToWords(datas.emi); + } + }); + _this.currentLoans.controls['loan_details'].setValue(result); + } + } + } + else { + _this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan); + _this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks); + } + } + else { + // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + _this.qustCat.getAssetsWithLoanFromBusiness(_this.pdid).subscribe(function (data) { + // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + if (data.dataStatus == true) { + // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + var AssetData = data.record; + // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + if (AssetData.business_address_asset.length > 0) { + AssetData.business_address_asset.map(function (element) { + _this.dataFromAssets.push({ mode: 0, + mode_name: element.address_label, + details: [], + owner_name: element.business_name_of_the_owner, + form_type: 'Data From Bussiness Address' }); + }); + } + if (AssetData.business_assets.length > 0) { + AssetData.business_assets.map(function (element) { + _this.dataFromAssets.push({ mode: element.business_assets_mode, + mode_name: element.business_assets_mode_name, + details: element.business_details, + owner_name: element.business_name_of_the_owner, + form_type: 'Data From Business Assets' }); + }); + } + if (AssetData.other_assests.length > 0) { + AssetData.other_assests.map(function (element) { + _this.dataFromAssets.push({ mode: element.assets_mode, + mode_name: element.assets_mode_name, + details: element.details, + owner_name: element.name_of_the_owner, + form_type: 'Data From Other Asset' + }); + }); + // id: "4", name: "Equipments and machinaries", isactive: "1", flag: "1", is_others: "0" + // id: "7", name: "Investments", isactive: "1", flag: "0", is_others: "0" + // id: "6", name: "Life Insurance Policy", isactive: "1", flag: "0", is_others: "0" + // id: "2", name: "Property", isactive: "1", flag: "1", is_others: "0" + // id: "3", name: "Vehicle", isactsive: "1", flag: "1", is_others: "0" + // id: "1", name: "Others", isactive: "1", flag: "1", is_others: "1"} + if (_this.dataFromAssets.length > 0) { + var labelarray_1 = []; + _this.dataFromAssets.forEach(function (val, index) { + if (val.mode == 0) { + var owner = val.owner_name.map((function (e) { + return e.name.split(','); + })); + // labelarray[index] = ' : '+owner +' - '+ val.mode_name.split("/")[0] + ' ( ' + val.mode_name.split("/")[1] + ' )'; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name; + } + if (val.mode == 1) { + var data_1; + var owner = void 0; + val.details.forEach(function (v, index) { + data_1 = v.any_other_assets; + }); + if (val.form_type == 'Data From Business Assets') { + owner = val.owner_name.map((function (e) { + return e.name.split(','); + })); + } + else { + owner = val.owner_name; + } + var description = data_1 != '' ? '( ' + data_1 + ' )' : ''; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; + } + if (val.mode == 2) { + var owner_1; + var data_2; + val.details.forEach(function (v, index) { + data_2 = v.property_type_name; + if (v.property_type != 1) { + if (val.form_type == 'Data From Business Assets') { + data_2 = _this.addressTypeData.filter(function (item) { return item.address_type_id == v.property_type; })[0].address_type; + } + else if (val.form_type == 'Data From Other Asset') { + data_2 = _this.propertyTypeData.filter(function (item) { return item.id == v.property_type; })[0].name; + } + else { + data_2 = ''; + } + } + else { + data_2 = v.other_property_type; + } + if (val.form_type == 'Data From Business Assets') { + owner_1 = val.owner_name.map((function (e) { + return e.name.split(','); + })); + } + else { + owner_1 = val.owner_name; + } + }); + var description = data_2 != '' ? '( ' + data_2 + ' )' : ''; + labelarray_1[index] = ' : ' + owner_1 + ' - ' + val.mode_name + description; + } + if (val.mode == 3) { + var data_3; + var owner = void 0; + val.details.forEach(function (v, index) { + data_3 = v.manufacturer_model_vehicle; + }); + if (val.form_type == 'Data From Business Assets') { + owner = val.owner_name.map((function (e) { + return e.name.split(','); + })); + } + else { + owner = val.owner_name; + } + var description = data_3 != '' ? '( ' + data_3 + ' )' : ''; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; + } + if (val.mode == 4) { + var data_4; + var owner = void 0; + val.details.forEach(function (v, index) { + data_4 = v.equipment_manufacturing_description; + }); + if (val.form_type == 'Data From Business Assets') { + owner = val.owner_name.map((function (e) { + return e.name.split(','); + })); + } + else { + owner = val.owner_name; + } + var description = data_4 != '' ? '( ' + data_4 + ' )' : ''; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; + } + if (val.mode == 6) { + var owner = void 0; + if (val.form_type == 'Data From Business Assets') { + owner = val.owner_name.map((function (e) { + return e.name.split(','); + })); + } + else { + owner = val.owner_name; + } + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name; + } + if (val.mode == 7) { + var data_5; + var owner = void 0; + val.details.forEach(function (v, index) { + data_5 = v.investments_type != 1 + ? _this.investmentTypeData.filter(function (data) { return data.id == v.investments_type; })[0].name + : v.other_investments_type; + }); + if (val.form_type == 'Data From Business Assets') { + owner = val.owner_name.map((function (e) { + return e.name.split(','); + })); + } + else { + owner = val.owner_name; + } + var description = data_5 != '' ? '( ' + data_5 + ' )' : ''; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; + } + }); + var control_2 = _this.currentLoans.controls['loan_details']; + _this.labelArr = labelarray_1; + var arr_1 = []; + if (_this.labelArr.length > 0) { + _this.currentLoans.controls['existing_loan'].setValue('Yes'); + _this.labelArr.forEach(function (v, index) { + arr_1 = { + 'label': v, + 'loan_amount': '', + 'frequency': '', + 'other_frequency': '', + 'emi': '', + 'loan_type': '', + 'others_loan_type': '', + 'loan_taken_by': '', + 'others_loan_taken': '', + 'lender': '', + 'others_lender': '', + 'original_tenure': '', + 'current_balance_tenure': '', + 'elapsed_tenure': '' + }; + control_2.push(_this.createLoanDetail(arr_1)); + }); + // this.currentLoanForm.controls['existing_loan'].setValue(arr); + } + } + else { + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + control.push(_this.createLoanDetail(null)); + } + } + } + }); + } + }); + }; + PdQuestionCurrentLoansPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-current-loans',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-current-loans\pd-question-current-loans.html"*/'\n\n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n Do you have any other Existing Loans\n \n Yes\n No\n \n \n \n
\n
\n
\n
Loan Details #{{i+1}}-{{details.get(\'label\').value}}
\n \n \n \n {{types.loan_type_name}}\n \n\n \n \n \n \n \n \n {{"₹"}}{{amtInwords[i]}}only\n \n \n \n \n {{btLen.lender_name}}\n \n \n \n \n \n \n \n \n {{val.name}}\n \n \n \n \n \n \n \n \n \n \n {{freq.name}}\n \n \n \n \n \n \n \n {{"₹"}}{{emiAmtInwords[i]}}only\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-current-loans\pd-question-current-loans.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionCurrentLoansPage); + return PdQuestionCurrentLoansPage; +}()); + +//# sourceMappingURL=pd-question-current-loans.js.map + +/***/ }), + +/***/ 365: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionLoansPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionLoansPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionLoansPage = (function () { + function PdQuestionLoansPage(navCtrl, navParams, fb, qustCat, aws, toast, constant) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.constant = constant; + this.enduse = []; + this.mortageAccess = false; + this.ownerNames = []; + this.isOtherPurpose = false; + this.endUserList = []; + this.mergeCompanyApplicant = []; + this.m_endUseOFTopUpList = []; + this.isContribution = false; + this.isOtherSource = false; + this.isPLSource = false; + this.sourceList = []; + this.FormId = this.navParams.get('FormId'); + this.pdDetails = this.navParams.get('pdDetails'); + this.applicants = this.pdDetails.applicat_details; + this.productAbbr = this.pdDetails.product_abbr; + this.users = this.aws.getlocale(); + this.pdid = this.pdDetails.pd_id; + this.getDropdown(); + this.loanDetailsForm = this.fb.group({ + loan_amount: [this.pdDetails.loan_amount], + loan_tenure: [''], + end_use: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + end_use_other: [''], + is_transfer: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + //is_topup: ['', Validators.compose([Validators.required])], + // is_topup: [''], + balance_transfer_amount: [''], + topup_amount: [''], + end_use_topup: [''], + other_end_use_topup: [''], + lender: [''], + other_bt_lender: [''], + own_contribution: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + source: [''], + //personal_loan_source:[''], + other_source: [''], + //lender_name_type: [''], + emi_level: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + property_type: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + property_type_others: [''], + owner_name: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + construction_status: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + //percentage_of_construction : [''], + emv_per_customer: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + //value_per_agreement: ['', Validators.compose([Validators.required])], + loandetails_remarks: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + }); + if (this.pdDetails.product_abbr != "BL" || this.pdDetails.product_abbr != "PL" || this.pdDetails.product_abbr != "LL") { + this.mortagetypeAccess = true; + } + else { + this.mortagetypeAccess = false; + } + if (this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP') { + this.isContribution = true; + } + } + PdQuestionLoansPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionLoansPage'); + this.getLoanDetails(); + }; + PdQuestionLoansPage.prototype.getDropdown = function () { + var _this = this; + this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { + _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustCat.getEndUseForLoan(this.pdid).subscribe(function (data) { + _this.m_endUseForLoan = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(function (data) { + _this.m_statusofCunstruction = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(function (data) { + if (data['dataStatus'] == true) { + var that_1 = _this; + _this.m_mortageTypeProperty = data['records'].filter(function (data) { + if (that_1.pdDetails.product_abbr != "LAP" && data.group_name == that_1.pdDetails.product_abbr && data.isactive == 1) { + return data; + } + else if (that_1.pdDetails.product_abbr == "LAP" && data.sub_group_name == that_1.pdDetails.subproduct_name) { + return data; + } + else { + return; + } + }); + // this.mortage_type(this.propertyType); + } + }); + this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(function (data) { + _this.m_sourceofamount = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(function (subdata) { + if (subdata['dataStatus'] == true) { + var that_2 = _this; + _this.m_endUseofLoad = subdata['records'].filter(function (data) { + if (that_2.pdDetails.fk_product_id == data.fk_product_id && data.isactive == 1) { + return data; + } + }); + _this.endUserChange(_this.enduse); + } + }); + this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); + } + var modifyCompanyList = []; + if (_this.existCompanyList.length > 0) { + modifyCompanyList = _this.existCompanyList.map(function (element) { + return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; + }); + _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); + } + }); + var modifyApplicantList = []; + if (this.applicants.length > 0) { + modifyApplicantList = this.applicants.map(function (element) { + return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; + }); + this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); + // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); + if (this.productAbbr != 'LAP') { + this.mergeCompanyApplicant.push({ groupName: 'OTHERS', groupValues: [{ id: 0, name: 'Not Yet Finalised', group_id: 2 }] }); + } + } + this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(function (data) { + _this.m_endUseOFTopUpList = data['records'].filter(function (val) { return val.is_active == 1; }); + }); + }; + PdQuestionLoansPage.prototype.selectedBalancesTransferChanges = function (event) { + // if(event.value == 'no') { + // this.loanDetailsForm.controls['is_topup'].clearValidators(); + //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity(); + // this.loanDetailsForm.controls['is_topup'].setValue(''); + //} + //else if(event.value == 'yes'){ + // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]); + //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity(); + // } + if (event.value == 'no') { + this.loanDetailsForm.controls['source'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + this.loanDetailsForm.controls['source'].updateValueAndValidity(); + this.loanDetailsForm.controls['own_contribution'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity(); + this.loanDetailsForm.controls['other_bt_lender'].setValue(''); + this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); + this.loanDetailsForm.controls['lender'].setValue(''); + this.loanDetailsForm.controls['topup_amount'].setValue(''); + this.loanDetailsForm.controls['end_use_topup'].setValue(''); + this.loanDetailsForm.controls['other_end_use_topup'].setValue(''); + this.topUpAmtInWords = ''; + } + else if (event.value == 'yes') { + this.loanDetailsForm.controls['source'].setValue(''); + this.loanDetailsForm.controls['source'].clearValidators(); + this.loanDetailsForm.controls['source'].updateValueAndValidity(); + this.loanDetailsForm.controls['own_contribution'].setValue(''); + this.loanDetailsForm.controls['own_contribution'].clearValidators(); + this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity(); + this.isOtherSource = false; + this.loanDetailsForm.controls['other_source'].setValue(''); + } + }; + PdQuestionLoansPage.prototype.mortage_type = function (mortage_value) { + var mortagetypes = this.m_mortageTypeProperty.filter(function (mor) { return mor.mortage_property_id == mortage_value; })[0]; + var property_name = mortagetypes.property_name; + if (property_name == 'Others (Please Specify)') { + this.mortageAccess = true; + } + else { + this.mortageAccess = false; + } + }; + PdQuestionLoansPage.prototype.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + PdQuestionLoansPage.prototype.loanCalc = function () { + var BtAmount = this.loanDetailsForm.value.balance_transfer_amount; + var loanAmount = this.loanDetailsForm.value.loan_amount; + var topupAmt; + if (BtAmount != null && BtAmount != '' && loanAmount != null && loanAmount != '') { + if (loanAmount >= BtAmount) { + topupAmt = loanAmount - BtAmount; + this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt); + // this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt); + } + else { + this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!'); + this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); + this.balTxrfAmtInWords = ''; + this.loanDetailsForm.controls['topup_amount'].setValue(''); + this.topUpAmtInWords = ''; + } + } + //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt); + }; + PdQuestionLoansPage.prototype.endUserChange = function (event) { + var _this = this; + //this.endUserList = []; + event.forEach(function (option) { + var othresData = _this.m_endUseForLoan.filter(function (sub) { return sub.enduse_of_loan_id == option; })[0]; + othresData = othresData.enduse_of_loan.substr(0, 6).toLowerCase(); + _this.endUserList.push({ end_use: option }); + if (othresData == 'others') { + _this.isOtherPurpose = true; + return; + } + else { + _this.isOtherPurpose = false; + } + }); + }; + PdQuestionLoansPage.prototype.ownerNameChange = function (event) { + var _this = this; + this.ownerNames = []; + event.value.forEach(function (option) { + _this.ownerNames.push({ owner_name: option }); + }); + }; + PdQuestionLoansPage.prototype.sourceChange = function (evt) { + // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ; + // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ; + var _this = this; + this.isOtherSource = evt.some(function (e) { return e == 1; }); // this return true or false Only; + this.isPLSource = evt.some(function (e) { return e == 3; }); // this return true or false Only; + this.sourceList = []; + evt.forEach(function (option) { + _this.sourceList.push({ source: option }); + }); + }; + PdQuestionLoansPage.prototype.inWords = function (e, flag) { + switch (flag) { + case 1: + this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); + break; + case 2: + this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); + break; + case 3: + this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); + break; + case 4: + this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); + break; + case 5: + this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); + break; + case 6: + this.emiAmtInWords = this.constant.convertNumberToWords(e.target.value); + break; + case 7: + this.emvAmtInWords = this.constant.convertNumberToWords(e.target.value); + default: + break; + } + }; + PdQuestionLoansPage.prototype.submitLoanDetails = function () { + var _this = this; + // if(this.loanDetailsForm.valid){ + var records = {}; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value; + records.loan_tenure = this.loanDetailsForm.controls['loan_tenure'].value; + // get end user final group data + var dataEnd_user_data = []; + this.loanDetailsForm.controls['end_use'].value.forEach(function (element) { + dataEnd_user_data.push({ end_use: element }); + }); + records.end_use_group = dataEnd_user_data; + if (this.isOtherPurpose) { + records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value; + } + records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value; + // records.is_topup = this.loanDetailsForm.controls['is_topup'].value; + if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') { + records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value; + } + else if (this.loanDetailsForm.controls['is_transfer'].value == 'no') { + records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value; + var dataSource_list_1 = []; + if (this.loanDetailsForm.controls['source'].value != '') { + this.loanDetailsForm.controls['source'].value.forEach(function (element) { + dataSource_list_1.push({ sources: element }); + }); + } + records.source_group = dataSource_list_1; + } + //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') { + records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value; + //} + if (records.topup_amount > 0) { + records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value; + if (records.end_use_topup == 1) { + records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value; + } + } + if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') { + records.lender = this.loanDetailsForm.controls['lender'].value; + } + if (this.loanDetailsForm.controls['lender'].value == 1) { + records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value; + } + /* records.source = this.loanDetailsForm.controls['source'].value; + if (this.loanDetailsForm.controls['source'].value == 'other') { + records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value; + }*/ + if (this.isOtherSource) { + records.other_source = this.loanDetailsForm.controls['other_source'].value; + } + else { + records.other_source = ''; + } + records.emi_level = this.loanDetailsForm.controls['emi_level'].value; + if (this.mortageCardAccess == true) { + records.property_type = this.loanDetailsForm.controls['property_type'].value; + if (this.loanDetailsForm.value.property_type_others != '' && this.loanDetailsForm.value.property_type_others != null) { + records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value; + } + ; + // records.owner_name_group = this.ownerNames; + if (this.loanDetailsForm.controls['owner_name'].value != '') { + var dataOwner_name_1 = []; + this.loanDetailsForm.controls['owner_name'].value.forEach(function (element) { + dataOwner_name_1.push({ owner_name: element }); + }); + records.owner_name_group = dataOwner_name_1; + } + else { + records.owner_name_group = ''; + } + records.construction_status = this.loanDetailsForm.controls['construction_status'].value; + // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value; + } + else { + records.property_type = null; + records.property_type_others = null; + records.owner_name_group = null; + records.construction_status = null; + records.emv_per_customer = null; + } + records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value; + //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value; + records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value; + this.qustCat.saveForm(records).subscribe(function (data) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + // this.notifier.notify('success', 'Saved Successfully.'); + }); + // }else + // { + // this.toast.pdTriggerappmessage('Enter The All Field'); + // } + }; + PdQuestionLoansPage.prototype.getLoanDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (value) { + if (value['dataStatus'] == true) { + var loanDetails_1 = value['records']; + var result = Object.keys(loanDetails_1.end_use_group).map(function (key) { + return loanDetails_1.end_use_group[key]; + }); + //this.enduse + result.forEach(function (val) { + _this.enduse.push(val.end_use); + //this.endUserList.push({'end_use':val.end_use}); + }); + var ownername_1 = []; + if (loanDetails_1.owner_name_group != null) { + var owner = Object.keys(loanDetails_1.owner_name_group).map(function (key) { + return loanDetails_1.owner_name_group[key]; + }); + owner.forEach(function (val) { + ownername_1.push(val.owner_name); + _this.ownerNames.push({ 'end_use': val.end_use }); + }); + } + _this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails_1.loan_amount); + _this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails_1.loan_tenure); + if (loanDetails_1.loan_amount) { + _this.loanAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.loan_amount); + } + _this.loanDetailsForm.controls['end_use'].setValue(_this.enduse); + _this.endUserChange(_this.enduse); + if (loanDetails_1.end_use_other != '') { + //this.endUserChange(this.enduse); + // this.isOtherPurpose=true; + _this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails_1.end_use_other); + } + _this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails_1.is_transfer); + if (loanDetails_1.balance_transfer_amount) { + _this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails_1.balance_transfer_amount); + _this.balTxrfAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.balance_transfer_amount); + } + if (loanDetails_1.topup_amount) { + _this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails_1.topup_amount); + _this.topUpAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.topup_amount); + if (loanDetails_1.topup_amount > 0) { + _this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails_1.end_use_topup); + if (loanDetails_1.end_use_topup == 1) { + _this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails_1.other_end_use_topup); + } + } + } + // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup); + if (loanDetails_1.balance_transfer_amount) { + _this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails_1.balance_transfer_amount); + } + if (loanDetails_1.topup_amount) { + _this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails_1.topup_amount); + } + if (loanDetails_1.lender) { + _this.loanDetailsForm.controls['lender'].setValue(loanDetails_1.lender); + } + _this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails_1.own_contribution); + if (loanDetails_1.own_contribution) { + _this.ownContributionInWords = _this.constant.convertNumberToWords(loanDetails_1.own_contribution); + } + //this.loanDetailsForm.controls['source'].setValue(loanDetails.source); + if (loanDetails_1.is_transfer != 'yes') { + var source = Object.keys(loanDetails_1.source_group).map(function (key) { + return loanDetails_1.source_group[key]; + }); + var dbsourcelist_1 = []; + source.forEach(function (val) { + dbsourcelist_1.push(val.sources); + }); + _this.loanDetailsForm.controls['source'].setValue(dbsourcelist_1); + _this.sourceChange(dbsourcelist_1); + if (loanDetails_1.other_source) { + // this.isOtherSource = true; + _this.loanDetailsForm.controls['other_source'].setValue(loanDetails_1.other_source); + } + } + /* if (loanDetails.lender_name_type) { + this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type); + }*/ + if (loanDetails_1.emi_level) { + _this.loanDetailsForm.controls['emi_level'].setValue(loanDetails_1.emi_level); + _this.emiAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.emi_level); + } + _this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails_1.other_bt_lender); + _this.loanDetailsForm.controls['property_type'].setValue(loanDetails_1.property_type); + _this.propertyType = loanDetails_1.property_type; + if (loanDetails_1.property_type != null) { + _this.mortage_type(_this.propertyType); + if (_this.mortageCardAccess == true) { + _this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails_1.property_type_others); + // this.mortage_type(loanDetails.property_type_others); + } + _this.loanDetailsForm.controls['owner_name'].setValue(ownername_1); + _this.loanDetailsForm.controls['construction_status'].setValue(loanDetails_1.construction_status); + _this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails_1.emv_per_customer); + if (loanDetails_1.emv_per_customer) { + _this.emvAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.emv_per_customer); + } + } + // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement); + _this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails_1.loandetails_remarks); + } + else { + } + }); + if (this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL') { + this.mortageCardAccess = false; + this.loanDetailsForm.controls['owner_name'].setValue(''); + this.loanDetailsForm.controls['owner_name'].clearValidators(); + this.loanDetailsForm.controls['owner_name'].updateValueAndValidity(); + } + else { + this.mortageCardAccess = true; + this.loanDetailsForm.controls['owner_name'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + this.loanDetailsForm.controls['owner_name'].updateValueAndValidity(); + } + }; + PdQuestionLoansPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-loans',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-loans\pd-question-loans.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{"₹"}} {{loanAmtInWords}} Only\n\n \n\n \n\n Loan Tenture applied for?\n\n \n\n \n\n \n\n \n\n {{ enduse.enduse_of_loan }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{balTxrfAmtInWords}} Only\n\n \n\n \n\n \n\n \n\n {{ btLen.lender_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{topUpAmtInWords}} Only\n\n \n\n \n\n \n\n {{ list.end_use_of_topup }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{ownContributionInWords}} Only\n\n \n\n \n\n \n\n \n\n {{ sour.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{emiAmtInWords}} Only\n\n \n\n \n\n \n\n
\n\n \n\n \n\n

Details of Property being Mortgaged\n\n

\n\n \n\n \n\n \n\n \n\n {{ typeprop.property_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{ status.name }} {{status.id}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{emvAmtInWords}} Only\n\n \n\n \n\n \n\n \n\n

\n\n \n\n
\n\n
\n\n \n\n Remarks\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-loans\pd-question-loans.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionLoansPage); + return PdQuestionLoansPage; +}()); + +//# sourceMappingURL=pd-question-loans.js.map + +/***/ }), + +/***/ 366: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBankingPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionBankingPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionBankingPage = (function () { + function PdQuestionBankingPage(navCtrl, navParams, fb, aws, qustCat, toast, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.cons = cons; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.limitCaseFlag = []; + this.amtInwords = []; + //this.applicants.pop(); + this.pdDetails = this.navParams.get('pdDetails'); + this.pdid = this.pdDetails.pd_id; + this.FormId = this.navParams.get('FormId'); + this.applicants = this.pdDetails.applicat_details; + this.applicants = this.applicants.filter(function (val) { return val.applicant_type == 0 || val.applicant_type == 1; }); + this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); + // alert(); + this.users = this.aws.getlocale(); + this.bankDetails = this.fb.group({ + bankitems: this.fb.array([]), + banking_form_remark: [null], + }); + this.salaryField = this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? false : true; + this.getdropdown(); + this.retiveBankDetails(); + } + PdQuestionBankingPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBankingPage'); + }; + PdQuestionBankingPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.accountType = res['records']; + } + }); + this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1; }); + } + }); + this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); + } + // let modifyCompanyList : any=[]; + // if(this.existCompanyList.length>0){ + // modifyCompanyList = this.existCompanyList.map(element => { + // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1}; + // }); + // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList}) + //} + }); + var modifyApplicantList = []; + if (this.applicants.length > 0) { + modifyApplicantList = this.applicants.map(function (element) { + return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; + }); + this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); + // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); + } + }; + PdQuestionBankingPage.prototype.selectedAccTypeChanges = function (event, i) { + if (event == 2 || event == 1) { + this.limitCaseFlag[i] = false; + // const control = this.bankingForm.controls['itemRows']; + // control.controls[0].get('limit').clearValidators(); + // control.controls[0].get('limit').updateValueAndValidity(); + } + else { + this.limitCaseFlag[i] = true; + } + }; + /** Amount InWords */ + PdQuestionBankingPage.prototype.inWords = function (e, i, flag) { + switch (flag) { + case 1: + this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + default: + break; + } + }; + /** To Convert Month into Year */ + PdQuestionBankingPage.prototype.ConvertMonthintoYear = function (itemrow, e) { + var year = itemrow.controls.vintage_year.value; + var converted_month = e % 12; + var converted_year = e / 12; + itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year)); + itemrow.controls.vintage_month.setValue(Math.floor(converted_month)); + }; + PdQuestionBankingPage.prototype.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + PdQuestionBankingPage.prototype.checkOthers = function (values) { + if (values != null) { + return values.id == 0 ? true : false; + } + else { + return false; + } + }; + PdQuestionBankingPage.prototype.createBankItem = function (name) { + return this.fb.group({ + applicant_name: [''], + bank_name: [''], + account_type: [''], + salary: this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? [''] : [''], + limit: [''], + other_bank: [''], + other_applicant: [''], + //is_main: [''], + vintage_year: [''], + vintage_month: [''], + }); + }; + PdQuestionBankingPage.prototype.addBankDetails = function () { + // if(this.pd.valid){ + // if(this.items.length !=0) + // { + // this.neighbourAccess = true; + // } + this.bankitems = this.bankDetails.get('bankitems'); + this.bankitems.push(this.createBankItem('')); + }; + PdQuestionBankingPage.prototype.addmoreBankDetils = function () { + this.bankitems = this.bankDetails.get('bankitems'); + this.bankitems.push(this.createBankItem('')); + }; + PdQuestionBankingPage.prototype.removebank = function (i) { + if (this.bankitems.length == 1) { + this.bankitems.reset(); + } + else + this.bankitems.removeAt(i); + }; + PdQuestionBankingPage.prototype.savepdBank = function (answerData) { + var _this = this; + var records = {}; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.banking_details = answerData.bankitems; + records.banking_form_remark = answerData.banking_form_remark; + this.qustCat.saveForm(records).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + _this.navCtrl.pop(); + } + }); + }; + PdQuestionBankingPage.prototype.retiveBankDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + var result = Object.keys(res['records'].banking_details).map(function (key) { + return res['records'].banking_details[key]; + }); + _this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark); + _this.bankitems = _this.bankDetails.get('bankitems'); + if (result.length == 0) { + _this.bankitems.push(_this.createBankItem('')); + } + else { + result.forEach(function (datas, index) { + _this.selectedAccTypeChanges(+datas.account_type, index); + if (datas.limit != '') { + _this.amtInwords[index] = _this.cons.convertNumberToWords(+datas.limit); + } + // this.selectedBorrower(datas.applicant_name,index); + _this.bankitems.push(_this.createBankItem('')); + }); + _this.bankDetails.controls['bankitems'].setValue(result); + } + } + else { + _this.addBankDetails(); + } + }); + }; + PdQuestionBankingPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-banking',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-banking\pd-question-banking.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n
Banking details {{i+1}}
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{val.name}} \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{ btLen.lender_name }}\n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n {{bankacc.name}}\n\n\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n \n\n\n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n
\n\n In case of OD / CC account, What is the Limit \n\n \n\n {{"₹"}} {{amtInwords[i]}} only\n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n

Approximate vintage of the account (No of years)

\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-banking\pd-question-banking.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionBankingPage); + return PdQuestionBankingPage; +}()); + +//# sourceMappingURL=pd-question-banking.js.map + +/***/ }), + +/***/ 367: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFamilyPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionFamilyPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionFamilyPage = (function () { + // cons: any; + function PdQuestionFamilyPage(navCtrl, navParams, fb, qustCat, aws, toast, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.cons = cons; + this.earningStatus = [{ + type: 'Earning', + id: 1 + }, { + type: 'Non Earning', + id: 2 + }]; + this.cityData = []; + this.pincodeData = []; + this.FamilyMemberAsLabel = []; + this.selectPerson = []; + this.apiFamilyMembers = []; + this.isReadOnly = []; + this.RentAmount = []; + this.IncomePerMonth = []; + this.FormId = this.navParams.get('FormId'); + this.pdDetails = this.navParams.get('pdDetails'); + this.selected_person = this.pdDetails.pdapplicants_details; + this.selectPerson = this.pdDetails.applicat_details; + this.users = this.aws.getlocale(); + this.familyForm = this.fb.group({ + family_details: this.fb.array([]), + family_details_form_remark: [''], + }); + this.getRelation(); + this.getoccupation(); + } + PdQuestionFamilyPage.prototype.ionViewDidLoad = function () { + console.log("ionViewDidLoad PdQuestionFamilyPage"); + this.getFamilyData(); + }; + PdQuestionFamilyPage.prototype.initFamilyDetails = function (records) { + var _this = this; + if (records === null) { + var formData = this.fb.group({ + selected_person: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + residence_place: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + residence_city: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + residence_state: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + residence_pin: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + residence_other_pincode: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + residence_No_of_years: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + residence_ownership: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + ownershipOther: [''], + rent: [''], + total_number_of_family_members: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].min(1), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(20)])], + family_members_details: this.fb.array([]) + }); + var control = this.familyForm.controls['family_details']; + control.push(formData); + } + else { + records.forEach(function (val, index) { + if (val.rent != null) { + _this.RentAmount[index] = _this.cons.convertNumberToWords(val.rent); + } + _this.FamilyMemberAsLabel[index] = _this.selectPerson.filter(function (item) { return item.pd_co_applicant_id == val.selected_person; })[0].applicant_name; + _this.getCity(val.residence_state, index); + var formData = _this.fb.group({ + selected_person: [val.selected_person], + residence_place: [val.residence_place], + residence_city: [val.residence_city], + residence_state: [val.residence_state], + residence_pin: [val.residence_pin], + residence_other_pincode: [val.residence_other_pincode], + residence_No_of_years: [val.residence_No_of_years, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + residence_ownership: [val.residence_ownership], + rent: [val.rent || null], + ownershipOther: [val.ownershipOther || null], + total_number_of_family_members: [val.total_number_of_family_members, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].min(1), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(20)])], + family_members_details: _this.fb.array([]) + }); + var control = _this.familyForm.controls['family_details']; + control.push(formData); + var inx = control.length - 1; + //this.getNumberOfFamilyMemberDetails(inx); + _this.initFamilyMembersDetails(inx, val.family_members_details); + //this.initFamilyMembersDetails + }); + } + /* + return this.fb.group({ + //family_details + selected_person:[''], + residence_place:[''], + residence_city:[''], + residence_state:[''], + residence_pin:[''], + residence_No_of_years: ['',Validators.compose([])], + residence_ownership:[], + rent:[''], + ownershipOther:[''], + total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])], + + //family_member_details + + + + family_members_details:this.fb.array([]), + + + // person: [null], + /* personOther: [''], + members: [''], + residence: [''], + years: [null], + family_details_form_remark:[''], + + });*/ + }; + PdQuestionFamilyPage.prototype.initFamilyMembersDetails = function (inx, val) { + var _this = this; + var control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details; + val.forEach(function (vals, index) { + if (vals.earning_gross_income_per_month != null) { + _this.IncomePerMonth[index] = _this.cons.convertNumberToWords(vals.earning_gross_income_per_month); + } + var datas = _this.fb.group({ + family_member_name: [vals.family_member_name || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_relationship: [vals.family_member_relationship || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_age: [vals.family_member_age || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_earning_status: [vals.family_member_earning_status || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_segment: [vals.earning_segment || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_if_others_segment: [vals.earning_if_others_segment || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_gross_income_per_month: [vals.earning_gross_income_per_month || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_occupation: [vals.non_earning_occupation || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_others: [vals.non_earning_if_others || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_schoolorcollege: [vals.non_earning_if_schoolorcollege || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_retired_from: [vals.non_earning_if_retired_from || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + }); + control.push(datas); + }); + }; + /*return this.fb.group({ + family_member_name:[''], + family_member_relationship:[], + family_member_age:[], + family_member_earning_status:['',Validators.compose([])], + //family_member_earnings + earning_segment:[''], + earning_gross_income_per_month:[''], + earning_name_of_the_employer_or_business:[''], + earning_number_of_years_in_employment_or_business:[''], + + non_earning_occupation:[''], + non_earning_if_others:[''], + non_earning_if_retired_from:[''], + });*/ + PdQuestionFamilyPage.prototype.add = function () { + // const control=this.familyForm.controls['family_details']; + //control.push(this.initFamilyDetails('chck')); + this.initFamilyDetails(null); + this.toast.pdTriggerappmessage("Family Details Added"); + }; + PdQuestionFamilyPage.prototype.remove_family_details = function (i) { + var control = this.familyForm.controls['family_details']; + control.removeAt(i); + }; + PdQuestionFamilyPage.prototype.addMemberDet = function (data) { + var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; + //this.initFamilyMembersDetails('','') + control.push(this.generateFamilyMembersDetailsGet()); + }; + PdQuestionFamilyPage.prototype.removeMemberDet = function (index, f_index) { + var control = this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details; + if (control.length > 1) { + control.removeAt(index); + } + else { + control.reset(); + } + // if(control.value !=null && index == 0) + }; + PdQuestionFamilyPage.prototype.getNumberOfFamilyMemberDetails = function (data) { + var datavalue = data; + var formData = this.familyForm.controls['family_details']['controls'][datavalue].controls; + if (formData['total_number_of_family_members'].valid) { + var totmem = formData['total_number_of_family_members'].value; + var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; + if (totmem >= control.length) { + var len = totmem - control.length; + for (var i = 0; i < len; i++) { + control.push(this.generateFamilyMembersDetailsGet()); + } + } + else if (totmem < control.length) { + //control.controls.slice(1, 2); + var numbe = control.length - totmem; + for (var i = control.length; i >= totmem; i--) { + control.removeAt(i); + } + // var nn=control.length-totmem; + // control.controls = []; + /*for (let i = 0; i < totmem; i++) { + control.push(this.generateFamilyMembersDetailsGet()); + + }*/ + // this.initFamilyDetails(this.resValue['records'].family_details); + // this.toast.pdTriggerappmessage("Please choose the number greater than"+control.length); + } + } + else { + var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; + control.removeAt(control.length); + control.controls = []; + } + /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; + control.push(this.initFamilyMembersDetails()); + */ + }; + PdQuestionFamilyPage.prototype.generateFamilyMembersDetailsGet = function () { + return this.fb.group({ + family_member_name: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_relationship: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_age: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_earning_status: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_segment: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_if_others_segment: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_gross_income_per_month: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_name_of_the_employer_or_business: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_number_of_years_in_employment_or_business: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_occupation: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_others: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_schoolorcollege: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_retired_from: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + }); + }; + PdQuestionFamilyPage.prototype.getRelation = function () { + var _this = this; + var master_name = 'RELATIONSHIPS'; + this.qustCat.getcommondrop(master_name).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.relationData = data['records'].filter(function (rel) { return rel.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('PERSONSMET').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.filteredStates = res['records'].filter(function (per) { return per.isactive == 1; }); + } + }); + // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=> + // { + // if(res['dataStatus']==true) + // { + // this.cusSeg = res['records'].filter(seg=>seg.isactive==1); + // } + // }); + this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.cusSeg = res['records'].filter(function (seg) { return seg.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.ownerShip = res['records'].filter(function (own) { return own.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('STATE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.stateData = res['records'].filter(function (item) { return item.isactive == 1; }); + } + }); + }; + PdQuestionFamilyPage.prototype.getCity = function (e, i) { + var _this = this; + // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); + // this._pd.retriveForm(params).subscribe(data => { + this.qustCat.getStateWiseCities(e).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.cityData[i] = data.records.cities; + _this.pincodeData[i] = data.records.pincode; + } + }); + }; + PdQuestionFamilyPage.prototype.getoccupation = function () { + var _this = this; + var master_name = 'OCCUPATIONMEMBERS'; + this.qustCat.getcommondrop(master_name).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.occupationData = data['records'].filter(function (occ) { return occ.isactive == 1; }); + } + }); + }; + /* createMembers(): FormGroup { + return this.fb.group({ + earning_member_name : [null], + earning_member_age : [null], + relation: [null], + segment: [null], + income: [null], + employer_name: [null], + }); + } + count :number = 0; + addearningMembers() + { + this.items = this.familyForm.get('earningMembers') as FormArray; + this.items.push(this.createMembers()); + this.count++; + this.checkfamilystatus(this.count,''); + + } + + deleteEarningMembers(i) + { + + if(this.items.length==1) + { + this.familyForm.controls['earningMembers'].reset(); + }else{ + this.items.removeAt(i); + } + this.count--; + this.checkfamilystatus(this.count,''); + } + createNonMembers(): FormGroup { + return this.fb.group({ + non_earning_member_name : [''], + non_earning_member_age : [''], + relationship: [null], + occupation: [null], + retired: [null], + others_occupation:[null], + }); + } + addMembers() + { + this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray; + this.count++; + this.checkfamilystatus(this.count,''); + this.membersitem.push(this.createNonMembers()); + + } + deleteMembers(i) + { + if(this.membersitem.length==1){ + this.familyForm.controls['nonEarningMembers'].reset(); + + }else{ + this.membersitem.removeAt(i); + } + this.count--; + this.checkfamilystatus(this.count,''); + } + checkfamilystatus(count,familystatus) + { + if(familystatus !='' && familystatus !==undefined){ + + }else{ + familystatus = this.familyForm.get('members').value; + } + if(familystatus !== null ){ + if(familystatus == count) + { + + this.familyAddStatus = true; + }else + { + this.familyAddStatus = false; + } + } + }*/ + /* Old + savepdfamily(answerData) + { + let records: any = {}; + records.no_of_years = answerData.years; + if (answerData.ownership == '4') { + records.ownershipOther = answerData.ownershipOther; + } + records.residence = answerData.residence; + if (answerData.ownership == '3') { + records.what_rent = answerData.rent; + } + // if (answerData.person == '8') { + // records.person_met = answerData.personOther.value; + // } else { + // records.person_met = answerData.person; + // } + records.ownership = answerData.ownership + records.family_members = answerData.members; + records.earning_members = answerData.earningMembers; + records.non_earning_members = answerData.nonEarningMembers; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.family_details_form_remark = answerData.family_details_form_remark; + this.qustCat.saveForm(records).subscribe(res=> + { + if(res['dataStatus']==true) + { + this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + this.navCtrl.pop(); + } + }) + }*/ + PdQuestionFamilyPage.prototype.savepdfamily = function (answerData) { + var _this = this; + var records = {}; + records = this.familyForm.value; + Object.keys(records).forEach(function (key) { return (records[key] == null) && delete records[key]; }); + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + this.qustCat.saveForm(records).subscribe(function (res) { + _this.toast.pdTriggerappmessage("Record Saved Successfully"); + _this.navCtrl.pop(); + }, function (err) { + _this.toast.pdTriggerappmessage("Some Fields value is Missing Please Fill It"); + }); + /*let records: any = {}; + records.no_of_years = answerData.residence_No_of_years; + if (answerData.residence_ownership == '4') { + records.ownershipOther = answerData.ownershipOther; + } + //records.residence = answerData.residence; + if (answerData.residence_ownership == '3') { + records.what_rent = answerData.rent; + } + // if (answerData.person == '8') { + // records.person_met = answerData.personOther.value; + // } else { + // records.person_met = answerData.person; + // } + records.ownership = answerData.residence_ownership + records.family_members = answerData.total_number_of_family_members; + records.earning_members = answerData.earningMembers; + records.non_earning_members = answerData.nonEarningMembers; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.family_details_form_remark = answerData.family_details_form_remark; + this.qustCat.saveForm(records).subscribe(res=> + { + if(res['dataStatus']==true) + { + this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + this.navCtrl.pop(); + } + })*/ + }; + PdQuestionFamilyPage.prototype.selectedPerson = function (e, inx) { + var _this = this; + this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(function (item) { return item.pd_co_applicant_id == e; })[0].applicant_name; + var control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details; + var newControlLength; + var oldControlLength = control.length; + if (this.apiFamilyMembers.length > 0) { + var arraydata_1; + var data = this.apiFamilyMembers.filter(function (item) { return item.relation_to == e; }); + // data_gets_from:'GeneralForm' + // data_gets_from:'BusinessForm' + if (data.length > 0) { + newControlLength = data.length; + var index = 0; + while (index < oldControlLength) { + control.removeAt(index); + index++; + } + oldControlLength = newControlLength; + data.forEach(function (val, inx) { + // family_member_earning_status + if (val.age) { + _this.isReadOnly[inx] = true; + } + else { + _this.isReadOnly[inx] = false; + } + arraydata_1 = { + 'family_member_name': val.name, + 'family_member_relationship': val.relationship, + 'family_member_age': val.age, + 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' : '', + 'earning_segment': '', + 'earning_gross_income_per_month': '', + 'earning_name_of_the_employer_or_business': '', + 'earning_number_of_years_in_employment_or_business': '', + 'earning_if_others_segment': '', + 'non_earning_occupation': '', + 'non_earning_if_others': '', + 'non_earning_if_retired_from': '', + 'non_earning_if_schoolorcollege': '' + }; + control.push(_this.initgenerateFamilyMembersDetailsGet(arraydata_1)); + }); + } + else { + var index = 0; + while (index < oldControlLength) { + control.removeAt(index); + index++; + } + oldControlLength = 1; + control.push(this.generateFamilyMembersDetailsGet()); + } + } + else { + control.push(this.generateFamilyMembersDetailsGet()); + } + }; + PdQuestionFamilyPage.prototype.generateFamilyMembersDetailsGetData = function (data) { + var result = Object.keys(data).map(function (key) { + return data[key]; + }); + if (result.length > 0) { + for (var _i = 0, result_1 = result; _i < result_1.length; _i++) { + var val = result_1[_i]; + var control = this.familyForm.controls['family_members_details']; + control.push(this.initgenerateFamilyMembersDetailsGet(val)); + } + } + }; + PdQuestionFamilyPage.prototype.initgenerateFamilyMembersDetailsGet = function (val) { + return this.fb.group({ + family_member_name: [val.family_member_name, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_relationship: [val.family_member_relationship, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_age: [val.family_member_age, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + family_member_earning_status: [val.family_member_earning_status, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_segment: [val.earning_segment, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_if_others_segment: [val.earning_if_others_segment, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_gross_income_per_month: [val.earning_gross_income_per_month, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_occupation: [val.non_earning_occupation, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_others: [val.non_earning_if_others, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_schoolorcollege: [val.non_earning_if_schoolorcollege, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + non_earning_if_retired_from: [val.non_earning_if_retired_from, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], + }); + }; + PdQuestionFamilyPage.prototype.getFamilyData = function () { + var _this = this; + this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(function (res) { + if (res['dataStatus'] == true) { + var Temparr = []; + if (res.record.from_general_form.length > 0) { + var familyMembersGeneralForm = Object.keys(res.record.from_general_form).map(function (key) { + return res.record.from_general_form[key]; + }); + var datas = familyMembersGeneralForm.map(function (element) { + return { id: element.pd_co_applicant_id.toString(), + name: element.applicant_name, + relationship: element.relationship, + relation_to: element.relation_to, + age: element.age, + data_gets_from: 'GeneralForm' }; + }); + Temparr.push(datas); + } + else { + console.log("No data in General Form"); + } + if (res.record.from_business_form.length > 0) { + var familyMembersBusinessForm = Object.keys(res.record.from_business_form).map(function (key) { + return res.record.from_business_form[key]; + }); + var datas = familyMembersBusinessForm.map(function (element) { + return { id: element.other_family_relationship_id, + name: element.family_member_name, + relationship: element.other_family_relationship_id, + relation_to: element.relation_to_id, + age: '', + data_gets_from: 'BusinessForm' }; + }); + Temparr.push(datas); + } + else { + console.log("No data in Business Form"); + } + _this.apiFamilyMembers = [].concat.apply([], Temparr); + } + }); + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + console.log("Entering Retrieve"); + if (res['status'] == 200) { + if (res['records'].family_details.length > 0) { + _this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark); + _this.resValue = res; + _this.initFamilyDetails(res['records'].family_details); + } + } + else { + console.log("No Data Found"); + _this.initFamilyDetails(null); + } + //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details); + }, function (err) { + console.log("Error", err); + }); + /*let earning:any = []; + let non_earning:any = []; + let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id} + this.qustCat.retiverForm(records).subscribe(res=> + { + if(res['dataStatus']==true) + { + non_earning = Object.keys(res['records'].non_earning_members).map(function(key) { + + return res['records'].non_earning_members[key]; + }); + this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark); + earning = Object.keys(res['records'].earning_members).map(function(key) { + return res['records'].earning_members[key]; + }); + let familyDetails = res['records']; + this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); + // this.familyForm.controls['person'].setValue(familyDetails.person_met); + this.familyForm.controls['personOther'].setValue(familyDetails.personOther); + this.familyForm.controls['members'].setValue(familyDetails.family_members); + this.familyForm.controls['residence'].setValue(familyDetails.residence); + this.familyForm.controls['years'].setValue(familyDetails.no_of_years); + this.familyForm.controls['ownership'].setValue(familyDetails.ownership); + this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther); + this.familyForm.controls['rent'].setValue(familyDetails.what_rent); + // this.familyForm.controls['earningMembers'].setValue(earning); + // for(this.) + this.items = this.familyForm.get('earningMembers') as FormArray; + this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray; + if(earning.length==0) + { + this.addearningMembers(); + }else + { + earning.forEach(datas => { + this.count++; + this.items.push(this.createMembers()); + }); + this.familyForm.controls['earningMembers'].setValue(earning); + + } + + if(non_earning.length==0) + { + this.addMembers(); + }else + { + non_earning.forEach(datas => { + this.count++; + this.membersitem.push(this.createNonMembers()); + + }); + this.familyForm.controls['nonEarningMembers'].setValue(non_earning); + // this.checkfamilystatus(this.count); + } + + // for(let earningDetails of earning){ + // this.items = this.familyForm.get('earningMembers') as FormArray; + // this.items.push(earning); + // } + + }else + { + this.addearningMembers(); + this.addMembers(); + } + }) */ + }; + /** To Convert Amount into Words */ + PdQuestionFamilyPage.prototype.inWords = function (e, flag, i) { + switch (flag) { + case 1: + this.RentAmount[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 2: + this.IncomePerMonth[i] = this.cons.convertNumberToWords(e.target.value); + break; + default: + break; + } + }; + PdQuestionFamilyPage.prototype.initSetValue = function (records) { + for (var _i = 0, records_1 = records; _i < records_1.length; _i++) { + var val = records_1[_i]; + var formData = this.fb.group({ + selected_person: [val.selected_person], + residence_place: [val.residence_place] + }); + } + }; + PdQuestionFamilyPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-family',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-family\pd-question-family.html"*/'\n\n \n \n {{FormId.form_name}}\n \n \n\n
\n
\n \n \n \n

Family Details {{i+1}}

\n \n
\n \n \n \n {{pd.applicant_name}}\n \n \n \n
\n \n \n \n \n
Residence Details of {{FamilyMemberAsLabel[i]}}
\n \n \n \n \n \n \n \n {{s.name}}\n \n \n \n \n \n \n {{c.city_name}}\n \n \n \n \n \n \n {{p.pincode}}\n \n \n \n \n \n \n \n \n \n \n \n {{own.name}}\n \n\n\n \n {{"₹"}} {{RentAmount[i]}} Only\n\n\n \n \n \n
\n \n \n \n \n \n \n
\n \n
\n
\n \n Family Member Details # {{ix+1}} Of {{FamilyMemberAsLabel[i]}}\n \n \n \n \n \n {{relation.name}}\n \n \n \n \n \n \n \n \n {{earning.type}}\n \n \n \n
\n
Earning Details
\n \n \n \n {{segment.earning_member_status}}\n \n \n \n \n \n \n \n \n {{"₹"}} {{IncomePerMonth[ix]}} Only\n \n \n \n \n \n \n \n \n
\n \n
\n \n \n \n {{occupation.name}}\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n
\n \n \n
\n
\n\n\n
\n\n \n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n \n \n \n \n
\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-family\pd-question-family.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], + __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionFamilyPage); + return PdQuestionFamilyPage; +}()); + +//# sourceMappingURL=pd-question-family.js.map + +/***/ }), + +/***/ 368: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssestsPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionAssestsPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssestsPage = (function () { + function PdQuestionAssestsPage(navCtrl, navParams, fb, aws, qustCat, toast, constprovider) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.constprovider = constprovider; + this.m_any_asset_loan_type = [{ 'value': "yes", 'viewValue': "Yes" }, + { 'value': "no", 'viewValue': "No" }, + { 'value': "nan", 'viewValue': "NA" }]; + this.FormList = false; + this.loadDetails = true; + this.appxMarketAmtInwords = []; + this.OtherAppxMarketAmtInwords = []; + this.emiAmtInwords = []; + this.OtherEmiAmtInwords = []; + this.PremiumPaidInwords = []; + this.OtherPremiumPaidInwords = []; + this.SumAssuredInwords = []; + this.OtherSumAssuredInwords = []; + this.AmtInvestInwords = []; + this.AssetValueInwords = []; + this.OtherAssetValueInwords = []; + this.B_emiAmtInwords = []; + this.O_emiAmtInwords = []; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.apiLoadFinish = false; + this.assestInfo = "busass"; + this.FormId = this.navParams.get('FormId'); + this.pdDetails = this.navParams.get('pdDetails'); + this.pdid = this.pdDetails.pd_id; + this.users = this.aws.getlocale(); + this.applicants = this.pdDetails.applicat_details; + this.applicants = this.applicants.filter(function (val) { return val.applicant_type == 0 || val.applicant_type == 1; }); + this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); + this.AssetsDetailsForm = this.fb.group({ + assets_details: this.fb.array([]), + // business_assets_details:this.fb.array([]), + assets_form_remark: [''] + }); + this.getAssetDetails(); + this.getdropList(); + //this. addAsset(1); + this.loadDetails = true; + } + PdQuestionAssestsPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssestsPage'); + }; + PdQuestionAssestsPage.prototype.getdropList = function () { + var _this = this; + this.qustCat.getcommondrop('ASSETTYPE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_assets_type = res['records'].filter(function (data) { return data.isactive == 1 && data.id != 5; }); + } + }); + this.qustCat.getcommondrop('PROPERTIES').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_propertyType = res['records']; + } + }); + this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_investmentType = res['records']; + } + }); + this.qustCat.getcommondrop('INSURANCETYPE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_insuranceType = res['records']; + } + }); + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_freqOfPurchase = res['records']; + } + }); + this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.m_relation = data['records'].filter(function (data) { return data.isactive == 1; }); + } + }); + this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); + } + var modifyCompanyList = []; + if (_this.existCompanyList.length > 0) { + modifyCompanyList = _this.existCompanyList.map(function (element) { + return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; + }); + _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); + } + var modifyApplicantList = []; + if (_this.applicants.length > 0) { + modifyApplicantList = _this.applicants.map(function (element) { + return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; + }); + _this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); + // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); + } + }); + }; + PdQuestionAssestsPage.prototype.createAsset = function () { + return this.fb.group({ + assets_mode: [null], + details: this.fb.array([]), + approximate_market_value: [null], + name_of_the_owner: [''], + other_owner: [''], + // purchase_year: [null], + purchase_year: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(4)])], + vintage_personal: [''], + // purchase_month: [null], + emi: [null], + }); + }; + PdQuestionAssestsPage.prototype.addAsset = function (flag) { + if (flag == 1) { + this.assetItem = this.AssetsDetailsForm.get('assets_details'); + this.assetItem.push(this.createAsset()); + } + }; + PdQuestionAssestsPage.prototype.deleteAsset = function (i, flag) { + if (flag == 1) { + this.assetItem = this.AssetsDetailsForm.get('assets_details'); + if (this.assetItem.length == 1) { + this.AssetsDetailsForm.controls['assets_details'].reset(); + } + else { + this.assetItem.removeAt(i); + } + } + }; + PdQuestionAssestsPage.prototype.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + PdQuestionAssestsPage.prototype.loanCalc = function (details, flag) { + if (flag == 1) { + var ElapsedValues = void 0; + if (details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != '') { + ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure; + details.controls['elapsed_tenure'].setValue(ElapsedValues); + } + } + }; + PdQuestionAssestsPage.prototype.selectedAssetsType = function (e, i, flag) { + var val = i; + if (flag == 1) { + var arr = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + arr.controls.splice(0); + } + switch (e.value) { + case '1': { + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.otherAssetsDescription()); + break; + } + case '2': { + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadProperty()); + break; + } + case '3': { + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.load_Four_Weeler()); + break; + } + case '4': { + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadEquipmentManufacturingDescription()); + break; + } + case '5': { + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadConsumerDurableDescription()); + break; + } + case '6': { + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadInsuranceDescription()); + break; + } + case '7': { + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadInvestDescription()); + break; + } + case '8': { + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.otherAssetsDescription()); + break; + } + default: { + break; + } + } + }; + PdQuestionAssestsPage.prototype.loadProperty = function () { + return this.fb.group({ + property_type: [''], + other_property_type: [''] + }); + }; + PdQuestionAssestsPage.prototype.loadJwellDescription = function () { + return this.fb.group({}); + }; + PdQuestionAssestsPage.prototype.loadConsumerDurableDescription = function () { + return this.fb.group({ + consumer_durable_description: [null] + }); + }; + PdQuestionAssestsPage.prototype.otherBusinessAssetsDescription = function () { + return this.fb.group({ + any_other_assets: [''], + any_other_asset_value: [''], + any_other_asset_loan: [''], + }); + }; + PdQuestionAssestsPage.prototype.otherAssetsDescription = function () { + return this.fb.group({ + any_other_assets: [''], + }); + }; + PdQuestionAssestsPage.prototype.loadInsuranceDescription = function () { + return this.fb.group({ + insurance_type: [null], + premium_paid: [null], + frequency_mode: [null], + other_frequency_mode: [null], + sum_assured: [null], + members_coverd: [null] + }); + }; + PdQuestionAssestsPage.prototype.loadInvestDescription = function () { + return this.fb.group({ + investments_type: [''], + other_investments_type: [''], + in_which_organisation: [''], + amount_of_invest: [''], + bank_name: [''] + }); + }; + PdQuestionAssestsPage.prototype.load_Four_Weeler = function () { + return this.fb.group({ + //manufacturer_model: [''], + manufacturer_model_vehicle: [''] + }); + }; + PdQuestionAssestsPage.prototype.loadEquipmentManufacturingDescription = function () { + return this.fb.group({ + equipment_manufacturing_description: [''] + }); + }; + PdQuestionAssestsPage.prototype.load_Two_Weeler = function () { + return this.fb.group({ + manufacturer_model_two_weeler: [''] + }); + }; + PdQuestionAssestsPage.prototype.loadPropertyWithData = function (data) { + return this.fb.group({ + property_type: [data.property_type], + other_property_type: [data.other_property_type] + }); + }; + PdQuestionAssestsPage.prototype.loadJwellDescriptionWithData = function (data) { + return this.fb.group({}); + }; + PdQuestionAssestsPage.prototype.loadConsumerDurableDescriptionWithData = function (data) { + return this.fb.group({ + consumer_durable_description: [data.consumer_durable_description] + }); + }; + PdQuestionAssestsPage.prototype.otherAssetsDescriptionWithData = function (data) { + return this.fb.group({ + any_other_assets: [data.any_other_assets], + }); + }; + PdQuestionAssestsPage.prototype.otherBusinessAssetsDescriptionWithData = function (data) { + return this.fb.group({ + any_other_assets: [data.any_other_assets], + any_other_asset_value: [data.any_other_asset_value], + any_other_asset_loan: [data.any_other_asset_loan], + }); + }; + PdQuestionAssestsPage.prototype.loadInsuranceDescriptionWithData = function (data) { + return this.fb.group({ + //insurance_type: [data.insurance_type], + premium_paid: [data.premium_paid], + frequency_mode: [data.frequency_mode], + other_frequency_mode: [data.other_frequency_mode], + sum_assured: [data.sum_assured], + members_coverd: [data.members_coverd] + }); + }; + PdQuestionAssestsPage.prototype.loadInvestDescriptionWithData = function (data) { + return this.fb.group({ + investments_type: [data.investments_type], + other_investments_type: [data.other_investments_type], + in_which_organisation: [data.in_which_organisation], + amount_of_invest: [data.amount_of_invest], + bank_name: [data.bank_name] + }); + }; + PdQuestionAssestsPage.prototype.load_Four_WeelerWithData = function (data) { + return this.fb.group({ + // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])] + manufacturer_model_vehicle: [data.manufacturer_model_vehicle] + }); + }; + PdQuestionAssestsPage.prototype.loadEquipmentManufacturingDescriptionWithData = function (data) { + return this.fb.group({ + equipment_manufacturing_description: [data.equipment_manufacturing_description] + }); + }; + PdQuestionAssestsPage.prototype.load_Two_WeelerWithData = function (data) { + return this.fb.group({ + manufacturer_model_vehicle: [data.manufacturer_model_vehicle] + }); + }; + PdQuestionAssestsPage.prototype.saveAssetDetails = function (answerData) { + var _this = this; + Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); + // answerData.assets_details.map(val => { + // if (val.emi == 'no') { + // val.emi_paid = ''; + // val.elapsed_tenure = ''; + // val.balance_tenure = ''; + // val.original_loan_tenure =''; + // } + // }); + answerData.pdid = this.pdDetails.pd_id; + answerData.formid = this.FormId.form_id; + answerData.fk_createdby = this.users; + this.qustCat.saveForm(answerData).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + _this.navCtrl.pop(); + } + }); + }; + PdQuestionAssestsPage.prototype.getAssetDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + var assetArray = Object.keys(res['records'].assets_details).map(function (key) { + // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark) + return res['records'].assets_details[key]; + }); + _this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark); + if (assetArray.length > 0) { + for (var _i = 0, assetArray_1 = assetArray; _i < assetArray_1.length; _i++) { + var val = assetArray_1[_i]; + var vals = { + assets_mode: val.assets_mode, + approximate_market_value: val.approximate_market_value, + name_of_the_owner: val.name_of_the_owner, + other_owner: val.other_owner, + purchase_year: val.purchase_year, + vintage_personal: val.vintage_personal, + // purchase_month: val.purchase_month, + emi: val.emi, + }; + var control = _this.AssetsDetailsForm.controls['assets_details']; + control.push(_this.initDetailsWithdata(vals)); + _this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length - 1); + } + } + // if (busarray.length > 0) { + // for (let val of busarray) { + // let vals = { + // assets_mode: val.assets_mode, + // approximate_market_value: val.approximate_market_value, + // name_of_the_owner: val.name_of_the_owner, + // purchase_year: val.purchase_year, + // purchase_month: val.purchase_month, + // emi: val.emi, + // emi_paid: val.emi_paid, + // elapsed_tenure: val.elapsed_tenure, + // balance_tenure: val.balance_tenure, + // original_loan_tenure:val.original_loan_tenure, + // }; + // const control = this.AssetsDetailsForm.controls['assets_details']; + // control.push(this.initBusinessDetailsWithdata(vals)); + // this.setAssetsDetailsWithData2(vals.assets_mode, val.details, control.length-1); + // } + // } + _this.apiLoadFinish = true; + //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray); + } + else { + _this.apiLoadFinish = true; + _this.addAsset(1); + // this.addAsset(2); + } + }); + }; + PdQuestionAssestsPage.prototype.initDetailsWithdata = function (data) { + return this.fb.group({ + assets_mode: [data.assets_mode], + details: this.fb.array([]), + approximate_market_value: [data.approximate_market_value], + name_of_the_owner: [data.name_of_the_owner], + other_owner: [data.other_owner || ''], + vintage_personal: [data.vintage_personal], + // purchase_year: [data.purchase_year], + purchase_year: [data.purchase_year, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(4)])], + // purchase_month: [data.purchase_month], + emi: [data.emi || 0], + }); + }; + PdQuestionAssestsPage.prototype.setAssetsDetailsWithData = function (assets_details_mode, datas, i) { + var _this = this; + var val = i; + // var data = Object.keys(datas).map(function (key) { + // return datas[key]; + // }); + // alert(JSON.stringify(datas)); + var data = datas; + var arr = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + arr.controls.splice(0); + switch (assets_details_mode) { + case '1': { + var array_data_1; + data.forEach(function (datas, i) { + array_data_1 = { 'any_other_assets': datas.any_other_assets, + 'name_of_the_owner': datas.name_of_the_owner, + 'other_owner': datas.other_owner, + }; + //this.OtherAssetValueInwords[i] = this.constprovider.convertNumberToWords(+datas.any_other_asset_value); + }); + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.otherAssetsDescriptionWithData(array_data_1)); + break; + } + case '2': { + var array_data_2; + data.forEach(function (datas, i) { + array_data_2 = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type }; + }); + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadPropertyWithData(array_data_2)); + break; + } + case '3': { + var array_data_3; + data.forEach(function (datas, i) { + array_data_3 = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle }; + }); + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.load_Four_WeelerWithData(array_data_3)); + break; + } + case '4': { + var array_data_4; + data.forEach(function (datas, i) { + array_data_4 = { 'equipment_manufacturing_description': datas.equipment_manufacturing_description }; + }); + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data_4)); + break; + } + case '5': { + this.FormList = true; + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + // control.push(this.loadConsumerDurableDescriptionWithData(data)); + break; + } + case '6': { + var array_data_5; + data.forEach(function (datas, i) { + array_data_5 = { + 'premium_paid': datas.premium_paid, + 'frequency_mode': datas.frequency_mode, + 'other_frequency_mode': datas.other_frequency_mode, + 'sum_assured': datas.sum_assured, + 'members_coverd': datas.members_coverd + }; + _this.PremiumPaidInwords[i] = _this.constprovider.convertNumberToWords(+datas.premium_paid); + _this.SumAssuredInwords[i] = _this.constprovider.convertNumberToWords(+datas.sum_assured); + }); + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadInsuranceDescriptionWithData(array_data_5)); + break; + } + case '7': { + var array_data_6; + data.forEach(function (datas, i) { + _this.AmtInvestInwords[i] = _this.constprovider.convertNumberToWords(+datas.amount_of_invest); + array_data_6 = { 'investments_type': datas.investments_type, + 'other_investments_type': datas.other_investments_type, + 'in_which_organisation': datas.in_which_organisation, + 'amount_of_invest': datas.amount_of_invest, + 'bank_name': datas.bank_name }; + }); + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.loadInvestDescriptionWithData(array_data_6)); + break; + } + case '8': { + this.FormList = true; + var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); + control.push(this.otherAssetsDescriptionWithData(data)); + break; + } + default: { + break; + } + } + }; + /** On Key Press Event For Number only Accepting */ + PdQuestionAssestsPage.prototype.keyPress = function (event) { + var pattern = /[0-9\-\.\ ]/; + var inputChar = String.fromCharCode(event.charCode); + if (event.keyCode != 8 && !pattern.test(inputChar)) { + event.preventDefault(); + } + }; + PdQuestionAssestsPage.prototype.inWords = function (e, i, flag) { + switch (flag) { + case 1: + this.appxMarketAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 2: + this.OtherAppxMarketAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 3: + this.emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 4: + this.OtherEmiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 5: + this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 6: + this.OtherPremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 7: + this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 8: + this.OtherSumAssuredInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 9: + this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 10: + this.OtherAmtInvestInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 11: + this.AssetValueInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 12: + this.OtherAssetValueInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 13: + this.B_emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + case 14: + this.O_emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); + break; + default: + break; + } + }; + // check others + PdQuestionAssestsPage.prototype.checkOthers = function (values) { + if (values != null) { + return values.id == 0 ? true : false; + } + else { + return false; + } + }; + PdQuestionAssestsPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assests',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assests\pd-question-assests.html"*/'\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n
Asset Details # {{i+1}}
\n\n \n\n
\n\n
\n\n \n\n \n\n {{ asset.name }}\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n {{ prop.name }}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{PremiumPaidInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n {{ freqn.name }}\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{SumAssuredInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n {{ ins_type.name }}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{AmtInvestInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n\n\n Vintage\n\n \n\n \n\n\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n

Is there a loan?

\n\n \n\n \n\n YES\n\n NO\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assests\pd-question-assests.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssestsPage); + return PdQuestionAssestsPage; +}()); + +//# sourceMappingURL=pd-question-assests.js.map + +/***/ }), + +/***/ 369: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionOtherIncomePage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionOtherIncomePage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionOtherIncomePage = (function () { + function PdQuestionOtherIncomePage(navCtrl, navParams, fb, qustCat, aws, toast, constant) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.constant = constant; + this.incomeEarnedBy = []; + this.amtInWords = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.pdid = this.pdDetails.pd_id; + this.FormId = this.navParams.get('FormId'); + this.getFrequency(); + this.users = this.aws.getlocale(); + this.otherIncomeForm = this.fb.group({ + other_income: [null], + otherincome_remarks: [null], + income_details: this.fb.array([]) + }); + //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray + //this.incomeDetails.push(this.createDetail()) + } + PdQuestionOtherIncomePage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionOtherIncomePage'); + this.getOtherIncome(); + }; + PdQuestionOtherIncomePage.prototype.createDetail = function () { + return this.fb.group({ + source: [''], + address: [''], + others_source: [''], + income_earned_by: [''], + others_income_earned_by: [''], + amount: [''], + frequency: [''], + others_frequency: [''] + }); + }; + PdQuestionOtherIncomePage.prototype.addIncomeDetails = function () { + this.incomeDetails = this.otherIncomeForm.get('income_details'); + this.incomeDetails.push(this.createDetail()); + }; + PdQuestionOtherIncomePage.prototype.deleteIncomeDetails = function (index) { + this.incomeDetails = this.otherIncomeForm.get('income_details'); + if (this.incomeDetails.length == 1) { + // this.otherIncomeForm.controls['income_details'].reset(); + this.otherIncomeForm.reset(); + this.amtInWords[index] = ''; + } + else { + this.incomeDetails.removeAt(index); + } + }; + PdQuestionOtherIncomePage.prototype.checkotherDetails = function (val) { + if (val == "Yes") { + this.addIncomeDetails(); + } + if (val == "No") { + //let length=this.otherIncomeForm.income_details.controls.length + var control = this.otherIncomeForm.controls['income_details']; + control.removeAt(0); + // let len=control.length + // for(let i=0;i\n\n \n \n {{FormId.form_name}}\n\n\n \n\n\n\n\n\n
\n \n \n

Other Income

\n \n Yes\n      \n No\n \n \n
\n \n \n
\n
\n

Income Details {{i+1}}

\n \n \n \n {{source.name}}\n \n \n \n Address\n \n \n \n \n \n \n \n {{person.applicant_name | titlecase}}\n Others\n \n \n \n \n \n \n \n {{"₹"}} {{amtInWords[i]}}\n \n \n \n \n {{frq.name}}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n
\n
\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-other-income\pd-question-other-income.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionOtherIncomePage); + return PdQuestionOtherIncomePage; +}()); + +//# sourceMappingURL=pd-question-other-income.js.map + +/***/ }), + +/***/ 370: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionPersonalInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionPersonalInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionPersonalInfoPage = (function () { + function PdQuestionPersonalInfoPage(navCtrl, navParams, aws, qustCat, toast, _fb) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this._fb = _fb; + this.qualifications = ["Graduate", "Under Graduate", "Post Graduate", "Professional"]; + this.earningStatus = ["Earning Member", "House Wife", "Student", "Retired", "Pensioner", "Other Non earning member"]; + this.relationShipList = []; + this.mainApplicantQuestions = ["Name", "Age", "Entity", "Educational Qualification", "Earning Status"]; + this.coApplicantQuestions = ["Name", "Age", "Entity", "Educational Qualification", "Earning Status", "Relationship"]; + this.mainApplicantDetails = []; + this.coApplicantDetails = []; + //coItem:any; + //mainItem:any; + this.repeat = 3; + this.loadDataStatus = false; + this.questionDetails = this.navParams.get('questionDetails'); + this.pdDetails = this.navParams.get('pdDetails'); + this.users = this.aws.getlocale(); + // this.getRelationMaster(); + } + PdQuestionPersonalInfoPage.prototype.ngOnInit = function () { + this.loadPDDetails(); + this.getRelationMaster(); + this.mainApplicantDetails = this.pdDetails.applicat_details + .filter(function (item) { return item.applicant_type == 1; }); + this.coApplicantDetails = this.pdDetails.applicat_details + .filter(function (item) { return item.applicant_type == 0; }); + }; + // load form pd details + PdQuestionPersonalInfoPage.prototype.loadPDDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': '341' }; + this.qustCat.retiverForm(records).subscribe(function (data) { + if (data['status'] == 200) { + _this.loadFormWithIDData(data['records']); + } + else { + var defaultMainApp = []; + var defaultCoApp = []; + // generate default main applicant form details + if (_this.mainApplicantDetails.length > 0) { + for (var j = 0; j < _this.mainApplicantQuestions.length; j++) { + if (j == 0) { + var generateRow = { + "pd_question": "", + "pd_answer": _this.mainApplicantDetails[0].applicant_name, + }; + defaultMainApp.push(generateRow); + } + else { + var generateRow = { + "pd_question": "", + "pd_answer": "", + }; + defaultMainApp.push(generateRow); + } + } + } + _this.loadFormData(defaultMainApp, _this.coApplicantDetails); + } + }, function (error) { return _this.errorMessage = error; }); + }; + PdQuestionPersonalInfoPage.prototype.loadFormWithIDData = function (data) { + var main_result = Object.keys(data.main_applicant_details).map(function (key) { + return data.main_applicant_details[key]; + }); + var co_result = Object.keys(data.co_applicant_details).map(function (key) { + return data.co_applicant_details[key]; + }); + // main applicant + var mainApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](main_result.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ + name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.name_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.age_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.entity_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.qualification_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.earning_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + }); })); + // co applicant + var iterateCoApp = []; + var coApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](co_result.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ + name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.name_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.age_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.entity_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.qualification_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.earning_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + relation_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.relation_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + }); })); + this._personalForm = this._fb.group({ + pdid: null, + form_id: null, + mainItem: mainApplicantGroup, + coItem: coApplicantGroup, + personal_info_form_remark: [data.personal_info_form_remark] + }); + this.loadDataStatus = true; + }; + PdQuestionPersonalInfoPage.prototype.loadFormData = function (mainApp, coApp) { + var _this = this; + // main applicant + var mainApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](this.mainApplicantDetails.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ + name_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[0]), + name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + name_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](0), + age_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[1]), + age_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](1), + age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + entity_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[2]), + entity_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](2), + entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + qualification_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[3]), + qualification_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](3), + qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + earningStatus_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[4]), + earning_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](4), + earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + }); })); + // co applicant + var iterateCoApp = []; + var coApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](this.coApplicantDetails.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ + name_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[0]), + name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + name_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](0), + age_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[1]), + age_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](1), + age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + entity_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[2]), + entity_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](2), + entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + qualification_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[3]), + qualification_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](3), + qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + earningStatus_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[4]), + earning_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](4), + earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + relationShip_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[5]), + relation_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](5), + relation_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), + }); })); + this._personalForm = this._fb.group({ + pdid: null, + form_id: null, + mainItem: mainApplicantGroup, + coItem: coApplicantGroup, + personal_info_form_remark: null + }); + this.loadDataStatus = true; + }; + Object.defineProperty(PdQuestionPersonalInfoPage.prototype, "pdMainapplicant", { + //get pd main applicant array values + get: function () { return this._personalForm.get('mainItem'); }, + enumerable: true, + configurable: true + }); + Object.defineProperty(PdQuestionPersonalInfoPage.prototype, "pdCoapplicant", { + // get pd co applicant array values + get: function () { return this._personalForm.get('coItem'); }, + enumerable: true, + configurable: true + }); + // get relation master details + PdQuestionPersonalInfoPage.prototype.getRelationMaster = function () { + var _this = this; + var relation = "RELATIONSHIPS"; + this.qustCat.getcommondrop(relation).subscribe(function (data) { + if (data['status'] == 200) { + _this.relationShipList = data['records']; + } + }, function (error) { return _this.errorMessage = error; }); + }; + // submit forms details + PdQuestionPersonalInfoPage.prototype.submitPersonalForm = function (formData) { + var _this = this; + if (this._personalForm.valid) { + var main_applicantDetails_1 = []; + var co_applicantDetails_1 = []; + formData.mainItem.forEach(function (element, key) { + if (key == 0) { + main_applicantDetails_1.push({ + "name_ans": element.name_ans, + "age_ans": element.age_ans, + "entity_ans": element.entity_ans, + "qualification_ans": element.qualification_ans, + "earning_ans": element.earning_ans, + }); + } + }); + formData.coItem.forEach(function (Coelement, Cokey) { + co_applicantDetails_1.push({ + "name_ans": Coelement.name_ans, + "age_ans": Coelement.age_ans, + "qualification_ans": Coelement.qualification_ans, + "entity_ans": Coelement.entity_ans, + "earning_ans": Coelement.earning_ans, + "relation_ans": Coelement.relation_ans, + }); + }); + var save_details = { + "pdid": this.pdDetails.pd_id, + "formid": '341', + "fk_createdby": this.users, + "main_applicant_details": main_applicantDetails_1, + "co_applicant_details": co_applicantDetails_1, + "personal_info_form_remark": this._personalForm.get('personal_info_form_remark').value + }; + this.qustCat.saveForm(save_details).subscribe(function (result) { + if (result['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + // this.notifier.notify('success', 'Success.'); + } + else { + // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + } + }, function (error) { + // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }); + } + }; + PdQuestionPersonalInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-personal-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-personal-info\pd-question-personal-info.html"*/'\n\n\n\n \n\n \n\n Personal Info Category\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n
\n\n\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Main Applicant\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{education}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{earning}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n Co Applicant\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{education}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{earning}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{rel.name}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n Remarks\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-personal-info\pd-question-personal-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) + ], PdQuestionPersonalInfoPage); + return PdQuestionPersonalInfoPage; +}()); + +//# sourceMappingURL=pd-question-personal-info.js.map + +/***/ }), + +/***/ 371: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionRentalInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionRentalInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionRentalInfoPage = (function () { + function PdQuestionRentalInfoPage(navCtrl, navParams, aws, toast, qustCat, fb) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.toast = toast; + this.qustCat = qustCat; + this.fb = fb; + this.FormId = this.navParams.get('FormId'); + this.pdDetails = this.navParams.get('pdDetails'); + this.users = this.aws.getlocale(); + this.rentalForms = this.fb.group({ + person_met: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + property_own: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + nature_property: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + nature_others: [null], + rental_home: this.fb.array([]) + }); + this.getRentalDetails(); + } + PdQuestionRentalInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionRentalInfoPage'); + }; + PdQuestionRentalInfoPage.prototype.createrentalHome = function () { + return this.fb.group({ + complete_add: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + area_of_property: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + structure_property: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + total_room: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + is_rent: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + date_agreement: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + date_validity: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + rent_agreement: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + actual_rent: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + photo_areegment: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + property_photographs: [null], + bank: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + cash: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + rent_each_floor: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + total_rent: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + related_doc_owner: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + details_tenants: this.fb.array([]), + third_party_check: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + }); + }; + PdQuestionRentalInfoPage.prototype.createTenantsDetails = function () { + return this.fb.group({ + name: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + mobile_no: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + tenants_seen: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + tenants_con_owner: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + rent_paid: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + staying_since: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + }); + }; + PdQuestionRentalInfoPage.prototype.addrentalHome = function () { + var control = this.rentalForms.get('rental_home'); + control.push(this.createrentalHome()); + this.addTenantsDetails(0); + }; + PdQuestionRentalInfoPage.prototype.addTenantsDetails = function (i) { + var control = this.rentalForms.controls['rental_home'].at(i).get('details_tenants'); + // control.controls.splice(0); + control.push(this.createTenantsDetails()); + }; + PdQuestionRentalInfoPage.prototype.deleteTenantsDetails = function (rentIndex, TenantsIndex) { + var control = this.rentalForms.controls['rental_home'].at(rentIndex).get('details_tenants'); + control.removeAt(TenantsIndex); + }; + PdQuestionRentalInfoPage.prototype.deleterentalHome = function (i) { + var control = this.rentalForms.controls['rental_home']; + if (control.length == 1) { + this.rentalForms.controls['rental_home'].reset(); + } + else { + control.removeAt(i); + } + }; + PdQuestionRentalInfoPage.prototype.saveRentalDetails = function (answerData) { + var _this = this; + var records = {}; + // if(this.rentalForms.valid){ + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.person_met = answerData.person_met; + records.property_own = answerData.property_own; + records.nature_property = answerData.nature_property; + if (answerData.nature_property == 'others') { + records.nature_others = answerData.nature_others; + } + records.rental_home = answerData.rental_home; + Object.keys(records.rental_home).forEach(function (key) { return (records.rental_home[key] == null) && delete answerData[key]; }); + this.qustCat.saveForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + _this.navCtrl.pop(); + } + }); + // }else + // { + // this.toast.pdTriggerappmessage('Enter All Field'); + // } + }; + PdQuestionRentalInfoPage.prototype.getRentalDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + var rentalDetails = res['records']; + var rentalData = Object.keys(res['records'].rental_home).map(function (key) { + return res['records'].rental_home[key]; + }); + var tanantsData = []; + var control = _this.rentalForms.controls['rental_home']; + var tanantscontrol; + rentalData.forEach(function (val, index) { + // this.addrentalHome(); + // tanantsData.push(Object.keys(val.details_tenants).map(function(key) + // { + // return val.details_tenants[key]; + // })); + rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function (key) { + return val.details_tenants[key]; + }); + control.push(_this.createrentalHome()); + tanantscontrol = _this.rentalForms.controls['rental_home'].at(index).get('details_tenants'); + rentalData[index].details_tenants.forEach(function (val, key) { + //rentalData[index].details_tenants = val; + // rentalData[index].details_tenants = [key]; + tanantscontrol.push(_this.createTenantsDetails()); + }); + // control[index].details_tenants =tanantscontrol; + }); + _this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met); + _this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own); + _this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property); + if (rentalDetails.nature_property == 'others') { + _this.rentalForms.controls['nature_others']. + setValue(rentalDetails.nature_others); + } + _this.rentalForms.controls['rental_home'].setValue(rentalData); + } + else { + _this.addrentalHome(); + // this.addTenantsDetails(0); + } + }); + }; + PdQuestionRentalInfoPage.prototype.createTenantsDetailswithData = function (index, data) { + return this.fb.group({ + name: [data.name], + mobile_no: [data.mobile_no], + tenants_seen: [data.tenants_seen], + tenants_con_owner: [data.tenants_con_owner], + rent_paid: [data.rent_paid], + staying_since: [data.staying_since] + }); + }; + PdQuestionRentalInfoPage.prototype.validateAllFormFields = function (formGroup) { + var _this = this; + Object.keys(formGroup.controls).forEach(function (field) { + var control = formGroup.get(field); + if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]) { + control.markAsTouched({ onlySelf: true }); + } + else if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]) { + _this.validateAllFormFields(control); + } + else if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */]) { + _this.validateAllFormFields(control); + } + }); + }; + PdQuestionRentalInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-rental-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-rental-info\pd-question-rental-info.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Applicant\n\n Co-Applicant\n\n Parental\n\n\n\n \n\n \n\n \n\n \n\n Residential/commercial\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n Rentel Home Details {{rent_i+1}}\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n

Is Rent agreement available

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

Photo of agreement taken ?

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n \n\n\n\n \n\n
\n\n

Details of the tenants {{i+1}}

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-rental-info\pd-question-rental-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) + ], PdQuestionRentalInfoPage); + return PdQuestionRentalInfoPage; +}()); + +//# sourceMappingURL=pd-question-rental-info.js.map + +/***/ }), + +/***/ 372: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedDashPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_info_pd_question_assessed_info__ = __webpack_require__(373); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionAssessedDashPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedDashPage = (function () { + function PdQuestionAssessedDashPage(navCtrl, navParams, aws, fb, qustCat, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.qustCat = qustCat; + this.toast = toast; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + this.users = this.aws.getlocale(); + this.assessedForm = this.fb.group({ + calc_type_id: [null], + fk_pd_id: [this.pdDetails.pd_id], + mode: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + margin: [null], + fk_createdby: [this.users], + fk_updatedby: [null], + }); + } + PdQuestionAssessedDashPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedDashPage'); + }; + PdQuestionAssessedDashPage.prototype.ionViewCanEnter = function () { + this.getassessedIncome(); + }; + PdQuestionAssessedDashPage.prototype.getViewPage = function (pageId) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], { 'pdDetails': this.pdDetails, 'pageId': pageId }); + }; + PdQuestionAssessedDashPage.prototype.saveAssessedForm = function (answerData) { + var _this = this; + if (this.assessedForm.valid) { + var records = { 'records': this.assessedForm.value }; + this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.getassessedIncome(); + } + else { + } + }); + } + }; + PdQuestionAssessedDashPage.prototype.getassessedIncome = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id }; + this.qustCat.retiverassessedForm('getAssessedIncome', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.assessedProcess = true; + _this.grossprofit = res['records'].gross_profit_calculation_type[0]; + if (res['records'].purchase_details.length != 0) { + _this.purchaseData = true; + } + if (res['records'].sales_items_by_monthwise.length != 0 || res['records'].sales_declared_by_customer.length != 0 || res['records'].sales_calculated_by_itemwise.length != 0) { + _this.salesData = true; + } + if (res['records'].business_expenses.length != 0) { + _this.businessData = true; + } + if (res['records'].house_hold_expenses.length != 0) { + _this.houseExpenseData = true; + } + if (res['records'].othre_business_income.length != 0) { + _this.businessIncome = true; + } + if (res['records'].final_data.length != 0) { + _this.finalAccess = true; + _this.finalData = res['records'].final_data[0]; + _this.finalIncome = _this.finalData.income; + _this.finalExpense = _this.finalData.expense; + } + if (_this.grossprofit !== undefined) { + _this.grossAccess = true; + _this.assessedForm.controls['mode'].setValue(_this.grossprofit.mode); + _this.assessedForm.controls['margin'].setValue(_this.grossprofit.margin); + _this.assessedForm.controls['calc_type_id'].setValue(_this.grossprofit.calc_type_id); + } + } + else { + _this.assessedProcess = false; + } + }); + }; + PdQuestionAssessedDashPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-dash',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-dash\pd-question-assessed-dash.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Purchase Calculation\n\n \n\n \n\n \n\n
\n\n \n\n

Purchase Detail Available

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n \n\n

Sales

\n\n \n\n Gross Margin\n\n Net Margin\n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

SALES

\n\n
\n\n
\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

PURCHASE

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

BUSINESS EXPENSE

\n\n
\n\n
\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

HOUSE HOLD

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

OTHER BUSINESS INCOME

\n\n
\n\n
\n\n
\n\n \n\n

SUMMARY

\n\n
\n\n \n\n \n\n
Business Revenue
\n\n
\n\n \n\n
{{finalIncome.sales_revenue}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Purchase
\n\n
\n\n \n\n
{{finalExpense.purchase}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Gross Profit
\n\n
\n\n \n\n
{{finalData.gross_profit}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Business Expense
\n\n
\n\n \n\n
{{finalExpense.business_expense}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Business Income
\n\n
\n\n \n\n
{{finalData.other_business_income}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Net Profit
\n\n
\n\n \n\n
{{finalExpense.net_profit}}
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-dash\pd-question-assessed-dash.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionAssessedDashPage); + return PdQuestionAssessedDashPage; +}()); + +//# sourceMappingURL=pd-question-assessed-dash.js.map + +/***/ }), + +/***/ 373: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__ = __webpack_require__(374); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__ = __webpack_require__(375); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__ = __webpack_require__(376); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__ = __webpack_require__(377); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__ = __webpack_require__(378); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__ = __webpack_require__(379); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + + + +/** + * Generated class for the PdQuestionAssessedInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedInfoPage = (function () { + function PdQuestionAssessedInfoPage(navCtrl, navParams, aws, qustCat, toast, fb) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.fb = fb; + this.houseannual = []; + this.expenseannual = []; + this.sales_item_month_value = []; + this.sales_wise_month_headers = []; + this.sales_month_wise_data = []; + this.grandpurchaseTotal = null; + this.annual = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.pageId = this.navParams.get('pageId'); + switch (this.pageId) { + case 1: + this.FormName = "Sales Page"; + break; + case 2: + this.FormName = "Purchase Page"; + break; + case 3: + this.FormName = "Business Expense Page"; + break; + case 4: + this.FormName = "House Hold Page"; + break; + default: + this.FormName = "Question Page"; + break; + } + this.users = this.aws.getlocale(); + this.assessedForm = this.fb.group({ + sdc_id: [null], + sales_declared_by_customer: [null], + fk_pd_id: [this.pdDetails.pd_id], + margin_per: [null], + margin_value: [null], + isactive: [1], + fk_createdby: [this.users], + }); + // this.getdropList(); + } + PdQuestionAssessedInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedInfoPage'); + }; + PdQuestionAssessedInfoPage.prototype.ionViewDidEnter = function () { + }; + PdQuestionAssessedInfoPage.prototype.ionViewCanEnter = function () { + this.getAssessedDetails(); + }; + PdQuestionAssessedInfoPage.prototype.getMarginCalc = function () { + var margin_per = this.assessedForm.controls['margin_per'].value; + var sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value; + if (margin_per != null && sales_declared_by_customer != null) { + var value = sales_declared_by_customer * (margin_per / 100); + this.assessedForm.controls['margin_value'].setValue(value); + } + }; + PdQuestionAssessedInfoPage.prototype.saveData = function (answerData) { + var _this = this; + var records = {}; + records = { 'records': answerData }; + console.log(records); + this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer', records).subscribe(function (res) { + // console.log(res); + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + _this.getAssessedDetails(); + } + }); + }; + PdQuestionAssessedInfoPage.prototype.getAssessedDetails = function () { + var _this = this; + this.sales_item_month_value = []; + this.sales_month_wise_data = []; + this.sales_item_value = []; + var records = { 'pd_id': this.pdDetails.pd_id }; + this.qustCat.retiverassessedForm('getAssessedIncome', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + var sales_value = res['records'].sales_declared_by_customer[0]; + _this.sales_item_value = res['records'].sales_calculated_by_itemwise; + _this.sales_item_month_value = res['records'].sales_items_by_monthwise; + _this.purchse_details = res['records'].purchase_details; + _this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]; + _this.mode = _this.grossprofitCalc.mode; + console.log(_this.grossprofitCalc); + var result = _this.purchse_details.reduce(function (p, c) { + return p; + }, []); + console.log(result); + _this.businessExpenses_details = res['records'].business_expenses; + _this.houseHold_details = res['records'].house_hold_expenses; + _this.busissnessIncome = res['records'].othre_business_income; + // console.log(this.sales_item_month_value); + // this.getpurchaseDetails(this.purchse_details); + _this.sales_item_month_value.forEach(function (itemElement, itemIndex) { + var expandBodyContent = Object.keys(itemElement.items).map(function (key) { return ({ header: key, value: itemElement.items[key] }); }); + var listItems = []; + expandBodyContent.forEach(function (expnadElement, expnadIndex) { + var calculateItems = expnadElement.value.reduce(function (acc, calculate) { return acc + Number(calculate.sales_value); }, 0); + listItems.push({ items: expnadElement, itemsTotal: calculateItems }); + }); + var calculateAllItemsTotal = listItems.reduce(function (racc, rcalculate) { return racc + Number(rcalculate.itemsTotal); }, 0); + var convertYear = 12 / listItems.length; + var footerMessage = []; + footerMessage.push({ + month_message: listItems.length + ' Month Sales : ' + calculateAllItemsTotal, + month_value: calculateAllItemsTotal, + year_message: ' Yearly Sales Arrived : ' + calculateAllItemsTotal * convertYear, + year_value: calculateAllItemsTotal * convertYear, + }); + _this.sales_month_wise_data.push({ salesItem: itemElement.sales_item, expandElements: expandBodyContent, footerMessage: footerMessage, simId: itemElement.sim_id }); + }); + console.log(_this.sales_month_wise_data); + if (sales_value !== undefined) { + _this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id); + _this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer); + _this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value); + _this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per); + } + } + }); + }; + /** + * Add Assessed Forms + */ + PdQuestionAssessedInfoPage.prototype.AddAssessedForm = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': null, 'grossprofit': this.grossprofitCalc }); + }; + PdQuestionAssessedInfoPage.prototype.editDetails = function (salesCal) { + var salesData = this.sales_item_value.filter(function (sal) { return sal.sci_id == salesCal; }); + console.log(salesData); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': salesData, 'grossprofit': this.grossprofitCalc }); + }; + PdQuestionAssessedInfoPage.prototype.editAllDetails = function (AllsalesData) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': AllsalesData, 'grossprofit': this.grossprofitCalc }); + }; + /**Assessed Daily Form Details */ + PdQuestionAssessedInfoPage.prototype.AddAssessedDailyForm = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], { 'pdDetails': this.pdDetails, 'salesDaily': null, 'grossprofit': this.grossprofitCalc }); + }; + PdQuestionAssessedInfoPage.prototype.editAssessedDailyForm = function (simId) { + var dailySaleDetails = this.sales_item_month_value.filter(function (ass) { return ass.sim_id == simId; }); + console.log(dailySaleDetails); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], { 'pdDetails': this.pdDetails, 'salesDaily': dailySaleDetails, 'grossprofit': this.grossprofitCalc }); + }; + /**purchase Details Forms */ + PdQuestionAssessedInfoPage.prototype.AddPurchaseForm = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': null }); + }; + PdQuestionAssessedInfoPage.prototype.editPurchaseDetails = function (purchaseCal) { + var salesData = this.purchse_details.filter(function (sal) { return sal.purchase_id == purchaseCal; }); + console.log(salesData); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': salesData }); + }; + PdQuestionAssessedInfoPage.prototype.editPurchaseAllDetails = function (AllpurchaseData) { + console.log('260', AllpurchaseData); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': AllpurchaseData }); + }; + /**Business Expense */ + PdQuestionAssessedInfoPage.prototype.AddExpenseForm = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': null }); + }; + PdQuestionAssessedInfoPage.prototype.editExpenseDetails = function (expenseCal) { + var salesData = this.businessExpenses_details.filter(function (sal) { return sal.pd_expense_id == expenseCal; }); + console.log(salesData); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': salesData }); + }; + PdQuestionAssessedInfoPage.prototype.editExpenseAllDetails = function (AllexpenseData) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': AllexpenseData }); + }; + /** Household Expenses Details */ + PdQuestionAssessedInfoPage.prototype.AddHouseExpenseForm = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': null }); + }; + PdQuestionAssessedInfoPage.prototype.editHouseExpenseDetails = function (expenseCal) { + var salesData = this.houseHold_details.filter(function (sal) { return sal.household_expense_id == expenseCal; }); + console.log(salesData); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': salesData }); + }; + PdQuestionAssessedInfoPage.prototype.editHouseExpenseAllDetails = function (AllExpenseData) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': AllExpenseData }); + }; + /** + * Income Details + */ + PdQuestionAssessedInfoPage.prototype.AddIncomeForm = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': null }); + }; + PdQuestionAssessedInfoPage.prototype.editIncomeDetails = function (expenseCal) { + var salesData = this.busissnessIncome.filter(function (sal) { return sal.pd_business_income_id == expenseCal; }); + console.log(salesData); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': salesData }); + }; + PdQuestionAssessedInfoPage.prototype.editIncomeAllDetails = function (AllexpenseData) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': AllexpenseData }); + }; + PdQuestionAssessedInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-info\pd-question-assessed-info.html"*/'\n\n\n\n \n\n \n\n {{FormName}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n Sales Calculation\n\n \n\n \n\n \n\n
\n\n

Sales declared by the customer as the annual sales actually done.

\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Sales Details\n\n \n\n \n\n \n\n

Sales Details

\n\n \n\n \n\n \n\n \n\n

{{"✎"}}

\n\n
\n\n
\n\n \n\n\n\n\n\n \n\n \n\n \n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{salesItem.sales_item}}\n\n \n\n \n\n {{"₹"}} {{salesItem.annual_sale_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n Daily Sales Details\n\n \n\n \n\n

Daily Sales Details

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n

{{monthwise.salesItem | titlecase}}

\n\n \n\n \n\n {{eachItem.header}}\n\n
\n\n \n\n \n\n \n\n {{eachmonthItem.sales_date | date:\'dd-MM-yyyy\'}}\n\n \n\n \n\n {{"₹"}} {{eachmonthItem.sales_value}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{monthwise.footerMessage[0].month_message}}
\n\n {{monthwise.footerMessage[0].year_message}}\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n

Purchase Details

\n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{purchase.purchase_item}}\n\n \n\n \n\n {{"₹"}} {{purchase.annual_purchase_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n

Business Expenses

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{expense.expense_item}}\n\n \n\n \n\n {{"₹"}} {{expense.annual_expenses_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n

HouseHold Details

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{houseExepense.expense_item}}\n\n \n\n \n\n {{"₹"}} {{houseExepense.annual_expense_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n

Business Income Details

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{busIncome.business_income_item !=\'Others(Please Specify)\'?busIncome.business_income_item:busIncome.other_frequncy_item}}\n\n \n\n \n\n {{"₹"}} {{busIncome.income_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-info\pd-question-assessed-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) + ], PdQuestionAssessedInfoPage); + return PdQuestionAssessedInfoPage; +}()); + +//# sourceMappingURL=pd-question-assessed-info.js.map + +/***/ }), + +/***/ 374: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedSalesPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionAssessedSalesPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedSalesPage = (function () { + function PdQuestionAssessedSalesPage(navCtrl, navParams, aws, fb, qustCat, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.qustCat = qustCat; + this.toast = toast; + this.salesData = []; + this.annual = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + this.grossprofitCalc = this.navParams.get('grossprofit'); + this.users = this.aws.getlocale(); + this.assessedForm = this.fb.group({ + salesCalItemwise: this.fb.array([]), + }); + this.salesData = this.navParams.get('sales'); + if (this.salesData != null) { + this.getSalesItemData(this.salesData); + } + else { + this.addSalesCal(); + } + // this.addSalesCal(); + this.getdropList(); + } + PdQuestionAssessedSalesPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedSalesPage'); + }; + PdQuestionAssessedSalesPage.prototype.getdropList = function () { + var _this = this; + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('UOM').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.UOM = res['records'].filter(function (uom) { return uom.isactive == 1; }); + } + }); + }; + PdQuestionAssessedSalesPage.prototype.createSalesCal = function () { + return this.fb.group({ + sci_id: [null], + fk_pd_id: [this.pdDetails.pd_id], + sales_item: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + sales_qty: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + fk_uom_id: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + rate_per_unit: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + annual_sale_value: [null], + margin_per: [null], + margin_per_uom: [null], + margin_final_value: [null], + }); + }; + PdQuestionAssessedSalesPage.prototype.addSalesCal = function () { + if (this.assessedForm.valid) { + var control = this.assessedForm.get('salesCalItemwise'); + control.push(this.createSalesCal()); + } + else { + this.toast.pdTriggerappmessage('Enter the all fields'); + } + }; + PdQuestionAssessedSalesPage.prototype.removeSalesCal = function (i) { + this.annual.splice(i, 1); + // this.annual[i].spl + this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); + console.log(this.grandTotal); + var control = this.assessedForm.get('salesCalItemwise'); + if (control.length == 1) { + control.removeAt(i); + this.addSalesCal(); + } + else { + control.removeAt(i); + } + }; + /** + * frequency Type + * 1.Weekly no need + * 2.Daily 250 + * 3.Yearly + * 4.Hourly no need + * 5.Monthly 12 + * 6.none + * 7.none + * 8.none + */ + PdQuestionAssessedSalesPage.prototype.salecalculat = function (index, details) { + // console.log(details,index); + var frequencyId = details.value.fk_frequency_id; + var salesQty = details.value.sales_qty; + var UOM = details.value.rate_per_unit; + // console.log(frequencyId,salesQty,UOM,index); + // console.log(frequencyId); + var annual; + if (salesQty != null && UOM != null) { + if (frequencyId == 1) { + } + else if (frequencyId == 2) { + annual = (salesQty * UOM * 250); + this.annual[index] = annual; + details.controls['annual_sale_value'].setValue(annual); + } + else if (frequencyId == 3) { + annual = (salesQty * UOM); + this.annual[index] = annual; + details.controls['annual_sale_value'].setValue(annual); + } + else if (frequencyId == 4) { + } + else if (frequencyId == 5) { + annual = (salesQty * UOM * 12); + this.annual[index] = annual; + details.controls['annual_sale_value'].setValue(annual); + } + else if (frequencyId == 6) { + } + else if (frequencyId == 7) { + } + else if (frequencyId == 8) { + } + else { + } + this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); + } + else { + // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM'); + } + console.log(this.annual); + }; + PdQuestionAssessedSalesPage.prototype.getSalesCalc = function (details) { + // console.log(details); + var margin_per = details.value.margin_per; + var margin_amount = details.value.margin_per_uom; + var annual_sale_value = details.value.annual_sale_value; + var sales_qty = details.value.sales_qty; + // console.log(sales_qty,margin_amount); + var value = ''; + if (margin_per != null || margin_amount != null) { + if (margin_per != null) { + value = +annual_sale_value * (+margin_per / 100); + } + else { + console.log('else'); + value = +sales_qty * +margin_amount; + } + console.log(value); + details.controls['margin_final_value'].setValue(value); + } + }; + PdQuestionAssessedSalesPage.prototype.saveData = function (answerData) { + var _this = this; + var records = { 'records': answerData.salesCalItemwise }; + console.log(records); + this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + }); + }; + PdQuestionAssessedSalesPage.prototype.getSalesItemData = function (salesData) { + var _this = this; + console.log(salesData); + var control = this.assessedForm.get('salesCalItemwise'); + salesData.forEach(function (sale, index) { + _this.annual[index] = sale.annual_sale_value; + control.push(_this.createSaleswithData(sale)); + }); + // this.assessedForm.controls['salesCalItemwise'].setValue(salesData); + // console.log(control); + this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); + }; + PdQuestionAssessedSalesPage.prototype.createSaleswithData = function (data) { + return this.fb.group({ + sci_id: [data.sci_id], + fk_pd_id: [this.pdDetails.pd_id], + sales_item: [data.sales_item, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + sales_qty: [data.sales_qty, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + fk_uom_id: [data.fk_uom_id, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + rate_per_unit: [data.rate_per_unit, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + annual_sale_value: [data.annual_sale_value], + margin_per: [data.margin_per], + margin_per_uom: [data.margin_per_uom], + margin_final_value: [data.margin_final_value], + }); + }; + PdQuestionAssessedSalesPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-sales',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-sales\pd-question-assessed-sales.html"*/'\n\n\n\n \n\n \n\n Item Salas Details\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n

Itemwise

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

Grand Total : {{grandTotal}}

\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-sales\pd-question-assessed-sales.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionAssessedSalesPage); + return PdQuestionAssessedSalesPage; +}()); + +//# sourceMappingURL=pd-question-assessed-sales.js.map + +/***/ }), + +/***/ 375: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedDailySalesPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionAssessedDailySalesPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedDailySalesPage = (function () { + function PdQuestionAssessedDailySalesPage(navCtrl, navParams, aws, qustCat, toast, fb, constant) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.fb = fb; + this.constant = constant; + this.temparr = []; + this.tempdate = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + this.salesDaily = this.navParams.get('salesDaily'); + this.grossprofitCalc = this.navParams.get('grossprofit'); + this.users = this.aws.getlocale(); + this.currentDate = constant.getcurrentDate().replace("T00:00", ''); + this.salesDailyForm = this.fb.group({ + sales_product: this.fb.array([]), + }); + if (this.salesDaily != null) { + this.getDailySalesData(this.salesDaily); + } + else { + this.adddailySalaesProduct(); + } + } + PdQuestionAssessedDailySalesPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage'); + }; + PdQuestionAssessedDailySalesPage.prototype.createdailysalesProduct = function () { + return this.fb.group({ + sim_id: [null], + sales_item: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + child: this.fb.array([]), + fk_pd_id: [this.pdDetails.pd_id], + margin_per: [null], + margin_value: [null], + fk_createdby: [this.users], + isactive: ['1'], + }); + }; + PdQuestionAssessedDailySalesPage.prototype.createdailyChildSaleProduct = function () { + return this.fb.group({ + simc_id: [null], + fk_sim_id: [null], + sales_date: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + sales_value: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + isactive: ['1'], + }); + }; + PdQuestionAssessedDailySalesPage.prototype.getSalesCalc = function (subchild, child, key) { + var saledate = new Date(subchild.value.sales_date).getMonth() + 1; + var totalitemmargin = child.value.margin_per; + if (totalitemmargin != null && subchild.value.sales_value != null) { + var loopAccess = false; + var loopindex = 0; + if (this.tempdate.length != 0) { + for (var i = 0; i < this.tempdate.length; i++) { + if (this.tempdate[i].month == saledate) { + loopAccess = true; + loopindex = i; + } + } + if (loopAccess) { + this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value; + this.temparr.push(subchild.value.sales_value); + loopAccess = false; + loopindex = 0; + } + else { + this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); + this.temparr.push(subchild.value.sales_value); + } + } + else { + this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); + this.temparr.push(subchild.value.sales_value); + } + var totalMonth = 12 / this.tempdate.length; + var tempgrandTotal = this.tempdate.reduce(function (a, b) { return (+a + +b.value); }, 0); + // let value = tempgrandTotal * (totalitemmargin / 100); + var value = tempgrandTotal * totalMonth; + var grandValue = value * (totalitemmargin / 100); + child.controls['margin_value'].setValue(grandValue); + } + }; + PdQuestionAssessedDailySalesPage.prototype.adddailySalaesProduct = function () { + this.tempdate = []; + if (this.salesDailyForm.valid) { + var control = this.salesDailyForm.get('sales_product'); + control.push(this.createdailysalesProduct()); + this.adddailyChildSaleProduct(control.length - 1); + } + }; + PdQuestionAssessedDailySalesPage.prototype.adddailyChildSaleProduct = function (index) { + // if(this.salesDailyForm.valid){ + var control = this.salesDailyForm.get('sales_product').at(index).get('child'); + control.push(this.createdailyChildSaleProduct()); + // } + }; + PdQuestionAssessedDailySalesPage.prototype.deletedailySalesProduct = function (index) { + this.tempdate.slice(index, 1); + var control = this.salesDailyForm.controls['sales_product']; + if (control.length == 1) { + this.salesDailyForm.controls['sales_product'].reset(); + } + else { + control.removeAt(index); + } + }; + PdQuestionAssessedDailySalesPage.prototype.deletedailyChildSaleProduct = function (saleIndex, saleChildIndex) { + this.tempdate = []; + var control = this.salesDailyForm.controls['sales_product'].at(saleIndex).get('child'); + if (control.length == 1) { + control.removeAt(saleChildIndex); + this.adddailyChildSaleProduct(saleIndex); + } + else { + control.removeAt(saleChildIndex); + } + }; + PdQuestionAssessedDailySalesPage.prototype.saveData = function (answerData) { + var _this = this; + if (this.salesDailyForm.valid) { + var records = { 'records': answerData.sales_product }; + this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + }); + } + }; + PdQuestionAssessedDailySalesPage.prototype.getDailySalesData = function (dailySalesData) { + var _this = this; + var control = this.salesDailyForm.get('sales_product'); + var salesChildControl; + var salesChildControlarr = []; + dailySalesData.forEach(function (val, index) { + control.push(_this.dailySalesWithData(val)); + salesChildControl = _this.salesDailyForm.controls['sales_product'].at(index).get('child'); + salesChildControlarr[index] = Object.keys(val['items']).map(function (key) { return val['items'][key]; }); + salesChildControlarr[index].forEach(function (vals, i) { + vals.forEach(function (item, key) { + var saleDate = new Date(item.sales_date); + item.sales_date = saleDate.getFullYear() + '-' + ("0" + (saleDate.getMonth() + 1)).slice(-2) + '-' + ("0" + (saleDate.getDay() + 1)).slice(-2); + salesChildControl.push(_this.dailySalesChildWithData(item, val.sim_id)); + }); + }); + }); + }; + PdQuestionAssessedDailySalesPage.prototype.dailySalesWithData = function (data) { + return this.fb.group({ + sim_id: [data.sim_id], + sales_item: [data.sales_item, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + child: this.fb.array([]), + fk_pd_id: [this.pdDetails.pd_id], + fk_createdby: [this.users], + isactive: ['1'], + margin_per: [data.margin_per], + margin_value: [data.margin_value], + }); + }; + PdQuestionAssessedDailySalesPage.prototype.dailySalesChildWithData = function (data, fk_id) { + return this.fb.group({ + simc_id: [data.simc_id], + fk_sim_id: [fk_id], + sales_date: [data.sales_date, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + sales_value: [data.sales_value, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + isactive: ['1'], + }); + }; + PdQuestionAssessedDailySalesPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-daily-sales',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-daily-sales\pd-question-assessed-daily-sales.html"*/'\n\n\n\n \n\n \n\n Assessed Daily Sales Details\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n

{{item.get(\'sales_item\').value | titlecase}}

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-daily-sales\pd-question-assessed-daily-sales.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssessedDailySalesPage); + return PdQuestionAssessedDailySalesPage; +}()); + +//# sourceMappingURL=pd-question-assessed-daily-sales.js.map + +/***/ }), + +/***/ 376: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedPurchasePage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_aws_service__ = __webpack_require__(7); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionAssessedPurchasePage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedPurchasePage = (function () { + function PdQuestionAssessedPurchasePage(navCtrl, fb, navParams, qustCat, toast, aws) { + this.navCtrl = navCtrl; + this.fb = fb; + this.navParams = navParams; + this.qustCat = qustCat; + this.toast = toast; + this.aws = aws; + this.annual = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.purchaseDetails = this.navParams.get('purchase'); + this.users = this.aws.getlocale(); + this.rawMaterialForm = this.fb.group({ + purchase: this.fb.array([]), + }); + if (this.purchaseDetails != null) { + this.getpurchaseDetails(this.purchaseDetails); + } + else { + this.addPurchaseDetails(); + } + this.getdropList(); + } + PdQuestionAssessedPurchasePage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedPurchasePage'); + }; + PdQuestionAssessedPurchasePage.prototype.createPurchaseDetails = function () { + return this.fb.group({ + purchase_id: [null], + fk_pd_id: [this.pdDetails.pd_id], + purchase_item: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + purchase_qty: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_uom_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + rate_per_unit: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + annual_purchase_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + isactive: ['1'], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedPurchasePage.prototype.getdropList = function () { + var _this = this; + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_freqOfPurchase = res['records'].filter(function (fre) { return fre.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('UOM').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.UOM = res['records'].filter(function (uom) { return uom.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.businessExpenses = res['records'].filter(function (bus) { return bus.isactive == 1; }); + } + }); + }; + PdQuestionAssessedPurchasePage.prototype.addPurchaseDetails = function () { + var control = this.rawMaterialForm.controls['purchase']; + control.push(this.createPurchaseDetails()); + }; + PdQuestionAssessedPurchasePage.prototype.deletePurchaseDetails = function (i) { + this.annual.splice(i, 1); + // this.annual[i].spl + this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return +a + +b; }, 0); + var control = this.rawMaterialForm.controls['purchase']; + control.removeAt(i); + }; + PdQuestionAssessedPurchasePage.prototype.salecalculat = function (index, details) { + console.log(this.grandpurchaseTotal); + console.log(details, index); + var frequencyId = details.value.fk_frequency_id; + var purchaseQty = details.value.purchase_qty; + var UOM = details.value.rate_per_unit; + console.log(frequencyId, purchaseQty, UOM, index); + // console.log(frequencyId); + var annual; + if (purchaseQty != null && UOM != null) { + if (frequencyId == 1) { + } + else if (frequencyId == 2) { + annual = (purchaseQty * UOM * 250); + this.annual[index] = annual; + details.controls['annual_purchase_value'].setValue(annual); + } + else if (frequencyId == 3) { + annual = (purchaseQty * UOM); + this.annual[index] = annual; + details.controls['annual_purchase_value'].setValue(annual); + } + else if (frequencyId == 4) { + } + else if (frequencyId == 5) { + annual = (purchaseQty * UOM * 12); + this.annual[index] = annual; + details.controls['annual_purchase_value'].setValue(annual); + } + else if (frequencyId == 6) { + } + else if (frequencyId == 7) { + } + else if (frequencyId == 8) { + } + else { + } + this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return +a + +b; }, 0); + } + else { + this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM'); + } + }; + PdQuestionAssessedPurchasePage.prototype.savepurchaseData = function (answerData) { + var _this = this; + if (this.rawMaterialForm.valid) { + var records = { 'records': answerData.purchase }; + console.log('data', records); + this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + // this.getAssessedDetails(); + } + }); + } + else { + this.toast.pdTriggerappmessage('Enter All Field'); + } + }; + PdQuestionAssessedPurchasePage.prototype.getpurchaseDetails = function (purchaseDetails) { + var _this = this; + console.log('function in', purchaseDetails); + var control = this.rawMaterialForm.controls['purchase']; + console.log(control); + if (purchaseDetails.length == 0) { + console.log('if'); + this.addPurchaseDetails(); + } + else { + console.log('else'); + purchaseDetails.forEach(function (val, index) { + // console.log(index); + control.push(_this.createPurchasewithData(val)); + _this.annual[index] = val.annual_purchase_value; + }); + this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return (+a + +b); }, 0); + } + // console.log(control); + }; + PdQuestionAssessedPurchasePage.prototype.createPurchasewithData = function (data) { + return this.fb.group({ + purchase_id: [data.purchase_id], + fk_pd_id: [this.pdDetails.pd_id], + purchase_item: [data.purchase_item, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + purchase_qty: [data.purchase_qty, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_uom_id: [data.fk_uom_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + rate_per_unit: [data.rate_per_unit, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + annual_purchase_value: [data.annual_purchase_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + isactive: ['1'], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedPurchasePage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-purchase',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-purchase\pd-question-assessed-purchase.html"*/'\n\n\n\n \n\n \n\n Purchase\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n\n\n \n\n {{uom.name}}\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n\n\n \n\n {{frq.name}}\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n

Grand Total:

\n\n
\n\n \n\n

{{grandpurchaseTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-purchase\pd-question-assessed-purchase.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_aws_service__["a" /* AwsServiceProvider */]]) + ], PdQuestionAssessedPurchasePage); + return PdQuestionAssessedPurchasePage; +}()); + +//# sourceMappingURL=pd-question-assessed-purchase.js.map + +/***/ }), + +/***/ 377: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedBusinessPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionAssessedBusinessPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedBusinessPage = (function () { + function PdQuestionAssessedBusinessPage(navCtrl, navParams, fb, aws, qustCat, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.grandExpenseTotal = []; + this.expenseannual = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.expenseDetails = this.navParams.get('expense'); + this.users = this.aws.getlocale(); + this.BuissnessForm = this.fb.group({ + busExpense: this.fb.array([]), + }); + if (this.expenseDetails != null) { + this.getBuisnessExpenses(this.expenseDetails); + } + else { + this.addBusinessDetails(); + } + this.getdropdown(); + } + PdQuestionAssessedBusinessPage.prototype.grandpurchaseTotal = function (arg0) { + throw new Error("Method not implemented."); + }; + PdQuestionAssessedBusinessPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.businessExpenses = res['records'].filter(function (bus) { return bus.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); + } + }); + }; + PdQuestionAssessedBusinessPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedBusinessPage'); + }; + PdQuestionAssessedBusinessPage.prototype.createBusinessDetails = function () { + return this.fb.group({ + pd_expense_id: [null], + fk_pd_id: [this.pdDetails.pd_id], + expense_item_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + annual_expenses_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + isactive: ['1'], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedBusinessPage.prototype.addBusinessDetails = function () { + var control = this.BuissnessForm.controls['busExpense']; + control.push(this.createBusinessDetails()); + }; + PdQuestionAssessedBusinessPage.prototype.deleteBuisnessDetails = function (i) { + this.expenseannual.splice(i, 1); + this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); + var control = this.BuissnessForm.controls['busExpense']; + control.removeAt(i); + }; + PdQuestionAssessedBusinessPage.prototype.busExpensecalculat = function (index, details) { + var frequencyId = details.value.fk_frequency_id; + var expenseValue = details.value.expense_value; + var UOM = details.value.rate_per_unit; + var annual; + if (expenseValue != null) { + if (frequencyId == 1) { + } + else if (frequencyId == 2) { + annual = (expenseValue * 250); + this.expenseannual[index] = annual; + details.controls['annual_expenses_value'].setValue(annual); + } + else if (frequencyId == 3) { + annual = (expenseValue); + this.expenseannual[index] = annual; + details.controls['annual_expenses_value'].setValue(annual); + } + else if (frequencyId == 4) { + } + else if (frequencyId == 5) { + annual = (expenseValue * 12); + this.expenseannual[index] = annual; + details.controls['annual_expenses_value'].setValue(annual); + } + else if (frequencyId == 6) { + } + else if (frequencyId == 7) { + } + else if (frequencyId == 8) { + } + else { + } + this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); + } + else { + this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); + } + }; + PdQuestionAssessedBusinessPage.prototype.saveBusinessData = function (answerData) { + var _this = this; + if (this.BuissnessForm.valid) { + var records = { 'records': answerData.busExpense }; + this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + }); + } + else { + this.toast.pdTriggerappmessage('Enter The All Field'); + } + }; + PdQuestionAssessedBusinessPage.prototype.getBuisnessExpenses = function (expenseDetails) { + var _this = this; + if (expenseDetails.length == 0) { + this.addBusinessDetails(); + } + else { + var control_1 = this.BuissnessForm.controls['busExpense']; + expenseDetails.forEach(function (val, index) { + _this.expenseannual[index] = val.annual_expenses_value; + control_1.push(_this.createBusinessExpensewithData(val)); + }); + this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); + } + }; + PdQuestionAssessedBusinessPage.prototype.createBusinessExpensewithData = function (data) { + return this.fb.group({ + pd_expense_id: [data.pd_expense_id], + fk_pd_id: [this.pdDetails.pd_id], + expense_item_id: [data.expense_item_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + expense_value: [data.expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + annual_expenses_value: [data.annual_expenses_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + isactive: ['1'], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedBusinessPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-business',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business\pd-question-assessed-business.html"*/'\n\n\n\n \n\n \n\n Business Expense\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{expense.expense_item}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n

Total Business Expenses:

\n\n
\n\n \n\n

{{grandExpenseTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business\pd-question-assessed-business.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionAssessedBusinessPage); + return PdQuestionAssessedBusinessPage; +}()); + +//# sourceMappingURL=pd-question-assessed-business.js.map + +/***/ }), + +/***/ 378: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedHouseholdPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__ = __webpack_require__(10); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionAssessedHouseholdPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedHouseholdPage = (function () { + function PdQuestionAssessedHouseholdPage(navCtrl, navParams, fb, aws, toast, qustCat) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.toast = toast; + this.qustCat = qustCat; + this.houseannual = []; + this.grandHouseExpenseTotal = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.houseExpenseDetails = this.navParams.get('FormId'); + this.expenseDetails = this.navParams.get('expense'); + this.users = this.aws.getlocale(); + this.houseHoldForm = this.fb.group({ + houseExpense: this.fb.array([]), + }); + if (this.expenseDetails != null) { + this.getHouseholdExpense(this.expenseDetails); + } + else { + this.addHouseExpenses(); + } + this.getdropdown(); + } + PdQuestionAssessedHouseholdPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage'); + }; + PdQuestionAssessedHouseholdPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); + } + }); + }; + PdQuestionAssessedHouseholdPage.prototype.createHouseExpense = function () { + return this.fb.group({ + household_expense_id: [null], + fk_pd_id: [this.pdDetails.pd_id], + expense_item: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + annual_expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + isactive: ["1"], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedHouseholdPage.prototype.addHouseExpenses = function () { + var control = this.houseHoldForm.controls['houseExpense']; + control.push(this.createHouseExpense()); + }; + PdQuestionAssessedHouseholdPage.prototype.deleteHouseExpense = function (i) { + this.houseannual.splice(i, 1); + this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); + var control = this.houseHoldForm.controls['houseExpense']; + control.removeAt(i); + }; + PdQuestionAssessedHouseholdPage.prototype.houseExpensecalculat = function (index, details) { + var frequencyId = details.value.fk_frequency_id; + var expenseValue = details.value.expense_value; + // let UOM = details.value.rate_per_unit; + // console.log(frequencyId,purchaseQty,UOM,index); + // console.log(details); + var annual; + if (expenseValue != null) { + if (frequencyId == 1) { + } + else if (frequencyId == 2) { + annual = (expenseValue * 250); + this.houseannual[index] = annual; + details.controls['annual_expense_value'].setValue(annual); + } + else if (frequencyId == 3) { + annual = (expenseValue); + this.houseannual[index] = annual; + details.controls['annual_expense_value'].setValue(annual); + } + else if (frequencyId == 4) { + } + else if (frequencyId == 5) { + annual = (expenseValue * 12); + this.houseannual[index] = annual; + details.controls['annual_expense_value'].setValue(annual); + } + else if (frequencyId == 6) { + } + else if (frequencyId == 7) { + } + else if (frequencyId == 8) { + } + else { + } + this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); + console.log(this.grandHouseExpenseTotal); + } + else { + this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); + } + }; + PdQuestionAssessedHouseholdPage.prototype.saveHouseExpenseData = function (answerData) { + var _this = this; + if (this.houseHoldForm.valid) { + var records = { 'records': answerData.houseExpense }; + this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + }); + } + else { + this.toast.pdTriggerappmessage('Enter The All Field'); + } + }; + PdQuestionAssessedHouseholdPage.prototype.getHouseholdExpense = function (houseExpesneDetails) { + var _this = this; + if (houseExpesneDetails.length == 0) { + this.addHouseExpenses(); + } + else { + var control_1 = this.houseHoldForm.controls['houseExpense']; + houseExpesneDetails.forEach(function (val, index) { + _this.houseannual[index] = val.annual_expense_value; + control_1.push(_this.createHouseholdwithData(val)); + }); + this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); + } + }; + PdQuestionAssessedHouseholdPage.prototype.createHouseholdwithData = function (data) { + return this.fb.group({ + household_expense_id: [data.household_expense_id], + fk_pd_id: [this.pdDetails.pd_id], + expense_item: [data.expense_item, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + expense_value: [data.expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + annual_expense_value: [data.annual_expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + isactive: ["1"], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedHouseholdPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-household',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-household\pd-question-assessed-household.html"*/'\n\n\n\n \n\n \n\n House Hold Expense\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

Total Household Expenses :

\n\n
\n\n \n\n

{{grandHouseExpenseTotal}}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-household\pd-question-assessed-household.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__["a" /* QuestionCategoryProvider */]]) + ], PdQuestionAssessedHouseholdPage); + return PdQuestionAssessedHouseholdPage; +}()); + +//# sourceMappingURL=pd-question-assessed-household.js.map + +/***/ }), + +/***/ 379: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedBusinessIncomePage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionAssessedBusinessIncomePage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedBusinessIncomePage = (function () { + function PdQuestionAssessedBusinessIncomePage(navCtrl, navParams, fb, aws, qustCat, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.m_freqOfPurchase = []; + this.grandIncomeTotal = []; + this.incomeannual = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.expenseDetails = this.navParams.get('income'); + this.users = this.aws.getlocale(); + this.BuissnessForm = this.fb.group({ + busIncome: this.fb.array([]), + }); + if (this.expenseDetails != null) { + this.getBuisnessExpenses(this.expenseDetails); + } + else { + this.addBusinessDetails(); + } + this.getdropdown(); + } + PdQuestionAssessedBusinessIncomePage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.businessIncome = res['records'].filter(function (bus) { return bus.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); + } + }); + }; + PdQuestionAssessedBusinessIncomePage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage'); + }; + PdQuestionAssessedBusinessIncomePage.prototype.createBusinessDetails = function () { + return this.fb.group({ + pd_business_income_id: [null], + fk_pd_id: [this.pdDetails.pd_id], + business_income_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + income_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + annual_income_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + isactive: ['1'], + fk_createdby: [this.users], + other_income_item: [null], + other_frequncy_item: [null], + }); + }; + PdQuestionAssessedBusinessIncomePage.prototype.addBusinessDetails = function () { + var control = this.BuissnessForm.controls['busIncome']; + control.push(this.createBusinessDetails()); + }; + PdQuestionAssessedBusinessIncomePage.prototype.deleteBuisnessDetails = function (i) { + this.incomeannual.splice(i, 1); + this.grandIncomeTotal = this.incomeannual.reduce(function (a, b) { return +a + +b; }, 0); + var control = this.BuissnessForm.controls['busIncome']; + control.removeAt(i); + }; + PdQuestionAssessedBusinessIncomePage.prototype.busIncomecalculate = function (index, details) { + var frequencyId = details.value.fk_frequency_id; + var incomeValue = details.value.income_value; + // let UOM = details.value.rate_per_unit; + var annual; + if (incomeValue != null && incomeValue != null) { + var frequency_factor = this.m_freqOfPurchase.filter(function (frq) { return frq.frequency_id == frequencyId; })[0]; + if (frequencyId == 1) { + annual = (incomeValue * frequency_factor.mutiple_factor); + this.incomeannual[index] = annual; + details.controls['annual_income_value'].setValue(annual); + } + else if (frequencyId == 2) { + annual = (incomeValue * frequency_factor.mutiple_factor); + this.incomeannual[index] = annual; + details.controls['annual_income_value'].setValue(annual); + } + else if (frequencyId == 3) { + annual = (incomeValue * frequency_factor.mutiple_factor); + this.incomeannual[index] = annual; + details.controls['annual_income_value'].setValue(annual); + } + else if (frequencyId == 4) { + annual = (incomeValue * frequency_factor.mutiple_factor); + this.incomeannual[index] = annual; + details.controls['annual_income_value'].setValue(annual); + } + else if (frequencyId == 5) { + annual = (incomeValue * frequency_factor.mutiple_factor); + this.incomeannual[index] = annual; + details.controls['annual_income_value'].setValue(annual); + } + else if (frequencyId == 6) { + annual = (incomeValue * frequency_factor.mutiple_factor); + this.incomeannual[index] = annual; + details.controls['annual_income_value'].setValue(annual); + } + else if (frequencyId == 7) { + annual = (incomeValue * frequency_factor.mutiple_factor); + this.incomeannual[index] = annual; + details.controls['annual_income_value'].setValue(annual); + } + else if (frequencyId == 8) { + annual = (incomeValue); + this.incomeannual[index] = annual; + details.controls['annual_income_value'].setValue(annual); + } + else { + } + this.grandIncomeTotal = this.incomeannual.reduce(function (a, b) { return +a + +b; }, 0); + } + else { + this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); + } + }; + PdQuestionAssessedBusinessIncomePage.prototype.saveBusinessData = function (answerData) { + var _this = this; + if (this.BuissnessForm.valid) { + var records = { 'records': answerData.busIncome }; + this.qustCat.saveassessedForms('saveOtherBusinessIncome', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + }); + } + else { + this.toast.pdTriggerappmessage('Enter The All Field'); + } + }; + PdQuestionAssessedBusinessIncomePage.prototype.getBuisnessExpenses = function (expenseDetails) { + var _this = this; + if (expenseDetails.length == 0) { + this.addBusinessDetails(); + } + else { + var control_1 = this.BuissnessForm.controls['busIncome']; + expenseDetails.forEach(function (val, index) { + _this.incomeannual[index] = val.annual_income_value; + control_1.push(_this.createBusinessExpensewithData(val)); + }); + this.grandIncomeTotal = this.incomeannual.reduce(function (a, b) { return +a + +b; }, 0); + } + }; + PdQuestionAssessedBusinessIncomePage.prototype.createBusinessExpensewithData = function (data) { + return this.fb.group({ + pd_business_income_id: [data.pd_business_income_id], + fk_pd_id: [this.pdDetails.pd_id], + business_income_id: [data.business_income_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + income_value: [data.income_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + annual_income_value: [data.annual_income_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + isactive: ['1'], + fk_createdby: [this.users], + other_income_item: [data.other_income_item], + other_frequncy_item: [data.other_frequncy_item], + }); + }; + PdQuestionAssessedBusinessIncomePage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-business-income',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business-income\pd-question-assessed-business-income.html"*/'\n\n\n\n \n\n \n\n Business Income\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{income.business_income_item}}\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n

Total Business Income:

\n\n
\n\n \n\n

{{grandIncomeTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business-income\pd-question-assessed-business-income.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionAssessedBusinessIncomePage); + return PdQuestionAssessedBusinessIncomePage; +}()); + +//# sourceMappingURL=pd-question-assessed-business-income.js.map + +/***/ }), + +/***/ 380: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionLenderRepresentativePage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PdQuestionLenderRepresentativePage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionLenderRepresentativePage = (function () { + function PdQuestionLenderRepresentativePage(navCtrl, navParams, aws, qustCat, toast, fb) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.fb = fb; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + this.users = this.aws.getlocale(); + this.representativeForm = this.fb.group({ + pdid: [this.pdDetails.pd_id], + formid: [this.FormId.form_id], + fk_createdby: [this.users], + lender_representative_accompany: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + representative_remarks: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + lender_representative_details: this.fb.array([]), + }); + this.getLenderReDetails(); + } + PdQuestionLenderRepresentativePage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionLenderRepresentativePage'); + }; + PdQuestionLenderRepresentativePage.prototype.createlenReDetails = function () { + return this.fb.group({ + lender_representative_who_accompanies: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + lender_representative_carry_loan_files: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + }); + }; + PdQuestionLenderRepresentativePage.prototype.selectedLoanChanges = function (e) { + if (e.value == 'Yes') { + var control = this.representativeForm.controls['lender_representative_details']; + control.push(this.createlenReDetails()); + } + else if (e.value == 'No') { + var arr = this.representativeForm.controls.lender_representative_details; + arr.removeAt(0); + } + }; + PdQuestionLenderRepresentativePage.prototype.sumbitData = function (answerData) { + var _this = this; + if (this.representativeForm.valid) { + var records = this.representativeForm.value; + this.qustCat.saveForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + }); + } + else { + this.toast.pdTriggerappmessage('Enter All Field'); + } + }; + PdQuestionLenderRepresentativePage.prototype.getLenderReDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + var lenderReDetails = res['records']; + if (lenderReDetails.lender_representative_accompany == 'Yes') { + _this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany); + _this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks); + var lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function (key) { + return res['records'].lender_representative_details[key]; + }); + var control_1 = _this.representativeForm.controls['lender_representative_details']; + lender_represent_details.forEach(function (val) { + control_1.push(_this.createlenReDetails()); + }); + _this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details); + } + else { + _this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany); + _this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks); + } + } + }); + }; + PdQuestionLenderRepresentativePage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-lender-representative',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-lender-representative\pd-question-lender-representative.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-lender-representative\pd-question-lender-representative.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) + ], PdQuestionLenderRepresentativePage); + return PdQuestionLenderRepresentativePage; +}()); + +//# sourceMappingURL=pd-question-lender-representative.js.map + +/***/ }), + +/***/ 381: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionGeneralInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_general_other_applicant_pd_question_general_other_applicant__ = __webpack_require__(382); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common__ = __webpack_require__(8); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pipes_pd_pd__ = __webpack_require__(383); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + +/** + * Generated class for the PdQuestionGeneralInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionGeneralInfoPage = (function () { + function PdQuestionGeneralInfoPage(navCtrl, navParams, aws, qustCat, toast, fb, modal) { + var _this = this; + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.fb = fb; + this.modal = modal; + this.pipe = new __WEBPACK_IMPORTED_MODULE_7__angular_common__["d" /* DatePipe */]('en-US'); + this.fetch_related_details = []; + this.pd_applicants_details = []; + this.OldData = []; + this.OldData_indi = []; + this.cart = []; + this.maxDate = new Date(); + this.pd_applicants_details = []; + this.pd_applicants_details.pop(); + this.pdDetails = this.navParams.get('pdDetails'); + console.log(this.pdDetails); + //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join("/"); + //this.maxDate=new Date(get_max_date) + this.FormId = this.navParams.get('FormId'); + this.users = this.aws.getlocale(); + this.getdropdown(); + this.generalForm = this.fb.group({ + pdid: this.pdDetails.pd_id, + formid: this.FormId.form_id, + applicant_list: this.fb.array([]), + applicant_relation: this.fb.array([]), + list_value: this.fb.array([]), + company_value: this.fb.array([]), + individuals: this.fb.array([]), + companies: this.fb.array([]), + persons_with_relationships: this.fb.array([]), + company_with_relationships: this.fb.array([]), + general_remark: '' + }); + //this.initIndividuals(); + this.pd_applicants_details = this.pdDetails.applicat_details; + // this.getcoapplicantDetails(); + this.buttonClick = false; + this.h_companies = false; + this.addIndi = false; + this.addComp = false; + // this.initCompanies() + this.datav = [{ + name: "fairoj", + id: 1 + }, + { + name: "ff", + id: 2 + } + ]; + //this.fulldata=this.generalForm.value + this.generalForm.controls['list_value'].valueChanges.subscribe(function (val) { + var control = _this.generalForm.controls['list_value']; + _this.individualsList = control.value.filter(function (element) { return element.is_applicant == true; }); + _this.individualsListBothCase = control.value.filter(function (element) { return element.is_applicant == true || element.is_person_met == true; }); + _this.fulldata = control.value; + //control.controls.length + //control.push() + }); + this.generalForm.controls['company_value'].valueChanges.subscribe(function (val) { + var control = _this.generalForm.controls['company_value']; + _this.companyList = control.value.filter(function (element) { return element.company_name; }); + }); + this.i = 0; + } + PdQuestionGeneralInfoPage.prototype.ionViewDidLoad = function () { + // this.pd_applicants_details.pop(); + console.log('ionViewDidLoad PdQuestionGeneralInfoPage'); + this.getGeneralForm(); + }; + PdQuestionGeneralInfoPage.prototype.ionViewLoaded = function () { + // setTimeout(() => { + // this.generalForm.controls['general_remark']['controls'].setFocus(); + // },150); + }; + PdQuestionGeneralInfoPage.prototype.initlistv = function (data, purpose) { + var control = this.generalForm.controls['list_value']; + console.log("control", control.length); + if (purpose == 'ins') { + for (var _i = 0, data_1 = data; _i < data_1.length; _i++) { + var val = data_1[_i]; + var c_qualification_name = this.qualificationById(val.qualification); // for getting qualification Name + var formData = this.fb.group({ + applicant_title_name: [val.applicant_title_name], + applicant_name: [val.applicant_name], + is_person_met: val.is_person_met, + is_applicant: val.is_applicant, + age: [val.age], + qualification: [val.qualification], + course_name: [val.course_name], + individuals_order_id: [control.length + 1], + is_new: true, + is_active: true, + pd_co_applicant_id: [control.length + 1], + qualification_name: [c_qualification_name] + }); + control.push(formData); + this.buttonClick = false; + // this.generalForm.value.individuals.value="" + } + } + if (purpose == 'get') { + for (var _a = 0, data_2 = data; _a < data_2.length; _a++) { + var val = data_2[_a]; + var c_qualification_name = this.qualificationById(val.qualification); // for getting qualification Name + var formData = this.fb.group({ + applicant_title_name: [val.applicant_title_name], + applicant_name: [val.applicant_name], + is_person_met: val.is_person_met, + is_applicant: val.is_applicant, + age: [val.age], + qualification: [val.qualification], + course_name: [val.course_name], + individuals_order_id: [val.individuals_order_id], + is_new: [val.is_new], + is_active: [val.is_active], + pd_co_applicant_id: [val.pd_co_applicant_id], + qualification_name: [c_qualification_name] + }); + control.push(formData); + this.buttonClick = false; + // this.generalForm.value.individuals.value="" + } + } + }; + PdQuestionGeneralInfoPage.prototype.qualificationById = function (data) { + for (var _i = 0, _a = this.qualificationList; _i < _a.length; _i++) { + var i = _a[_i]; + if (data == i.qualification_id) { + this.qual_name = i.qualification_name; + return this.qual_name; + } + } + }; + PdQuestionGeneralInfoPage.prototype.initCompanyValue = function (data, purpose) { + var control = this.generalForm.controls['company_value']; + if (purpose == 'ins') { + for (var _i = 0, data_3 = data; _i < data_3.length; _i++) { + var val = data_3[_i]; + var c_business_name = ''; + if (val.business_entity_type != 1) { + c_business_name = this.businessEntityById(val.business_entity_type); + } + if (val.business_entity_type == 1) { + c_business_name = val.business_entity_type_other; + } + var formData = this.fb.group({ + company_name: [val.company_name], + // pd_co_applicant_id:[this.i+1], + // company_order_id:[this.lengthv.companies.length+1], + company_order_id: [control.length + 1], + is_company_applicant: [val.is_company_applicant], + business_entity_type: [val.business_entity_type], + business_entity_type_other: [val.business_entity_type_other], + is_new: true, + is_active: true, + company_messrs_name: ['M/s'], + business_years: [val.business_years], + business_month: [val.business_month], + business_date_object: [val.business_date_object], + business_entity_type_name: [c_business_name] + }); + control.push(formData); + this.h_companies = false; + } + } + if (purpose == 'get') { + for (var _a = 0, data_4 = data; _a < data_4.length; _a++) { + var val = data_4[_a]; + var c_business_name = ''; + if (val.business_entity_type != 1) { + c_business_name = this.businessEntityById(val.business_entity_type); + } + if (val.business_entity_type == 1) { + c_business_name = val.business_entity_type_other; + } + var formData = this.fb.group({ + company_name: [val.company_name], + // pd_co_applicant_id:[this.i+1], + company_order_id: [val.company_order_id], + is_company_applicant: [val.is_company_applicant], + business_entity_type: [val.business_entity_type], + business_entity_type_other: [val.business_entity_type_other], + is_new: [val.is_new], + is_active: [val.is_active], + company_messrs_name: [val.company_messrs_name], + business_years: [val.business_years], + business_month: [val.business_month], + business_date_object: [val.business_date_object], + business_entity_type_name: [c_business_name] + }); + control.push(formData); + this.h_companies = false; + } + } + }; + PdQuestionGeneralInfoPage.prototype.businessEntityById = function (val) { + for (var _i = 0, _a = this.businessEntityTypeList; _i < _a.length; _i++) { + var v = _a[_i]; + if (val == v.business_entity_type_id) { + var name = v.business_entity_type_name; + return name; + } + } + }; + PdQuestionGeneralInfoPage.prototype.initIndividuals = function (data) { + var control = this.generalForm.controls['individuals']; + control.controls = []; + if (data == null) { + var formData = this.fb.group({ + applicant_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + is_person_met: false, + is_applicant: false, + age: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + qualification: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + course_name: [''], + applicant_title_name: [''] + }); + control.push(formData); + } + else { + var formData = this.fb.group({ + applicant_name: [data.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + is_person_met: data.is_person_met, + is_applicant: data.is_applicant, + age: [data.age, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + qualification: [data.qualification, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + course_name: [data.course_name], + applicant_title_name: [data.applicant_title_name] + }); + this.buttonClick = !this.buttonClick; + control.push(formData); + } + }; + PdQuestionGeneralInfoPage.prototype.initCompanies = function (data) { + var control = this.generalForm.controls['companies']; + control.controls = []; + if (data == null) { + var formData = this.fb.group({ + company_name: [''], + is_company_applicant: false, + business_entity_type: [''], + business_entity_type_other: [''], + business_years: [''], + business_month: [''], + business_date_object: [''] + }); + control.controls = []; + control.push(formData); + } + else { + var formData = this.fb.group({ + company_name: [data.company_name], + is_company_applicant: data.is_company_applicant, + business_entity_type: [data.business_entity_type], + business_entity_type_other: [data.business_entity_type_other], + business_years: [data.business_years], + business_month: [data.business_month], + business_date_object: [data.business_date_object] + }); + this.h_companies = !this.h_companies; + control.push(formData); + } + }; + PdQuestionGeneralInfoPage.prototype.initPersonRelationship = function (value) { + var control = this.generalForm.controls['persons_with_relationships']; + if (value == '') { + var formData = this.fb.group({ + pd_co_applicant_id: [''], + applicant_name: [''], + relationship: [''], + relation_to: [''], + individuals_order_id: [control.length + 1], + }); + control.push(formData); + } + else { + for (var _i = 0, value_1 = value; _i < value_1.length; _i++) { + var val = value_1[_i]; + var formData = this.fb.group({ + pd_co_applicant_id: [val.pd_co_applicant_id], + applicant_name: [val.applicant_name], + relationship: [val.relationship], + relation_to: [val.relation_to], + }); + control.push(formData); + } + } + }; + PdQuestionGeneralInfoPage.prototype.initCompanyRelationShip = function (value) { + if (value == '') { + var formData = this.fb.group({ + applicant_name: [''], + company_relationship: [''], + relation_to_company: [''], + }); + var control = this.generalForm.controls['company_with_relationships']; + control.push(formData); + } + else { + for (var _i = 0, value_2 = value; _i < value_2.length; _i++) { + var val = value_2[_i]; + var formData = this.fb.group({ + applicant_name: [val.applicant_name], + company_relationship: [val.company_relationship], + relation_to_company: [val.relation_to_company], + }); + var control = this.generalForm.controls['company_with_relationships']; + control.push(formData); + } + } + }; + PdQuestionGeneralInfoPage.prototype.add = function () { + this.initIndividuals(null); + }; + PdQuestionGeneralInfoPage.prototype.addRec = function (v) { + if (v == '1') { + this.addIndi = true; + this.buttonClick = !this.buttonClick; + this.initIndividuals(null); + } + if (v == '2') { + this.addComp = true; + this.h_companies = true; + this.h_companies = !this.h_companies; + this.initCompanies(''); + } + }; + PdQuestionGeneralInfoPage.prototype.editIndividuals = function (index) { + var values = this.generalForm.controls.list_value.value[index]; + console.log(values); + this.addIndi = false; + this.updateIndex_indi = index; + this.initIndividuals(values); + }; + PdQuestionGeneralInfoPage.prototype.editCompanies = function (index) { + console.log("index", index); + var values = this.generalForm.controls.company_value.value[index]; + console.log(values); + this.updateIndex_comp = index; + this.addComp = false; + //this. + this.initCompanies(values); + }; + PdQuestionGeneralInfoPage.prototype.update = function (v) { + console.log("index", v); + if (v == '1') { + if (!this.generalForm.controls['individuals'].valid) { + this.toast.pdTriggerappmessage("Please Fill all Mandatory fields Marked with '*'"); + } + else { + var val = this.generalForm.controls.individuals.value[0]; + var old = this.generalForm.controls.list_value.value[this.updateIndex_indi]; + // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi) + // const control=this.list_value + var c_qualification_name = this.qualificationById(val.qualification); + var control = this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]; + control.patchValue({ + applicant_title_name: val.applicant_title_name, + applicant_name: val.applicant_name, + is_person_met: val.is_person_met, + is_applicant: val.is_applicant, + age: val.age, + qualification: val.qualification, + course_name: val.course_name, + individuals_order_id: old.individuals_order_id, + is_new: old.is_new, + is_active: old.is_active, + pd_co_applicant_id: old.pd_co_applicant_id, + qualification_name: c_qualification_name + }); + this.buttonClick = false; + console.log(this.generalForm.controls.list_value['controls']); + // this.generalForm.controls.list_value.value.scrollToTop(); + // this.generalForm.controls['list_value']._scrollContent; + //this.myinput._scrollContent(); + console.log("values", val); + console.log("old", old); + console.log(control); + } + } + else if (v == '2') { + if (!this.generalForm.controls['companies'].valid) { + this.toast.pdTriggerappmessage("Please Fill all Mandatory Fields Marked with '*"); + } + else { + var val = this.generalForm.controls.companies.value[0]; + var c_business_name = this.businessEntityById(val.business_entity_type); + var control = this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]; + control.patchValue({ + company_name: val.company_name, + // company_order_id:[control.length+1], + is_company_applicant: val.is_company_applicant, + business_entity_type: val.business_entity_type, + business_entity_type_other: val.business_entity_type_other, + // is_new:true, + // is_active:true, + //company_messrs_name:['M/s'], + business_years: val.business_years, + business_month: val.business_month, + business_date_object: val.business_date_object, + business_entity_type_name: c_business_name + }); + this.h_companies = false; + console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]); + } + } + }; + PdQuestionGeneralInfoPage.prototype.delete = function (v) { + // const control=this.generalForm.controls['individuals']; + //control.removeAt(i); + //this.data=this.generalForm.value.individuals; + this.cart.push(this.generalForm.value.individuals); + this.data = Object.assign(this.cart); + // this.data=Object.assign(this.generalForm.value.individuals) + this.datajson = JSON.stringify(this.cart); + if (v == '1') { + if (!this.generalForm.controls['individuals'].valid) { + this.toast.pdTriggerappmessage("Please Fill all Mandatory field Marked with '*'"); + } + else { + this.initlistv(this.generalForm.value.individuals, 'ins'); + this.initPersonRelationship(''); + } + } + else if (v == '2') { + if (!this.generalForm.controls['companies'].valid) { + this.toast.pdTriggerappmessage("Please Fill all Mandatory field Marked with '*'"); + } + else { + this.initCompanyValue(this.generalForm.value.companies, 'ins'); + } + } + }; + PdQuestionGeneralInfoPage.prototype.removeList = function (i, index) { + if (index == '1') { + //For List List_value(Individuals) + var control = this.generalForm.controls['list_value']; + control.value[i].is_active = false; + this.OldData_indi.push(control.value[i]); + control.removeAt(i); + //For Person RelationShip auto Delete + var control1 = this.generalForm.controls['persons_with_relationships']; + control1.removeAt(i); + } + if (index == 2) { + //For Company_values(Companies) + var control = this.generalForm.controls['company_value']; + control.value[i].is_active = false; + var vla = control.value[i]; + this.OldData.push(vla); + control.removeAt(i); + // let control: any = this.generalForm.get('companies') as FormArray; + //this.generalForm.controls['companies'] + //control.controls['is_active'].setValue(false); + //control.controls[i].clearValidators(); + //control.controls[i].updateValueAndValidity(); + //control.clear + // control.controls[i].is_active.setValue(false); + /* control.controls[i].controls.company_name.clearValidators(); + control.controls[i].controls.company_name.updateValueAndValidity(); + control.controls[i].controls.business_years.clearValidators(); + control.controls[i].controls.business_years.updateValueAndValidity(); + control.controls[i].controls.business_entity_type.clearValidators(); + control.controls[i].controls.business_entity_type.updateValueAndValidity();*/ + } + if (index == "companyrel") { + //For company_relationship + var control = this.generalForm.controls['company_with_relationships']; + control.removeAt(i); + } + }; + PdQuestionGeneralInfoPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.qualificationList = res['records'].filter(function (com) { return com.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(function (res) { + _this.businessEntityTypeList = res['records'].filter(function (com) { return com.isactive == 1; }); + }); + this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.relationShipList = res['records'].filter(function (rel) { return rel.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.companyRelationShipList = res['records'].filter(function (com) { return com.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('TITLES').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.titleList = res['records'].filter(function (com) { return com.isactive == 1; }); + } + }); + }; + PdQuestionGeneralInfoPage.prototype.getcoapplicantDetails = function (checkApplicantExist, exist_applicant_relation) { + var _this = this; + var applicantControl = this.generalForm.controls['applicant_list']; + var relationControl = this.generalForm.controls['applicant_relation']; + if (checkApplicantExist.length > 0) { + checkApplicantExist.forEach(function (val) { + applicantControl.push(_this.createApplicant(val)); + }); + } + if (exist_applicant_relation.length > 0) { + exist_applicant_relation.forEach(function (val) { + relationControl.push(_this.createApplicantRelation(val)); + //push related to details + _this.fetch_related_details.push(val.applicant_name); + }); + } + }; + PdQuestionGeneralInfoPage.prototype.createApplicant = function (elementValue) { + return this.fb.group({ + pd_co_applicant_id: [elementValue.pd_co_applicant_id], + applicant_name: [elementValue.applicant_name], + company_name: [elementValue.company_name], + exist_status: [elementValue.exist_status == 1 && elementValue.pd_co_applicant_id > 0 ? true : false], + }); + }; + PdQuestionGeneralInfoPage.prototype.coapplicantChange = function (event, index, item) { + var _this = this; + var relationControl = this.generalForm.controls['applicant_relation']; + var applicantControl = this.generalForm.controls['applicant_list']; + if (item.exist_status.value) { + if (item.pd_co_applicant_id.value == 0) { + var modal = this.modal.create(__WEBPACK_IMPORTED_MODULE_6__pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */]); + modal.onDidDismiss(function (data) { + if (data != 1) { + data.otherName.forEach(function (val) { + var applicant_details = { 'pd_co_applicant_id': val.pd_co_applicant_id, 'applicant_name': val.applicant_name, 'applicant_relation_to': '', 'relation': '', 'company_name': '', 'company_relation': '' }; + relationControl.push(_this.createApplicantRelation(applicant_details)); + // push related to details + _this.fetch_related_details.push(val.applicant_name); + }); + } + else { + applicantControl.at(index).get('exist_status').setValue(false); + } + }); + modal.present(); + } + else { + var applicant_details = { 'pd_co_applicant_id': item.pd_co_applicant_id.value, 'applicant_name': item.applicant_name.value, 'applicant_relation_to': '', 'relation': '', 'company_name': item.company_name.value, 'company_relation': '' }; + relationControl.push(this.createApplicantRelation(applicant_details)); + // push related to details + this.fetch_related_details.push(item.applicant_name.value); + } + } + else { + var relationControl_1 = this.generalForm.controls['applicant_relation']; + var pos_id = relationControl_1.value.map(function (e) { + return e.pd_co_applicant_id; + }).indexOf(item.pd_co_applicant_id.value); + if (item.pd_co_applicant_id.value != 0) { + relationControl_1.removeAt(pos_id); + var pos_name = this.fetch_related_details.indexOf(item.applicant_name.value); + this.fetch_related_details.splice(pos_name, 1); + } + else { + applicantControl.at(index).get('exist_status').setValue(false); + } + // remove related to details + } + }; + PdQuestionGeneralInfoPage.prototype.createApplicantRelation = function (elementValue) { + return this.fb.group({ + pd_co_applicant_id: [elementValue.pd_co_applicant_id], + applicant_name: [elementValue.applicant_name], + company_name: [elementValue.company_name, elementValue.company_name ? __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required : __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].nullValidator], + company_relationship: [elementValue.company_relationship], + applicant_relation_to: [elementValue.applicant_relation_to, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + relationship: [elementValue.relationship], + }); + }; + // temparr=[]; + PdQuestionGeneralInfoPage.prototype.removereferance = function (index) { + var relationControl = this.generalForm.controls['applicant_relation']; + relationControl.removeAt(index); + // this.temparr = []; + }; + // createApplicateOthers() + // { + // return this.fb.group( + // { + // Name: + // }) + // } + PdQuestionGeneralInfoPage.prototype.ConvertMonthintoYearforBusiness = function (e, controlIndex) { + var control = this.generalForm.get('companies'); + control = control.controls[controlIndex]; + var business_year = control.controls.business_years.value; + var converted_month = e % 12; + var converted_year = e / 12; + control.controls.business_years.setValue(+business_year + +Math.floor(converted_year)); + control.controls.business_month.setValue(Math.floor(converted_month)); + }; + PdQuestionGeneralInfoPage.prototype.getDateObjects = function (values, controlIndex) { + var control = this.generalForm.get('companies'); + control.controls['business_years'] = ''; + control.controls['business_month'] = ''; + control = control.controls[controlIndex]; + var pd_initiation_date = this.pdDetails.pd_date_of_initiation.split('/').reverse().join("/"); + var selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); + ; + var diffInMs = Date.parse(pd_initiation_date) - Date.parse(selected_date); + var diff = Math.floor(diffInMs / 1000); + diff /= (60 * 60 * 24 * 30); + diff = Math.abs(Math.round(diff)); + control.controls['business_years'].setValue(0); + control.controls['business_month'].setValue(0); + if (diff) { + control.controls['business_years'].setValue(Math.floor(diff / 12)); + control.controls['business_month'].setValue(Math.floor(diff % 12)); + } + }; + PdQuestionGeneralInfoPage.prototype.submitData = function (answerData) { + var _this = this; + var saveRecords = {}; + var valuesData_indi = []; + var valuesData = []; + var existData_indi = Object.keys(answerData.list_value).map(function (key) { + return answerData.list_value[key]; + }); + existData_indi.forEach(function (element) { + valuesData_indi.push(element); + }); + if (this.OldData_indi.length > 0) { + this.OldData_indi.forEach(function (element) { + valuesData_indi.push(element); + }); + } + var existData = Object.keys(answerData.company_value).map(function (key) { + return answerData.company_value[key]; + }); + existData.forEach(function (element) { + valuesData.push(element); + }); + if (this.OldData.length > 0) { + this.OldData.forEach(function (element) { + valuesData.push(element); + }); + } + saveRecords.individuals = valuesData_indi; + saveRecords.companies = valuesData; + saveRecords.pdid = answerData.pdid; + saveRecords.formid = answerData.formid; + saveRecords.fk_createdby = this.users; + saveRecords.persons_with_relationships = answerData.persons_with_relationships; + saveRecords.company_with_relationships = answerData.company_with_relationships; + saveRecords.general_remark = answerData.general_remark; + this.qustCat.saveForm(saveRecords).subscribe(function (dataResult) { + if (dataResult['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + _this.navCtrl.pop(); + } + else { + _this.toast.pdTriggerappmessage('Error'); + } + }); + /* Old Data + if(this.generalForm.valid) + { + let saveRecords:any = {} + let applicantList:any=[]; + let applicantRelationList:any=[]; + // this for applicant list for selected + answerData.applicant_list.forEach((element,key) => { + if(element.exist_status==1){ + applicantList.push({ + "pd_co_applicant_id":element.pd_co_applicant_id, + "applicant_name":element.applicant_name, + }) + } + }); + // this is for selected applicant relation + answerData.applicant_relation.forEach((element,key) => { + applicantRelationList.push({ + "pd_co_applicant_id":element.pd_co_applicant_id, + "applicant_name":element.applicant_name, + "company_name":element.company_name, + "company_relationship":element.company_relationship, + "applicant_relation_to":element.applicant_relation_to, + "relationship":element.relationship, + }) + }); + + saveRecords.pdid=answerData.pdid; + saveRecords.formid=answerData.formid; + saveRecords.general_remark=answerData.general_remark; + saveRecords.selected_applicant=applicantList; + saveRecords.applicant_relation=applicantRelationList; + saveRecords.fk_createdby = this.users; + this.qustCat.saveForm(saveRecords).subscribe(res=> + { + if(res['dataStatus']==true) + { + this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + this.navCtrl.pop(); + } + }) + }*/ + }; + PdQuestionGeneralInfoPage.prototype.getGeneralForm = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + _this.data_all = res['records']; + var exist_companies; + var companyControl = _this.generalForm.get('companies'); + companyControl.controls = []; + _this.lengthv = _this.data_all; + if (res['dataStatus'] == true) { + _this.generalForm.controls['general_remark'].setValue(_this.data_all.general_remark); + // + var arrlist_indi = []; + var exist_individuals = Object.keys(res['records'].individuals).map(function (key) { + return res['records'].individuals[key]; + }); + if (exist_individuals.length > 0) { + exist_individuals.forEach(function (element) { + if (element.is_active != false) { + arrlist_indi.push(element); + } + else { + _this.OldData_indi.push(element); + } + }); + } + _this.initlistv(arrlist_indi, 'get'); + var arraylis = []; + exist_companies = Object.keys(res['records'].companies).map(function (key) { + return res['records'].companies[key]; + }); + if (exist_companies.length > 0) { + exist_companies.forEach(function (element, cindex) { + if (element.is_active != false) { + arraylis.push(element); + } + else { + _this.OldData.push(element); + } + }); + } + _this.initCompanyValue(arraylis, 'get'); + if (_this.data_all.persons_with_relationships != '') { + _this.initPersonRelationship(_this.data_all.persons_with_relationships); + } + if (_this.data_all.company_with_relationships != '') { + _this.initCompanyRelationShip(_this.data_all.company_with_relationships); + } + } + else { + _this.pd_applicants_details.forEach(function (datas, index) { + datas.is_applicant = true, + datas.is_person_met = false; + datas.is_new = false; + datas.is_main_applicant = datas.applicant_type == '1' ? true : false; + datas.is_active = true; + datas.individuals_order_id = index + 1; + // company_order_id = index+1, + datas.age = '', + datas.qualification = '', + datas.course_name = ''; + if (datas.company_name != '' && datas.company_name != null) { + var setCompanyValues = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true }; + companyControl.push(_this.createCompanies(setCompanyValues)); + } + }); + // this.lengthv.push("individuals") + // this.lengthv.push("companies") + // this.lengthv.push('persons_with_relationships') + //this.lengthv.push("") + console.log("applicant", _this.lengthv); + _this.initlistv(_this.pd_applicants_details, 'get'); + _this.initPersonRelationship(_this.pd_applicants_details); + // this.initCompanyValue(this.pd_applicants_details,'get'); + _this.initCompanyRelationShip(''); + } + }); + /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}; + this.qustCat.retiverForm(records).subscribe(res=> + { + if(res['dataStatus']==true) + { + this.pd_applicants_details.push({'pd_co_applicant_id':"0",'applicant_name':'Others'}); + + let generalDetails = res['records']; + this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark); + + let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key) + { + return res['records'].applicant_relation[key]; + }); + + let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key) + { + return res['records'].selected_applicant[key].pd_co_applicant_id; + }); + let applicantControl = this.generalForm.controls['applicant_list']; + + let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id); + let checkApplicantExist =actual_applicant.map((id, index) => { + if (selected_applicant.indexOf(id) < 0) { + this.pd_applicants_details[index].exist_status=0; + return this.pd_applicants_details[index]; + } + else{ + this.pd_applicants_details[index].exist_status=1; + this.pd_applicants_details[index].applicant_relation_to=''; + this.pd_applicants_details[index].relation=''; + return this.pd_applicants_details[index]; + } + }).filter(item => item != undefined); + this.getcoapplicantDetails(checkApplicantExist,applicant_relation); + }else + { + this.pd_applicants_details.push({'pd_co_applicant_id':"0",'applicant_name':'Others'}); + + } + })*/ + }; + PdQuestionGeneralInfoPage.prototype.createCompanies = function (elementValue) { + return this.fb.group({ + company_order_id: [elementValue.company_order_id], + company_name: [elementValue.company_name,], + company_messrs_name: ['M/s'], + is_company_applicant: [elementValue.is_company_applicant], + business_entity_type: [elementValue.business_entity_type, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + business_years: [elementValue.business_years, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + business_month: [elementValue.business_month], + business_date_object: [elementValue.business_date_object], + is_active: [elementValue.is_active], + is_new: [elementValue.is_new], + }); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('comp'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) + ], PdQuestionGeneralInfoPage.prototype, "myinput", void 0); + PdQuestionGeneralInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-general-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-info.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n
Name of individuals
\n\n \n\n \n\n \n\n \n\n

{{item.get(\'applicant_name\').value | titlecase}}

\n\n

Age : {{item.get(\'age\').value}}  \n\n {{item.get(\'qualification_name\').value}}

\n\n

  {{item.get(\'course_name\').value | titlecase}}

\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n

Person

\n\n \n\n
\n\n \n\n

Applicant

\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n Add Individual\n\n Update Individual\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n {{t1.name}}\n\n \n\n \n\n \n\n \n\n \n\n Name is Required \n\n \n\n \n\n \n\n Age is Required\n\n \n\n \n\n \n\n \n\n {{qu.qualification_name}} \n\n \n\n Qualification is Required \n\n \n\n \n\n \n\n \n\n \n\n Is Person Met

\n\n Is Applicant \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
Company/Firm
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n

{{item.get(\'company_name\').value | titlecase}}

\n\n

{{item.get(\'business_entity_type_name\').value}}{{item.get(\'business_entity_type_other\').value+"-Others"}}

\n\n

  {{item.get(\'business_years\').value}} Years {{item.get(\'business_month\').value}} Months

\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n

Company Applicant

\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n Add Company/Firm\n\n \n\n
\n\n
\n\n \n\n Company / Firm\n\n \n\n Company Name is Required\n\n \n\n Is Applicant
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n {{business.business_entity_type_name}}\n\n \n\n \n\n Business Entity Required\n\n \n\n \n\n \n\n \n\n \n\n

Number of Years For Which The Business Has Been Running

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n

\n\n \n\n\n\n \n\n \n\n \n\n Relationship Between Individuals\n\n \n\n \n\n
\n\n \n\n \n\n
Applicant {{i+1}}
\n\n \n\n \n\n {{name.applicant_name}}\n\n \n\n \n\n \n\n \n\n {{member.name}}\n\n \n\n \n\n \n\n \n\n Select\n\n {{rel.applicant_name | titlecase}}\n\n Not Applicable\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n\n\n \n\n
\n\n \n\n Relationship of Individuals to Company / Firm\n\n \n\n
\n\n
Applicant {{i+1}}
\n\n \n\n \n\n {{name.applicant_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{comrelShip.name }}\n\n \n\n \n\n \n\n \n\n \n\n {{comp.company_name}}\n\n \n\n \n\n \n\n
\n\n

\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-info.html"*/, + providers: [__WEBPACK_IMPORTED_MODULE_8__pipes_pd_pd__["a" /* PdPipe */]], + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["p" /* ModalController */]]) + ], PdQuestionGeneralInfoPage); + return PdQuestionGeneralInfoPage; +}()); + +//# sourceMappingURL=pd-question-general-info.js.map + +/***/ }), + +/***/ 382: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionGeneralOtherApplicantPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/** + * Generated class for the PdQuestionGeneralOtherApplicantPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionGeneralOtherApplicantPage = (function () { + function PdQuestionGeneralOtherApplicantPage(navCtrl, navParams, fb, viewCtrl) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.viewCtrl = viewCtrl; + this.applicantInfo = { 'pd_co_applicant_id': "0", 'applicant_name': '', 'company_name': '' }; + this.otherForm = this.fb.group({ + otherName: this.fb.array([]), + }); + this.addmore(); + } + PdQuestionGeneralOtherApplicantPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage'); + }; + PdQuestionGeneralOtherApplicantPage.prototype.createName = function (elementValue) { + return this.fb.group({ + pd_co_applicant_id: [elementValue.pd_co_applicant_id], + applicant_name: [elementValue.applicant_name, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required], + }); + }; + PdQuestionGeneralOtherApplicantPage.prototype.addmore = function () { + if (this.otherForm.valid) { + var control = this.otherForm.controls['otherName']; + control.push(this.createName(this.applicantInfo)); + } + }; + PdQuestionGeneralOtherApplicantPage.prototype.deleteappdata = function (index) { + var control = this.otherForm.controls['otherName']; + if (control.length == 1) { + control.reset(); + } + else { + control.removeAt(index); + } + }; + PdQuestionGeneralOtherApplicantPage.prototype.closeModal = function () { + this.viewCtrl.dismiss(1); + }; + PdQuestionGeneralOtherApplicantPage.prototype.submitData = function (answerData) { + if (this.otherForm.valid) { + this.viewCtrl.dismiss(this.otherForm.value); + } + }; + PdQuestionGeneralOtherApplicantPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-general-other-applicant',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-other-applicant\pd-question-general-other-applicant.html"*/'\n\n\n\n \n\n \n\n \n\n \n\n Other Applicant Details Added\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-other-applicant\pd-question-general-other-applicant.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["y" /* ViewController */]]) + ], PdQuestionGeneralOtherApplicantPage); + return PdQuestionGeneralOtherApplicantPage; +}()); + +//# sourceMappingURL=pd-question-general-other-applicant.js.map + +/***/ }), + +/***/ 383: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdPipe; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +/** + * Generated class for the PdPipe pipe. + * + * See https://angular.io/api/core/Pipe for more info on Angular Pipes. + */ +var PdPipe = (function () { + function PdPipe() { + } + /** + * Takes a value and makes it lowercase. + */ + PdPipe.prototype.transform = function (value, searchItem) { + var findExistIndex = searchItem.existRelationList.filter(function (sVal) { return sVal.relation_to == searchItem.currentApplicantID; }); + if (findExistIndex.length > 0) { + var check = value.filter(function (fVal) { + return !findExistIndex.some(function (sVal) { + return fVal.pd_co_applicant_id == searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id; + }); + }); + return check; + } + else { + return value.filter(function (fVal) { return fVal.pd_co_applicant_id != searchItem.currentApplicantID; }); + } + }; + PdPipe = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["T" /* Pipe */])({ + name: 'pdPipe', + }) + ], PdPipe); + return PdPipe; +}()); + +//# sourceMappingURL=pd.js.map + +/***/ }), + +/***/ 384: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionNeighbourHoodPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionNeighbourHoodPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionNeighbourHoodPage = (function () { + function PdQuestionNeighbourHoodPage(navCtrl, navParams, aws, qustCat, toast, fb, constant) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.fb = fb; + this.constant = constant; + this.check_type = [{ 'id': 0, 'type_name': 'Neighbourhood' }, { 'id': 1, 'type_name': 'Reference Check' }]; + this.finalRemarksList = [{ 'id': 1, 'name': "Positive" }, + { 'id': 2, 'name': "Negative" }, + { 'id': 3, 'name': "Insufficient information provided" }]; + this.amtInWords = []; + this.isDisplay = []; + this.isDisplay2 = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + this.applicants = this.pdDetails.applicat_details; + this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2; }); + this.applicants.push({ 'pd_co_applicant_id': 0, 'applicant_name': "Others" }); + this.neighbourhoodForm = this.fb.group({ + pdid: this.pdDetails.pd_id, + formid: this.FormId.form_id, + check_type: 0, + neighbourhood_list: this.fb.array([]), + neighbourhood_status: [''], + referencecheck_list: this.fb.array([]), + neighbour_reference_remark: '' + }); + this.users = this.aws.getlocale(); + this.getneighbourhood(); + this.getdropdown(); + } + PdQuestionNeighbourHoodPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionNeighbourHoodPage'); + }; + PdQuestionNeighbourHoodPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.relationBusiness = res['records'].filter(function (rel) { return rel.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.frequency = res['records'].filter(function (frq) { return frq.isactive == 1; }); + } + }); + }; + PdQuestionNeighbourHoodPage.prototype.inWords = function (val, i) { + this.amtInWords[i] = this.constant.convertNumberToWords(val.target.value); + }; + PdQuestionNeighbourHoodPage.prototype.keyPress = function (event) { + var pattern = /[0-9]/; + var inputChar = String.fromCharCode(event.charCode); + if (event.keyCode != 8 && !pattern.test(inputChar)) { + event.preventDefault(); + } + }; + /** To Convert Month into Year */ + PdQuestionNeighbourHoodPage.prototype.ConvertMonthintoYear = function (itemrow, e, flag) { + if (flag == 2) { + var year = itemrow.controls.year_relation_applicant.value; + var converted_month = e % 12; + var converted_year = e / 12; + itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year)); + itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month)); + } + else if (flag == 1) { + var year = itemrow.controls.how_long_do_know_in_year.value; + var converted_month = e % 12; + var converted_year = e / 12; + itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year)); + itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month)); + } + }; + PdQuestionNeighbourHoodPage.prototype.toggleVisibility = function (e, index, flag) { + var val; + if (flag == 1) { + this.isDisplay[index] = e; + } + else if (flag == 2) { + this.isDisplay2[index] = e; + } + }; + PdQuestionNeighbourHoodPage.prototype.checkOthers = function (values) { + if (values != null) { + return values == 0 ? true : false; + } + else { + return false; + } + }; + PdQuestionNeighbourHoodPage.prototype.createreferance = function () { + return this.fb.group({ + reference_name: [null], + mobile: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].minLength(10), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].maxLength(10)])], + statecode: [null], + landline: [null], + location: [null], + relationship_with: [null], + others: [null], + year_relation_applicant: [null], + months_relation_applicant: [null], + business_volume_amount: [null], + business_volume_unit: [null], + others_unit: [null], + reference_final_remarks: [null], + specify_final_remark: [null] + }); + }; + PdQuestionNeighbourHoodPage.prototype.addreferance = function () { + var control = this.neighbourhoodForm.controls['referencecheck_list']; + control.push(this.createreferance()); + }; + PdQuestionNeighbourHoodPage.prototype.removereferance = function (i) { + var control = this.neighbourhoodForm.controls['referencecheck_list']; + if (control.length == 1) { + control.reset(); + } + else { + control.removeAt(i); + } + }; + PdQuestionNeighbourHoodPage.prototype.createNeighbourhood = function () { + return this.fb.group({ + neighbourhood_name: [null], + do_know: [''], + how_long_do_know_in_year: [''], + how_long_do_know_in_month: [''], + organisation_owner: [''], + is_applicant_owner: [''], + other_organisation_owner: [''], + did_not_know_the_business_operation: [''], + did_not_know_the_owner: [''], + }); + }; + PdQuestionNeighbourHoodPage.prototype.addneighbourhood = function () { + var control = this.neighbourhoodForm.controls['neighbourhood_list']; + control.push(this.createNeighbourhood()); + }; + PdQuestionNeighbourHoodPage.prototype.removeneighbourhood = function (i) { + var control = this.neighbourhoodForm.controls['neighbourhood_list']; + if (control.length == 1) { + control.reset(); + } + else { + control.removeAt(i); + } + }; + PdQuestionNeighbourHoodPage.prototype.submitData = function (answerData) { + var _this = this; + var saveRecords = {}; + var referencecheck_list = []; + var neighbourhood_list = []; + if (answerData.check_type == 0) { + answerData.neighbourhood_list.forEach(function (element, key) { + neighbourhood_list.push({ + "neighbourhood_name": element.neighbourhood_name, + "do_know": element.do_know, + "how_long_do_know_in_year": element.how_long_do_know_in_year, + "how_long_do_know_in_month": element.how_long_do_know_in_month, + "is_applicant_owner": element.is_applicant_owner, + "organisation_owner": element.organisation_owner, + "other_organisation_owner": element.other_organisation_owner, + "did_not_know_the_business_operation": element.did_not_know_the_business_operation, + "did_not_know_the_owner": element.did_not_know_the_owner + }); + }); + saveRecords.neighbourhood_list = neighbourhood_list; + } + else { + // this for referencecheck_list for selected + answerData.referencecheck_list.forEach(function (element, key) { + referencecheck_list.push({ + "reference_name": element.reference_name, + "mobile": element.mobile, + "landline": element.statecode + '-' + element.landline, + "location": element.location, + "relationship_with": element.relationship_with, + "others": element.others, + "year_relation_applicant": element.year_relation_applicant, + "months_relation_applicant": element.months_relation_applicant, + "business_volume_amount": element.business_volume_amount, + "business_volume_unit": element.business_volume_unit, + "others_unit": element.others_unit, + "reference_final_remarks": element.reference_final_remarks, + "specify_final_remark": element.specify_final_remark + }); + }); + saveRecords.referencecheck_list = referencecheck_list; + } + saveRecords.pdid = answerData.pdid; + saveRecords.formid = answerData.formid; + saveRecords.check_type = answerData.check_type; + saveRecords.fk_createdby = this.users; + saveRecords.neighbourhood_status = answerData.neighbourhood_status; + saveRecords.neighbour_reference_remark = answerData.neighbour_reference_remark; + this.qustCat.saveForm(saveRecords).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + }); + }; + PdQuestionNeighbourHoodPage.prototype.getneighbourhood = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + var control = this.neighbourhoodForm.controls['referencecheck_list']; + var neicontrol = this.neighbourhoodForm.controls['neighbourhood_list']; + this.qustCat.retiverForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + var neighbourDetails = res['records']; + // neighbourDetails.neighbourhood_list.='' + if (neighbourDetails.check_type == 0) { + _this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type); + _this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark); + _this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status); + var neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function (key) { + return res['records'].neighbourhood_list[key]; + }); + neighbourhood_list.forEach(function (element, index) { + _this.toggleVisibility(element.did_not_know_the_business_operation, index, 1); + _this.toggleVisibility(element.did_not_know_the_owner, index, 2); + neicontrol.push(_this.createNeighbourhood()); + }); + _this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list); + } + else { + _this.addneighbourhood(); + } + if (neighbourDetails.check_type == 1) { + var referencecheck_list_1 = Object.keys(res['records'].referencecheck_list).map(function (key) { + return res['records'].referencecheck_list[key]; + }); + _this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type); + _this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark); + referencecheck_list_1.forEach(function (val, index) { + var statecodesearch = val.landline.search("-"); + referencecheck_list_1[index].statecode = val.landline.substr(0, statecodesearch); + referencecheck_list_1[index].landline = val.landline.substr(+statecodesearch + 1, 8); + control.push(_this.createreferance()); + _this.amtInWords[index] = _this.constant.convertNumberToWords(val.business_volume_amount); + }); + _this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list_1); + } + else { + _this.addreferance(); + } + } + else { + _this.addneighbourhood(); + _this.addreferance(); + } + }); + }; + PdQuestionNeighbourHoodPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-neighbour-hood',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-neighbour-hood\pd-question-neighbour-hood.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n Please Select the type
\n\n \n\n {{types.type_name}}\n\n \n\n
\n\n\n\n \n\n
\n\n
\n\n \n\n
Neighbour Details #{{n+1}}

\n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n

\n\n
\n\n
\n\n
\n\n \n\n \n\n {{list.applicant_name}}\n\n \n\n \n\n \n\n \n\n \n\n


\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n Positive\n\n Negative\n\n \n\n \n\n
\n\n
\n\n\n\n \n\n\n\n
\n\n
\n\n \n\n
Reference Details #{{r+1}}

\n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number. \n\n \n\n \n\n \n\n

Enter valid Mobile Number

\n\n

Landline Number

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n Select\n\n \n\n {{relationship.relation_with_business_name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n

Period of Relationship

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{amtInWords[r]}}\n\n \n\n \n\n \n\n Select\n\n \n\n {{volume.name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{rem.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-neighbour-hood\pd-question-neighbour-hood.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionNeighbourHoodPage); + return PdQuestionNeighbourHoodPage; +}()); + +//# sourceMappingURL=pd-question-neighbour-hood.js.map + +/***/ }), + +/***/ 385: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFinalRemarkPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +// import { t } from '@angular/core/src/render3'; + + + +/** + * Generated class for the PdQuestionFinalRemarkPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionFinalRemarkPage = (function () { + function PdQuestionFinalRemarkPage(navCtrl, navParams, fb, qustcat, aws, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustcat = qustcat; + this.aws = aws; + this.toast = toast; + this.m_remarkTypeCustomerBehaviour = []; + this.m_recommendationList = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.pdid = this.pdDetails.pd_id; + this.FormId = this.navParams.get('FormId'); + this.users = aws.getlocale(); + this._finalRemarkForm = this.fb.group({ + fk_createdby: [this.users], + pdid: [this.pdid], + formid: [this.FormId.form_id], + final_custormer_remark_type: [null], + final_other_customer_behaviour: [null], + is_service_provided: [null], + final_form_remarks: [null], + pd_officers_recommendation: [null], + others_pd_officers_recommendation: [''], + reason_for_positive: [''], + reason_for_negative: [''], + reason_for_refer_to_credit: [''], + }); + this.getDropDown(); + } + PdQuestionFinalRemarkPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionFinalRemarkPage'); + this.getFinalRemark(); + }; + PdQuestionFinalRemarkPage.prototype.getDropDown = function () { + var _this = this; + this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(function (res) { + _this.m_remarkTypeCustomerBehaviour = res['records'].filter(function (data) { return data.isactive == 1; }); + }); + this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(function (res) { + _this.m_recommendationList = res['records']; + }); + }; + PdQuestionFinalRemarkPage.prototype.RecommendationChange = function (e) { + // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 1){ + // } + // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 3){ + // } + // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 4){ + // } + if (e == 1) { + this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators(); + this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue(''); + this._finalRemarkForm.controls['reason_for_positive'].clearValidators(); + this._finalRemarkForm.controls['reason_for_positive'].setValue(''); + this._finalRemarkForm.controls['reason_for_negative'].clearValidators(); + this._finalRemarkForm.controls['reason_for_negative'].setValue(''); + } + if (e == 2) { + this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); + this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators(); + this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue(''); + this._finalRemarkForm.controls['reason_for_positive'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + this._finalRemarkForm.controls['reason_for_negative'].clearValidators(); + this._finalRemarkForm.controls['reason_for_negative'].setValue(''); + } + if (e == 3) { + this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); + this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue(''); + this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators(); + this._finalRemarkForm.controls['reason_for_positive'].clearValidators(); + this._finalRemarkForm.controls['reason_for_positive'].setValue(''); + this._finalRemarkForm.controls['reason_for_negative'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + } + if (e == 4) { + this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); + this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + this._finalRemarkForm.controls['reason_for_positive'].clearValidators(); + this._finalRemarkForm.controls['reason_for_positive'].setValue(''); + this._finalRemarkForm.controls['reason_for_negative'].setValue(''); + this._finalRemarkForm.controls['reason_for_negative'].clearValidators(); + } + this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); + this._finalRemarkForm.controls['reason_for_refer_to_credit'].updateValueAndValidity(); + this._finalRemarkForm.controls['reason_for_positive'].updateValueAndValidity(); + this._finalRemarkForm.controls['reason_for_negative'].updateValueAndValidity(); + }; + PdQuestionFinalRemarkPage.prototype.getFinalRemark = function () { + var _this = this; + var saveRecords = { 'pd_id': this.pdid, 'pd_form_id': this.FormId.form_id }; + this.qustcat.retiverForm(saveRecords).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type); + _this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour); + _this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided); + _this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation); + _this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation); + _this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive); + _this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit); + _this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative); + _this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks); + } + }); + }; + PdQuestionFinalRemarkPage.prototype.saveFinalRemark = function () { + var _this = this; + if (this._finalRemarkForm.invalid) { + return; + } + else { + var answerData = this._finalRemarkForm.value; + //To Remove The "Null" With Key also + Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); + this.qustcat.saveForm(answerData).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Record Saved Successfully"); + _this.navCtrl.pop(); + } + else { + _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); + } + }); + } + }; + PdQuestionFinalRemarkPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-final-remark',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-final-remark\pd-question-final-remark.html"*/'\n\n\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n {{pm.description}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Location\n\n
\n\n \n\n \n\n \n\n Select \n\n Well Suited.\n\n Fairly Suited\n\n Not Suited\n\n \n\n \n\n \n\n \n\n Select \n\n {{ list.pdofficer_recommendation }}\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n\n\n\n\n \n\n\n\n \n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-final-remark\pd-question-final-remark.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionFinalRemarkPage); + return PdQuestionFinalRemarkPage; +}()); + +//# sourceMappingURL=pd-question-final-remark.js.map + +/***/ }), + +/***/ 386: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessGroupPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(200); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(203); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(201); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__ = __webpack_require__(387); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__ = __webpack_require__(388); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__ = __webpack_require__(389); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(202); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + +/** + * Generated class for the PdQuestionBusinessGroupPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionBusinessGroupPage = (function () { + function PdQuestionBusinessGroupPage(navCtrl, navParams, qustCat) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.qustCat = qustCat; + this.pdDetails = []; + this.existCompanyList = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + this.getCompanyListForBusiness(); + } + /** To Get General Form's Company List */ + PdQuestionBusinessGroupPage.prototype.getCompanyListForBusiness = function () { + var _this = this; + this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function (data) { + if (data.dataStatus) { + _this.existCompanyList = data.records.filter(function (val) { return val.is_active; }); + _this.waitLoading = true; + } + else { + _this.waitLoading = false; + } + }); + }; + /** To Get Related Form Details */ + PdQuestionBusinessGroupPage.prototype.OnSelectBusinessGroupForms = function (details, company) { + this.pdDetails.company_id = company.company_order_id; + this.pdDetails.company_name = company.company_name; + this.pdDetails.business_entity_type = company.business_entity_type; + this.pdDetails.business_entity_type_other = company.business_entity_type_other; + this.pdDetails.business_years = company.business_years; + this.pdDetails.business_month = company.business_month; + if (details.form_id == 1) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); + } + if (details.form_id == 2) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); + } + if (details.form_id == 11) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_5__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); + } + if (details.form_id == 13) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); + } + if (details.form_id == 14) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); + } + if (details.form_id == 15) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); + } + if (details.form_id == 21) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); + } + if (details.form_id == 22) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); + } + }; + PdQuestionBusinessGroupPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-business-group',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-group.html"*/'\n\n\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n {{companyList.company_name}}\n\n \n\n \n\n \n\n \n\n {{quesIndex+1}}\n\n {{quesIndex+1}}\n\n
\n\n

{{ formButton.form_name }}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n

Business Related Information is Not Available.Please Check General Information

\n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-group.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], + __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], + __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */]]) + ], PdQuestionBusinessGroupPage); + return PdQuestionBusinessGroupPage; +}()); + +//# sourceMappingURL=pd-question-business-group.js.map + +/***/ }), + +/***/ 387: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionBusinessInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionBusinessInfoPage = (function () { + function PdQuestionBusinessInfoPage(navCtrl, navParams, aws, toast, qustCat, fb, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.toast = toast; + this.qustCat = qustCat; + this.fb = fb; + this.cons = cons; + this.stateList = []; + this.applicants = []; + this.businessEntityTypeList = { + business_entity_type_id: String, + business_entity_type_name: String, + sourcsection_labeleName: String + }; + this.relationData = []; + this.industryData = []; + this.activityData = []; + this.companyRelationShipList = []; + this.countryDataList = []; + this.filterCityList = []; + this.errorMessage = []; + this.titleData = []; + this.personsList = []; + this.ExportFlag = false; + this.bankList = []; + this.temp_additiondetailofposmachine = []; + this.isreadonlyyear = []; + this.isreadonlymonth = []; + this.EntityTypeFlag = false; + this.ManufacturingCounterArray = []; + this.RetailCounterArray = []; + this.WholeSaleCounterArray = []; + this.ServiceCounterArray = []; + this.getStateCityDet(); + this.pdDetails = this.navParams.get('pdDetails'); + this.pdid = this.pdDetails.pd_id; + this.formdetails = this.navParams.get('formDetails'); + this.FormId = this.formdetails.form_id; + this.users = this.aws.getlocale(); + this.applicants = this.pdDetails.applicat_details; + this.generalExistEntityType = this.pdDetails.business_entity_type; + this.generalExistEntityType_other = this.pdDetails.business_entity_type_other; + this.generalExistBusinessYear = this.pdDetails.business_years; + this.step = 0; + // this.initBusinessForm(); + // this.getBuisnessDetails(); + this.businessForm = this.fb.group({ + fk_createdby: [this.users], + pdid: [this.pdid], + formid: [this.FormId], + company_id: this.pdDetails.company_id, + partners: this.fb.array([]), + persons_with_relationships: this.fb.array([]), + select_business_activity_type: this.fb.array([]), + manufacturing_activity_details: this.fb.array([]), + retail_trading_activity_details: this.fb.array([]), + wholesale_trading_activity_details: this.fb.array([]), + service_provider_activity_details: this.fb.array([]), + others_activity_details: this.fb.array([]), + export_sale_of_total_sales: [''], + //applicant_use_mobile_wallets:[''], + //applicant_use_pos_machines:[''], + seasonality: [''], + employees_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + employees_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + employees_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + employees_appx_salary: [''], + was_the_company_name_board_sighted: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + officer_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + shop_eat_act_cert: [''], + gst_Regn_cert: [''], + //export_import_cert: [''], + // factory_cert: [''], + //practice_cert: [''], + pf_regn: [''], + esic_regn: [''], + other_documents: [''], + documents: this.fb.array([]), + business_remarks: [''] + }); + this.getdropdown(); + // this.initBusinessForm(); + } + PdQuestionBusinessInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBusinessInfoPage'); + }; + PdQuestionBusinessInfoPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (data) { + data['records'].forEach(function (val) { + if (val.isactive == 1) { + _this.relationData.push(val); + } + }); + }); + this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(function (data) { + data['records'].forEach(function (val) { + if (val.isactive == 1) { + _this.industryData.push(val); + } + }); + }); + this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(function (data) { + data['records'].forEach(function (val) { + if (val.isactive == 1 && val.type_of_activity_id != 1) { + _this.activityData.push(val); + } + }); + }); + this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(function (data) { + var filterList = data['records'].filter(function (val) { return val.business_entity_type_id == _this.generalExistEntityType; }); + _this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id == 1; + _this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id != 1 ? filterList[0].business_entity_type_name : _this.generalExistEntityType_other; + _this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id != 1 ? filterList[0].section_label : _this.generalExistEntityType_other; + if (_this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || _this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship') { + _this.EntityTypeFlag = true; + } + }); + this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { + _this.companyRelationShipList = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustCat.getcommondrop('COUNTRY').subscribe(function (data) { + _this.countryDataList = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustCat.getcommondrop('TITLES').subscribe(function (data) { + _this.titleData = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustCat.getAllPersonsName(this.pdid).subscribe(function (data) { + if (data.dataStatus) { + _this.personsList = data['record'].filter(function (val) { return val.applicant_type == 1; }); + } + }); + this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { + _this.bankList = data['records'].filter(function (val) { return val.isactive == 1 && val.lender_type == 1; }); + }); + }; + PdQuestionBusinessInfoPage.prototype.getStateCityDet = function () { + var _this = this; + this.qustCat.getStateCityDetails().subscribe(function (data) { + _this.stateList = data.records; + _this.getDetails(); + }); + }; + PdQuestionBusinessInfoPage.prototype.changeOfStartedBusiness = function (members, i, e) { + if (e == 'yes') { + members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear); + this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false; + members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth); + this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false; + } + else { + this.isreadonlyyear[i] = false; + this.isreadonlymonth[i] = false; + } + }; + PdQuestionBusinessInfoPage.prototype.getDetails = function () { + var _this = this; + var params = {}; + params.pd_id = this.pdid; + params.pd_form_id = 13; + params.company_id = this.pdDetails.company_id; + this.qustCat.retiverForm(params).subscribe(function (data) { + var businessVal = data['records']; + var constVal; + var Partnr = _this.businessForm.controls['partners']; + var control1 = _this.businessForm.controls['persons_with_relationships']; + var business_activity = _this.businessForm.controls['select_business_activity_type']; + var manufacture_details = _this.businessForm.controls['manufacturing_activity_details']; + var retailControl = _this.businessForm.controls['retail_trading_activity_details']; + var wholesaleControl = _this.businessForm.controls['wholesale_trading_activity_details']; + var serviceProviderControl = _this.businessForm.controls['service_provider_activity_details']; + var othersControl = _this.businessForm.controls['others_activity_details']; + var otherDoc = _this.businessForm.controls['documents']; + //retailControl.push(this.manufactureDetails()); + //manufacture_details.push(this.manufactureDetails()) + // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done; + //india_sales.push(this.indiaSalesDone()) + //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done; + // country_sale.push(this.createCountrySale()); + //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name; + //max_sale_state.push(this.maxSaleState()) + if (data['status'] == 200) { + var DocArray = void 0; + var PartnrArray = Object.keys(data['records'].partners).map(function (key) { + return data['records'].partners[key]; + }); + if (PartnrArray.length == 0) { + Partnr.push(_this.createPartners()); + } + else { + PartnrArray.forEach(function (datas, key) { + Partnr.push(_this.createPartners()); + if (datas.partner_name == 'Others') { + Partnr.controls[key].addControl('partner_other_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + if (parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) { + Partnr.controls[key].addControl('total_business_previous_experience', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + else { + Partnr.controls[key].removeControl('total_business_previous_experience'); + } + }); + } + if (data['records'].persons_with_relationships) { + var PartnrArray1 = Object.keys(data['records'].persons_with_relationships).map(function (key) { + return data['records'].persons_with_relationships[key]; + }); + if (PartnrArray1.length > 0) { + PartnrArray1.forEach(function (datas, key) { + control1.push(_this.createRelationShip()); + }); + businessVal.persons_with_relationships = PartnrArray1; + } + else { + //control1.push(this.createRelationShip()); + businessVal.persons_with_relationships = []; + } + } + else { + businessVal.persons_with_relationships = []; + } + if (data['records'].other_documents == 'yes') { + DocArray = Object.keys(data['records'].documents).map(function (key) { + return data['records'].documents[key]; + }); + DocArray.forEach(function (datas) { + otherDoc.push(_this.createDocument()); + }); + } + else { + DocArray = [{ document: '' }]; + otherDoc.push(_this.createDocument()); + } + businessVal.pdid = _this.pdid; + businessVal.formid = 13; + businessVal.company_id = _this.pdDetails.company_id; + businessVal.fk_createdby = _this.users; + //businessVal.designation = DesgnArray; + businessVal.partners = PartnrArray; + // businessVal.persons_with_relationships=PartnrArray1 + businessVal.documents = DocArray; + if (businessVal.employees_appx_salary) { + _this.appxSalaryAmtInwords = _this.cons.convertNumberToWords(businessVal.employees_appx_salary); + } + // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd' + // this.businessForm.setValue(businessVal); + //this.businessForm.value.seasonality + var activityData_1 = _this.activityData.map(function (item) { return ({ name: item.name, type_of_activity_id: item.type_of_activity_id }); }); + var exist_activity_data_1 = []; + if (data['records'].select_business_activity_type) { + exist_activity_data_1 = Object.keys(data['records'].select_business_activity_type).map(function (key) { + return data['records'].select_business_activity_type[key].type_of_activity_id; + }); + } + var actual_businees_activity = activityData_1.map(function (item) { return item.type_of_activity_id; }); + var check_exist_businees_activity = actual_businees_activity.map(function (id, index) { + if (exist_activity_data_1.indexOf(id) < 0) { + activityData_1[index].exist_status = 0; + return activityData_1[index]; + } + else { + activityData_1[index].exist_status = 1; + return activityData_1[index]; + } + }).filter(function (item) { return item != undefined; }); + if (check_exist_businees_activity.length > 0) { + check_exist_businees_activity.forEach(function (val, index) { + business_activity.push(_this.createBusinessActivity(val)); + // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status + }); + businessVal.select_business_activity_type = check_exist_businees_activity; + } + // business_activity.push(this.createBusinessActivity()) + // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity) + if (data['records'].manufacturing_activity_details) { + var selectedManufacturing = Object.keys(data['records'].manufacturing_activity_details).map(function (key) { + return data['records'].manufacturing_activity_details[key]; + }); + if (selectedManufacturing.length > 0) { + selectedManufacturing.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); + selectedManufacturing.length > 0 ? _this.businessForm.addControl('factory_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('factory_cert'); + selectedManufacturing.forEach(function (element, index) { + manufacture_details.push(_this.manufactureDetails()); + if (element.area_of_sale == 'Within India') { + manufacture_details.controls[index].addControl('india_where_sale_done', _this.fb.array([])); + manufacture_details.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + element.india_where_sale_done.forEach(function (innerElement, innerIndex) { + var innercontrol = manufacture_details.controls[index].get('india_where_sale_done'); + innercontrol.push(_this.indiaSalesDone()); + }); + manufacture_details.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + var innercontrol = manufacture_details.controls[index].get('max_sale_state_name'); + innercontrol.push(_this.maxSaleState()); + }); + } + else if (element.area_of_sale == 'Export') { + manufacture_details.controls[index].addControl('countries_where_export_done', _this.fb.array([])); + element.countries_where_export_done.forEach(function (innerElement, innerIndex) { + var innercontrol = manufacture_details.controls[index].get('countries_where_export_done'); + innercontrol.push(_this.createCountrySale()); + }); + } + else if (element.area_of_sale == 'Both') { + manufacture_details.controls[index].addControl('india_where_sale_done', _this.fb.array([])); + manufacture_details.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + manufacture_details.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.india_where_sale_done.forEach(function (innerElement, innerIndex) { + var innercontrol = manufacture_details.controls[index].get('india_where_sale_done'); + innercontrol.push(_this.indiaSalesDone()); + }); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + var innercontrol = manufacture_details.controls[index].get('max_sale_state_name'); + innercontrol.push(_this.maxSaleState()); + }); + manufacture_details.controls[index].addControl('countries_where_export_done', _this.fb.array([])); + element.countries_where_export_done.forEach(function (innerElement, innerIndex) { + var innercontrol = manufacture_details.controls[index].get('countries_where_export_done'); + innercontrol.push(_this.createCountrySale()); + }); + } + }); + businessVal.manufacturing_activity_details = selectedManufacturing; + } + else { + businessVal.manufacturing_activity_details = []; + } + } + else { + businessVal.manufacturing_activity_details = []; + } + if (data['records'].retail_trading_activity_details) { + var selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) { + return data['records'].retail_trading_activity_details[key]; + }); + if (selectedRetail.length > 0) { + selectedRetail.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); + selectedRetail.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); + selectedRetail.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); + selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); + selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); + selectedRetail.forEach(function (element, index) { + retailControl.push(_this.manufactureDetails()); + if (element.area_of_sale == 'Within India') { + retailControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); + retailControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + element.india_where_sale_done.forEach(function (innerElement, innerIndex) { + var innercontrol = retailControl.controls[index].get('india_where_sale_done'); + innercontrol.push(_this.indiaSalesDone()); + }); + retailControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + var innercontrol = retailControl.controls[index].get('max_sale_state_name'); + innercontrol.push(_this.maxSaleState()); + }); + } + else if (element.area_of_sale == 'Export') { + retailControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); + element.countries_where_export_done.forEach(function (innerElement, innerIndex) { + var innercontrol = retailControl.controls[index].get('countries_where_export_done'); + innercontrol.push(_this.createCountrySale()); + }); + } + else if (element.area_of_sale == 'Both') { + retailControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); + retailControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + retailControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.india_where_sale_done.forEach(function (innerElement, innerIndex) { + var innercontrol = retailControl.controls[index].get('india_where_sale_done'); + innercontrol.push(_this.indiaSalesDone()); + }); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + var innercontrol = retailControl.controls[index].get('max_sale_state_name'); + innercontrol.push(_this.maxSaleState()); + }); + retailControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); + element.countries_where_export_done.forEach(function (innerElement, innerIndex) { + var innercontrol = retailControl.controls[index].get('countries_where_export_done'); + innercontrol.push(_this.createCountrySale()); + }); + } + }); + businessVal.retail_trading_activity_details = selectedRetail; + } + else { + businessVal.retail_trading_activity_details = []; + } + } + else { + businessVal.retail_trading_activity_details = []; + } + // update whole sale details + if (data['records'].wholesale_trading_activity_details) { + var selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) { + return data['records'].wholesale_trading_activity_details[key]; + }); + if (selectedWholesale.length > 0) { + selectedWholesale.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); + selectedWholesale.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); + selectedWholesale.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); + selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); + selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); + selectedWholesale.forEach(function (element, index) { + wholesaleControl.push(_this.manufactureDetails()); + if (element.area_of_sale == 'Within India') { + wholesaleControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); + wholesaleControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + element.india_where_sale_done.forEach(function (innerElement, innerIndex) { + var innercontrol = wholesaleControl.controls[index].get('india_where_sale_done'); + innercontrol.push(_this.indiaSalesDone()); + }); + wholesaleControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + var innercontrol = wholesaleControl.controls[index].get('max_sale_state_name'); + innercontrol.push(_this.maxSaleState()); + }); + } + else if (element.area_of_sale == 'Export') { + wholesaleControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); + element.countries_where_export_done.forEach(function (innerElement, innerIndex) { + var innercontrol = wholesaleControl.controls[index].get('countries_where_export_done'); + innercontrol.push(_this.createCountrySale()); + }); + } + else if (element.area_of_sale == 'Both') { + wholesaleControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); + wholesaleControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + wholesaleControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.india_where_sale_done.forEach(function (innerElement, innerIndex) { + var innercontrol = wholesaleControl.controls[index].get('india_where_sale_done'); + innercontrol.push(_this.indiaSalesDone()); + }); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + var innercontrol = wholesaleControl.controls[index].get('max_sale_state_name'); + innercontrol.push(_this.maxSaleState()); + }); + wholesaleControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); + element.countries_where_export_done.forEach(function (innerElement, innerIndex) { + var innercontrol = wholesaleControl.controls[index].get('countries_where_export_done'); + innercontrol.push(_this.createCountrySale()); + }); + } + }); + businessVal.wholesale_trading_activity_details = selectedWholesale; + } + else { + businessVal.wholesale_trading_activity_details = []; + } + } + else { + businessVal.wholesale_trading_activity_details = []; + } + if (data['records'].service_provider_activity_details) { + var selectedService = Object.keys(data['records'].service_provider_activity_details).map(function (key) { + return data['records'].service_provider_activity_details[key]; + }); + if (selectedService.length > 0) { + selectedService.length > 0 ? _this.businessForm.addControl('practice_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('practice_cert'); + selectedService.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); + selectedService.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); + selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); + selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); + selectedService.forEach(function (element, index) { + serviceProviderControl.push(_this.manufactureDetails()); + if (element.area_of_sale == 'Within India') { + serviceProviderControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); + serviceProviderControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + element.india_where_sale_done.forEach(function (innerElement, innerIndex) { + var innercontrol = serviceProviderControl.controls[index].get('india_where_sale_done'); + innercontrol.push(_this.indiaSalesDone()); + }); + serviceProviderControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + var innercontrol = serviceProviderControl.controls[index].get('max_sale_state_name'); + innercontrol.push(_this.maxSaleState()); + }); + } + else if (element.area_of_sale == 'Export') { + serviceProviderControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); + element.countries_where_export_done.forEach(function (innerElement, innerIndex) { + var innercontrol = serviceProviderControl.controls[index].get('countries_where_export_done'); + innercontrol.push(_this.createCountrySale()); + }); + } + else if (element.area_of_sale == 'Both') { + serviceProviderControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); + serviceProviderControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + serviceProviderControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.india_where_sale_done.forEach(function (innerElement, innerIndex) { + var innercontrol = serviceProviderControl.controls[index].get('india_where_sale_done'); + innercontrol.push(_this.indiaSalesDone()); + }); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + var innercontrol = serviceProviderControl.controls[index].get('max_sale_state_name'); + innercontrol.push(_this.maxSaleState()); + }); + serviceProviderControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); + element.countries_where_export_done.forEach(function (innerElement, innerIndex) { + var innercontrol = serviceProviderControl.controls[index].get('countries_where_export_done'); + innercontrol.push(_this.createCountrySale()); + }); + } + }); + businessVal.service_provider_activity_details = selectedService; + } + else { + businessVal.service_provider_activity_details = []; + } + } + else { + businessVal.service_provider_activity_details = []; + } + if (data['records'].others_activity_details) { + // update others activity details + var selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) { + return data['records'].others_activity_details[key]; + }); + if (selectedOthers.length > 0) { + selectedOthers.forEach(function (element, index) { + othersControl.push(_this.createOthersActivity()); + }); + businessVal.others_activity_details = selectedOthers; + } + else { + businessVal.others_activity_details = []; + } + } + else { + businessVal.others_activity_details = []; + } + // dynamically add form group control + if (data['dataStatus']) { + if (data['records'].seasonality.toUpperCase() == 'YES') { + _this.businessForm.addControl('peak_period_of_business', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + _this.businessForm.addControl('month_of_business_run', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + } + // this.businessForm.controls['partners'].setValue(PartnrArray); + //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1) + // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details) + if (businessVal.applicant_use_pos_machines == 'yes') { + _this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines); + var posControl = _this.businessForm.controls['pos_machines_details']; + for (var i = 1; i <= businessVal.no_of_pos_machines; i++) { + posControl.push(_this.createPOSMachinesDetails(businessVal.pos_machines_details)); + } + } + _this.businessForm.setValue(businessVal); + } + else { + Partnr.push(_this.createPartners()); + control1.push(_this.createRelationShip()); + //otherDoc.push(this.createDocument()); + // find business activity type businees activity type list + var activityData = _this.activityData.map(function (item) { return ({ name: item.name, type_of_activity_id: item.type_of_activity_id, exist_status: 0 }); }); + if (activityData.length > 0) { + activityData.forEach(function (val) { + business_activity.push(_this.createBusinessActivity(val)); + }); + } + } + }); + // change business sessional + this.businessForm.controls['seasonality'].valueChanges.subscribe(function (val) { + val.toUpperCase() == 'YES' ? _this.businessForm.addControl('peak_period_of_business', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('peak_period_of_business'); + val.toUpperCase() == 'YES' ? _this.businessForm.addControl('month_of_business_run', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('month_of_business_run'); + }); + }; + PdQuestionBusinessInfoPage.prototype.filterCity = function (datasource, filterid) { + if (filterid) { + var filter = this.stateList.filter(function (x) { return x.state_id == filterid; }); + return filter.length > 0 ? filter[0].cities : []; + } + }; + // filter max sale options + PdQuestionBusinessInfoPage.prototype.filterMaxSaleState = function (datasource, filterValues) { + this.filterCityList = filterValues; + if (filterValues) { + var getOriginalStateList_1 = datasource.map(function (dval) { return dval.state_id; }); + var getStateValues = filterValues.filter(function (val) { return val.state_name; }).map(function (mapVal) { return mapVal.state_name; }); + var setStateFilter = []; + setStateFilter = getStateValues.map(function (x) { + var findIndex = getOriginalStateList_1.indexOf(x); + return datasource[findIndex]; + }); + return setStateFilter.length > 0 ? setStateFilter : []; + } + }; + PdQuestionBusinessInfoPage.prototype.filterMaxSaleCities = function (datasource, filterValues, selectedCites) { + var existCities = selectedCites.filter(function (cfVal) { return cfVal.city_name != ''; }).map(function (mcVal) { return mcVal.city_name; }); + existCities = [].concat.apply([], existCities); + if (filterValues) { + var getOriginalStateList_2 = datasource.map(function (dval) { return dval.state_id; }); + var setCityFilter = filterValues.map(function (x) { + var findIndex = getOriginalStateList_2.indexOf(x); + findIndex = datasource[findIndex].cities; + return findIndex; + }); + var merged = [].concat.apply([], setCityFilter); + if (merged.length > 0) { + var check = merged.filter(function (fVal) { + return existCities.some(function (sVal) { + return fVal.city_id == sVal; + }); + }); + return check; + } + else { + return []; + } + } + else { + return []; + } + }; + PdQuestionBusinessInfoPage.prototype.checkTotalEmployee = function (FormData) { + this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent || 0) + (+FormData.value.employees_temporary || 0)); + }; + PdQuestionBusinessInfoPage.prototype.checkWithExistBusinessYear = function (e, i) { + if (e > this.generalExistBusinessYear) { + this.errorMessage[i] = "Higher than Business Vintage"; + } + else { + this.errorMessage[i] = ''; + } + }; + // businees activity type change event + PdQuestionBusinessInfoPage.prototype.changeBusinessActivity = function (event) { + if (event.value.exist_status == true && event.value.type_of_activity_id == 2) { + this.ManufacturingChecked = event.value.exist_status; + var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; + manufacturingControl.controls = []; + manufacturingControl.setValue([]); + } + else if (event.value.exist_status == false && event.value.type_of_activity_id == 2) { + this.ManufacturingChecked = event.value.exist_status; + var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; + manufacturingControl.push(this.manufactureDetails()); + } + if (event.value.exist_status == true && event.value.type_of_activity_id == 3) { + this.RetailedChecked = event.value.exist_status; + var retailControl = this.businessForm.controls['retail_trading_activity_details']; + retailControl.controls = []; + retailControl.setValue([]); + } + else if (event.value.exist_status == false && event.value.type_of_activity_id == 3) { + this.RetailedChecked = event.value.exist_status; + var retailControl = this.businessForm.controls['retail_trading_activity_details']; + retailControl.push(this.manufactureDetails()); + } + if (event.value.exist_status == true && event.value.type_of_activity_id == 4) { + this.WholeSalesChecked = event.value.exist_status; + var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; + wholesaleControl.controls = []; + wholesaleControl.setValue([]); + } + else if (event.value.exist_status == false && event.value.type_of_activity_id == 4) { + this.WholeSalesChecked = event.value.exist_status; + var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; + wholesaleControl.push(this.manufactureDetails()); + } + if (event.value.exist_status == true && event.value.type_of_activity_id == 5) { + this.ServiceChecked = event.value.exist_status; + var serviceControl = this.businessForm.controls['service_provider_activity_details']; + serviceControl.controls = []; + serviceControl.setValue([]); + } + else if (event.value.exist_status == false && event.value.type_of_activity_id == 5) { + this.ServiceChecked = event.value.exist_status; + var serviceControl = this.businessForm.controls['service_provider_activity_details']; + serviceControl.push(this.manufactureDetails()); + } + if (event.value.exist_status == true && event.value.type_of_activity_id == 1) { + var othersControl = this.businessForm.controls['others_activity_details']; + othersControl.controls = []; + othersControl.setValue([]); + } + else if (event.value.exist_status == false && event.value.type_of_activity_id == 1) { + var othersControl = this.businessForm.controls['others_activity_details']; + othersControl.push(this.createOthersActivity()); + } + // check activity type for make dosument sighted filed dynamically + this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.export_import_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('export_import_cert'); + this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.factory_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('factory_cert'); + this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.practice_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('practice_cert'); + // check activity for extra question make dynamic + this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets'); + this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines'); + if (this.ManufacturingChecked && this.RetailedChecked && this.WholeSalesChecked && this.ServiceChecked) { + this.ExportFlag = false; + } + }; + PdQuestionBusinessInfoPage.prototype.changeManufacturingAreaSale = function (getDetails, getIndex) { + var control = this.businessForm.get('manufacturing_activity_details'); + if (getDetails.value.area_of_sale == "Within India") { + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + else if (getDetails.value.area_of_sale == "Export") { + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); + } + else if (getDetails.value.area_of_sale == "Both") { + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); + } + }; + // change retail options + PdQuestionBusinessInfoPage.prototype.changeRetailAreaSale = function (getDetails, getIndex) { + var control = this.businessForm.get('retail_trading_activity_details'); + if (getDetails.value.area_of_sale == "Within India") { + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + else if (getDetails.value.area_of_sale == "Export") { + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); + } + else if (getDetails.value.area_of_sale == "Both") { + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); + } + }; + // change whole options + PdQuestionBusinessInfoPage.prototype.changeWholesaleAreaSale = function (getDetails, getIndex) { + var control = this.businessForm.get('wholesale_trading_activity_details'); + if (getDetails.value.area_of_sale == "Within India") { + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + else if (getDetails.value.area_of_sale == "Export") { + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); + } + else if (getDetails.value.area_of_sale == "Both") { + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); + } + }; + // change service provider + PdQuestionBusinessInfoPage.prototype.changeServiceArea = function (getDetails, getIndex) { + var control = this.businessForm.get('service_provider_activity_details'); + if (getDetails.value.area_of_sale == "Within India") { + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + else if (getDetails.value.area_of_sale == "Export") { + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); + } + else if (getDetails.value.area_of_sale == "Both") { + control.controls[getIndex].removeControl('india_where_sale_done'); + control.controls[getIndex].removeControl('countries_where_export_done'); + control.controls[getIndex].removeControl('pan_india_options'); + control.controls[getIndex].removeControl('max_sale_state_name'); + control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); + } + }; + PdQuestionBusinessInfoPage.prototype.changePanIndiaOptions = function (type, selectedIndex, value) { + if (type == 1) { + var control = this.businessForm.get('manufacturing_activity_details'); + control.controls[selectedIndex].removeControl('india_where_sale_done'); + control.controls[selectedIndex].removeControl('max_sale_state_name'); + if (value == 'Yes') { + control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + else if (value == 'No') { + control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); + control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + } + else if (type == 2) { + var control = this.businessForm.get('retail_trading_activity_details'); + control.controls[selectedIndex].removeControl('india_where_sale_done'); + control.controls[selectedIndex].removeControl('max_sale_state_name'); + if (value == 'Yes') { + control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + else if (value == 'No') { + control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); + control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + } + else if (type == 3) { + var control = this.businessForm.get('wholesale_trading_activity_details'); + control.controls[selectedIndex].removeControl('india_where_sale_done'); + control.controls[selectedIndex].removeControl('max_sale_state_name'); + if (value == 'Yes') { + control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + else if (value == 'No') { + control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); + control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + } + else if (type == 4) { + var control = this.businessForm.get('service_provider_activity_details'); + control.controls[selectedIndex].removeControl('india_where_sale_done'); + control.controls[selectedIndex].removeControl('max_sale_state_name'); + if (value == 'Yes') { + control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); + control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + else if (value == 'No') { + control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); + control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); + } + } + }; + // update partner group other form control + PdQuestionBusinessInfoPage.prototype.changePartnerGroup = function (value, key) { + var control = this.businessForm.get('partners'); + value == 'Others' ? control.controls[key].addControl('partner_other_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[key].removeControl('partner_other_name'); + }; + PdQuestionBusinessInfoPage.prototype.createDesignation = function () { + return this.fb.group({ + sec_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + sec_designation: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + }); + }; + PdQuestionBusinessInfoPage.prototype.keyPress = function (event) { + var pattern = /[0-9]/; + var inputChar = String.fromCharCode(event.charCode); + if (event.keyCode != 8 && !pattern.test(inputChar)) { + event.preventDefault(); + } + }; + PdQuestionBusinessInfoPage.prototype.getWorkExperience = function (event, key) { + var current_experience = event.current_business_experiance_year == '' ? 0 : parseInt(event.current_business_experiance_year); + var total_experience = event.total_business_experiance == '' ? 0 : parseInt(event.total_business_experiance); + var control = this.businessForm.get('partners'); + if (total_experience > current_experience) { + control.controls[key].addControl('total_business_previous_experience', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + else if (total_experience < current_experience) { + //control.controls[key].controls['total_business_experiance'].setValue(current_experience); + control.controls[key].removeControl('total_business_previous_experience'); + } + else { + control.controls[key].removeControl('total_business_previous_experience'); + } + // let total ; + // if(control.length > 0){ + // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0); + // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]); + // this.businessForm.controls.business_years.updateValueAndValidity(); + // } + }; + PdQuestionBusinessInfoPage.prototype.ConvertMonthintoYear = function (itemrow, e) { + var year = itemrow.controls.current_business_experiance_year.value; + var converted_month = e % 12; + var converted_year = e / 12; + itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year)); + itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month)); + }; + PdQuestionBusinessInfoPage.prototype.createPartners = function () { + return this.fb.group({ + partner_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + // partner_other_name:[''], + shareholding: [''], + started_business: [''], + current_business_experiance_year: [''], + current_business_experiance_month: [''], + total_business_experiance: [''], + total_business_previous_experience: [''] + /* shareholding: ['', Validators.compose([Validators.required])], + current_business_experiance: ['', Validators.compose([Validators.required])], + total_business_experiance: ['', Validators.compose([Validators.required])],*/ + }); + }; + PdQuestionBusinessInfoPage.prototype.createRelationShip = function () { + return this.fb.group({ + family_member_salutation: [''], + family_member_name: [''], + other_family_relationship_id: [''], + relation_to_id: [''], + relationship_with_company_id: [''], + started_business: [''] + }); + }; + PdQuestionBusinessInfoPage.prototype.createBusinessActivity = function (details) { + return this.fb.group({ + type_of_activity_id: [details.type_of_activity_id, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + name: [details.name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + exist_status: [details.exist_status == 1 ? true : false] + }); + }; + PdQuestionBusinessInfoPage.prototype.createServiceActivity = function () { + return this.fb.group({ + main_products: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + area_of_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + description: [''] + }); + }; + PdQuestionBusinessInfoPage.prototype.createOthersActivity = function () { + return this.fb.group({ + others_details: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])] + }); + }; + PdQuestionBusinessInfoPage.prototype.manufactureDetails = function () { + return this.fb.group({ + main_products: [''], + area_of_sale: [''], + description: [''] + // pan_india_options:[''], + // india_where_sale_done:this.fb.array([]), + //max_sale_state_name:this.fb.array([]), + //countries_where_export_done:this.fb.array([]) + }); + }; + PdQuestionBusinessInfoPage.prototype.indiaSalesDone = function () { + return this.fb.group({ + state_name: [''], + city_name: [''] + }); + }; + PdQuestionBusinessInfoPage.prototype.maxSaleState = function () { + return this.fb.group({ + state_name: [''], + city_name: [''] + }); + }; + PdQuestionBusinessInfoPage.prototype.createDocument = function () { + return this.fb.group({ + document: [''] + }); + }; + PdQuestionBusinessInfoPage.prototype.addDesignation = function () { + var control = this.businessForm.controls['designation']; + control.push(this.createDesignation()); + }; + PdQuestionBusinessInfoPage.prototype.deleteDesignation = function (index) { + var control = this.businessForm.controls['designation']; + if (control.length == 1) { + this.businessForm.controls['designation'].reset(); + } + else { + control.removeAt(index); + } + }; + PdQuestionBusinessInfoPage.prototype.addPartnerDetails = function (event) { + var control = this.businessForm.controls['partners']; + event.stopPropagation(); + var length = control.length; + this.step = length; + control.push(this.createPartners()); + }; + PdQuestionBusinessInfoPage.prototype.addPersonRelationship = function (event) { + event.stopPropagation(); + var control = this.businessForm.controls['persons_with_relationships']; + var length = control.length; + this.step = length; + control.push(this.createRelationShip()); + }; + PdQuestionBusinessInfoPage.prototype.deletePersonRelationship = function (index) { + var control = this.businessForm.controls['persons_with_relationships']; + control.removeAt(index); + }; + PdQuestionBusinessInfoPage.prototype.deletePartnerDetails = function (index) { + var control = this.businessForm.controls['partners']; + if (control.length == 1) { + this.businessForm.controls['partners'].reset(); + } + else { + control.removeAt(index); + } + }; + PdQuestionBusinessInfoPage.prototype.addMoreManufacturing = function () { + var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; + manufacturingControl.push(this.manufactureDetails()); + }; + PdQuestionBusinessInfoPage.prototype.addMoreRetail = function () { + var retailControl = this.businessForm.controls['retail_trading_activity_details']; + retailControl.push(this.manufactureDetails()); + }; + PdQuestionBusinessInfoPage.prototype.addMoreWholesale = function () { + var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; + wholesaleControl.push(this.manufactureDetails()); + }; + PdQuestionBusinessInfoPage.prototype.createCountrySale = function () { + return this.fb.group({ + country_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + approx_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])] + }); + }; + PdQuestionBusinessInfoPage.prototype.addMoreState = function (mindex, type) { + if (type == 1) { + var control = this.businessForm.get('manufacturing_activity_details'); + control = control.controls[mindex].get('india_where_sale_done'); + control.push(this.indiaSalesDone()); + } + else if (type == 2) { + var control = this.businessForm.get('manufacturing_activity_details'); + control = control.controls[mindex].get('countries_where_export_done'); + control.push(this.createCountrySale()); + } + }; + PdQuestionBusinessInfoPage.prototype.removeState = function (mindex, sindex, type) { + if (type == 1) { + var control = this.businessForm.get('manufacturing_activity_details'); + control = control.controls[mindex].get('india_where_sale_done'); + control.removeAt(sindex); + } + else if (type == 2) { + var control = this.businessForm.get('manufacturing_activity_details'); + control = control.controls[mindex].get('countries_where_export_done'); + control.removeAt(sindex); + } + }; + PdQuestionBusinessInfoPage.prototype.addRetailMoreState = function (rindex, type) { + if (type == 1) { + var control = this.businessForm.get('retail_trading_activity_details'); + control = control.controls[rindex].get('india_where_sale_done'); + control.push(this.indiaSalesDone()); + } + else if (type == 2) { + var control = this.businessForm.get('retail_trading_activity_details'); + control = control.controls[rindex].get('countries_where_export_done'); + control.push(this.createCountrySale()); + } + }; + PdQuestionBusinessInfoPage.prototype.removeRetailState = function (mindex, sindex, type) { + if (type == 1) { + var control = this.businessForm.get('retail_trading_activity_details'); + control = control.controls[mindex].get('india_where_sale_done'); + control.removeAt(sindex); + } + else if (type == 2) { + var control = this.businessForm.get('retail_trading_activity_details'); + control = control.controls[mindex].get('countries_where_export_done'); + control.removeAt(sindex); + } + }; + // add more whole sale state + PdQuestionBusinessInfoPage.prototype.addWholesaleMoreState = function (windex, type) { + if (type == 1) { + var control = this.businessForm.get('wholesale_trading_activity_details'); + control = control.controls[windex].get('india_where_sale_done'); + control.push(this.indiaSalesDone()); + } + else if (type == 2) { + var control = this.businessForm.get('wholesale_trading_activity_details'); + control = control.controls[windex].get('countries_where_export_done'); + control.push(this.createCountrySale()); + } + }; + // remove for whole sale + PdQuestionBusinessInfoPage.prototype.removeWholesaleState = function (mindex, sindex, type) { + if (type == 1) { + var control = this.businessForm.get('wholesale_trading_activity_details'); + control = control.controls[mindex].get('india_where_sale_done'); + control.removeAt(sindex); + } + else if (type == 2) { + var control = this.businessForm.get('wholesale_trading_activity_details'); + control = control.controls[mindex].get('countries_where_export_done'); + control.removeAt(sindex); + } + }; + // add more service provider + PdQuestionBusinessInfoPage.prototype.addServiceMoreState = function (sindex, type) { + if (type == 1) { + var control = this.businessForm.get('service_provider_activity_details'); + control = control.controls[sindex].get('india_where_sale_done'); + control.push(this.indiaSalesDone()); + } + else if (type == 2) { + var control = this.businessForm.get('service_provider_activity_details'); + control = control.controls[sindex].get('countries_where_export_done'); + control.push(this.createCountrySale()); + } + }; + PdQuestionBusinessInfoPage.prototype.addMoreServiceprovider = function () { + var serviceControl = this.businessForm.controls['service_provider_activity_details']; + serviceControl.push(this.manufactureDetails()); + }; + PdQuestionBusinessInfoPage.prototype.addMoreOthersActivity = function () { + var othersControl = this.businessForm.controls['others_activity_details']; + othersControl.push(this.createOthersActivity()); + }; + // remove service provider + PdQuestionBusinessInfoPage.prototype.removeServiceState = function (mindex, sindex, type) { + if (type == 1) { + var control = this.businessForm.get('service_provider_activity_details'); + control = control.controls[mindex].get('india_where_sale_done'); + control.removeAt(sindex); + } + else if (type == 2) { + var control1 = this.businessForm.get('service_provider_activity_details'); + control1 = control1.controls[mindex].get('countries_where_export_done'); + control1.removeAt(sindex); + } + }; + PdQuestionBusinessInfoPage.prototype.addDocuments = function () { + var control = this.businessForm.controls['documents']; + control.push(this.createDocument()); + }; + PdQuestionBusinessInfoPage.prototype.deleteDocuments = function (index) { + var control = this.businessForm.controls['documents']; + if (control.length == 1) { + this.businessForm.controls['documents'].reset(); + } + else { + control.removeAt(index); + } + }; + PdQuestionBusinessInfoPage.prototype.relationChanged = function (event) { + var _this = this; + this.relativeNames = []; + event.value.forEach(function (option) { + _this.relativeNames.push({ member: option }); + }); + }; + PdQuestionBusinessInfoPage.prototype.createPOSMachinesDetails = function (data) { + if (data == null) { + return this.fb.group({ + pos_machines_financial_institution_name: [''], + tid_no_of_pos_machine: [''], + }); + } + else { + return this.fb.group({ + pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name], + tid_no_of_pos_machine: [data.tid_no_of_pos_machine], + }); + } + }; + PdQuestionBusinessInfoPage.prototype.initBusinessForm = function () { + this.businessForm = this.fb.group({ + pdid: this.pdDetails.pd_id, + formid: this.FormId.form_id, + fk_createdby: this.users, + profession_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + business_years: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + industry: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + type_of_activity: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + seasonality: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + designation: this.fb.array([]), + partners: this.fb.array([]), + employees_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + employees_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + employees_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + officer_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + officer_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + officer_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + invested_amount: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + working_capital: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + is_service_provided: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + ownership_setup: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + ownership_others: [''], + rent_paid: [''], + shop_eat_act_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + gst_Regn_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + export_import_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + factory_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + practice_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + pf_regn: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + esic_regn: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + other_documents: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + documents: this.fb.array([]), + business_remarks: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + who_started: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + main_person: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + other_main_person: [''], + family_members_involved: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + before_business: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + any_delays: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + }); + }; + PdQuestionBusinessInfoPage.prototype.submitDetails = function () { + var _this = this; + if (this.EntityTypeFlag == true) { + var control = this.businessForm.controls['partners']; + var control2 = control.controls[0]; + control2.controls['shareholding'].clearValidators(); + control2.controls['shareholding'].updateValueAndValidity(); + control2.controls['shareholding'].setValue('100'); + // control.controls[0].removeControl('shareholding'); + // control.controls[0].removeControl('started_business'); + // control.controls[0].removeControl('current_business_experiance_year'); + // control.controls[0].removeControl('current_business_experiance_month'); + // control.controls[0].removeControl('total_business_experiance'); + control2.controls['started_business'].setValue(''); + control2.controls['current_business_experiance_year'].clearValidators(); + control2.controls['current_business_experiance_year'].updateValueAndValidity(); + control2.controls['current_business_experiance_year'].setValue(''); + control2.controls['current_business_experiance_month'].setValue(''); + control2.controls['total_business_experiance'].clearValidators(); + control2.controls['total_business_experiance'].updateValueAndValidity(); + control2.controls['total_business_experiance'].setValue(''); + // if(control2.controls['total_business_previous_experience'].value !=undefined){ + // control2.controls['total_business_previous_experience'].clearValidators(); + // control2.controls['total_business_previous_experience'].updateValueAndValidity(); + // control2.controls['total_business_previous_experience'].setValue('0'); + // } + } + var family = []; + var design; + //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users}; + var records; + // records.pdid = this.pdDetails.pd_id; + // records.formid = this.FormId; + // records.fk_createdby = this.users; + records = this.businessForm.value; + //if(records.persons_with_relationships=='') + if (records.other_documents == 'no') { + delete records.documents; + } + if (records.rent_paid == '') { + delete records.rent_paid; + } + if (records.ownership_others == '') { + delete records.ownership_others; + } + // records.family_members_involved = this.relativeNames; + var validationFlag = 0; + //type 1: Checking manufacturing_activity_details + if (records.manufacturing_activity_details.length > 0) { + records.manufacturing_activity_details.forEach(function (val, index) { + if (val.area_of_sale != "Within India") { + var ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) { + return val.countries_where_export_done[key]; + }); + var total = ManufacturingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); + if (total > 100 || total < 100) { + validationFlag++; + } + } + }); + } + //type 3 checking wholesale_trading_activity_details + if (records.wholesale_trading_activity_details.length > 0) { + records.wholesale_trading_activity_details.forEach(function (val, index) { + if (val.area_of_sale != "Within India") { + var WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) { + return val.countries_where_export_done[key]; + }); + var total = WholesaleTradingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); + if (total > 100 || total < 100) { + validationFlag++; + } + } + }); + } + //type 2 checking retail_trading_activity_details + if (records.retail_trading_activity_details.length > 0) { + records.retail_trading_activity_details.forEach(function (val, index) { + if (val.area_of_sale != "Within India") { + var RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) { + return val.countries_where_export_done[key]; + }); + var total = RetailTradingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); + if (total > 100 || total < 100) { + validationFlag++; + } + } + }); + } + //type 4 checking service_provider_activity_details + if (records.service_provider_activity_details.length > 0) { + records.service_provider_activity_details.forEach(function (val, index) { + if (val.area_of_sale != "Within India") { + var ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) { + return val.countries_where_export_done[key]; + }); + var total = ServiceProviderArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); + if (total > 100 || total < 100) { + validationFlag++; + } + } + }); + } + //validationFlag is greater then 0 means its display the notifer as warning + if (validationFlag > 0) { + this.toast.pdTriggerappmessage("warning!! Approximate sales doesn't add upto 100%"); + return; + } + records.select_business_activity_type = records.select_business_activity_type.filter(function (value) { return value.exist_status == 1; }); + this.qustCat.saveForm(records).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + _this.navCtrl.pop(); + } + }); + }; + PdQuestionBusinessInfoPage.prototype.getBuisnessDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (data) { + var businessVal = data['records']; + var constVal; + var Desgn = _this.businessForm.controls['designation']; + var Partnr = _this.businessForm.controls['partners']; + var otherDoc = _this.businessForm.controls['documents']; + if (data['status'] == 200) { + var DocArray = void 0; + var DesgnArray = Object.keys(data['records'].designation).map(function (key) { + return data['records'].designation[key]; + }); + var PartnrArray = Object.keys(data['records'].partners).map(function (key) { + return data['records'].partners[key]; + }); + var selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) { + return data['records'].family_members_involved[key]; + }); + var enduse_1 = []; + var existRelative_1 = []; + selectedMembers.forEach(function (val) { + enduse_1.push(val.member); + existRelative_1.push(val); + }); + _this.relativeNames = existRelative_1; + if (DesgnArray.length == 0) { + Desgn.push(_this.createDesignation()); + } + else { + DesgnArray.forEach(function (datas) { + Desgn.push(_this.createDesignation()); + }); + } + if (PartnrArray.length == 0) { + Partnr.push(_this.createPartners()); + } + else { + PartnrArray.forEach(function (datas) { + Partnr.push(_this.createPartners()); + }); + } + if (data['records'].other_documents == 'yes') { + DocArray = Object.keys(data['records'].documents).map(function (key) { + return data['records'].documents[key]; + }); + DocArray.forEach(function (datas) { + otherDoc.push(_this.createDocument()); + }); + } + else { + DocArray = [{ document: '' }]; + otherDoc.push(_this.createDocument()); + } + if (data['records'].ownership_setup != 'others') { + businessVal.ownership_others = ''; + } + if (data['records'].ownership_setup != 'rented') { + businessVal.rent_paid = ''; + } + businessVal.family_members_involved = enduse_1; + businessVal.pdid = _this.pdDetails.pd_id; + businessVal.formid = _this.FormId.form_id; + businessVal.fk_createdby = _this.users; + businessVal.designation = DesgnArray; + businessVal.partners = PartnrArray; + businessVal.documents = DocArray; + _this.businessForm.setValue(businessVal); + } + else { + Desgn.push(_this.createDesignation()); + Partnr.push(_this.createPartners()); + otherDoc.push(_this.createDocument()); + } + }); + }; + PdQuestionBusinessInfoPage.prototype.setStep = function (index) { + this.step = index; + }; + PdQuestionBusinessInfoPage.prototype.inWords = function (e, flag) { + switch (flag) { + case 1: + this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value); + break; + } + }; + PdQuestionBusinessInfoPage.prototype.CheckExport = function (value, stringFlag, index) { + //this.ExportFlag=false + var parentControl = this.businessForm.controls['select_business_activity_type']; + var childControl = parentControl.controls[0]; + // childControl.forEach((datas,index) => { + // // exist_status==true && event.value.type_of_activity_id + // }); + if (!this.ManufacturingChecked) { + if (stringFlag == 'MActivity' && value != "Within India") { + this.ManufacturingCounterArray[index] = 1; + } + else if (stringFlag == 'MActivity' && value != "Within India") { + this.ManufacturingCounterArray[index] = 0; + } + } + else if (this.ManufacturingChecked && stringFlag == 'MActivity') { + this.ManufacturingCounterArray[index] = 0; + } + if (!this.RetailedChecked) { + if (stringFlag == 'RActivity' && value != "Within India") { + this.RetailCounterArray[index] = 1; + } + else if (stringFlag == 'RActivity' && value != "Within India") { + this.RetailCounterArray[index] = 0; + } + } + else if (stringFlag == 'RActivity' && this.RetailedChecked) { + this.RetailCounterArray[index] = 0; + } + if (!this.WholeSalesChecked) { + if (stringFlag == 'WActivity' && value != "Within India") { + this.WholeSaleCounterArray[index] = 1; + } + else if (stringFlag == 'WActivity' && value != "Within India") { + this.WholeSaleCounterArray[index] = 0; + } + } + else if (stringFlag == 'WActivity' && this.WholeSalesChecked) { + this.WholeSaleCounterArray[index] = 0; + } + if (!this.ServiceChecked) { + if (stringFlag == 'SPActivity' && value != "Within India") { + this.ServiceCounterArray[index] = 1; + } + else if (stringFlag == 'SPActivity' && value != "Within India") { + this.ServiceCounterArray[index] = 0; + } + } + else if (stringFlag == 'SPActivity') { + this.ServiceCounterArray[index] = 0; + } + var SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); + var SumOfRetailCounter = this.RetailCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); + var SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); + var SumOfServiceCounter = this.ServiceCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); + var overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter; + this.ExportFlag = overallCounter > 0 ? true : false; + }; + PdQuestionBusinessInfoPage.prototype.toGetPOSMachinesDetails = function (e, flag) { + if (flag == 1) { + this.businessForm.addControl('pos_machines_details', this.fb.array([])); + } + var control = this.businessForm.controls['pos_machines_details']; + while (control.length !== 0) { + control.removeAt(0); + } + if (e > 0) { + if (flag == 1) { + for (var i = 1; i <= e; i++) { + control.push(this.createPOSMachinesDetails(null)); + } + } + else if (flag == 2) { + for (var i = 1; i <= e; i++) { + control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine)); + } + } + } + }; + PdQuestionBusinessInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-business-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-info\pd-question-business-info.html"*/'\n\n\n\n \n\n \n\n {{formdetails.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
{{businessEntityTypeList.section_label}}
\n\n
\n\n \n\n \n\n \n\n {{app.applicant_name}}\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n

No of Years in Current Business

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n

\n\n
\n\n\n\n \n\n
\n\n \n\n
\n\n

Person RelationShip

\n\n \n\n \n\n \n\n \n\n
Person #{{i+1}}
\n\n
\n\n \n\n \n\n \n\n {{title.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{member.name | titlecase}}\n\n \n\n \n\n \n\n \n\n {{member.applicant_name | titlecase}}\n\n \n\n \n\n \n\n \n\n {{comrelship.name | titlecase}}\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n

\n\n \n\n Type of Business Activity\n\n \n\n
\n\n \n\n {{entityType.controls.name.value | titlecase}}\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n

Manufacturing Details {{i+1}}

\n\n \n\n \n\n \n\n \n\n \n\n Within India"\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n {{CL.city_name}} \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
Within India
\n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Description of {{manufacturing.value.main_products}}\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n

Retail Trading Details {{r+1}}

\n\n
\n\n \n\n \n\n \n\n \n\n \n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{retail.value.main_products}}\n\n\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{retail.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n Countries Where Export Is Being Done for {{retail.value.main_products}}\n\n\n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n\n\n \n\n

Within India

\n\n\n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{retail.value.main_products}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{retail.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for {{retail.value.main_products}}\n\n\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n Description of {{retail.value.main_products}}\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n\n\n\n\n\n\n \n\n
\n\n
\n\n \n\n

Wholesale Trade Details {{w+1}}

\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n Countries Where The Export Is Being Done for {{wholesale.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n

Within India

\n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n Countries Where The Export Is Being Done for {{wholesale.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n Description of {{wholesale.value.main_products}}\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n \n\n

Service Provider Details {{sp+1}}

\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Revenue From Services for {{serviceprovider.value.main_products}}\n\n\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Revenue From Services for {{serviceprovider.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n \n\n \n\n Countries Where The Export Is Being Done for {{serviceprovider.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n

Within India

\n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n \n\n States Where Max Revenue From Services for {{serviceprovider.value.main_products}}\n\n\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Revenue From Services for {{serviceprovider.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for {{serviceprovider.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n \n\n \n\n \n\n Description of {{serviceprovider.value.main_products}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n\n\n\n\n \n\n \n\n \n\n
\n\n \n\n

Other Details {{o+1}}

\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Export Sale As a % Total Sales\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Digital Payments\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n Machine Details {{i+1}}\n\n \n\n \n\n \n\n Select\n\n {{b.lender_name}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n
\n\n
\n\n\n\n
\n\n \n\n
\n\n\n\n \n\n \n\n Seasonality\n\n \n\n \n\n
\n\n \n\n

Is The Business Seasonal

\n\n \n\n \n\n Yes\n\n No Major Changes In Sales\n\n \n\n \n\n \n\n \n\n \n\n January\n\n February\n\n March\n\n April\n\n May\n\n June\n\n July\n\n August\n\n September\n\n October\n\n November\n\n December\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n\n\n \n\n \n\n Employees As Per Applicant \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{appxSalaryAmtInwords}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n No of Employees Sighted By PD Officer During His Visit \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Documents Sighted \n\n \n\n \n\n \n\n \n\n

Shop and Est Act Cert

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n \n\n \n\n

GST Regn Cert

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n \n\n
\n\n

Export / Import cert

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n

Factory Cert

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n

Cert of Practice

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n

PF Regn

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n \n\n

ESIC Regn

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n \n\n

Do You Want to Add Other Documents?

\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-info\pd-question-business-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionBusinessInfoPage); + return PdQuestionBusinessInfoPage; +}()); + +//# sourceMappingURL=pd-question-business-info.js.map + +/***/ }), + +/***/ 388: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessAssetsPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +/** + * Generated class for the PdQuestionBusinessAssetsPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionBusinessAssetsPage = (function () { + function PdQuestionBusinessAssetsPage(navCtrl, navParams, aws, fb, qustcat, cons, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.qustcat = qustcat; + this.cons = cons; + this.toast = toast; + this.currentYear = new Date().getFullYear(); + this.m_any_asset_loan_type = [{ 'value': "yes", 'viewValue': "Yes" }, + { 'value': "no", 'viewValue': "No" }, + { 'value': "nan", 'viewValue': "NA" }]; + this.AssetValueInwords = []; + this.appxMarketAmtInwords = []; + this.RentAmtInwords = []; + this.mergeCompanyApplicant = []; + this.existCompanyList = []; + this.yearErrorMessage = []; + this.monthErrorMessage = []; + this.addressLabel = []; + this.placeholderName = []; + this.m_address_type = []; + this.RentAmtInwordsForAddress = []; + this.appxMarketAmtInwordsForAddress = []; + this.isOtherOwnerForAddress = false; + this.isOtherOwner = false; + this.m_vehicle_type = []; + this.apiLoadFinish = false; + this.pdDetails = this.navParams.get('pdDetails'); + this.formDetails = this.navParams.get('formDetails'); + this.users = this.aws.getlocale(); + this.company_id = this.pdDetails.company_id; + this.applicants = this.pdDetails.applicat_details; + this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2; }); + this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); + this.generalExistBusinessYear = this.pdDetails.business_years; + this.generalExistBusinessMonth = this.pdDetails.business_month; + this.pageTitle = this.pdDetails.company_name + ' - ' + this.pageTitle; + this.main_applicant = this.pdDetails.applicant_name; + this.lender_applicant_id = this.pdDetails.lender_applicant_id; + this.subproduct_abbr = this.pdDetails.subproduct_abbr; + this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; + this.getDropDown(); + } + PdQuestionBusinessAssetsPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBusinessAssetsPage'); + this.getDetails(); + //this.getAddress() + }; + PdQuestionBusinessAssetsPage.prototype.getAddress = function () { + var _this = this; + var params = {}; + params.pd_id = this.pdDetails.pd_id; + params.pd_form_id = '5'; + this.qustcat.retiverForm(params).subscribe(function (data) { + var control = _this._businessAssetsQuesFrom.controls['business_assets_for_address']; + if (data['status'] == 200) { + if (data['records'].addresses.length > 0) { + data['records'].addresses.forEach(function (data, inx) { + _this.addressLabel[inx] = ''; + var selectedAddressType = _this.m_address_type.filter(function (element) { return element.address_type_id == data.address_type; })[0]; + var address = data.address; + var addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others; + _this.placeholderName[inx] = 'Was any business activity seen at the ' + addressType + ' during PD visit?'; + var addressLabel = " : " + address + ' / ' + addressType; + var values = { + address_label: addressLabel, + business_years: '', + business_month: '', + business_address_availability: '', + business_is_pd_visited: '', + business_pd_visited_remark: '', + business_approximate_market_value: '', + business_ownership_type: '', + business_monthly_rented_amt: '', + business_name_of_the_owner: '', + business_name_of_the_other_owner: '', + business_vintage: '', + business_purchase_year: '', + business_emi: '' + }; + control.push(_this.initBusinessDetailsWithdata(values)); + }); + } + else { + control.push(_this.initBusinessDetails()); + } + } + else { + control.push(_this.initBusinessDetails()); + } + }); + }; + PdQuestionBusinessAssetsPage.prototype.getDropDown = function () { + var _this = this; + this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(function (data) { + _this.m_address_type = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustcat.getcommondrop('VEHICLETYPE').subscribe(function (data) { + _this.m_vehicle_type = data['records'].filter(function (data) { return data.is_active == 1; }); + }); + this.qustcat.getcommondrop('ASSETTYPE').subscribe(function (data) { + _this.m_assets_type = data['records'].filter(function (val) { return val.isactive == 1 && val.flag == 1; }); + }); + this.qustcat.getcommondrop('PROPERTIES').subscribe(function (data) { + _this.m_propertyType = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function (data) { + if (data.dataStatus) { + _this.existCompanyList = data['records'].filter(function (val) { return val.is_active == true; }); + } + var modifyCompanyList = []; + if (_this.existCompanyList.length > 0) { + modifyCompanyList = _this.existCompanyList.map(function (element) { + return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; + }); + _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); + } + var modifyApplicantList = []; + if (_this.applicants.length > 0) { + modifyApplicantList = _this.applicants.map(function (element) { + return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; + }); + _this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); + } + }); + }; + PdQuestionBusinessAssetsPage.prototype.getDetails = function () { + var _this = this; + var params = {}; + params.pd_id = this.pdDetails.pd_id; + params.company_id = this.company_id; + params.pd_form_id = 22; + this.qustcat.retiverForm(params).subscribe(function (res) { + if (res['dataStatus'] == true) { + //this.data_all=res['records'] + /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){ + return res['records'].business_assets_details[key] + }); + + //this.formLoadData(assestArray) + this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark); + if(assestArray.length>0){ + for(let val of assestArray){ + let formData={ + business_assets_mode: val.business_assets_mode, + business_approximate_market_value: val.business_approximate_market_value, + business_name_of_the_owner: val.business_name_of_the_owner, + business_name_of_the_other_owner: val.business_name_of_the_other_owner, + business_purchase_year: val. business_purchase_year, + business_vintage : val.business_vintage, + business_emi: val.business_emi, + }; + const control = this._businessAssetsQuesFrom.controls['business_assets_details']; + control.push(this.initBusinessDetailsWithdata(formData)); + this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1) + } + }*/ + _this.formLoadData(res['records']); + } + else { + _this.formLoadData(null); + } + _this.apiLoadFinish = true; + }); + //this.formLoadData(null); + }; + PdQuestionBusinessAssetsPage.prototype.formLoadData = function (data) { + if (data == null) { + this._businessAssetsQuesFrom = this.fb.group({ + pdid: [this.pdDetails.pd_id], + /* formid: ['22'],*/ + formid: [this.formDetails.form_id], + company_id: [this.company_id], + fk_createdby: [this.users], + business_assets_for_address: this.fb.array([]), + //this.createBusinessAssetsForAddress(), + business_assets_details: this.fb.array([ + this.initBusinessDetails(), + ]), + business_assets_form_remark: [''] + }); + this.getAddress(); + this.loadDetails = true; + } + else { + var value = data; + this._businessAssetsQuesFrom = this.fb.group({ + pdid: [this.pdDetails.pd_id], + /* formid: ['22'],*/ + formid: [this.formDetails.form_id], + company_id: [this.company_id], + fk_createdby: [this.users], + // business_years:[value.business_years], + // business_month:[value.business_month], + // business_address_availability:[value.business_address_availability], + // business_is_pd_visited:[value.business_is_pd_visited], + // business_pd_visited_remark:[value.business_pd_visited_remark], + business_assets_for_address: this.fb.array([]), + business_assets_details: this.fb.array([]), + business_assets_form_remark: [value.business_assets_form_remark || ''] + }); + // if (value.business_assets_for_address.business_address_availability == 'yes') { + // this.addBusinessAssetsForAddress(value.business_assets_for_address); + // } + // else { + // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; + // control.push(this.createBusinessAssetsForAddress()); + // } + // this.addBusinessAssetsDetailsWithData(value.business_assets_details); + this.addBusinessAssetsForAddress(value.business_assets_for_address); + this.addBusinessAssetsDetailsWithData(value.business_assets_details); + } + this.loadDetails = true; + }; + PdQuestionBusinessAssetsPage.prototype.initBusinessDetails = function () { + return this.fb.group({ + address_label: [''], + business_assets_mode: [''], + business_details: this.fb.array([]), + business_years: [''], + business_month: [''], + business_address_availability: [''], + business_is_pd_visited: [''], + business_pd_visited_remark: [''], + business_approximate_market_value: [''], + business_ownership_type: [''], + business_monthly_rented_amt: [''], + business_name_of_the_owner: [], + business_name_of_the_other_owner: [], + business_vintage: [''], + business_purchase_year: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], + business_emi: [''], + }); + }; + PdQuestionBusinessAssetsPage.prototype.loadProperty = function () { + return this.fb.group({ + property_type: [''], + other_property_type: [''], + address_of_the_property: [''] + }); + }; + PdQuestionBusinessAssetsPage.prototype.load_Four_Weeler = function () { + return this.fb.group({ + manufacturer_model_vehicle: [''], + vehicle_type: [''], + other_vehicle_type: [''] + }); + }; + PdQuestionBusinessAssetsPage.prototype.loadEquipmentManufacturingDescription = function () { + return this.fb.group({ + equipment_manufacturing_description: [''] + }); + }; + PdQuestionBusinessAssetsPage.prototype.otherBusinessAssetsDescription = function () { + return this.fb.group({ + any_other_assets: [''], + any_other_asset_value: [''], + any_other_asset_loan: [''], + }); + }; + /** Add More Asset using Flag Both "Other Asset" And "Business Asset" */ + PdQuestionBusinessAssetsPage.prototype.addAssetDetails = function (e) { + var control = this._businessAssetsQuesFrom.controls['business_assets_details']; + control.push(this.initBusinessDetails()); + }; + /** To remove The Added Asset using Flag Both "Other Asset" And "Business Asset" */ + PdQuestionBusinessAssetsPage.prototype.removeAssetsDetails = function (i) { + var control = this._businessAssetsQuesFrom.controls['business_assets_details']; + control.removeAt(i); + }; + PdQuestionBusinessAssetsPage.prototype.createBusinessAssetsForAddress = function () { + return this.fb.group({ + address_label: [''], + business_years: [''], + business_month: [''], + business_address_availability: [''], + business_is_pd_visited: [''], + business_pd_visited_remark: [''], + business_approximate_market_value: [''], + business_ownership_type: [''], + business_monthly_rented_amt: [''], + business_name_of_the_owner: [''], + business_name_of_the_other_owner: [''], + business_vintage: [''], + business_purchase_year: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], + business_emi: [''] + }); + }; + PdQuestionBusinessAssetsPage.prototype.selectedAssetsType = function (e, i) { + var val = i; + var arr = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + arr.controls.splice(0); + switch (e.value) { + case '1': { + var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + control.push(this.otherBusinessAssetsDescription()); + break; + } + case '2': { + var val_1 = i; + var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val_1).get('business_details'); + control.push(this.loadProperty()); + break; + } + case '3': { + var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + control.push(this.load_Four_Weeler()); + break; + } + case '4': { + var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + control.push(this.loadEquipmentManufacturingDescription()); + break; + } + default: { + break; + } + } + }; + PdQuestionBusinessAssetsPage.prototype.loadPropertyWithData = function (data) { + return this.fb.group({ + property_type: [data.property_type], + other_property_type: [data.other_property_type], + address_of_the_property: [data.address_of_the_property], + }); + }; + PdQuestionBusinessAssetsPage.prototype.load_Four_WeelerWithData = function (data) { + return this.fb.group({ + manufacturer_model_vehicle: [data.manufacturer_model_vehicle], + vehicle_type: [data.vehicle_type], + other_vehicle_type: [data.other_vehicle_type] + }); + }; + PdQuestionBusinessAssetsPage.prototype.loadEquipmentManufacturingDescriptionWithData = function (data) { + return this.fb.group({ + equipment_manufacturing_description: [data.equipment_manufacturing_description] + }); + }; + PdQuestionBusinessAssetsPage.prototype.otherBusinessAssetsDescriptionWithData = function (data) { + return this.fb.group({ + any_other_assets: [data.any_other_assets], + any_other_asset_loan: [data.any_other_asset_loan], + }); + }; + PdQuestionBusinessAssetsPage.prototype.addBusinessAssetsForAddress = function (data) { + var _this = this; + var result = Object.keys(data).map(function (key) { + return data[key]; + }); + if (result.length > 0) { + result.forEach(function (datas, index) { + _this.RentAmtInwordsForAddress[index] = _this.cons.convertNumberToWords(datas.business_monthly_rented_amt); + _this.appxMarketAmtInwordsForAddress[index] = _this.cons.convertNumberToWords(datas.business_approximate_market_value); + var Avaliablity = 1; + if (datas.business_name_of_the_owner.length > 0) { + datas.business_name_of_the_owner.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity = option.id; + } + }); + } + _this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false; + }); + for (var _i = 0, result_1 = result; _i < result_1.length; _i++) { + var val = result_1[_i]; + var vals = { + address_label: val.address_label, + business_years: val.business_years, + business_month: val.business_month, + business_address_availability: val.business_address_availability, + business_is_pd_visited: val.business_is_pd_visited, + business_pd_visited_remark: val.business_pd_visited_remark, + business_approximate_market_value: val.business_approximate_market_value, + business_ownership_type: val.business_ownership_type, + business_monthly_rented_amt: val.business_monthly_rented_amt, + business_name_of_the_owner: val.business_name_of_the_owner, + business_name_of_the_other_owner: val.business_name_of_the_other_owner, + business_vintage: val.business_vintage, + business_purchase_year: val.business_purchase_year, + business_emi: val.business_emi + }; + var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; + control.push(this.createBusinessAssetsForAddressWithData(vals)); + } + } + else { + var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; + control.push(this.createBusinessAssetsForAddress()); + } + }; + PdQuestionBusinessAssetsPage.prototype.addBusinessAssetsDetailsWithData = function (supp_data) { + var _this = this; + var result = Object.keys(supp_data).map(function (key) { + return supp_data[key]; + }); + if (result.length > 0) { + result.forEach(function (datas, index) { + _this.appxMarketAmtInwords[index] = _this.cons.convertNumberToWords(+datas.business_approximate_market_value); + _this.RentAmtInwords[index] = _this.cons.convertNumberToWords(+datas.business_monthly_rented_amt); + }); + for (var _i = 0, result_2 = result; _i < result_2.length; _i++) { + var val = result_2[_i]; + var formData = { + address_label: val.address_label, + business_assets_mode: val.business_assets_mode, + business_years: val.business_year, + business_month: val.business_month, + business_address_availability: val.business_address_availability, + business_is_pd_visited: val.business_is_pd_visited, + business_pd_visited_remark: val.business_pd_visited_remark, + business_approximate_market_value: val.business_approximate_market_value, + business_ownership_type: val.business_ownership_type, + business_monthly_rented_amt: val.business_monthly_rented_amt, + business_name_of_the_owner: val.business_name_of_the_owner, + business_name_of_the_other_owner: val.business_name_of_the_other_owner, + business_purchase_year: val.business_purchase_year, + business_vintage: val.business_vintage, + business_emi: val.business_emi, + }; + var control = this._businessAssetsQuesFrom.controls['business_assets_details']; + control.push(this.initBusinessDetailsWithdata(formData)); + this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1); + } + } + this.loadDetails = true; + }; + PdQuestionBusinessAssetsPage.prototype.createBusinessAssetsForAddressWithData = function (data) { + return this.fb.group({ + address_label: [data.address_label], + business_years: [data.business_years], + business_month: [data.business_month], + business_address_availability: [data.business_address_availability], + business_is_pd_visited: [data.business_is_pd_visited], + business_pd_visited_remark: [data.business_pd_visited_remark], + business_approximate_market_value: [data.business_approximate_market_value], + business_ownership_type: [data.business_ownership_type], + business_monthly_rented_amt: [data.business_monthly_rented_amt], + business_name_of_the_owner: [data.business_name_of_the_owner], + business_name_of_the_other_owner: [data.business_name_of_the_other_owner], + business_vintage: [data.business_vintage], + business_purchase_year: [data.business_purchase_year, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], + business_emi: [data.business_emi] + }); + }; + PdQuestionBusinessAssetsPage.prototype.initBusinessDetailsWithdata = function (data) { + var formGroup = this.fb.group({ + address_label: [data.address_label], + business_assets_mode: [data.business_assets_mode], + business_years: [data.business_year], + business_month: [data.business_month], + business_address_availability: [data.business_address_availability], + business_is_pd_visited: [data.business_is_pd_visited], + business_pd_visited_remark: [data.business_pd_visited_remark], + business_details: this.fb.array([]), + business_approximate_market_value: [data.business_approximate_market_value], + business_ownership_type: [data.business_ownership_type], + business_monthly_rented_amt: [data.business_monthly_rented_amt], + business_name_of_the_owner: [data.business_name_of_the_owner], + business_name_of_the_other_owner: [data.business_name_of_the_other_owner || ''], + // relation: [data.relation || ''], + business_vintage: [data.business_vintage], + business_purchase_year: [data.business_purchase_year, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], + // purchase_month: [data.purchase_month], + business_emi: [data.business_emi || ''], + }); + return formGroup; + }; + PdQuestionBusinessAssetsPage.prototype.setBusinessAssetsDetailsWithData = function (assets_details_mode, datas, i) { + var _this = this; + var val = i; + var data = datas; + var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + control.controls.splice(0); + switch (assets_details_mode) { + case '2': { + var business_property_datas_1; + data.forEach(function (datas, i) { + business_property_datas_1 = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property }; + }); + var control_1 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + control_1.push(this.loadPropertyWithData(business_property_datas_1)); + break; + } + case '3': { + var business_Four_Weeler_datas_1; + data.forEach(function (datas, i) { + business_Four_Weeler_datas_1 = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type }; + }); + var control_2 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + control_2.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas_1)); + break; + } + case '4': { + var equipment_manufacturing_description_datas_1; + data.forEach(function (datas, i) { + equipment_manufacturing_description_datas_1 = { 'equipment_manufacturing_description': datas.equipment_manufacturing_description }; + }); + var control_3 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + control_3.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas_1)); + break; + } + case '1': { + var array_datas_1; + data.forEach(function (datas, i) { + _this.AssetValueInwords[i] = _this.cons.convertNumberToWords(+datas.any_other_asset_value); + array_datas_1 = { + 'any_other_assets': datas.any_other_assets, + // 'any_other_asset_value': datas.any_other_asset_value, + 'any_other_asset_loan': datas.any_other_asset_loan, + }; + }); + var control_4 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); + control_4.push(this.otherBusinessAssetsDescriptionWithData(array_datas_1)); + break; + } + default: { + break; + } + } + }; + PdQuestionBusinessAssetsPage.prototype.selectedPM = function (e) { + this.paymentModeTextBox = e.value; + // this.f.supplier_details.controls.get('payment_mode_value'); + }; + PdQuestionBusinessAssetsPage.prototype.selectedFreqPurchase = function (e) { + this.freqPurchaseTextBox = e.value; + }; + PdQuestionBusinessAssetsPage.prototype.onSubmit = function () { + var _this = this; + var answerData = this._businessAssetsQuesFrom.value; + //To Remove The "Null" With Key also + Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); + this.qustcat.saveForm(answerData).subscribe(function (result) { + if (result['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Record Saved Successfully"); + _this.navCtrl.pop(); + } + else { + _this.toast.pdTriggerappmessage("Sorry!! something went Wrong "); + } + }); + }; + // calculate vintage and purchase {} + PdQuestionBusinessAssetsPage.prototype.calculateVintagePurchase = function (value, controlKey, type) { + if (type == 1) { + var control = this._businessAssetsQuesFrom.controls['business_assets_details']; + control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : ''); + } + else if (type == 2) { + var control = this._businessAssetsQuesFrom.controls['business_assets_details']; + value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue(''); + value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue(''); + } + if (type == 3) { + var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; + control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : ''); + } + else if (type == 4) { + var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; + value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue(''); + value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue(''); + } + }; + PdQuestionBusinessAssetsPage.prototype.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + // // check others + PdQuestionBusinessAssetsPage.prototype.checkOthers = function (values) { + if (values != null) { + return values.id == 0 ? true : false; + } + else { + return false; + } + }; + PdQuestionBusinessAssetsPage.prototype.setRequiredValidation = function (value, item, flag, i) { + if (flag == 1) { + if (value == 'yes') { + console.log("bu", this._businessAssetsQuesFrom.controls); + // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ; + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ; + } + else { + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators(); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators(); + // this._businessAssetsQuesFrom.controls.business_activity.clearValidators(); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators(); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators(); + // this._businessAssetsQuesFrom.controls.business_activity.clearValidators(); + } + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity(); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity(); + // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity(); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity(); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity(); + // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity(); + } + // if(flag == 2){ + // value==1 + // ? item.controls.premises_type_others.setValidators([Validators.required]) + // : item.controls.premises_type_others.clearValidators(); + // item.controls.premises_type_others.updateValueAndValidity(); + // } + if (flag == 3) { + if (value == 'owned') { + item.controls.business_monthly_rented_amt.clearValidators(); + item.controls.business_name_of_the_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + } + else { + item.controls.business_monthly_rented_amt.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + item.controls.business_name_of_the_owner.clearValidators(); + } + item.controls.business_monthly_rented_amt.updateValueAndValidity(); + item.controls.business_name_of_the_owner.updateValueAndValidity(); + } + if (flag == 4) { + var Avaliablity_1 = 1; + value.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity_1 = option.id; + } + }); + if (Avaliablity_1 == 0) { + item.controls.business_name_of_the_other_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + this.isOtherOwner = true; + } + else { + item.controls.business_name_of_the_other_owner.setValue(''); + item.controls.business_name_of_the_other_owner.clearValidators(); + this.isOtherOwner = false; + } + item.controls.business_name_of_the_other_owner.updateValueAndValidity(); + // value == 0 + // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required]) + // : item.controls.business_name_of_the_other_owner.clearValidators(); + // item.controls.business_name_of_the_other_owner.updateValueAndValidity(); + } + if (flag == 5) { + value == 1 + ? item.controls.other_vehicle_type.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) + : item.controls.other_vehicle_type.clearValidators(); + item.controls.other_vehicle_type.updateValueAndValidity(); + } + if (flag == 6) { + value == 1 + ? item.controls.other_property_type.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) + : item.controls.other_property_type.clearValidators(); + item.controls.other_property_type.updateValueAndValidity(); + value != '' + ? item.controls.address_of_the_property.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) + : item.controls.address_of_the_property.clearValidators(); + item.controls.address_of_the_property.updateValueAndValidity(); + } + if (flag == 7) { + if (value == 'owned') { + item.controls.business_monthly_rented_amt.clearValidators(); + item.controls.business_name_of_the_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + } + else { + item.controls.business_monthly_rented_amt.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + item.controls.business_name_of_the_owner.clearValidators(); + } + item.controls.business_monthly_rented_amt.updateValueAndValidity(); + item.controls.business_name_of_the_owner.updateValueAndValidity(); + } + if (flag == 8) { + var Avaliablity_2 = 1; + value.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity_2 = option.id; + } + }); + // isOtherOwner: boolean = false; + if (Avaliablity_2 == 0) { + item.controls.business_name_of_the_other_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + this.isOtherOwnerForAddress = true; + } + else { + item.controls.business_name_of_the_other_owner.setValue(''); + item.controls.business_name_of_the_other_owner.clearValidators(); + this.isOtherOwnerForAddress = false; + } + item.controls.business_name_of_the_other_owner.updateValueAndValidity(); + } + }; + /** To Convert Month into Year */ + PdQuestionBusinessAssetsPage.prototype.ConvertMonthintoYear = function (e, ind) { + console.log(this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years); + var business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value; + var converted_month = e % 12; + var converted_year = e / 12; + var Year = +business_year + +Math.floor(converted_year); + if (Year > this.generalExistBusinessYear) { + this.yearErrorMessage[ind] = "Higher than Business Vintage"; + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(''); + } + else { + if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { + this.monthErrorMessage[ind] = "Higher than Business Vintage"; + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(''); + } + else { + this.monthErrorMessage[ind] = ''; + this.yearErrorMessage[ind] = ''; + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year)); + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month)); + } + } + }; + PdQuestionBusinessAssetsPage.prototype.checkWithExistBusinessYear = function (e, ind) { + if (+e > this.generalExistBusinessYear) { + this.yearErrorMessage[ind] = "Higher than Business Vintage"; + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); + } + else { + this.yearErrorMessage[ind] = ''; + } + }; + PdQuestionBusinessAssetsPage.prototype.inWords = function (e, i, flag) { + switch (flag) { + case 1: + this.AssetValueInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 2: + this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 3: + this.RentAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 9: + this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 10: + this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value); + break; + default: + break; + } + }; + PdQuestionBusinessAssetsPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-business-assets',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-assets\pd-question-business-assets.html"*/'\n\n\n\n\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n
Address Details {{ itemrow.get(\'address_label\').value | titlecase}}
\n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n

How long has business been operated from this premise?

\n\n \n\n \n\n {{yearErrorMessage[i]}}\n\n \n\n \n\n \n\n \n\n {{monthErrorMessage[i]}}\n\n \n\n \n\n\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n \n\n Owned\n\n Rented\n\n \n\n \n\n\n\n \n\n \n\n {{"₹"}}\n\n {{RentAmtInwordsForAddress[i]}} Only\n\n Monthly Rent Amount Required\n\n \n\n\n\n\n\n
\n\n \n\n\n\n \n\n \n\n \n\n {{"₹"}}\n\n {{appxMarketAmtInwordsForAddress[i]}} Only\n\n \n\n\n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n Asset Owned by Required\n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n Approx Vintage\n\n \n\n \n\n \n\n\n\n \n\n Purchase Year\n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n
\n\n

Is There a Loan Existing Against This Asset?

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n
\n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n
Other Assets Used in Business # {{i+1}}
\n\n
\n\n \n\n \n\n \n\n {{asset.name | titlecase}}--{{asset.id}}\n\n \n\n \n\n \n\n\n\n
\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n {{prop.address_type | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{vehicle.vehicle_type_name }}\n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{data.viewValue | titlecase}}\n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n \n\n \n\n \n\n Owned\n\n Rented\n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n {{"₹"}} {{RentAmtInwords[i]}} Only\n\n Monthly Rent Amount Required\n\n \n\n\n\n
\n\n \n\n \n\n \n\n {{"₹"}} {{appxMarketAmtInwords[i]}} Only\n\n Approximate Market Value Required\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n \n\n Approx Vintage\n\n \n\n \n\n \n\n Purchase Year\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n

Is There a Loan Existing Against This Asset?

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n

\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n\n\n\n\n \n\n\n\n
\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-assets\pd-question-business-assets.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionBusinessAssetsPage); + return PdQuestionBusinessAssetsPage; +}()); + +//# sourceMappingURL=pd-question-business-assets.js.map + +/***/ }), + +/***/ 389: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessBankingPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +// import { QueryState } from '@angular/core/src/render3/interfaces'; + + +/** + * Generated class for the PdQuestionBusinessBankingPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionBusinessBankingPage = (function () { + function PdQuestionBusinessBankingPage(navCtrl, navParams, aws, fb, qustCat, cons, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.qustCat = qustCat; + this.cons = cons; + this.toast = toast; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.amtInwords = []; + this.emiAmtInwords = []; + this.limitCaseFlag = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase(); + this.pd_cus_segment = this.pd_cus_segment.substring(0, 3); + this.pdid = this.pdDetails.pd_id; + this.formDetails = this.navParams.get('formDetails'); + this.form_id = this.formDetails.form_id; + this.company_id = this.pdDetails.company_id; + this.applicants = this.pdDetails.applicat_details; + this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2; }); + this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); + this.users = this.aws.getlocale(); + this.step = 0; + this.bankingForm = this.fb.group({ + itemRows: this.fb.array([]), + banking_form_remark: [''], + }); + this.salaryField = this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? false : true; + this.getdropdown(); + this.retiveBankDetails(); + } + PdQuestionBusinessBankingPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBusinessBankingPage'); + }; + PdQuestionBusinessBankingPage.prototype.getdropdown = function () { + var _this = this; + this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.accountType = res['records']; + } + }); + this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1; }); + } + }); + this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); + } + var modifyCompanyList = []; + if (_this.existCompanyList.length > 0) { + modifyCompanyList = _this.existCompanyList.map(function (element) { + return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; + }); + _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); + } + }); + var modifyApplicantList = []; + if (this.applicants.length > 0) { + modifyApplicantList = this.applicants.map(function (element) { + return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; + }); + this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); + // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); + } + }; + PdQuestionBusinessBankingPage.prototype.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + PdQuestionBusinessBankingPage.prototype.checkOthers = function (values) { + if (values != null) { + return values.id == 0 ? true : false; + } + else { + return false; + } + }; + PdQuestionBusinessBankingPage.prototype.selectedAccTypeChanges = function (event, i) { + if (event == 2 || event == 1) { + this.limitCaseFlag[i] = false; + // const control = this.bankingForm.controls['itemRows']; + // control.controls[0].get('limit').clearValidators(); + // control.controls[0].get('limit').updateValueAndValidity(); + } + else { + this.limitCaseFlag[i] = true; + } + }; + /** To Convert Month into Year */ + PdQuestionBusinessBankingPage.prototype.ConvertMonthintoYear = function (itemrow, e) { + var year = itemrow.controls.vintage_year.value; + var converted_month = e % 12; + var converted_year = e / 12; + itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year)); + itemrow.controls.vintage_month.setValue(Math.floor(converted_month)); + }; + /** Amount InWords */ + PdQuestionBusinessBankingPage.prototype.inWords = function (e, i, flag) { + switch (flag) { + case 1: + this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + case 2: + this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); + break; + default: + break; + } + }; + PdQuestionBusinessBankingPage.prototype.setRequiredValidation = function (value, item, flag) { + if (flag == 1) { + value == 0 + ? item.controls.other_applicant.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]) + : item.controls.other_applicant.clearValidators(); + item.controls.other_applicant.updateValueAndValidity(); + } + if (flag == 2) { + value == 1 + ? item.controls.other_bank.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]) + : item.controls.other_bank.clearValidators(); + item.controls.other_bank.updateValueAndValidity(); + } + }; + PdQuestionBusinessBankingPage.prototype.createBankItem = function (name) { + return this.fb.group({ + applicant_name: [''], + bank_name: [''], + account_type: [''], + salary: this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? [''] : [''], + limit: [''], + other_bank: [''], + other_applicant: [''], + is_main: [''], + vintage_year: [''], + vintage_month: [''], + }); + }; + PdQuestionBusinessBankingPage.prototype.addBankDetails = function (index, event) { + // if(this.pd.valid){ + // if(this.items.length !=0) + // { + // this.neighbourAccess = true; + // } + event.stopPropagation(); + var control = this.bankingForm.controls['itemRows']; + var length = control.length; + this.step = length; + control.push(this.createBankItem('')); + }; + PdQuestionBusinessBankingPage.prototype.addmoreBankDetils = function () { + this.itemRows = this.bankingForm.get('itemRows'); + this.itemRows.push(this.createBankItem('')); + }; + PdQuestionBusinessBankingPage.prototype.removebank = function (i) { + var control = this.bankingForm.controls['itemRows']; + if (control.length == 1) { + control.reset(); + } + else + control.removeAt(i); + }; + PdQuestionBusinessBankingPage.prototype.setStep = function (index) { + this.step = index; + }; + PdQuestionBusinessBankingPage.prototype.retiveBankDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_id, 'company_id': this.company_id }; + var control = this.bankingForm.controls['itemRows']; + this.qustCat.retiverForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + var result = Object.keys(res['records'].banking_details).map(function (key) { + return res['records'].banking_details[key]; + }); + _this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark); + if (result.length == 0) { + control.push(_this.createBankItem('')); + } + else { + result.forEach(function (datas, index) { + _this.selectedAccTypeChanges(datas.account_type, index); + if (datas.limit != '') { + _this.amtInwords[index] = _this.cons.convertNumberToWords(+datas.limit); + } + _this.selectedAccTypeChanges(datas.account_type, index); + control.push(_this.createBankItem('')); + }); + _this.bankingForm.controls['itemRows'].setValue(result); + } + } + else { + control.push(_this.createBankItem('')); + } + }); + }; + PdQuestionBusinessBankingPage.prototype.savepdBank = function (answerData) { + var _this = this; + var records = {}; + records.pdid = this.pdDetails.pd_id; + records.formid = this.form_id; + records.fk_createdby = this.users; + records.company_id = this.company_id; + records.banking_details = answerData.itemRows; + records.banking_form_remark = answerData.banking_form_remark; + this.qustCat.saveForm(records).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + _this.navCtrl.pop(); + } + else { + _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); + } + }); + }; + PdQuestionBusinessBankingPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-business-banking',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-banking\pd-question-business-banking.html"*/'\n\n\n\n\n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
Banking details {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{val.name}} \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{ btLen.lender_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n {{bankacc.name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n Limit In case of OD / CC account, What is the Limit \n\n \n\n \n\n {{"₹"}} {{amtInwords[i]}} Only\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-banking\pd-question-business-banking.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdQuestionBusinessBankingPage); + return PdQuestionBusinessBankingPage; +}()); + +//# sourceMappingURL=pd-question-business-banking.js.map + +/***/ }), + +/***/ 391: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdGeneralImagesPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__ = __webpack_require__(199); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +/** + * Generated class for the PdGeneralImagesPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdGeneralImagesPage = (function () { + function PdGeneralImagesPage(navCtrl, navParams, camera, qustCat, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.camera = camera; + this.qustCat = qustCat; + this.toast = toast; + this.cameraArr = []; + this.count = 0; + this.saveAccess = false; + this.FormId = ''; + this.applicatentDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + } + PdGeneralImagesPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdGeneralImagesPage'); + }; + PdGeneralImagesPage.prototype.takePicture = function () { + var _this = this; + this.camera.getpicture().then(function (image) { + _this.count = _this.count + 1; + _this.cameraArr.push({ 'image': image, 'name': '' }); + }); + }; + PdGeneralImagesPage.prototype.removeimage = function (i) { + this.count = this.count - 1; + this.cameraArr.splice(i, 1); + }; + PdGeneralImagesPage.prototype.docnames = function (doc, i, img) { + this.cameraArr[i] = { 'image': img, 'Name': doc }; + // console.log(JSON.stringify(this.pddocdata)); + }; + PdGeneralImagesPage.prototype.savePDImages = function () { + var _this = this; + this.saveAccess = true; + var records = { 'pd_id': this.applicatentDetails.pd_id, 'formid': '' }; + records.images = this.cameraArr; + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.saveAccess = false; + _this.navCtrl.pop(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + } + }); + }; + PdGeneralImagesPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-general-images',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-general-images\pd-general-images.html"*/'\n\n \n\n \n\n {{applicatentDetails.lender_full_name}} - {{applicatentDetails.lender_applicant_id}}\n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n General Images\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n {{img.Name}}\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-general-images\pd-general-images.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], PdGeneralImagesPage); + return PdGeneralImagesPage; +}()); + +//# sourceMappingURL=pd-general-images.js.map + +/***/ }), + +/***/ 392: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BouncedRejectPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__ = __webpack_require__(76); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(9); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +/** + * Generated class for the BouncedRejectPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var BouncedRejectPage = (function () { + function BouncedRejectPage(navCtrl, navParams, viewCtrl, aws, pdservice, qustCat, fb, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.viewCtrl = viewCtrl; + this.aws = aws; + this.pdservice = pdservice; + this.qustCat = qustCat; + this.fb = fb; + this.toast = toast; + this.bounce_reason_others = ''; + // this.pdDetails = this.navParams.get('appdetails'); + // this.status = this.navParams.get('status'); + this.pdDetails = this.navParams.get('details'); + // console.log(this.pdDetails) + this.users = this.aws.getlocale(); + this.getDropdown(); + } + BouncedRejectPage.prototype.getDropdown = function () { + var _this = this; + this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.bounseMaster = res['records'].filter(function (bouns) { return bouns.isactive == 1; }); + console.log(_this.bounseMaster); + } + }); + }; + BouncedRejectPage.prototype.updatePDStatus = function () { + var _this = this; + if (this.bounce_reason != null && this.bounce_reason != 1) { + var data = { 'pd_id': this.pdDetails.pd_id, 'pd_status': this.pdDetails.pd_status, 'fk_updatedby': this.users, 'bounce_reason': this.bounce_reason, 'bounce_reason_others': this.bounce_reason_others }; + // console.log(this.bounce_reason) + // console.log(this.bounce_reason_others); + console.log(data); + this.toast.pdTriggerappmessage("Thank You"); + this.pdservice.updatepdStatus(data).subscribe(function (res) { + // this.updateStatus = res; + if (res['dataStatus'] == true) { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__["a" /* PdListPage */]); + } + }); + } + else if (this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others != null) { + var data = { 'pd_id': this.pdDetails.pd_id, 'pd_status': this.pdDetails.pd_status, 'fk_updatedby': this.users, 'bounce_reason': this.bounce_reason, 'bounce_reason_others': this.bounce_reason_others }; + // console.log(this.bounce_reason) + // console.log(this.bounce_reason_others); + console.log(data); + this.toast.pdTriggerappmessage("Thank You"); + this.pdservice.updatepdStatus(data).subscribe(function (res) { + // this.updateStatus = res; + if (res['dataStatus'] == true) { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__["a" /* PdListPage */]); + } + }); + } + else { + this.toast.pdTriggerappmessage("Please Choose the Reason to Reject"); + } + }; + BouncedRejectPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-bounced-reject',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\input\bounced-reject\bounced-reject.html"*/'\n\n \n\n \n\n Bounced Reject Reason\n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n Reason to Reject\n\n \n\n \n\n {{bouns.bounce_reason_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\input\bounced-reject\bounced-reject.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["y" /* ViewController */], + __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], + __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], BouncedRejectPage); + return BouncedRejectPage; +}()); + +//# sourceMappingURL=bounced-reject.js.map + +/***/ }), + +/***/ 393: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DatabaseProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_sqlite__ = __webpack_require__(394); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/* + Generated class for the DatabaseProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +var DatabaseProvider = (function () { + function DatabaseProvider(http, sql) { + this.http = http; + this.sql = sql; + console.log('Hello DatabaseProvider Provider'); + this.createnewdb(); + } + DatabaseProvider.prototype.createnewdb = function () { + var _this = this; + // alert('function in'); + this.sql.create({ + name: 'sinnedge', + location: 'defalut', + }).then(function (db) { + db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(function (res) { + // alert('db create'); + _this.getuserDetails(); + }) + .catch(function (e) { return console.log(e); }); + }); + }; + DatabaseProvider.prototype.getuserDetails = function () { + // alert('getusers'); + this.sql.create({ + name: 'sineedge', + location: 'default', + }).then(function (db) { + db.executeSql('select * from expense ORDER BY rowid DESC').then(function (res) { + console.log(res); + }); + }); + }; + DatabaseProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_sqlite__["a" /* SQLite */]]) + ], DatabaseProvider); + return DatabaseProvider; +}()); + +//# sourceMappingURL=database.js.map + +/***/ }), + +/***/ 395: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PasswordPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__ = __webpack_require__(76); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +/** + * Generated class for the PasswordPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PasswordPage = (function () { + function PasswordPage(navCtrl, navParams, aws, toast, commonconstant) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.toast = toast; + this.commonconstant = commonconstant; + this.commonImage = this.commonconstant.commonimage; + this.Username = this.navParams.get('Username'); + this.Password = this.navParams.get('Password'); + } + PasswordPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PasswordPage'); + }; + PasswordPage.prototype.setNewPassword = function (newpass) { + var _this = this; + if (newpass != '' && newpass != null && newpass !== undefined) { + var auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass }; + console.log(auth); + this.aws.dologin(auth).subscribe(function (res) { + console.log(res); + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); + // this.router.navigate(['/home']); + }, function (err) { + _this.toast.pdTriggerappmessage(err.message); + // alert(err.message); + }); + } + else { + this.toast.pdTriggerappmessage('Enter the new Password'); + } + }; + PasswordPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-password',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\password\password.html"*/'\n\n\n\n\n\n \n\n password\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

New Password

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\password\password.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PasswordPage); + return PasswordPage; +}()); + +//# sourceMappingURL=password.js.map + +/***/ }), + +/***/ 396: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__ = __webpack_require__(76); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(69); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_fingerprint_aio__ = __webpack_require__(397); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(398); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + +/** + * Generated class for the AuthPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var AuthPage = (function () { + function AuthPage(navCtrl, navParams, Menu, fb, shared, toast, faio, aws, loadingCtrl, commonconstant) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.Menu = Menu; + this.fb = fb; + this.shared = shared; + this.toast = toast; + this.faio = faio; + this.aws = aws; + this.loadingCtrl = loadingCtrl; + this.commonconstant = commonconstant; + this.mpinaccess = false; + this.commonImage = this.commonconstant.commonimage; + this.shared.refresh(); + this.getuserDetails(); + } + AuthPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad AuthPage'); + }; + AuthPage.prototype.ionViewDidEnter = function () { + this.Menu.enable(false); + }; + AuthPage.prototype.ionViewWillLeave = function () { + this.Menu.enable(true); + }; + AuthPage.prototype.getuserDetails = function () { + var _this = this; + this.loadingCtrl.pdloader('loading...'); + var userid = this.aws.getlocale(); + this.aws.getuserprofile(userid).subscribe(function (res) { + _this.userDetails = res; + if (_this.userDetails.dataStatus == true) { + _this.loadingCtrl.loading.dismiss(); + _this.userDetails = _this.userDetails.records; + if (_this.userDetails[0].role_name == "PD Executive" || _this.userDetails[0].role_name == "PD Officer") { + //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0])); + if (_this.userDetails[0].mpin == null) { + _this.mpinaccess = true; + } + else { + _this.mpinaccess = false; + } + } + else { + _this.toast.pdTriggerappmessage('This App only for PD Officers'); + localStorage.clear(); + } + } + else { + _this.toast.pdTriggerappmessage(''); + } + //console.log(this.mpinaccess); + }); + }; + AuthPage.prototype.setnewpin = function (newpin) { + var _this = this; + console.log("set Pin"); + this.aws.userpinupdate(newpin).subscribe(function (res) { + _this.newpindetails = res; + if (_this.newpindetails.dataStatus == true) { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); + } + }); + }; + /**Finger print */ + AuthPage.prototype.checkpin = function (pin) { + console.log("Check pin", pin); + if (pin != '' && pin != null) { + if (this.userDetails[0].mpin == pin) { + console.log("Entering List page"); + this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); + } + else { + this.toast.pdTriggerappmessage('Enter The Correct PIN'); + } + } + else { + this.toast.pdTriggerappmessage('Enter The PIN'); + } + }; + AuthPage.prototype.checkfingerprint = function () { + var _this = this; + console.log("Check Finger"); + this.faio.show({ + clientId: 'Fingerprint-Demo', + clientSecret: 'password', + localizedFallbackTitle: 'Use Pin', + localizedReason: 'Please authenticate', + disableBackup: true, + }) + .then(function (result) { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); + }) + .catch(function (error) { + _this.toast.pdTriggerappmessage('err: ' + error); + }); + }; + AuthPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-auth',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\auth\auth.html"*/'\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

PIN

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

PIN

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\auth\auth.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["o" /* MenuController */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__ionic_native_fingerprint_aio__["a" /* FingerprintAIO */], __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], AuthPage); + return AuthPage; +}()); + +//# sourceMappingURL=auth.js.map + +/***/ }), + +/***/ 398: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoadingProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(5); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/* + Generated class for the LoadingProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +var LoadingProvider = (function () { + function LoadingProvider(http, loadingCtrl) { + this.http = http; + this.loadingCtrl = loadingCtrl; + console.log('Hello LoadingProvider Provider'); + } + LoadingProvider.prototype.pdloader = function (content) { + this.loading = this.loadingCtrl.create({ + content: content + }); + this.loading.present(); + }; + LoadingProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["n" /* LoadingController */]]) + ], LoadingProvider); + return LoadingProvider; +}()); + +//# sourceMappingURL=loading.js.map + +/***/ }), + +/***/ 401: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(402); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(531); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__(0); + + + +Object(__WEBPACK_IMPORTED_MODULE_2__angular_core__["_15" /* enableProdMode */])(); +Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]); +//# sourceMappingURL=main.js.map + +/***/ }), + +/***/ 531: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(45); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(570); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(187); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__ = __webpack_require__(332); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_platform_browser_animations__ = __webpack_require__(671); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_sqlite__ = __webpack_require__(394); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_database_database__ = __webpack_require__(393); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__ = __webpack_require__(124); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__angular_material__ = __webpack_require__(349); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_guard_auth_guard__ = __webpack_require__(673); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_guard_token_interceptor__ = __webpack_require__(674); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_aws_service_cognito_service__ = __webpack_require__(69); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__providers_constants_constants__ = __webpack_require__(22); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pages_auth_auth__ = __webpack_require__(396); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pages_login_login__ = __webpack_require__(333); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__pages_pd_list_pd_list__ = __webpack_require__(76); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__pages_pd_question_category_pd_question_category__ = __webpack_require__(123); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_pd_question__ = __webpack_require__(360); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__pages_googleplaytab_googleplaytab__ = __webpack_require__(675); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__pages_password_password__ = __webpack_require__(395); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__pages_pd_allocation_pd_allocation__ = __webpack_require__(676); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__pages_input_input__ = __webpack_require__(358); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__ionic_native_fingerprint_aio__ = __webpack_require__(397); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__ionic_native_launch_navigator__ = __webpack_require__(359); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__pages_otp_otp__ = __webpack_require__(198); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__angular_forms__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33_ionic_img_viewer__ = __webpack_require__(677); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__providers_common_provider_camera__ = __webpack_require__(199); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__providers_common_provider_loading__ = __webpack_require__(398); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__ionic_native_camera__ = __webpack_require__(361); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__pages_pd_question_pd_question_address_pd_question_address__ = __webpack_require__(362); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_assests_pd_question_assests__ = __webpack_require__(368); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_banking_pd_question_banking__ = __webpack_require__(366); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_current_loans_pd_question_current_loans__ = __webpack_require__(364); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_emp_info_pd_question_emp_info__ = __webpack_require__(363); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_family_pd_question_family__ = __webpack_require__(367); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_loans_pd_question_loans__ = __webpack_require__(365); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(202); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_other_income_pd_question_other_income__ = __webpack_require__(369); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(200); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__ionic_native_geolocation__ = __webpack_require__(204); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_personal_info_pd_question_personal_info__ = __webpack_require__(370); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(201); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(203); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__ = __webpack_require__(387); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_rental_info_pd_question_rental_info__ = __webpack_require__(371); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__ = __webpack_require__(373); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__ = __webpack_require__(375); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__ = __webpack_require__(374); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__ = __webpack_require__(378); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__ = __webpack_require__(376); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(372); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__pages_input_bounced_reject_bounced_reject__ = __webpack_require__(392); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__ = __webpack_require__(377); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__ = __webpack_require__(380); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_general_info_pd_question_general_info__ = __webpack_require__(381); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__ = __webpack_require__(382); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__ = __webpack_require__(384); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_final_remark_pd_question_final_remark__ = __webpack_require__(385); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_business_pd_question_business__ = __webpack_require__(684); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_group_pd_question_business_group__ = __webpack_require__(386); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__ = __webpack_require__(388); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__ = __webpack_require__(389); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__pipes_pd_pd__ = __webpack_require__(383); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__ = __webpack_require__(379); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_72__pages_pd_general_images_pd_general_images__ = __webpack_require__(391); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_73__pages_pd_question_pd_question_salary_info_pd_question_salary_info__ = __webpack_require__(685); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_74__ionic_native_location_accuracy__ = __webpack_require__(390); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +// import { DatePicker } from '@ionic-native/date-picker'; + + + + + + + + + + + + + + + + + + + + + + + + +var AppModule = (function () { + function AppModule() { + } + AppModule = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["J" /* NgModule */])({ + declarations: [ + __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], + __WEBPACK_IMPORTED_MODULE_17__pages_auth_auth__["a" /* AuthPage */], + __WEBPACK_IMPORTED_MODULE_18__pages_login_login__["a" /* LoginPage */], + __WEBPACK_IMPORTED_MODULE_19__pages_pd_list_pd_list__["a" /* PdListPage */], + __WEBPACK_IMPORTED_MODULE_20__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], + __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_pd_question__["a" /* PdQuestionPage */], + __WEBPACK_IMPORTED_MODULE_22__pages_googleplaytab_googleplaytab__["a" /* GoogleplaytabPage */], + __WEBPACK_IMPORTED_MODULE_23__pages_password_password__["a" /* PasswordPage */], + __WEBPACK_IMPORTED_MODULE_24__pages_pd_allocation_pd_allocation__["a" /* PdAllocationPage */], + __WEBPACK_IMPORTED_MODULE_25__pages_input_input__["a" /* InputPage */], + __WEBPACK_IMPORTED_MODULE_30__pages_otp_otp__["a" /* OtpPage */], + __WEBPACK_IMPORTED_MODULE_37__pages_pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], + __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], + __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], + __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], + __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], + __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], + __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], + __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], + __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], + __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], + __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], + __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], + __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], + __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], + __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], + __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], + __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], + __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], + __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], + __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], + __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], + __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], + __WEBPACK_IMPORTED_MODULE_59__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], + __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], + __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], + __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], + __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */], + __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], + __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], + __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_business_pd_question_business__["a" /* PdQuestionBusinessPage */], + __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], + __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], + __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], + __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], + __WEBPACK_IMPORTED_MODULE_72__pages_pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], + __WEBPACK_IMPORTED_MODULE_73__pages_pd_question_pd_question_salary_info_pd_question_salary_info__["a" /* PdQuestionSalaryInfoPage */], + ], + imports: [ + __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */], __WEBPACK_IMPORTED_MODULE_32__angular_forms__["l" /* ReactiveFormsModule */], __WEBPACK_IMPORTED_MODULE_32__angular_forms__["g" /* FormsModule */], + __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["m" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], {}, { + links: [] + }), + __WEBPACK_IMPORTED_MODULE_6__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["a" /* MatAutocompleteModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["b" /* MatButtonModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["c" /* MatButtonToggleModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["d" /* MatCardModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["e" /* MatCheckboxModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["f" /* MatChipsModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["g" /* MatDatepickerModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["i" /* MatDialogModule */], __WEBPACK_IMPORTED_MODULE_10__angular_material__["n" /* MatListModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["j" /* MatExpansionModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["k" /* MatGridListModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["l" /* MatIconModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["m" /* MatInputModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["n" /* MatListModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["o" /* MatMenuModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["p" /* MatNativeDateModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["q" /* MatPaginatorModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["r" /* MatProgressBarModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["s" /* MatProgressSpinnerModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["t" /* MatRadioModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["u" /* MatRippleModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["v" /* MatSelectModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["w" /* MatSidenavModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["y" /* MatSliderModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["x" /* MatSlideToggleModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["z" /* MatSnackBarModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["A" /* MatSortModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["C" /* MatTableModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["D" /* MatTabsModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["E" /* MatToolbarModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["F" /* MatTooltipModule */], + __WEBPACK_IMPORTED_MODULE_10__angular_material__["B" /* MatStepperModule */], __WEBPACK_IMPORTED_MODULE_12__angular_common_http__["c" /* HttpClientModule */], __WEBPACK_IMPORTED_MODULE_33_ionic_img_viewer__["a" /* IonicImageViewerModule */] + ], + bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["k" /* IonicApp */]], + entryComponents: [ + __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], + __WEBPACK_IMPORTED_MODULE_17__pages_auth_auth__["a" /* AuthPage */], + __WEBPACK_IMPORTED_MODULE_18__pages_login_login__["a" /* LoginPage */], + __WEBPACK_IMPORTED_MODULE_19__pages_pd_list_pd_list__["a" /* PdListPage */], + __WEBPACK_IMPORTED_MODULE_20__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], + __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_pd_question__["a" /* PdQuestionPage */], + __WEBPACK_IMPORTED_MODULE_22__pages_googleplaytab_googleplaytab__["a" /* GoogleplaytabPage */], + __WEBPACK_IMPORTED_MODULE_23__pages_password_password__["a" /* PasswordPage */], + __WEBPACK_IMPORTED_MODULE_24__pages_pd_allocation_pd_allocation__["a" /* PdAllocationPage */], + __WEBPACK_IMPORTED_MODULE_25__pages_input_input__["a" /* InputPage */], + __WEBPACK_IMPORTED_MODULE_30__pages_otp_otp__["a" /* OtpPage */], + __WEBPACK_IMPORTED_MODULE_37__pages_pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], + __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], + __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], + __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], + __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], + __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], + __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], + __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], + __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], + __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], + __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], + __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], + __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], + __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], + __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], + __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], + __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], + __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], + __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], + __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], + __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], + __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], + __WEBPACK_IMPORTED_MODULE_59__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], + __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], + __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], + __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], + __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */], + __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], + __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], + __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_business_pd_question_business__["a" /* PdQuestionBusinessPage */], + __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], + __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], + __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], + __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], + __WEBPACK_IMPORTED_MODULE_72__pages_pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], + __WEBPACK_IMPORTED_MODULE_73__pages_pd_question_pd_question_salary_info_pd_question_salary_info__["a" /* PdQuestionSalaryInfoPage */], + ], + providers: [ + __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_11__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_13__providers_guard_auth_guard__["a" /* AuthGuard */], __WEBPACK_IMPORTED_MODULE_14__providers_guard_token_interceptor__["a" /* TokenInterceptor */], __WEBPACK_IMPORTED_MODULE_26__providers_common_provider_toast__["a" /* ToastProvider */], + __WEBPACK_IMPORTED_MODULE_16__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_15__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__["a" /* SplashScreen */], __WEBPACK_IMPORTED_MODULE_27__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_28__ionic_native_fingerprint_aio__["a" /* FingerprintAIO */], __WEBPACK_IMPORTED_MODULE_7__ionic_native_sqlite__["a" /* SQLite */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__["a" /* AndroidPermissions */], + { + provide: __WEBPACK_IMPORTED_MODULE_12__angular_common_http__["a" /* HTTP_INTERCEPTORS */], + useClass: __WEBPACK_IMPORTED_MODULE_14__providers_guard_token_interceptor__["a" /* TokenInterceptor */], + multi: true + }, + { + provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["v" /* ErrorHandler */], + useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["l" /* IonicErrorHandler */] + }, __WEBPACK_IMPORTED_MODULE_29__ionic_native_launch_navigator__["a" /* LaunchNavigator */], + __WEBPACK_IMPORTED_MODULE_11__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], + __WEBPACK_IMPORTED_MODULE_31__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], + __WEBPACK_IMPORTED_MODULE_34__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_36__ionic_native_camera__["a" /* Camera */], + __WEBPACK_IMPORTED_MODULE_70__pipes_pd_pd__["a" /* PdPipe */], __WEBPACK_IMPORTED_MODULE_74__ionic_native_location_accuracy__["a" /* LocationAccuracy */], + __WEBPACK_IMPORTED_MODULE_35__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_47__ionic_native_geolocation__["a" /* Geolocation */], + __WEBPACK_IMPORTED_MODULE_8__providers_database_database__["a" /* DatabaseProvider */] + ] + }) + ], AppModule); + return AppModule; +}()); + +//# sourceMappingURL=app.module.js.map + +/***/ }), + +/***/ 570: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(187); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(332); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_login_login__ = __webpack_require__(333); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_pd_list_pd_list__ = __webpack_require__(76); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_cognito_service__ = __webpack_require__(69); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_auth_auth__ = __webpack_require__(396); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + +// import { AndroidPermissions } from '@ionic-native/android-permissions'; +var MyApp = (function () { + function MyApp(platform, statusBar, splashScreen, aws, shared, AWS) { + var _this = this; + this.platform = platform; + this.statusBar = statusBar; + this.splashScreen = splashScreen; + this.aws = aws; + this.shared = shared; + this.AWS = AWS; + this.userAccess = false; + this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]; + this.initializeApp(); + // used for an example of ngFor and navigation + this.pages = [ + // { title: 'Home', component: HomePage, icon: 'home' }, + { title: 'Home', icon: 'home', method: function () { return _this.menulist(1); } }, + { title: 'Logout', icon: 'md-exit', method: function () { return _this.menulist(2); } } + ]; + } + MyApp.prototype.initializeApp = function () { + var _this = this; + this.platform.ready().then(function () { + // Okay, so the platform is ready and our plugins are available. + // Here you can do any higher level native things you might need. + _this.statusBar.styleDefault(); + if (_this.platform.is('android')) { + _this.statusBar.overlaysWebView(false); + _this.statusBar.backgroundColorByHexString('#db4437'); + } + _this.splashScreen.hide(); + _this.shared.getAccessToken().then(function () { + _this.getuserDetails(); + _this.rootPage = __WEBPACK_IMPORTED_MODULE_8__pages_auth_auth__["a" /* AuthPage */]; + }).catch(function () { + setTimeout(function () { + _this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]; + }, 1000); + }); + }); + }; + MyApp.prototype.getuserDetails = function () { + var _this = this; + var userid = this.aws.getlocale(); + this.aws.getuserprofile(userid).subscribe(function (res) { + _this.userDetails = res; + if (_this.userDetails.dataStatus == true) { + _this.userAccess = true; + _this.userDetails = _this.userDetails.records[0]; + } + }); + }; + MyApp.prototype.menulist = function (id) { + var _this = this; + //alert(); + switch (id) { + case 1: + this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_5__pages_pd_list_pd_list__["a" /* PdListPage */]); + break; + case 2: + this.AWS.logout().subscribe(function () { + _this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]); + }); + break; + case 3: + break; + case 4: + break; + } + }; + MyApp.prototype.logout = function () { + // this.aws.logout(); + this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["q" /* Nav */]), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["q" /* Nav */]) + ], MyApp.prototype, "nav", void 0); + MyApp = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"S:\pd_office\pd_officer\src\app\app.html"*/'\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\app\app.html"*/ + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["u" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */]]) + ], MyApp); + return MyApp; +}()); + +//# sourceMappingURL=app.component.js.map + +/***/ }), + +/***/ 673: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthGuard; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var AuthGuard = (function () { + function AuthGuard() { + } + // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) { + // // if (this.shared.getToken()) { + // alert("if"); + // // this.router.navigate(['']); + // return true + // } else { + // alert("else"); + // this.router.navigate(['/login']); + // return false; + // } + // } + AuthGuard.prototype.getlogin = function () { + // if (this.shared.getToken()) { + // // alert("if"); + // //alert(); + // return true; + // } else { + // // alert("else"); + // //this.myGlobalServiceNav.setRoot(LoginPage); + // this.shared.isloggin = false; + // return false; + // } + }; + AuthGuard = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", []) + ], AuthGuard); + return AuthGuard; +}()); + +//# sourceMappingURL=auth.guard.js.map + +/***/ }), + +/***/ 674: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TokenInterceptor; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs__ = __webpack_require__(26); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_operators__ = __webpack_require__(23); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__aws_service_cognito_service__ = __webpack_require__(69); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +// import { AuthGuard } from './auth.guard'; + +// import { Router } from '@angular/router'; + + + +var TokenInterceptor = (function () { + function TokenInterceptor(shared) { + this.shared = shared; + } + TokenInterceptor.prototype.intercept = function (request, next) { + // request = request.clone({ + // setHeaders: { + // Authorization: `${this.auth.getToken()}` + // } + // }); + var token; + this.shared.refresh(); + token = this.shared.getToken() || null; + token = token.getIdToken().getJwtToken(); + //console.log(token); + var requests = request.clone({ + headers: new __WEBPACK_IMPORTED_MODULE_1__angular_common_http__["e" /* HttpHeaders */]({ + 'Authorization': 'sparqvenba2018', + 'Token': token, + 'From': '1', + }) + }); + return next.handle(requests).pipe(Object(__WEBPACK_IMPORTED_MODULE_3_rxjs_operators__["catchError"])(this.handleError('role', []))); + }; + TokenInterceptor.prototype.handleError = function (operation, result) { + if (operation === void 0) { operation = 'operation'; } + return function (error) { + if (error instanceof __WEBPACK_IMPORTED_MODULE_1__angular_common_http__["d" /* HttpErrorResponse */]) { + console.error("Error: " + error.status); + if (error.status == 401) { + localStorage.clear(); + // this.router.navigate(['/authentication/login']); + } + return Object(__WEBPACK_IMPORTED_MODULE_2_rxjs__["of"])(result); + } + }; + }; + TokenInterceptor = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_4__aws_service_cognito_service__["a" /* CognitoServiceProvider */]]) + ], TokenInterceptor); + return TokenInterceptor; +}()); + +//# sourceMappingURL=token.interceptor.js.map + +/***/ }), + +/***/ 675: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoogleplaytabPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +/** + * Generated class for the GoogleplaytabPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var GoogleplaytabPage = (function () { + function GoogleplaytabPage(navCtrl, navParams, platform) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.SwipedTabsIndicator = null; + this.tabTitleWidthArray = []; + this.tabElementWidth_px = 50; + this.screenWidth_px = 0; + this.isRight = true; + this.isLeft = true; + this.tabs = []; + this.tabs = ["1", "2", "3", "4", "5", "6", "7", "9", "10", "11"]; + console.log('Width: ' + platform.width()); + this.screenWidth_px = platform.width(); + } + GoogleplaytabPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad GoogleplaytabPage'); + }; + GoogleplaytabPage.prototype.ionViewDidEnter = function () { + this.SwipedTabsIndicator = document.getElementById("indicator"); + for (var i in this.tabs) + this.tabTitleWidthArray.push(document.getElementById("tabTitle" + i).offsetWidth); + this.selectTab(0); + }; + GoogleplaytabPage.prototype.scrollIndicatiorTab = function () { + this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - this.screenWidth_px / 2, 0); + }; + GoogleplaytabPage.prototype.selectTab = function (index) { + this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; + this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; + this.SwipedTabsSlider.slideTo(index); + }; + GoogleplaytabPage.prototype.calculateDistanceToSpnd = function (index) { + var result = 0; + for (var _i = 0; _i < index; _i++) { + result = result + this.tabTitleWidthArray[_i]; + } + return result; + }; + GoogleplaytabPage.prototype.updateIndicatorPosition = function () { + var index = this.SwipedTabsSlider.getActiveIndex(); + if (this.SwipedTabsSlider.length() == index) + index = index - 1; + this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; + this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; + }; + GoogleplaytabPage.prototype.updateIndicatorPositionOnTouchEnd = function () { + var _this = this; + setTimeout(function () { _this.updateIndicatorPosition(); }, 200); + }; + GoogleplaytabPage.prototype.animateIndicator = function ($event) { + this.isLeft = false; + this.isRight = false; + var currentSliderCenterProgress = (1 / (this.SwipedTabsSlider.length() - 1)) * this.SwipedTabsSlider.getActiveIndex(); + if ($event.progress < currentSliderCenterProgress) { + this.isLeft = true; + this.isRight = false; + } + if ($event.progress > currentSliderCenterProgress) { + this.isLeft = false; + this.isRight = true; + } + if (this.SwipedTabsSlider.isEnd()) + this.isRight = false; + if (this.SwipedTabsSlider.isBeginning()) + this.isLeft = false; + if (this.isRight) + this.SwipedTabsIndicator.style.webkitTransform = + 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) + + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() + 1]) + + 'px,0,0)'; + if (this.isLeft) + this.SwipedTabsIndicator.style.webkitTransform = + 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) + + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() - 1]) + + 'px,0,0)'; + if (!this.isRight && !this.isLeft) + this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()] + "px"; + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('SwipedTabsSlider'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["v" /* Slides */]) + ], GoogleplaytabPage.prototype, "SwipedTabsSlider", void 0); + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('MultiItemsScrollingTabs'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) + ], GoogleplaytabPage.prototype, "ItemsTitles", void 0); + GoogleplaytabPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-googleplaytab',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\googleplaytab\googleplaytab.html"*/'\n\n\n\n\n\n \n\n \n\n PD Listing\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tab}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n\n\n\n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\googleplaytab\googleplaytab.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["u" /* Platform */]]) + ], GoogleplaytabPage); + return GoogleplaytabPage; +}()); + +//# sourceMappingURL=googleplaytab.js.map + +/***/ }), + +/***/ 676: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdAllocationPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +/** + * Generated class for the PdAllocationPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdAllocationPage = (function () { + function PdAllocationPage(navCtrl, navParams) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.pdFullDetails = []; + this.pdFullDetails = this.navParams.get('pdDetails'); + console.log(this.pdFullDetails); + } + PdAllocationPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdAllocationPage'); + }; + PdAllocationPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-allocation',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-allocation\pd-allocation.html"*/'\n\n \n\n \n\n PD Listing\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n

{{pdFullDetails.lender_full_name}}

\n\n
\n\n \n\n \n\n {{pdFullDetails.city_name}} / -{{pdFullDetails.pincode}}\n\n \n\n
\n\n
\n\n
\n\n \n\n

Product

\n\n

{{pdFullDetails.product_name}} / {{pdFullDetails.subproduct_name}}.

\n\n

{{pdFullDetails.pd_type_name}}

\n\n

{{pdFullDetails.pd_allocated_to}}

\n\n
{{pdFullDetails.pd_date_of_initiation}}
\n\n
\n\n

\n\n \n\n \n\n

{{pdFullDetails.pd_status_name}}

\n\n
\n\n \n\n

{{pdFullDetails.loan_amount}}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n

Applicants

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n   {{Mainapplicatent.applicant_name}} (Main)\n\n \n\n \n\n  {{Mainapplicatent.mobile_no}} \n\n \n\n \n\n \n\n \n\n   {{Mainapplicatent.applicant_name}}\n\n \n\n \n\n  {{Mainapplicatent.mobile_no}} \n\n \n\n \n\n \n\n
\n\n \n\n\n\n
\n\n\n\n \n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-allocation\pd-allocation.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */]]) + ], PdAllocationPage); + return PdAllocationPage; +}()); + +//# sourceMappingURL=pd-allocation.js.map + +/***/ }), + +/***/ 684: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +/** + * Generated class for the PdQuestionBusinessPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionBusinessPage = (function () { + function PdQuestionBusinessPage(navCtrl, navParams, qustcat, aws) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.qustcat = qustcat; + this.aws = aws; + this.existCompanyList = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.pdid = this.pdDetails.pd_id; + this.FormId = this.navParams.get('FormId'); + this.users = this.aws.getlocale; + this.getDropDown(); + } + PdQuestionBusinessPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBusinessPage'); + }; + PdQuestionBusinessPage.prototype.getDropDown = function () { + var _this = this; + this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(function (res) { + _this.existCompanyList = res['records'].filter(function (data) { return data.is_active == true && data.is_company_applicant == true; }); + console.log(_this.existCompanyList); + }); + }; + PdQuestionBusinessPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-business',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business\pd-question-business.html"*/'\n\n\n\n\n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business\pd-question-business.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */]]) + ], PdQuestionBusinessPage); + return PdQuestionBusinessPage; +}()); + +//# sourceMappingURL=pd-question-business.js.map + +/***/ }), + +/***/ 685: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionSalaryInfoPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/** + * Generated class for the PdQuestionSalaryInfoPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionSalaryInfoPage = (function () { + function PdQuestionSalaryInfoPage(navCtrl, navParams, fb) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.salaryDetails = this.fb.group({ + gross: [null], + netTakeHome: [null], + bounsIncentive: [null], + salaryDate: [null], + anydelays: [null], + }); + } + PdQuestionSalaryInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionSalaryInfoPage'); + }; + PdQuestionSalaryInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-salary-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-salary-info\pd-question-salary-info.html"*/'\n\n\n\n \n\n \n\n Salary Category\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n

Salary info

\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-salary-info\pd-question-salary-info.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */]]) + ], PdQuestionSalaryInfoPage); + return PdQuestionSalaryInfoPage; +}()); + +//# sourceMappingURL=pd-question-salary-info.js.map + +/***/ }), + +/***/ 69: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CognitoServiceProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__ = __webpack_require__(334); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs__ = __webpack_require__(26); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +// import { CanActivateChild, Router } from '@angular/router'; + +// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular'; +// import { environment } from '../../environments/environment'; + +var sineedge_poolData = { + UserPoolId: "ap-south-1_y7dt3iEaX", + ClientId: "291qt4smn5pql6o8cc2hi201lj" // ClientName: SINEEDGE_DEV_WEB +}; +var sineedgedev_poolData = { + UserPoolId: "ap-south-1_qQ85yQZJO", + ClientId: "2o5c3cs9k3als16nqhp3irh8rs" // ClientName: SINEEDGE_DEV_WEB +}; +var lender_poolData = { + UserPoolId: "ap-south-1_hFiGyr1Gw", + ClientId: "38v9rpp1495v60e1gd14mj6rjr" // ClientName:LENDER_DEV_WEB +}; +var vendor_poolData = { + UserPoolId: "", + ClientId: "" +}; +var sineedgeUserPool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedge_poolData); +var lenderUserPool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](lender_poolData); +var sineedgedevUserpool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedgedev_poolData); +/** +* Identity PoolID +*/ +var sineedgeIdentity = "ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; //"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; +var lenderIdentity = "ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907"; +var vendorIdenttiy = ""; +// serviceProvider +var apiurl = "http://ssa.sineedge.com/sparqapi/api/"; +// const apiurl = "http://localhost/sparqapi/api/"; +var CognitoServiceProvider = (function () { + function CognitoServiceProvider() { + this.loggedIn = false; + // public static _REGION = environment.region; + // public static _IDENTITY_POOL_ID = environment.identityPoolId; + // public static _USER_POOL_ID = environment.UserPoolId; + // public static _CLIENT_ID = environment.ClientId; + // public static _POOL_DATA: any = { + // UserPoolId: CognitoService._USER_POOL_ID, + // ClientId: CognitoService._CLIENT_ID + // }; + // public cognitoCreds: AWS.CognitoIdentityCredentials; + this.isloggin = false; + } + CognitoServiceProvider.prototype.getCurrentUser = function () { + return sineedgedevUserpool.getCurrentUser(); + }; + Object.defineProperty(CognitoServiceProvider.prototype, "isLoggedIn", { + get: function () { + if (sineedgedevUserpool.getCurrentUser() != null) { + this.loggedIn = true; + } + else { + this.loggedIn = false; + } + return this.loggedIn; // {2} + }, + enumerable: true, + configurable: true + }); + CognitoServiceProvider.prototype.refresh = function () { + var tokenexp; + if (this.getCurrentUser() != null) { + this.getCurrentUser().getSession(function (err, session) { + if (err) { + console.log("CognitoUtil: Can't set the credentials:" + err); + } + else { + if (session.isValid()) { + tokenexp = session.isValid(); + Object(__WEBPACK_IMPORTED_MODULE_2_rxjs__["of"])(tokenexp); + console.log("CognitoUtil: refreshed successfully"); + } + else { + tokenexp = session.isValid(); + console.log("CognitoUtil: refreshed but session is still not valid"); + } + } + return tokenexp; + }); + } + else { + this.loggedIn = false; + } + }; + CognitoServiceProvider.prototype.getAccessToken = function () { + var _this = this; + this.refresh(); + return new Promise(function (resolve, reject) { + var jwttoken = ''; + if (_this.getCurrentUser() != null) { + //console.log(JSON.stringify(this.getCurrentUser())); + // console.log('76 if'); + _this.getCurrentUser().getSession(function (err, session) { + if (err) { + console.log("CognitoUtil: Can't set the credentials:" + err); + jwttoken = ''; + // console.log('81 if') + reject(err); + } + else { + if (session.isValid()) { + // console.log('85 else if'); + jwttoken = session; + resolve(); + } + else { + } + } + }); + } + else { + //console.log("else"); + reject(); + } + }); + }; + CognitoServiceProvider.prototype.getToken = function () { + var isloggin = false; + var jwttoken = ''; + if (this.getCurrentUser() != null) { + this.getCurrentUser().getSession(function (err, session) { + if (err) { + // console.log("CognitoUtil: Can't set the credentials:" + err); + isloggin = false; + //console.log('81 if') + } + else { + //alert('function else'); + if (session.isValid()) { + // console.log('85 else if'); + jwttoken = session; + isloggin = true; + } + else { + isloggin = false; + } + } + }); + } + else { + // console.log("else"); + isloggin = false; + } + return jwttoken; + }; + CognitoServiceProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", []) + ], CognitoServiceProvider); + return CognitoServiceProvider; +}()); + +//# sourceMappingURL=cognito.service.js.map + +/***/ }), + +/***/ 7: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwsServiceProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__ = __webpack_require__(334); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__ = __webpack_require__(48); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map__ = __webpack_require__(614); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__cognito_service__ = __webpack_require__(69); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var sineedgedev_poolData = { + UserPoolId: "ap-south-1_qQ85yQZJO", + ClientId: "2o5c3cs9k3als16nqhp3irh8rs" // ClientName: SINEEDGE_DEV_WEB +}; +var lender_poolData = { + UserPoolId: "ap-south-1_hFiGyr1Gw", + ClientId: "38v9rpp1495v60e1gd14mj6rjr" // ClientName:LENDER_DEV_WEB +}; +var vendor_poolData = { + UserPoolId: "ap-south-1_K57yPaWxV", + ClientId: "" +}; +// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData); +var lenderUserPool = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["c" /* CognitoUserPool */](lender_poolData); +var sineedgedevUserpool = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedgedev_poolData); +/** +* Identity PoolID +*/ +var sineedgeIdentity = "ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; //"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; +var lenderIdentity = "ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907"; +var vendorIdenttiy = "ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874"; +var currentDate = new Date().toJSON().slice(0, 19).replace('T', ' '); +var AwsServiceProvider = (function () { + function AwsServiceProvider(http, shared, con) { + this.http = http; + this.shared = shared; + this.con = con; + this.apiurl = con.apiurl(); + } + AwsServiceProvider.prototype.dologin = function (authenticationData) { + // alert(); + //(authenticationData); + var authenticationDetails = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["a" /* AuthenticationDetails */](authenticationData); + var Newpassword = authenticationData.newpassword; + var attributesData = []; + var userData = { + Username: authenticationData.Username, + Pool: sineedgedevUserpool // user Pool ID + }; + var cognitoUser = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["b" /* CognitoUser */](userData); + return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observer) { + cognitoUser.authenticateUser(authenticationDetails, { + newPasswordRequired: function (userAttributes, requiredAttributes) { + cognitoUser.completeNewPasswordChallenge(Newpassword, attributesData, { + onSuccess: function (result) { + observer.next(result); + observer.complete(); + }, + onFailure: function (err) { + //(err); + observer.error(err); + //LoginComponent.prototype.open(); + } + }); + }, + onSuccess: function (result) { + // let accessToken = result.getAccessToken().getJwtToken(); + ////(result); + //window.localStorage.setItem('Currentuser', '1'); + observer.next(result); + observer.complete(); + this.shared.isloggin = true; + }, + onFailure: function (err) { + //alert(err.message); + observer.error(err); + } + }); + }); + }; + AwsServiceProvider.prototype.userforgotpass = function (auth) { + ////(auth); + var userData = { + Username: auth.Username, + Pool: sineedgedevUserpool + }; + var cognitoUser = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["b" /* CognitoUser */](userData); + return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observe) { + cognitoUser.forgotPassword({ + onSuccess: function (data) { + // successfully initiated reset password request + //('CodeDeliveryData from forgotPassword: ' + data); + observe.next(data); + }, + onFailure: function (err) { + alert(err.message || JSON.stringify(err)); + }, + //Optional automatic callback + inputVerificationCode: function (data) { + //('Code sent to: ' + data); + var verificationCode = prompt('Please input verification code ', ''); + var newPassword = prompt('Enter new password ', ''); + cognitoUser.confirmPassword(verificationCode, newPassword, { + onSuccess: function () { + //('Password confirmed!'); + }, + onFailure: function (err) { + //('Password not confirmed!'); + } + }); + } + }); + }); + }; + /** + * End of the function + */ + /** + * Logout function + */ + AwsServiceProvider.prototype.logout = function () { + var _this = this; + return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observe) { + _this.shared.getCurrentUser().signOut(); + observe.next(); + observe.complete(); + }); + }; + /** + * Config function + */ + // getconfig() { + // let session:any = this.shared.getAccessToken() || ""; + // let config = ""; + // config += AWS.config.region = "ap-south-1"; + // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({ + // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV + // Logins: { + // "cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO": session + // .getIdToken() + // .getJwtToken() + // } + // // NOTE: getSession must be called to authenticate user before calling getUserAttributes + // }); + // return config; + // } + AwsServiceProvider.prototype.getlocale = function () { + var session = this.shared.getToken() || null; + var userid = session.idToken.payload.locale; + return userid; + }; + AwsServiceProvider.prototype.getuserprofile = function (userid) { + // alert(); + //console.log(cogusers.idToken.payload.locale); + var roles = { 'userid': userid }; + // let request = new RequestOptions({headers:headers}); + return this.http.post(this.apiurl + 'getUsersDetails', roles); + }; + AwsServiceProvider.prototype.userpinupdate = function (pin) { + var userid = this.getlocale(); + var records = { 'mpin': pin, 'updatedon': currentDate, 'fk_updatedby': userid, 'userid': userid }; + var formdata = new FormData(); + formdata.append('records', JSON.stringify(records)); + return this.http.post(this.apiurl + 'updateExistUser', formdata); + }; + AwsServiceProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_5__cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__constants_constants__["a" /* ConstantsProvider */]]) + ], AwsServiceProvider); + return AwsServiceProvider; +}()); + +//# sourceMappingURL=aws-service.js.map + +/***/ }), + +/***/ 76: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdListPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__input_input__ = __webpack_require__(358); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_cognito_service__ = __webpack_require__(69); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__otp_otp__ = __webpack_require__(198); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_category_pd_question_category__ = __webpack_require__(123); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_database_database__ = __webpack_require__(393); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__ = __webpack_require__(124); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + +/** + * Generated class for the PdListPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdListPage = (function () { + function PdListPage(navCtrl, navParams, aws, pdofficer, shared, db, androidPermissions) { + //this.getlenderpddetails(); + // this.getpdTriggerdetails(); + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.pdofficer = pdofficer; + this.shared = shared; + this.db = db; + this.androidPermissions = androidPermissions; + this.bgColorPast = []; + this.bgColor = []; + this.pdinprogress = []; + this.pdlistdetails = []; + this.pdlist = "0"; + this.pdlistaccess = null; + } + PdListPage.prototype.selectedTab = function (ind) { + this.slider.slideTo(ind); + }; + PdListPage.prototype.moveButton = function (event) { + this.pdlist = event._snapIndex.toString(); + }; + PdListPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdListPage'); + this.db.getuserDetails(); + this.setpermission(); + }; + PdListPage.prototype.ionViewCanEnter = function () { + console.log("Pd list ionViewCanEnter"); + this.getpdTriggerdetails(); + }; + PdListPage.prototype.filter = function (view) { + if (!view) { + this.viewchange = true; + } + else { + this.viewchange = false; + this.pdinprogress = this.pdinprogress; + this.pdschduleDetails = this.pdschduleDetails; + } + //alert(this.viewchange); + }; + PdListPage.prototype.pdlistsearch = function (searchbar) { + this.pdinprogress = this.searchinprogress; + this.pdschduleDetails = this.searchpast; + // reset countries list with initial call + //this.pdinprogress = this.countriesInitial; + // set q to the value of the searchbar + var q = searchbar.target.value; + // if the value is an empty string don't filter the items + if (this.pdlist == "inpro") { + if (q.trim() == '') { + return; + } + else { + this.pdinprogress = this.searchinprogress.filter(function (v) { + if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase()) > -1) { + return true; + } + return false; + }); + } + } + else { + if (q.trim() == '') { + return; + } + else { + this.pdschduleDetails = this.searchpast.filter(function (v) { + if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 + || v.pd_status.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.city_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase()) > -1) { + return true; + } + return false; + }); + } + } + }; + PdListPage.prototype.newpage = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__input_input__["a" /* InputPage */]); + }; + PdListPage.prototype.getpdTriggerdetails = function () { + var _this = this; + var userid = this.aws.getlocale(); + //.log("User",userid) + this.pdofficer.getpddetails(userid).subscribe(function (res) { + _this.pdlistdetails = res; + if (_this.pdlistdetails.dataStatus == true) { + _this.pdlistaccess = true; + _this.pdschduleDetails = _this.pdlistdetails.records.filter(function (sch) { return sch.pd_status == "ACCEPTED" || sch.pd_status == "SCHEDULED" || sch.pd_status == "INITIATED" || sch.pd_status == "STARTED" || sch.pd_status == "INPROGRESS" && sch.applicat_details; }); + _this.searchpast = _this.pdschduleDetails; + _this.pdinprogress = _this.pdlistdetails.records.filter(function (allocate) { return allocate.pd_status == "ALLOCATED"; }); + _this.searchinprogress = _this.pdinprogress; + _this.random_bg_color(); + _this.random_ng_past(); + } + else { + _this.pdlistaccess = false; + _this.pdlistdetails = "No Records Found"; + } + }); + }; + PdListPage.prototype.random_bg_color = function () { + for (var _i = 0, _a = this.pdinprogress; _i < _a.length; _i++) { + var id = _a[_i]; + var x = Math.floor(Math.random() * 256); + var y = Math.floor(Math.random() * 256); + var z = Math.floor(Math.random() * 256); + this.bgColor.push("rgb(" + x + "," + y + "," + z + ")"); + } + return this.bgColor; + }; + PdListPage.prototype.random_ng_past = function () { + for (var _i = 0, _a = this.pdschduleDetails; _i < _a.length; _i++) { + var id = _a[_i]; + var x = Math.floor(Math.random() * 256); + var y = Math.floor(Math.random() * 256); + var z = Math.floor(Math.random() * 256); + this.bgColorPast.push("rgb(" + x + "," + y + "," + z + ")"); + } + }; + PdListPage.prototype.doRefresh = function (refresher) { + this.bgColor = []; + this.pdschduleDetails = []; + this.pdinprogress = []; + this.shared.refresh(); + this.getpdTriggerdetails(); + setTimeout(function () { + refresher.complete(); + }, 2000); + }; + PdListPage.prototype.PdAllocation = function (pddetails) { + if (pddetails.pd_status == 'STARTED') { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__otp_otp__["a" /* OtpPage */], { 'pdDetails': pddetails }); + } + else if (pddetails.pd_status == 'INPROGRESS') { + this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_7__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': pddetails }); + } + else { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__input_input__["a" /* InputPage */], { 'pdDetails': pddetails }); + } + }; + PdListPage.prototype.setpermission = function () { + // let permission = this.androidPermissions.PERMISSION; + // let premission_list = [ + // permission.ACCESS_LOCATION_EXTRA_COMMANDS, + // permission.CAMERA, + var _this = this; + // ]; + this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS); }); + this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('slider'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["v" /* Slides */]) + ], PdListPage.prototype, "slider", void 0); + PdListPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-list',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-list\pd-list.html"*/'\n\n \n\n \n\n PD Cases\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Allocated\n\n \n\n \n\n Scheduled\n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{progess.applicat_details[0].applicant_name | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{progess.applicat_details[0].applicant_name | titlecase}}

\n\n \n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.city_name}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.pd_status}}
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{progess.applicat_details[0].applicant_name | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{progess.applicat_details[0].applicant_name | titlecase}}

\n\n \n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.city_name}}
\n\n
\n\n
\n\n \n\n \n\n
{{progess.pd_status}}
\n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.scheduled_on}}
\n\n
\n\n
\n\n
\n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-list\pd-list.html"*/, + }), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_database_database__["a" /* DatabaseProvider */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) + ], PdListPage); + return PdListPage; +}()); + +//# sourceMappingURL=pd-list.js.map + +/***/ }), + +/***/ 85: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdtriggerProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants_constants__ = __webpack_require__(22); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/* + Generated class for the PdtriggerProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/' +var PdtriggerProvider = (function () { + function PdtriggerProvider(http, constants) { + this.http = http; + this.constants = constants; + this.apiurl = constants.apiurl(); + console.log('Hello PdtriggerProvider Provider'); + } + /**get dropdonw list */ + /**Get list of PD Trigger */ + PdtriggerProvider.prototype.getpddetails = function (userid) { + console.log(userid); + return this.http.get(this.apiurl + 'listLessPDDetails/get?pdofficerid=' + userid); + }; + PdtriggerProvider.prototype.getFullPDdetails = function (pdid) { + return this.http.post(this.apiurl + 'getFullPDDetails', pdid); + }; + PdtriggerProvider.prototype.updatepdStatus = function (dataStatus) { + var records = { 'records': dataStatus }; + return this.http.post(this.apiurl + 'updatePDMaster', records); + }; + PdtriggerProvider.prototype.saveCurrentLocation = function (data) { + var records = { 'records': data }; + return this.http.post(this.apiurl + 'savePDOfficerCurrentLocation', data); + }; + PdtriggerProvider.prototype.checkotp = function (otpDetails) { + var records = { 'records': otpDetails }; + return this.http.post(this.apiurl + 'checkOTP', records); + }; + PdtriggerProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__constants_constants__["a" /* ConstantsProvider */]]) + ], PdtriggerProvider); + return PdtriggerProvider; +}()); + +//# sourceMappingURL=pdtrigger.js.map + +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ToastProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(5); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +/* + Generated class for the ToastProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +var ToastProvider = (function () { + function ToastProvider(http, toast) { + this.http = http; + this.toast = toast; + console.log('Hello ToastProvider Provider'); + } + ToastProvider.prototype.pdTriggerappmessage = function (mess) { + var valalert = this.toast.create({ + message: mess, + duration: 3000, + position: 'bottom', + dismissOnPageChange: true, + }); + valalert.present(); + }; + ToastProvider = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), + __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["w" /* ToastController */]]) + ], ToastProvider); + return ToastProvider; +}()); + +//# sourceMappingURL=toast.js.map + +/***/ }) + +},[401]); +//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/platforms/android/app/build/intermediates/assets/debug/www/build/vendor.js b/platforms/android/app/build/intermediates/assets/debug/www/build/vendor.js index 8bc5cb42..af4f5d88 100644 --- a/platforms/android/app/build/intermediates/assets/debug/www/build/vendor.js +++ b/platforms/android/app/build/intermediates/assets/debug/www/build/vendor.js @@ -1 +1,198695 @@ -!function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n=window.webpackJsonp;window.webpackJsonp=function(i,o,a){for(var s,l,c,u=0,p=[];u ");else if("object"==typeof e){var i=[];for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];i.push(r+":"+("string"==typeof o?JSON.stringify(o):u(o)))}n="{"+i.join(", ")+"}"}return"StaticInjectorError["+n+"]: "+t.replace(Hi,"\n ")}function y(t,e){return new Error(_(t,e))}function b(t){return t[Yi]}function v(t){return t[qi]}function w(t){if(t.length>1){return" ("+function(t){for(var e=[],n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return u(t.token)}).join(" -> ")+")"}return""}function x(t,e,n,i){var r=[e],o=n(r),a=i?function(t,e){var n=t+" caused by: "+(e instanceof Error?e.message:e),i=Error(n);return i[qi]=e,i}(o,i):Error(o);return a.addKey=C,a.keys=r,a.injectors=[t],a.constructResolvingMessage=n,a[qi]=i,a}function C(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function k(t,e){for(var n=[],i=0,r=e.length;i-1&&t.splice(n,1)}function tt(t){return t.reduce(function(t,e){var n=Array.isArray(e)?tt(e):e;return t.concat(n)},[])}function et(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function nt(t,e,n){t.childNodes.forEach(function(t){t instanceof io&&(e(t)&&n.push(t),nt(t,e,n))})}function it(t,e,n){t instanceof io&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof io&&it(t,e,n)})}function rt(t){return ro.get(t)||null}function ot(t){ro.set(t.nativeNode,t)}function at(t,e){var n=st(t),i=st(e);if(n&&i)return function(t,e,n){var i=t[s()](),r=e[s()]();for(;;){var o=i.next(),a=r.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(t,e,at);return!(n||!(t&&("object"==typeof t||"function"==typeof t))||i||!(e&&("object"==typeof e||"function"==typeof e)))||c(t,e)}function st(t){return!!lt(t)&&(Array.isArray(t)||!(t instanceof Map)&&s()in t)}function lt(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ct(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i0?r[n-1]:null,i)}function ae(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var i=n[e];return i.viewContainerParent=null,ue(n,e),Po.dirtyParentQueries(i),le(i),i}function se(t,e,n){var i=e?Dt(e,e.def.lastRenderRootNode):t.renderElement;zt(n,2,n.renderer.parentNode(i),n.renderer.nextSibling(i),void 0)}function le(t){zt(t,3,null,null,void 0)}function ce(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ue(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function pe(t,e,n,i,r,o){return new zo(t,e,n,i,r,o)}function de(t,e,n){return new Uo(t,e,n)}function he(t){return new Wo(t)}function fe(t,e){return new Yo(t,e)}function me(t,e){return new qo(t,e)}function ge(t,e){var n=t.def.nodes[e];if(1&n.flags){var i=ft(t,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return ht(t,n.nodeIndex).renderText;if(20240&n.flags)return mt(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function _e(t){return new Go(t.renderer)}function ye(t,e,n,i){return new Ko(t,e,n,i)}function be(t,e,n,i,r,o,a,s){var l=[];if(a)for(var c in a){var u=a[c];l[u[0]]={flags:8,name:c,nonMinifiedName:u[1],ns:null,securityContext:null,suffix:null}}var p=[];if(s)for(var d in s)p.push({type:1,propName:d,target:null,eventName:s[d]});return e|=16384,xe(t,e,n,i,r,r,o,l,p)}function ve(t,e,n){return t|=16,xe(-1,t,null,0,e,e,n)}function we(t,e,n,i,r){return xe(-1,t,e,0,n,i,r)}function xe(t,e,n,i,r,o,a,s,l){var c=Ft(n),u=c.matchedQueries,p=c.references,h=c.matchedQueryIds;l||(l=[]),s||(s=[]),o=d(o);var f=Lt(a);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:h,references:p,ngContentIndex:-1,childCount:i,bindings:s,bindingFlags:Gt(s),outputs:l,element:null,provider:{token:r,value:o,deps:f},text:null,query:null,ngContent:null}}function Ce(t,e){return Oe(t,e)}function ke(t,e){for(var n=t;n.parent&&!Rt(n);)n=n.parent;return Ee(n.parent,It(n),!0,e.provider.value,e.provider.deps)}function Se(t,e){var n=Ee(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i0,i=e.provider;switch(201347067&e.flags){case 512:return Ee(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,r){var o=r.length;switch(o){case 0:return i();case 1:return i(Ae(t,e,n,r[0]));case 2:return i(Ae(t,e,n,r[0]),Ae(t,e,n,r[1]));case 3:return i(Ae(t,e,n,r[0]),Ae(t,e,n,r[1]),Ae(t,e,n,r[2]));default:for(var a=Array(o),s=0;so)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}(c,m,e.length),r+=m.bindings.length,o+=m.outputs.length,!u&&3&m.flags&&(h=m),20224&m.flags){p||(p=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var _=0!=(32768&m.flags);!(0!=(8192&m.flags))||_?c.element.publicProviders[wt(m.provider.token)]=m:(d||(d=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[wt(m.provider.token)]=m),_&&(c.element.componentProvider=m)}if(c?(c.childFlags|=m.flags,c.directChildFlags|=m.flags,c.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(c.childMatchedQueries|=m.element.template.nodeMatchedQueries)):s|=m.flags,m.childCount>0)c=m,Ke(m)||(u=m);else for(;c&&f===c.nodeIndex+c.childCount;){var y=c.parent;y&&(y.childFlags|=c.childFlags,y.childMatchedQueries|=c.childMatchedQueries),u=(c=y)&&Ke(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||To,updateRenderer:i||To,handleEvent:function(t,n,i,r){return e[n].element.handleEvent(t,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:h}}function Ke(t){return 0!=(1&t.flags)&&null===t.element.name}function Xe(t,e,n,i){var r=Je(t.root,t.renderer,t,e,n);return Qe(r,t.component,i),tn(r),r}function Ze(t,e,n){var i=Je(t,t.renderer,null,null,e);return Qe(i,n,n),tn(i),i}function $e(t,e,n,i){var r,o=e.element.componentRendererType;return r=o?t.root.rendererFactory.createRenderer(i,o):t.root.renderer,Je(t.root,r,t,e.element.componentProvider,n)}function Je(t,e,n,i,r){var o=new Array(r.nodes.length),a=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:a}}function Qe(t,e,n){t.component=e,t.context=n}function tn(t){var e;if(Rt(t)){e=ft(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement}for(var n=t.def,i=t.nodes,r=0;r0&&te(t,e,0,n)&&(h=!0),d>1&&te(t,e,1,i)&&(h=!0),d>2&&te(t,e,2,r)&&(h=!0),d>3&&te(t,e,3,o)&&(h=!0),d>4&&te(t,e,4,a)&&(h=!0),d>5&&te(t,e,5,s)&&(h=!0),d>6&&te(t,e,6,l)&&(h=!0),d>7&&te(t,e,7,c)&&(h=!0),d>8&&te(t,e,8,u)&&(h=!0),d>9&&te(t,e,9,p)&&(h=!0),h}(t,e,n,i,r,o,a,s,l,c,u,p);case 2:return function(t,e,n,i,r,o,a,s,l,c,u,p){var d=!1,h=e.bindings,f=h.length;if(f>0&&St(t,e,0,n)&&(d=!0),f>1&&St(t,e,1,i)&&(d=!0),f>2&&St(t,e,2,r)&&(d=!0),f>3&&St(t,e,3,o)&&(d=!0),f>4&&St(t,e,4,a)&&(d=!0),f>5&&St(t,e,5,s)&&(d=!0),f>6&&St(t,e,6,l)&&(d=!0),f>7&&St(t,e,7,c)&&(d=!0),f>8&&St(t,e,8,u)&&(d=!0),f>9&&St(t,e,9,p)&&(d=!0),d){var m=e.text.prefix;f>0&&(m+=qe(n,h[0])),f>1&&(m+=qe(i,h[1])),f>2&&(m+=qe(r,h[2])),f>3&&(m+=qe(o,h[3])),f>4&&(m+=qe(a,h[4])),f>5&&(m+=qe(s,h[5])),f>6&&(m+=qe(l,h[6])),f>7&&(m+=qe(c,h[7])),f>8&&(m+=qe(u,h[8])),f>9&&(m+=qe(p,h[9]));var g=ht(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return d}(t,e,n,i,r,o,a,s,l,c,u,p);case 16384:return function(t,e,n,i,r,o,a,s,l,c,u,p){var d=mt(t,e.nodeIndex),h=d.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&kt(t,e,0,n)&&(f=!0,m=Te(t,d,e,0,n,m)),g>1&&kt(t,e,1,i)&&(f=!0,m=Te(t,d,e,1,i,m)),g>2&&kt(t,e,2,r)&&(f=!0,m=Te(t,d,e,2,r,m)),g>3&&kt(t,e,3,o)&&(f=!0,m=Te(t,d,e,3,o,m)),g>4&&kt(t,e,4,a)&&(f=!0,m=Te(t,d,e,4,a,m)),g>5&&kt(t,e,5,s)&&(f=!0,m=Te(t,d,e,5,s,m)),g>6&&kt(t,e,6,l)&&(f=!0,m=Te(t,d,e,6,l,m)),g>7&&kt(t,e,7,c)&&(f=!0,m=Te(t,d,e,7,c,m)),g>8&&kt(t,e,8,u)&&(f=!0,m=Te(t,d,e,8,u,m)),g>9&&kt(t,e,9,p)&&(f=!0,m=Te(t,d,e,9,p,m)),m&&h.ngOnChanges(m),2&t.state&&65536&e.flags&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),f}(t,e,n,i,r,o,a,s,l,c,u,p);case 32:case 64:case 128:return function(t,e,n,i,r,o,a,s,l,c,u,p){var d=e.bindings,h=!1,f=d.length;if(f>0&&St(t,e,0,n)&&(h=!0),f>1&&St(t,e,1,i)&&(h=!0),f>2&&St(t,e,2,r)&&(h=!0),f>3&&St(t,e,3,o)&&(h=!0),f>4&&St(t,e,4,a)&&(h=!0),f>5&&St(t,e,5,s)&&(h=!0),f>6&&St(t,e,6,l)&&(h=!0),f>7&&St(t,e,7,c)&&(h=!0),f>8&&St(t,e,8,u)&&(h=!0),f>9&&St(t,e,9,p)&&(h=!0),h){var m=gt(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(d.length),f>0&&(g[0]=n),f>1&&(g[1]=i),f>2&&(g[2]=r),f>3&&(g[3]=o),f>4&&(g[4]=a),f>5&&(g[5]=s),f>6&&(g[6]=l),f>7&&(g[7]=c),f>8&&(g[8]=u),f>9&&(g[9]=p);break;case 64:g={},f>0&&(g[d[0].name]=n),f>1&&(g[d[1].name]=i),f>2&&(g[d[2].name]=r),f>3&&(g[d[3].name]=o),f>4&&(g[d[4].name]=a),f>5&&(g[d[5].name]=s),f>6&&(g[d[6].name]=l),f>7&&(g[d[7].name]=c),f>8&&(g[d[8].name]=u),f>9&&(g[d[9].name]=p);break;case 128:var _=n;switch(f){case 1:g=_.transform(n);break;case 2:g=_.transform(i);break;case 3:g=_.transform(i,r);break;case 4:g=_.transform(i,r,o);break;case 5:g=_.transform(i,r,o,a);break;case 6:g=_.transform(i,r,o,a,s);break;case 7:g=_.transform(i,r,o,a,s,l);break;case 8:g=_.transform(i,r,o,a,s,l,c);break;case 9:g=_.transform(i,r,o,a,s,l,c,u);break;case 10:g=_.transform(i,r,o,a,s,l,c,u,p)}}m.value=g}return h}(t,e,n,i,r,o,a,s,l,c,u,p);default:throw"unreachable"}}(t,e,i,r,o,a,s,l,c,u,p,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var i=!1,r=0;r0&&Ot(t,e,0,n);d>1&&Ot(t,e,1,i);d>2&&Ot(t,e,2,r);d>3&&Ot(t,e,3,o);d>4&&Ot(t,e,4,a);d>5&&Ot(t,e,5,s);d>6&&Ot(t,e,6,l);d>7&&Ot(t,e,7,c);d>8&&Ot(t,e,8,u);d>9&&Ot(t,e,9,p)}(t,e,i,r,o,a,s,l,c,u,p,d):function(t,e,n){for(var i=0;i=this._providers.length)throw function(t){return Error("Index "+t+" is out-of-bounds.")}(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(t,e){return x(t,e,function(t){return"Cannot instantiate cyclic dependency!"+w(t)})}(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+u(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.decorators=[{type:wi}],t.ctorParameters=function(){return[{type:Di}]},t}(),Hr=function(){function t(t,e,n,i,r,o){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=X(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new Hn.Observable(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),c=new Hn.Observable(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Ir.assertNotInAngularZone(),l(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Ir.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(Un.merge)(s,Wn.share.call(c))}return t.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var i;i=t instanceof br?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);var r=i instanceof kr?null:this._injector.get(Sr),o=i.create(Di.NULL,[],e||i.selector,r);o.onDestroy(function(){n._unloadComponent(o)});var a=o.injector.get(Rr,null);return a&&o.injector.get(Mr).registerApplication(o.location.nativeElement,a),this._loadComponent(o),X()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Pr(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Q(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t);this._injector.get(fr,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Q(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Ar("ApplicationRef#tick()"),t.decorators=[{type:wi}],t.ctorParameters=function(){return[{type:Ir},{type:mr},{type:Di},{type:Ki},{type:xr},{type:cr}]},t}(),Ur=(function(){}(),function(){}(),function(){return function(){}}()),Wr=(new qn("Renderer2Interceptor"),function(){}(),function(){return function(){}}()),Yr={Important:1,DashCase:2};Yr[Yr.Important]="Important",Yr[Yr.DashCase]="DashCase";var qr=function(){return function(){}}(),Gr=function(){return function(t){this.nativeElement=t}}(),Kr=(function(){}(),new Map,function(){function t(){this.dirty=!0,this._results=[],this.changes=new Tr}return Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[s()]=function(){return this._results[s()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=tt(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}()),Xr=function(){return function(){}}(),Zr={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},$r=(function(){function t(t,e){this._compiler=t,this._config=e||Zr}t.prototype.load=function(t){return this._compiler instanceof gr?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,i=t.split("#"),r=i[0],o=i[1];return void 0===o&&(o="default"),n(284)(r).then(function(t){return t[o]}).then(function(t){return et(t,r,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),i=e[0],r=e[1],o="NgFactory";return void 0===r&&(r="default",o=""),n(284)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(t){return t[r+o]}).then(function(t){return et(t,i,r)})},t.decorators=[{type:wi}],t.ctorParameters=function(){return[{type:gr},{type:Xr,decorators:[{type:vi}]}]}}(),function(){return function(){}}()),Jr=function(){return function(){}}(),Qr=function(){return function(){}}(),to=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(zn.b)(e,t),e}(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(zn.b)(e,t),e}(Qr)),eo=function(){return function(t,e){this.name=t,this.callback=e}}(),no=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof io?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),io=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}return Object(zn.b)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,i=this.childNodes.indexOf(t);-1!==i&&((r=this.childNodes).splice.apply(r,[i+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var r},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return nt(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return it(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(no),ro=new Map,oo=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),ao=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof oo?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1}}(),function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}()),so=function(){function t(){}return t.prototype.supports=function(t){return st(t)},t.prototype.create=function(t){return new co(t)},t}(),lo=function(t,e){return e},co=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||lo}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var o=!n||e&&e.currentIndex=0;t--){var e=ae(this._data,t);Po.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Wo(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i},t.prototype.createComponent=function(t,e,n,i,r){var o=n||this.parentInjector;r||t instanceof kr||(r=o.get(Sr));var a=t.create(o,i,void 0,r);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t;return oe(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return function(t,e,n){var i=t.viewContainer._embeddedViews,r=i[e];ue(i,e),null==n&&(n=i.length),ce(i,n,r),Po.dirtyParentQueries(r),le(r),se(t,n>0?i[n-1]:null,r)}(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=ae(this._data,t);e&&Po.destroyView(e)},t.prototype.detach=function(t){var e=ae(this._data,t);return e?new Wo(e):null},t}(),Wo=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return function(t){var e=[];return zt(t,0,void 0,void 0,e),e}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Et(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),Po.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){Po.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Po.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,le(this._view),Po.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),Yo=function(t){function e(e,n){var i=t.call(this)||this;return i._parentView=e,i._def=n,i}return Object(zn.b)(e,t),e.prototype.createEmbeddedView=function(t){return new Wo(Po.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Gr(ft(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}($r),qo=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=Di.THROW_IF_NOT_FOUND);return Po.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:wt(t)},e)},t}(),Go=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=qt(e),i=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function y(t){return null!=t?B.compose(t.map(s)):null}function b(t){return null!=t?B.composeAsync(t.map(l)):null}function v(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(P._27)(e,n.currentValue)}function w(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function x(t,e){if(!e)return null;var n=void 0,i=void 0,r=void 0;return e.forEach(function(e){e.constructor===Y?n=e:!function(t){return at.some(function(e){return t.constructor===e})}(e)?(r&&_(t,"More than one custom value accessor matches form control with"),r=e):(i&&_(t,"More than one built-in value accessor matches form control with"),i=e)}),r||(i||(n||(_(t,"No valid value accessor for form control with"),null)))}function C(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function k(t){var e=O(t)?t.validators:t;return Array.isArray(e)?y(e):e||null}function S(t,e){var n=O(e)?e.asyncValidators:t;return Array.isArray(n)?b(n):n||null}function O(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function E(t){return!(t instanceof Lt||t instanceof Nt||t instanceof Vt)}n.d(e,"c",function(){return M}),n.d(e,"q",function(){return V}),n.d(e,"a",function(){return W}),n.d(e,"d",function(){return Y}),n.d(e,"r",function(){return K}),n.d(e,"s",function(){return ut}),n.d(e,"t",function(){return pt}),n.d(e,"u",function(){return vt}),n.d(e,"v",function(){return It}),n.d(e,"i",function(){return Ht}),n.d(e,"k",function(){return Nt}),n.d(e,"f",function(){return Vt}),n.d(e,"l",function(){return Lt}),n.d(e,"b",function(){return qt}),n.d(e,"n",function(){return Jt}),n.d(e,"o",function(){return Zt}),n.d(e,"x",function(){return Yt}),n.d(e,"g",function(){return ee}),n.d(e,"e",function(){return _t}),n.d(e,"h",function(){return mt}),n.d(e,"j",function(){return gt}),n.d(e,"p",function(){return N}),n.d(e,"y",function(){return B}),n.d(e,"m",function(){return se}),n.d(e,"w",function(){return le}),n.d(e,"z",function(){return ae}),n.d(e,"B",function(){return ne}),n.d(e,"A",function(){return G}),n.d(e,"C",function(){return Z});var A=n(1),P=n(0),T=n(293),I=(n.n(T),n(381)),D=(n.n(I),n(294)),j=(n.n(D),n(58)),R=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(A.b)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(R),N=new P.y("NgValidators"),F=new P.y("NgAsyncValidators"),L=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,B=function(){function t(){}return t.min=function(t){return function(e){if(i(e.value)||i(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return i(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return L.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(i(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,r;return"string"==typeof e?(r="^"+e+"$",n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(i(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(r);return 0==e.length?null:function(t){return a(function(t,e){return e.map(function(e){return e(t)})}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(r);return 0==e.length?null:function(t){var n=function(t,e){return e.map(function(e){return e(t)})}(t,e).map(o);return D.map.call(Object(T.forkJoin)(n),a)}},t}(),V=new P.y("NgValueAccessor"),z={provide:V,useExisting:Object(P._6)(function(){return H}),multi:!0},H=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:P.o,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[z]}]}],t.ctorParameters=function(){return[{type:P.P},{type:P.p}]},t}(),U={provide:V,useExisting:Object(P._6)(function(){return Y}),multi:!0},W=new P.y("CompositionEventMode"),Y=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){var t=Object(j.r)()?Object(j.r)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t.decorators=[{type:P.o,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[U]}]}],t.ctorParameters=function(){return[{type:P.P},{type:P.p},{type:void 0,decorators:[{type:P.I},{type:P.w,args:[W]}]}]},t}(),q={provide:V,useExisting:Object(P._6)(function(){return G}),multi:!0},G=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:P.o,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[q]}]}],t.ctorParameters=function(){return[{type:P.P},{type:P.p}]},t}(),K=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(A.b)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return c()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return c()},enumerable:!0,configurable:!0}),e}(R),X={provide:V,useExisting:Object(P._6)(function(){return $}),multi:!0},Z=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t.decorators=[{type:P.x}],t.ctorParameters=function(){return[]},t}(),$=function(){function t(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(K),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t.decorators=[{type:P.o,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[X]}]}],t.ctorParameters=function(){return[{type:P.P},{type:P.p},{type:Z},{type:P.z}]},t.propDecorators={name:[{type:P.A}],formControlName:[{type:P.A}],value:[{type:P.A}]},t}(),J={provide:V,useExisting:Object(P._6)(function(){return Q}),multi:!0},Q=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:P.o,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[J]}]}],t.ctorParameters=function(){return[{type:P.P},{type:P.p}]},t}(),tt={provide:V,useExisting:Object(P._6)(function(){return et}),multi:!0},et=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=P._27}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=u(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,o=0;o0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(ft),_t=function(t){function e(e,n,i){var r=t.call(this,k(n),S(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(A.b)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,i){n._throwIfControlMissing(i),n.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,i){n.at(i)&&n.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof mt?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(ft),yt={provide:M,useExisting:Object(P._6)(function(){return vt})},bt=Promise.resolve(null),vt=function(t){function e(e,n){var i=t.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new P.s,i.form=new gt({},y(e),b(n)),i}return Object(A.b)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;bt.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),h(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;bt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),C(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;bt.then(function(){var n=e._findContainer(t.path),i=new gt({});m(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;bt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;bt.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,w(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.decorators=[{type:P.o,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[yt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[N]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[F]}]}]},e.propDecorators={options:[{type:P.A,args:["ngFormOptions"]}]},e}(M),wt='\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',xt='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Ct='\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',kt='\n
\n
\n \n
\n
',St='\n
\n \n \n
\n ',Ot=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+wt+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+St)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+xt+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+kt)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+xt+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+kt)},t}(),Et={provide:M,useExisting:Object(P._6)(function(){return At})},At=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(A.b)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof vt||Ot.modelGroupParentException()},e.decorators=[{type:P.o,args:[{selector:"[ngModelGroup]",providers:[Et],exportAs:"ngModelGroup"}]}],e.ctorParameters=function(){return[{type:M,decorators:[{type:P.t},{type:P.V}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[N]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[F]}]}]},e.propDecorators={name:[{type:P.A,args:["ngModelGroup"]}]},e}(st),Pt={provide:K,useExisting:Object(P._6)(function(){return It})},Tt=Promise.resolve(null),It=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.control=new mt,o._registered=!1,o.update=new P.s,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=i||[],o.valueAccessor=x(o,r),o}return Object(A.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),v(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?d(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return y(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return b(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){h(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof At)&&this._parent instanceof st?Ot.formGroupNameException():this._parent instanceof At||this._parent instanceof vt||Ot.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ot.missingNameException()},e.prototype._updateValue=function(t){var e=this;Tt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;Tt.then(function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()})},e.decorators=[{type:P.o,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Pt],exportAs:"ngModel"}]}],e.ctorParameters=function(){return[{type:M,decorators:[{type:P.I},{type:P.t}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[N]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[F]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[V]}]}]},e.propDecorators={name:[{type:P.A}],isDisabled:[{type:P.A,args:["disabled"]}],model:[{type:P.A,args:["ngModel"]}],options:[{type:P.A,args:["ngModelOptions"]}],update:[{type:P.J,args:["ngModelChange"]}]},e}(K),Dt=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+wt)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+xt+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+kt)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+wt)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+xt)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Ct)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),jt={provide:K,useExisting:Object(P._6)(function(){return Rt})},Rt=function(t){function e(e,n,i){var r=t.call(this)||this;return r.update=new P.s,r._rawValidators=e||[],r._rawAsyncValidators=n||[],r.valueAccessor=x(r,i),r}return Object(A.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Dt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(h(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),v(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return y(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return b(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e.decorators=[{type:P.o,args:[{selector:"[formControl]",providers:[jt],exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[N]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[F]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[V]}]}]},e.propDecorators={form:[{type:P.A,args:["formControl"]}],model:[{type:P.A,args:["ngModel"]}],update:[{type:P.J,args:["ngModelChange"]}],isDisabled:[{type:P.A,args:["disabled"]}]},e}(K),Mt={provide:M,useExisting:Object(P._6)(function(){return Nt})},Nt=function(t){function e(e,n){var i=t.call(this)||this;return i._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new P.s,i}return Object(A.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return h(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){C(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);m(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);m(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,w(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(!function(t,e){e.valueAccessor.registerOnChange(function(){return g(e)}),e.valueAccessor.registerOnTouched(function(){return g(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&h(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=y(this._validators);this.form.validator=B.compose([this.form.validator,t]);var e=b(this._asyncValidators);this.form.asyncValidator=B.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Dt.missingFormException()},e.decorators=[{type:P.o,args:[{selector:"[formGroup]",providers:[Mt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[N]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[F]}]}]},e.propDecorators={form:[{type:P.A,args:["formGroup"]}],ngSubmit:[{type:P.J}]},e}(M),Ft={provide:M,useExisting:Object(P._6)(function(){return Lt})},Lt=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(A.b)(e,t),e.prototype._checkParentType=function(){E(this._parent)&&Dt.groupParentException()},e.decorators=[{type:P.o,args:[{selector:"[formGroupName]",providers:[Ft]}]}],e.ctorParameters=function(){return[{type:M,decorators:[{type:P.I},{type:P.t},{type:P.V}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[N]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[F]}]}]},e.propDecorators={name:[{type:P.A,args:["formGroupName"]}]},e}(st),Bt={provide:M,useExisting:Object(P._6)(function(){return Vt})},Vt=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(A.b)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return d(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return y(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return b(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){E(this._parent)&&Dt.arrayParentException()},e.decorators=[{type:P.o,args:[{selector:"[formArrayName]",providers:[Bt]}]}],e.ctorParameters=function(){return[{type:M,decorators:[{type:P.I},{type:P.t},{type:P.V}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[N]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[F]}]}]},e.propDecorators={name:[{type:P.A,args:["formArrayName"]}]},e}(M),zt={provide:K,useExisting:Object(P._6)(function(){return Ht})},Ht=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._added=!1,o.update=new P.s,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=i||[],o.valueAccessor=x(o,r),o}return Object(A.b)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Dt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),v(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return d(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return y(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return b(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Lt)&&this._parent instanceof st?Dt.ngModelGroupException():this._parent instanceof Lt||this._parent instanceof Nt||this._parent instanceof Vt||Dt.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e.decorators=[{type:P.o,args:[{selector:"[formControlName]",providers:[zt]}]}],e.ctorParameters=function(){return[{type:M,decorators:[{type:P.I},{type:P.t},{type:P.V}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[N]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[F]}]},{type:Array,decorators:[{type:P.I},{type:P.U},{type:P.w,args:[V]}]}]},e.propDecorators={name:[{type:P.A,args:["formControlName"]}],model:[{type:P.A,args:["ngModel"]}],update:[{type:P.J,args:["ngModelChange"]}],isDisabled:[{type:P.A,args:["disabled"]}]},e}(K),Ut={provide:N,useExisting:Object(P._6)(function(){return Yt}),multi:!0},Wt={provide:N,useExisting:Object(P._6)(function(){return qt}),multi:!0},Yt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?B.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:P.o,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Ut],host:{"[attr.required]":'required ? "" : null'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={required:[{type:P.A}]},t}(),qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(A.b)(e,t),e.prototype.validate=function(t){return this.required?B.requiredTrue(t):null},e.decorators=[{type:P.o,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Wt],host:{"[attr.required]":'required ? "" : null'}}]}],e.ctorParameters=function(){return[]},e}(Yt),Gt={provide:N,useExisting:Object(P._6)(function(){return Kt}),multi:!0},Kt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?B.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:P.o,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Gt]}]}],t.ctorParameters=function(){return[]},t.propDecorators={email:[{type:P.A}]},t}(),Xt={provide:N,useExisting:Object(P._6)(function(){return Zt}),multi:!0},Zt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=B.minLength(parseInt(this.minlength,10))},t.decorators=[{type:P.o,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[Xt],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={minlength:[{type:P.A}]},t}(),$t={provide:N,useExisting:Object(P._6)(function(){return Jt}),multi:!0},Jt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=B.maxLength(parseInt(this.maxlength,10))},t.decorators=[{type:P.o,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[$t],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={maxlength:[{type:P.A}]},t}(),Qt={provide:N,useExisting:Object(P._6)(function(){return te}),multi:!0},te=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=B.pattern(this.pattern)},t.decorators=[{type:P.o,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[Qt],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={pattern:[{type:P.A}]},t}(),ee=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t);return new gt(n,null!=e?e.validator:null,null!=e?e.asyncValidator:null)},t.prototype.control=function(t,e,n){return new mt(t,e,n)},t.prototype.array=function(t,e,n){var i=this,r=t.map(function(t){return i._createControl(t)});return new _t(r,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(i){n[i]=e._createControl(t[i])}),n},t.prototype._createControl=function(t){if(t instanceof mt||t instanceof gt||t instanceof _t)return t;if(Array.isArray(t)){return this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null)}return this.control(t)},t.decorators=[{type:P.x}],t.ctorParameters=function(){return[]},t}(),ne=(new P.Y("5.0.3"),function(){function t(){}return t.decorators=[{type:P.o,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],t.ctorParameters=function(){return[]},t}()),ie=[ne,nt,ot,Y,G,Q,H,et,rt,$,ut,pt,Yt,Zt,Jt,te,qt,Kt],re=[It,At,vt],oe=[Rt,Nt,Ht,Lt,Vt],ae=function(){function t(){}return t.decorators=[{type:P.E,args:[{declarations:ie,exports:ie}]}],t.ctorParameters=function(){return[]},t}(),se=function(){function t(){}return t.decorators=[{type:P.E,args:[{declarations:re,providers:[Z],exports:[ae,re]}]}],t.ctorParameters=function(){return[]},t}(),le=function(){function t(){}return t.decorators=[{type:P.E,args:[{declarations:[oe],providers:[ee,Z],exports:[ae,oe]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return t.replace(/\/index.html$/,"")}function r(t,e){return p(t)[10][e]}function o(t,e){return p(t)[11][e]}function a(t,e){return c(p(t)[12],e)}function s(t,e){var n=p(t),i=n[13][e];if(void 0===i){if(e===nt.CurrencyDecimal)return n[13][nt.Decimal];if(e===nt.CurrencyGroup)return n[13][nt.Group]}return i}function l(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function c(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function u(t){var e=t.split(":");return{hours:+e[0],minutes:+e[1]}}function p(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Z[e];if(n)return n;var i=e.split("-")[0];if(n=Z[i])return n;if("en"===i)return X;throw new Error('Missing locale data for the locale "'+t+'".')}function d(t,e,n,i){var r="="+t;if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t,i),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function h(t,e){e=encodeURIComponent(e);for(var n=0,i=t.split(";");n0||l>-n)&&(l+=n),t===Ot.Hours&&0===l&&-12===n&&(l=12),_(l,e,s(a,nt.MinusSign),i,r)}}function b(t,e,n,i){return void 0===n&&(n=Q.Format),void 0===i&&(i=!1),function(r,o){return function(t,e,n,i,r,o){switch(n){case Et.Months:return function(t,e,n){var i=p(t);return c(c([i[5],i[6]],e),n)}(e,r,i)[t.getMonth()];case Et.Days:return function(t,e,n){var i=p(t);return c(c([i[3],i[4]],e),n)}(e,r,i)[t.getDay()];case Et.DayPeriods:var a=t.getHours(),s=t.getMinutes();if(o){var d,h=function(t){var e=p(t);return l(e),(e[18][2]||[]).map(function(t){return"string"==typeof t?u(t):[u(t[0]),u(t[1])]})}(e),f=function(t,e,n){var i=p(t);return l(i),c(c([i[18][0],i[18][1]],e)||[],n)||[]}(e,r,i);if(h.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],i=n.hours,r=n.minutes,o=t[1],l=o.hours,c=o.minutes;a>=i&&s>=r&&(a0?Math.floor(r/60):Math.ceil(r/60);switch(t){case St.Short:return(r>=0?"+":"")+_(a,2,o)+_(Math.abs(r%60),2,o);case St.ShortGMT:return"GMT"+(r>=0?"+":"")+_(a,1,o);case St.Long:return"GMT"+(r>=0?"+":"")+_(a,2,o)+":"+_(Math.abs(r%60),2,o);case St.Extended:return 0===i?"Z":(r>=0?"+":"")+_(a,2,o)+":"+_(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}function w(t,e){return void 0===e&&(e=!1),function(n,i){var r;if(e){var o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,a=n.getDate();r=1+Math.floor((a+o)/7)}else{var l=function(t){var e=new Date(t,At,1).getDay();return new Date(t,0,1+(e<=Pt?Pt:Pt+7)-e)}(n.getFullYear()),c=function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(Pt-t.getDay()))}(n).getTime()-l.getTime();r=1+Math.round(c/6048e5)}return _(r,t,s(i,nt.MinusSign))}}function x(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function C(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(V._38)(t)+"'")}function k(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=+(t[9]+t[10]),i=+(t[9]+t[11])),(t[8]?e.setUTCFullYear:e.setFullYear).call(e,+t[1],+t[2]-1,+t[3]);var o=+(t[4]||"0")-n,a=+(t[5]||"0")-i,s=+(t[6]||"0"),l=Math.round(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,s,l),e}function S(t){return t instanceof Date&&!isNaN(t.valueOf())}function O(t){return function(e,n){var i=t(e,n);return 1==i.length?"0"+i:i}}function E(t){return function(e,n){return t(e,n).split(" ")[0]}}function A(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function P(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var i=A(t,n,e);return i?i.substring(3):""}}function T(t,e){return t.hour12=e,t}function I(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function D(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function j(t){return t.reduce(function(t,e){return Object(z.a)({},t,e)},{})}function R(t){return function(e,n){return A(e,n,t)}}function M(t){return t instanceof Date&&!isNaN(t.valueOf())}function N(t,e,n,i,r){void 0===r&&(r=null);var o,a={str:null},l=function(t,e){return p(t)[14][e]}(e,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return a.error=t+" is not a number",a;o=t}else o=+t;n===$.Percent&&(o*=100);var c=Math.abs(o)+"",u=function(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(Wt),r=i[0],o=i[1],a=-1!==r.indexOf(Ht)?r.split(Ht):[r.substring(0,r.lastIndexOf(Ut)+1),r.substring(r.lastIndexOf(Ut)+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf(qt));for(var c=0;c-1&&(t=t.replace(Ht,""));(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length);for(i=0;t.charAt(i)===Ut;i++);if(i===(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)===Ut;)o--;for(n-=i,e=[],r=0;i<=o;i++,r++)e[r]=+t.charAt(i)}n>zt&&(e=e.splice(0,zt-1),a=n-1,n=1);return{digits:e,exponent:a,integerLen:n}}(c),m=u.minInt,g=u.minFrac,_=u.maxFrac;if(i){var y=i.match(Vt);if(null===y)return a.error=i+" is not a valid digit info",a;var b=y[1],v=y[3],w=y[5];null!=b&&(m=F(b)),null!=v&&(g=F(v)),null!=w?_=F(w):null!=v&&g>_&&(_=g)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var i=t.digits,r=i.length-t.integerLen,o=Math.min(Math.max(e,r),n),a=o+t.integerLen,s=i[a];if(a>0){i.splice(Math.max(t.integerLen,a));for(var l=a;l=5)if(a-1<0){for(var u=0;u>a;u--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[a-1]++;for(;r0?S=x.splice(C,x.length):(S=x,x=[0]);var O=[];for(x.length>=u.lgSize&&O.unshift(x.splice(-u.lgSize,x.length).join(""));x.length>u.gSize;)O.unshift(x.splice(-u.gSize,x.length).join(""));x.length&&O.unshift(x.join(""));if(d=O.join(s(e,r?nt.CurrencyGroup:nt.Group)),S.length){d+=s(e,r?nt.CurrencyDecimal:nt.Decimal)+S.join("")}k&&(d+=s(e,nt.Exponential)+"+"+k)}else d=s(e,nt.Infinity);return d=o<0&&!h?u.negPre+d+u.negSuf:u.posPre+d+u.posSuf,n===$.Currency&&null!==r?(a.str=d.replace(Gt,r).replace(Gt,""),a):n===$.Percent?(a.str=d.replace(new RegExp(Kt,"g"),s(e,nt.PercentSign)),a):(a.str=d,a)}function F(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function L(t,e,n,i,r,o,a){if(void 0===o&&(o=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw C(t,n);var s,l,c;if(i!==$.Currency&&(s=1,l=0,c=3),r){var u=r.match(Vt);if(null===u)throw new Error(r+" is not a valid digit info for number pipes");null!=u[1]&&(s=F(u[1])),null!=u[3]&&(l=F(u[3])),null!=u[5]&&(c=F(u[5]))}return jt.format(n,e,i,{minimumIntegerDigits:s,minimumFractionDigits:l,maximumFractionDigits:c,currency:o,currencyAsSymbol:a})}function B(t){return null==t||""===t||t!=t}n.d(e,"k",function(){return at}),n.d(e,"l",function(){return ot}),n.d(e,"x",function(){return h}),n.d(e,"b",function(){return de}),n.d(e,"h",function(){return st}),n.d(e,"i",function(){return ut}),n.d(e,"j",function(){return dt}),n.d(e,"m",function(){return vt}),n.d(e,"n",function(){return mt}),n.d(e,"o",function(){return gt}),n.d(e,"p",function(){return _t}),n.d(e,"c",function(){return fe}),n.d(e,"d",function(){return Dt}),n.d(e,"s",function(){return ue}),n.d(e,"u",function(){return ne}),n.d(e,"t",function(){return ee}),n.d(e,"v",function(){return me}),n.d(e,"r",function(){return H}),n.d(e,"g",function(){return U}),n.d(e,"a",function(){return W}),n.d(e,"e",function(){return q}),n.d(e,"q",function(){return G}),n.d(e,"f",function(){return Y}),n.d(e,"w",function(){return rt});var V=n(0),z=n(1),H=function(){return function(){}}(),U=(new V.y("Location Initialized"),function(){return function(){}}()),W=new V.y("appBaseHref"),Y=function(){function t(e){var n=this;this._subject=new V.s,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(i(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,i(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t.decorators=[{type:V.x}],t.ctorParameters=function(){return[{type:U}]},t}(),q=function(t){function e(e,n){var i=t.call(this)||this;return i._platformLocation=e,i._baseHref="",null!=n&&(i._baseHref=n),i}return Object(z.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Y.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Y.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Y.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:V.x}],e.ctorParameters=function(){return[{type:H},{type:void 0,decorators:[{type:V.I},{type:V.w,args:[W]}]}]},e}(U),G=function(t){function e(e,n){var i=t.call(this)||this;if(i._platformLocation=e,null==n&&(n=i._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=n,i}return Object(z.b)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Y.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Y.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Y.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+Y.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.decorators=[{type:V.x}],e.ctorParameters=function(){return[{type:H},{type:void 0,decorators:[{type:V.I},{type:V.w,args:[W]}]}]},e}(U),K={AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"৳"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"р."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN¥","¥"],COP:[,"$"],CRC:[,"₡"],CUC:[,"$"],CUP:[,"$"],CZK:[,"Kč"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E£"],ESP:[,"₧"],EUR:["€"],FJD:[,"$"],FKP:[,"£"],GBP:["£"],GEL:[,"₾"],GIP:[,"£"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["₪"],INR:["₹"],ISK:[,"kr"],JMD:[,"$"],JPY:["¥"],KHR:[,"៛"],KMF:[,"CF"],KPW:[,"₩"],KRW:["₩"],KYD:[,"$"],KZT:[,"₸"],LAK:[,"₭"],LBP:[,"L£"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"₮"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"₦"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"₱"],PKR:[,"Rs"],PLN:[,"zł"],PYG:[,"₲"],RON:[,"lei"],RUB:[,"₽"],RUR:[,"р."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"£"],SRD:[,"$"],SSP:[,"£"],STD:[,"Db"],SYP:[,"£"],THB:[,"฿"],TOP:[,"T$"],TRY:[,"₺"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"₴"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["₫"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]},X=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Z={},$={Decimal:0,Percent:1,Currency:2,Scientific:3};$[$.Decimal]="Decimal",$[$.Percent]="Percent",$[$.Currency]="Currency",$[$.Scientific]="Scientific";var J={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};J[J.Zero]="Zero",J[J.One]="One",J[J.Two]="Two",J[J.Few]="Few",J[J.Many]="Many",J[J.Other]="Other";var Q={Format:0,Standalone:1};Q[Q.Format]="Format",Q[Q.Standalone]="Standalone";var tt={Narrow:0,Abbreviated:1,Wide:2,Short:3};tt[tt.Narrow]="Narrow",tt[tt.Abbreviated]="Abbreviated",tt[tt.Wide]="Wide",tt[tt.Short]="Short";var et={Short:0,Medium:1,Long:2,Full:3};et[et.Short]="Short",et[et.Medium]="Medium",et[et.Long]="Long",et[et.Full]="Full";var nt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};nt[nt.Decimal]="Decimal",nt[nt.Group]="Group",nt[nt.List]="List",nt[nt.PercentSign]="PercentSign",nt[nt.PlusSign]="PlusSign",nt[nt.MinusSign]="MinusSign",nt[nt.Exponential]="Exponential",nt[nt.SuperscriptingExponent]="SuperscriptingExponent",nt[nt.PerMille]="PerMille",nt[nt.Infinity]="Infinity",nt[nt.NaN]="NaN",nt[nt.TimeSeparator]="TimeSeparator",nt[nt.CurrencyDecimal]="CurrencyDecimal",nt[nt.CurrencyGroup]="CurrencyGroup";var it={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};it[it.Sunday]="Sunday",it[it.Monday]="Monday",it[it.Tuesday]="Tuesday",it[it.Wednesday]="Wednesday",it[it.Thursday]="Thursday",it[it.Friday]="Friday",it[it.Saturday]="Saturday";var rt=new V.y("UseV4Plurals"),ot=function(){return function(){}}(),at=function(t){function e(e,n){var i=t.call(this)||this;return i.locale=e,i.deprecatedPluralFn=n,i}return Object(z.b)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return p(t)[17]}(e||this.locale)(t)){case J.Zero:return"zero";case J.One:return"one";case J.Two:return"two";case J.Few:return"few";case J.Many:return"many";default:return"other"}},e.decorators=[{type:V.x}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.w,args:[V.D]}]},{type:void 0,decorators:[{type:V.I},{type:V.w,args:[rt]}]}]},e}(ot),st=function(){function t(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(V._22)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(V._38)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(i){null!=t[i]&&n._toggleClass(i,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t.decorators=[{type:V.o,args:[{selector:"[ngClass]"}]}],t.ctorParameters=function(){return[{type:V.B},{type:V.C},{type:V.p},{type:V.P}]},t.propDecorators={klass:[{type:V.A,args:["class"]}],ngClass:[{type:V.A}]},t}(),lt=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(V.F);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var i=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(V.l)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t.decorators=[{type:V.o,args:[{selector:"[ngComponentOutlet]"}]}],t.ctorParameters=function(){return[{type:V._1}]},t.propDecorators={ngComponentOutlet:[{type:V.A}],ngComponentOutletInjector:[{type:V.A}],ngComponentOutletContent:[{type:V.A}],ngComponentOutletNgModuleFactory:[{type:V.A}]},t}(),ct=function(){function t(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),ut=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(V._8)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function(t){return t.name||typeof t}(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,i,r){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new ct(null,e.ngForOf,-1,-1),r),a=new pt(t,o);n.push(a)}else if(null==r)e._viewContainer.remove(i);else{o=e._viewContainer.get(i);e._viewContainer.move(o,r);a=new pt(t,o);n.push(a)}});for(var i=0;i=0&&n<=1?J.One:J.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===r||1===n?J.One:J.Other;case"ar":return 0===n?J.Zero:1===n?J.One:2===n?J.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?J.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?J.Many:J.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===r&&0===o?J.One:J.Other;case"be":return n%10==1&&n%100!=11?J.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?J.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?J.Many:J.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?J.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?J.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?J.Few:0!==n&&n%1e6==0?J.Many:J.Other;case"bs":case"hr":case"sr":return 0===o&&r%10==1&&r%100!=11||a%10==1&&a%100!=11?J.One:0===o&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?J.Few:J.Other;case"cs":case"sk":return 1===r&&0===o?J.One:r===Math.floor(r)&&r>=2&&r<=4&&0===o?J.Few:0!==o?J.Many:J.Other;case"cy":return 0===n?J.Zero:1===n?J.One:2===n?J.Two:3===n?J.Few:6===n?J.Many:J.Other;case"da":return 1===n||0!==s&&(0===r||1===r)?J.One:J.Other;case"dsb":case"hsb":return 0===o&&r%100==1||a%100==1?J.One:0===o&&r%100==2||a%100==2?J.Two:0===o&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?J.Few:J.Other;case"ff":case"fr":case"hy":case"kab":return 0===r||1===r?J.One:J.Other;case"fil":return 0===o&&(1===r||2===r||3===r)||0===o&&r%10!=4&&r%10!=6&&r%10!=9||0!==o&&a%10!=4&&a%10!=6&&a%10!=9?J.One:J.Other;case"ga":return 1===n?J.One:2===n?J.Two:n===Math.floor(n)&&n>=3&&n<=6?J.Few:n===Math.floor(n)&&n>=7&&n<=10?J.Many:J.Other;case"gd":return 1===n||11===n?J.One:2===n||12===n?J.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?J.Few:J.Other;case"gv":return 0===o&&r%10==1?J.One:0===o&&r%10==2?J.Two:0!==o||r%100!=0&&r%100!=20&&r%100!=40&&r%100!=60&&r%100!=80?0!==o?J.Many:J.Other:J.Few;case"he":return 1===r&&0===o?J.One:2===r&&0===o?J.Two:0!==o||n>=0&&n<=10||n%10!=0?J.Other:J.Many;case"is":return 0===s&&r%10==1&&r%100!=11||0!==s?J.One:J.Other;case"ksh":return 0===n?J.Zero:1===n?J.One:J.Other;case"kw":case"naq":case"se":case"smn":return 1===n?J.One:2===n?J.Two:J.Other;case"lag":return 0===n?J.Zero:0!==r&&1!==r||0===n?J.Other:J.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?J.Few:0!==a?J.Many:J.Other:J.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?J.Zero:n%10==1&&n%100!=11||2===o&&a%10==1&&a%100!=11||2!==o&&a%10==1?J.One:J.Other;case"mk":return 0===o&&r%10==1||a%10==1?J.One:J.Other;case"mt":return 1===n?J.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?J.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?J.Many:J.Other;case"pl":return 1===r&&0===o?J.One:0===o&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?J.Few:0===o&&1!==r&&r%10===Math.floor(r%10)&&r%10>=0&&r%10<=1||0===o&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===o&&r%100===Math.floor(r%100)&&r%100>=12&&r%100<=14?J.Many:J.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?J.One:J.Other;case"ro":return 1===r&&0===o?J.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?J.Few:J.Other;case"ru":case"uk":return 0===o&&r%10==1&&r%100!=11?J.One:0===o&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?J.Few:0===o&&r%10==0||0===o&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===o&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=14?J.Many:J.Other;case"shi":return 0===r||1===n?J.One:n===Math.floor(n)&&n>=2&&n<=10?J.Few:J.Other;case"si":return 0===n||1===n||0===r&&1===a?J.One:J.Other;case"sl":return 0===o&&r%100==1?J.One:0===o&&r%100==2?J.Two:0===o&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||0!==o?J.Few:J.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?J.One:J.Other;default:return J.Other}},fe=(function(){function t(){}t.decorators=[{type:V.E,args:[{declarations:[Xt],exports:[Xt],providers:[{provide:rt,useValue:he}]}]}],t.ctorParameters=function(){return[]}}(),new V.y("DocumentToken")),me="browser";new V.Y("5.0.3")},function(t,e,n){"use strict";var i=n(0),r=n(59),o=function(){function t(){this.data={}}return t.prototype.parseUrl=function(t){if(t){var e=t.indexOf("?");if(e>-1)for(var n=t.slice(e+1).split("&"),i=0;i0){var r=n[i].split("=");r.length>1&&(this.data[r[0].toLowerCase()]=r[1].split("#")[0])}}},t.prototype.get=function(t){return this.data[t.toLowerCase()]},t}(),a=n(10);n.d(e,"a",function(){return s}),e.b=function(t,e,n){var i=new s;i.setDefault("core"),i.setPlatformConfigs(e),i.setZone(n);var r=t.documentElement;i.setDocument(t);var o=r.dir;i.setDir("rtl"===o?"rtl":"ltr",!o),i.setLang(r.lang,!1),i.setCssProps(r);var a=t.defaultView;return i.setWindow(a),i.setNavigatorPlatform(a.navigator.platform),i.setUserAgent(a.navigator.userAgent),i.setQueryParams(a.location.href),i.init(),a.Ionic=a.Ionic||{},a.Ionic.platform=i,i};var s=function(){function t(){var t=this;this._versions={},this._qp=new o,this._bbActions=[],this._pW=0,this._pH=0,this._lW=0,this._lH=0,this._isPortrait=null,this._uiEvtOpts=!1,this._platforms=[],this.backButton=new i.s,this.pause=new i.s,this.resume=new i.s,this.resize=new i.s,this._readyPromise=new Promise(function(e){t._readyResolve=e}),this.backButton.subscribe(function(){t.runBackButtonAction()})}return t.prototype.setWindow=function(t){this._win=t},t.prototype.win=function(){return this._win},t.prototype.setDocument=function(t){this._doc=t},t.prototype.doc=function(){return this._doc},t.prototype.setZone=function(t){this.zone=t},t.prototype.setCssProps=function(t){this.Css=Object(r.c)(t)},t.prototype.is=function(t){return this._platforms.indexOf(t)>-1},t.prototype.platforms=function(){return this._platforms},t.prototype.versions=function(){return this._versions},t.prototype.version=function(){for(var t in this._versions)if(this._versions[t])return this._versions[t];return{}},t.prototype.ready=function(){return this._readyPromise},t.prototype.triggerReady=function(t){var e=this;this.zone.run(function(){e._readyResolve(t)})},t.prototype.prepareReady=function(){function t(){e._doc.removeEventListener("DOMContentLoaded",t,!1),e._win.removeEventListener("load",t,!1),e.triggerReady("dom")}var e=this;"complete"===e._doc.readyState||"interactive"===e._doc.readyState?e.triggerReady("dom"):(e._doc.addEventListener("DOMContentLoaded",t,!1),e._win.addEventListener("load",t,!1))},t.prototype.setDir=function(t,e){this._dir=t,this.isRTL="rtl"===t,!1!==e&&this._doc.documentElement.setAttribute("dir",t)},t.prototype.dir=function(){return this._dir},t.prototype.setLang=function(t,e){this._lang=t,!1!==e&&this._doc.documentElement.setAttribute("lang",t)},t.prototype.lang=function(){return this._lang},t.prototype.exitApp=function(){},t.prototype.registerBackButtonAction=function(t,e){var n=this;void 0===e&&(e=0);var i={fn:t,priority:e};return this._bbActions.push(i),function(){Object(a.q)(n._bbActions,i)}},t.prototype.runBackButtonAction=function(){var t=null;this._bbActions.forEach(function(e){(!t||e.priority>=t.priority)&&(t=e)}),t&&t.fn&&t.fn()},t.prototype.setUserAgent=function(t){this._ua=t},t.prototype.setQueryParams=function(t){this._qp.parseUrl(t)},t.prototype.getQueryParam=function(t){return this._qp.get(t)},t.prototype.url=function(){return this._win.location.href},t.prototype.userAgent=function(){return this._ua||""},t.prototype.setNavigatorPlatform=function(t){this._nPlt=t},t.prototype.navigatorPlatform=function(){return this._nPlt||""},t.prototype.width=function(){return this._calcDim(),this._isPortrait?this._pW:this._lW},t.prototype.height=function(){return this._calcDim(),this._isPortrait?this._pH:this._lH},t.prototype.getElementComputedStyle=function(t,e){return this._win.getComputedStyle(t,e)},t.prototype.getElementFromPoint=function(t,e){return this._doc.elementFromPoint(t,e)},t.prototype.getElementBoundingClientRect=function(t){return t.getBoundingClientRect()},t.prototype.isPortrait=function(){return this._calcDim(),this._isPortrait},t.prototype.isLandscape=function(){return!this.isPortrait()},t.prototype._calcDim=function(){if(null===this._isPortrait||!1===this._isPortrait&&this._win.innerWidth0&&t.screen.height>0&&(e-1},t.prototype.testNavigatorPlatform=function(t){return new RegExp(t,"i").test(this._nPlt)},t.prototype.matchUserAgentVersion=function(t){if(this._ua&&t){var e=this._ua.match(t);if(e)return{major:e[1],minor:e[2]}}},t.prototype.testUserAgent=function(t){return!!this._ua&&this._ua.indexOf(t)>=0},t.prototype.isPlatformMatch=function(t,e,n){void 0===n&&(n=[]);var i=this._qp.get("ionicplatform");if(i)return this.testQuery(i,t);e=e||[t];for(var r=this._ua.toLowerCase(),o=0;o-1){for(var a=0;a-1)return!1;return!0}return!1},t.prototype.init=function(){this._initEvents();var t,e,n;for(var i in this._registry)(n=this.matchPlatform(i))&&(n.isEngine?e=n:(!t||n.depth>t.depth)&&(t=n));if(t||(t=new l(this._registry,this._default)),t){e&&(e.child=t,t.parent=e,t=e);for(var r=t;r;)!function(t,e){var n=e.superset();if(n){var i=new l(t,n);i.parent=e.parent,i.child=e,i.parent&&(i.parent.child=i),e.parent=i}}(this._registry,r),r=r.child;for(r=t.parent;r;)t=r,r=r.parent;for(r=t;r;){if(r.initialize(this),"iphone"===r.name&&"iPad"===this.navigatorPlatform())return this._platforms.push("tablet"),void this._platforms.push("ipad");this._platforms.push(r.name),this._versions[r.name]=r.version(this),r=r.child}}this._platforms.indexOf("mobile")>-1&&-1===this._platforms.indexOf("cordova")&&this._platforms.push("mobileweb")},t.prototype.matchPlatform=function(t){var e=new l(this._registry,t).getRoot(this);if(e){e.depth=0;for(var n=e.child;n;)e.depth++,n=n.child}return e},t}(),l=function(){function t(t,e){this.registry=t,this.c=t[e],this.name=e,this.isEngine=this.c.isEngine}return t.prototype.settings=function(){return this.c.settings||{}},t.prototype.superset=function(){return this.c.superset},t.prototype.isMatch=function(t){return this.c.isMatch&&this.c.isMatch(t)||!1},t.prototype.initialize=function(t){this.c.initialize&&this.c.initialize(t)},t.prototype.version=function(t){if(this.c.versionParser){var e=this.c.versionParser(t);if(e){var n=e.major+"."+e.minor;return{str:n,num:parseFloat(n),major:parseInt(e.major,10),minor:parseInt(e.minor,10)}}}},t.prototype.getRoot=function(e){if(this.isMatch(e)){var n=this.getSubsetParents(this.name);if(!n.length)return this;for(var i=null,r=null,o=0;o-1&&e.push(i);return e},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),e.b=function(t){return!!(t&&t._didLoad&&t._willUnload)};var i=n(0),r=n(10),o=n(97),a=n(12),s=function(){function t(t,e,n){void 0===n&&(n=l),this.component=t,this._isHidden=!1,this._state=o.h,this.willEnter=new i.s,this.didEnter=new i.s,this.willLeave=new i.s,this.didLeave=new i.s,this.willUnload=new i.s,this.readReady=new i.s,this.writeReady=new i.s,this.isOverlay=!1,this._emitter=new i.s,this.data=e instanceof a.a?e.data:Object(r.l)(e)?e:{},this._cssClass=n,this._ts=Date.now(),window.addEventListener("orientationchange",this.handleOrientationChange.bind(this))}return t.prototype.handleOrientationChange=function(){this.getContent()&&this.getContent().resize()},t.prototype.init=function(t){this._ts=Date.now(),this._cmp=t,this.instance=this.instance||t.instance,this._detached=!1},t.prototype._setNav=function(t){this._nav=t},t.prototype._setInstance=function(t){this.instance=t},t.prototype.subscribe=function(t){return this._emitter.subscribe(t)},t.prototype.emit=function(t){this._emitter.emit(t)},t.prototype.onDidDismiss=function(t){this._onDidDismiss=t},t.prototype.onWillDismiss=function(t){this._onWillDismiss=t},t.prototype.dismiss=function(t,e,n){if(void 0===n&&(n={}),!this._nav)return Promise.resolve(!1);this.isOverlay&&!n.minClickBlockDuration&&(n.minClickBlockDuration=400),this._dismissData=t,this._dismissRole=e;var i=Object.assign({},this._leavingOpts,n);return this._nav.removeView(this,i).then(function(){return t})},t.prototype.getNav=function(){return this._nav},t.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("pageTransition")},t.prototype.getNavParams=function(){return new a.a(this.data)},t.prototype.setLeavingOpts=function(t){this._leavingOpts=t},t.prototype.enableBack=function(){if(!this._nav)return!1;return!!this._nav.getPrevious(this)},Object.defineProperty(t.prototype,"name",{get:function(){return this.component?this.component.name:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this._nav?this._nav.indexOf(this):-1},enumerable:!0,configurable:!0}),t.prototype.isFirst=function(){return!!this._nav&&this._nav.first()===this},t.prototype.isLast=function(){return!!this._nav&&this._nav.last()===this},t.prototype._domShow=function(t,e){if(this._cmp&&t===this._isHidden){this._isHidden=!t;var n=t?null:"";e.setElementAttribute(this.pageRef().nativeElement,"hidden",n)}},t.prototype.getZIndex=function(){return this._zIndex},t.prototype._setZIndex=function(t,e){if(t!==this._zIndex){this._zIndex=t;var n=this.pageRef();n&&e.setElementStyle(n.nativeElement,"z-index",t)}},t.prototype.pageRef=function(){return this._cmp&&this._cmp.location},t.prototype._setContent=function(t){this._cntDir=t},t.prototype.getContent=function(){return this._cntDir},t.prototype._setContentRef=function(t){this._cntRef=t},t.prototype.contentRef=function(){return this._cntRef},t.prototype._setIONContent=function(t){this._setContent(t),this._ionCntDir=t},t.prototype.getIONContent=function(){return this._ionCntDir},t.prototype._setIONContentRef=function(t){this._setContentRef(t),this._ionCntRef=t},t.prototype.getIONContentRef=function(){return this._ionCntRef},t.prototype._setHeader=function(t){this._hdrDir=t},t.prototype.getHeader=function(){return this._hdrDir},t.prototype._setFooter=function(t){this._ftrDir=t},t.prototype.getFooter=function(){return this._ftrDir},t.prototype._setNavbar=function(t){this._nb=t},t.prototype.getNavbar=function(){return this._nb},t.prototype.hasNavbar=function(){return!!this._nb},t.prototype.setBackButtonText=function(t){this._nb&&this._nb.setBackButtonText(t)},t.prototype.showBackButton=function(t){this._nb&&(this._nb.hideBackButton=!t)},t.prototype._preLoad=function(){this._lifecycle("PreLoad")},t.prototype._willLoad=function(){this._lifecycle("WillLoad")},t.prototype._didLoad=function(){this._lifecycle("DidLoad")},t.prototype._willEnter=function(){this.handleOrientationChange(),this._detached&&this._cmp&&(this._cmp.changeDetectorRef.reattach(),this._detached=!1),this.willEnter.emit(null),this._lifecycle("WillEnter")},t.prototype._didEnter=function(){this._nb&&this._nb.didEnter(),this.didEnter.emit(null),this._lifecycle("DidEnter")},t.prototype._willLeave=function(t){this.willLeave.emit(null),this._lifecycle("WillLeave"),t&&this._onWillDismiss&&(this._onWillDismiss(this._dismissData,this._dismissRole),this._onWillDismiss=null)},t.prototype._didLeave=function(){this.didLeave.emit(null),this._lifecycle("DidLeave"),!this._detached&&this._cmp&&(this._cmp.changeDetectorRef.detach(),this._detached=!0)},t.prototype._willUnload=function(){this.willUnload.emit(null),this._lifecycle("WillUnload"),this._onDidDismiss&&this._onDidDismiss(this._dismissData,this._dismissRole),this._onDidDismiss=null,this._dismissData=null,this._dismissRole=null},t.prototype._destroy=function(t){if(this._cmp){if(t){var e=this._cmp.location.nativeElement;t.setElementAttribute(e,"class",null),t.setElementAttribute(e,"style",null)}window.removeEventListener("orientationchange",this.handleOrientationChange.bind(this)),this._cmp.destroy()}this._nav=this._cmp=this.instance=this._cntDir=this._cntRef=this._leavingOpts=this._hdrDir=this._ftrDir=this._nb=this._onDidDismiss=this._onWillDismiss=null,this._state=o.f},t.prototype._lifecycleTest=function(t){var e=this.instance,n="ionViewCan"+t;if(e&&e[n])try{var i=e[n]();return i instanceof Promise?i:Promise.resolve(!1!==i)}catch(t){return Promise.reject(this.name+" "+n+" error: "+t.message)}return Promise.resolve(!0)},t.prototype._lifecycle=function(t){var e=this.instance,n="ionView"+t;e&&e[n]&&e[n]()},t.propDecorators={_emitter:[{type:i.J}]},t}(),l="ion-page"},function(t,e,n){"use strict";function i(t){return function(t){function e(){for(var e=[],n=0;n0?n:t},t}(),O=new u.y("mat-date-formats"),E="undefined"!=typeof Intl,A={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},P=l(31,function(t){return String(t+1)}),T={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},I=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,D=function(t){function e(e){var n=t.call(this)||this;t.prototype.setLocale.call(n,e);var i="object"==typeof document&&!!document,r=i&&/(msie|trident)/i.test(navigator.userAgent);return n.useUtcForDisplay=!r,n._clampDate=r||i&&/(edge)/i.test(navigator.userAgent),n}return Object(d.b)(e,t),e.prototype.getYear=function(t){return t.getFullYear()},e.prototype.getMonth=function(t){return t.getMonth()},e.prototype.getDate=function(t){return t.getDate()},e.prototype.getDayOfWeek=function(t){return t.getDay()},e.prototype.getMonthNames=function(t){var e=this;if(E){var n=new Intl.DateTimeFormat(this.locale,{month:t});return l(12,function(t){return e._stripDirectionalityCharacters(n.format(new Date(2017,t,1)))})}return A[t]},e.prototype.getDateNames=function(){var t=this;if(E){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric"});return l(31,function(n){return t._stripDirectionalityCharacters(e.format(new Date(2017,0,n+1)))})}return P},e.prototype.getDayOfWeekNames=function(t){var e=this;if(E){var n=new Intl.DateTimeFormat(this.locale,{weekday:t});return l(7,function(t){return e._stripDirectionalityCharacters(n.format(new Date(2017,0,t+1)))})}return T[t]},e.prototype.getYearName=function(t){if(E){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric"});return this._stripDirectionalityCharacters(e.format(t))}return String(this.getYear(t))},e.prototype.getFirstDayOfWeek=function(){return 0},e.prototype.getNumDaysInMonth=function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))},e.prototype.clone=function(t){return this.createDate(this.getYear(t),this.getMonth(t),this.getDate(t))},e.prototype.createDate=function(t,e,n){if(e<0||e>11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(n<1)throw Error('Invalid date "'+n+'". Date has to be greater than 0.');var i=this._createDateWithOverflow(t,e,n);if(i.getMonth()!=e)throw Error('Invalid date "'+n+'" for month with index "'+e+'".');return i},e.prototype.today=function(){return new Date},e.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},e.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(E){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),this.useUtcForDisplay&&(t=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())),e=Object(d.a)({},e,{timeZone:"utc"}));var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(n.format(t))}return this._stripDirectionalityCharacters(t.toDateString())},e.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},e.prototype.addCalendarMonths=function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n},e.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},e.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},e.prototype.deserialize=function(e){if("string"==typeof e){if(!e)return null;if(I.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return t.prototype.deserialize.call(this,e)},e.prototype.isDateInstance=function(t){return t instanceof Date},e.prototype.isValid=function(t){return!isNaN(t.getTime())},e.prototype.invalid=function(){return new Date(NaN)},e.prototype._createDateWithOverflow=function(t,e,n){var i=new Date(t,e,n);return t>=0&&t<100&&i.setFullYear(this.getYear(i)-1900),i},e.prototype._2digit=function(t){return("00"+t).slice(-2)},e.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},e.decorators=[{type:u.x}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:u.I},{type:u.w,args:[C]}]}]},e}(S),j={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},R=function(){function t(){}return t.decorators=[{type:u.E,args:[{providers:[{provide:S,useClass:D},k]}]}],t.ctorParameters=function(){return[]},t}(),M=j,N=function(){function t(){}return t.decorators=[{type:u.E,args:[{imports:[R],providers:[{provide:O,useValue:M}]}]}],t.ctorParameters=function(){return[]},t}(),F=(function(){function t(){}t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.dirty||e&&e.submitted))},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[]}}(),function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[]},t}()),L=new u.y("MAT_HAMMER_OPTIONS"),B=function(t){function e(e,n){var i=t.call(this)||this;return i._hammerOptions=e,i._hammer="undefined"!=typeof window?window.Hammer:null,i.events=i._hammer?["longpress","slide","slidestart","slideend","slideright","slideleft"]:[],n&&n._checkHammerIsAvailable(),i}return Object(d.b)(e,t),e.prototype.buildHammer=function(t){var e=new this._hammer(t,this._hammerOptions||void 0),n=new this._hammer.Pan,i=new this._hammer.Swipe,r=new this._hammer.Press,o=this._createRecognizer(n,{event:"slide",threshold:0},i),a=this._createRecognizer(r,{event:"longpress",time:500});return n.recognizeWith(i),e.add([i,r,n,o,a]),e},e.prototype._createRecognizer=function(t,e){for(var n=[],i=2;i3&&this._setClass("mat-multi-line",!0)},t.prototype._resetClasses=function(){this._setClass("mat-2-line",!1),this._setClass("mat-3-line",!1),this._setClass("mat-multi-line",!1)},t.prototype._setClass=function(t,e){e?this._element.nativeElement.classList.add(t):this._element.nativeElement.classList.remove(t)},t}(),H=function(){function t(){}return t.decorators=[{type:u.E,args:[{imports:[x],exports:[V,x],declarations:[V]}]}],t.ctorParameters=function(){return[]},t}(),U={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};U[U.FADING_IN]="FADING_IN",U[U.VISIBLE]="VISIBLE",U[U.FADING_OUT]="FADING_OUT",U[U.HIDDEN]="HIDDEN";var W=function(){function t(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=U.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),Y=800,q=function(){function t(t,e,n,i){var r=this;this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._eventOptions=!!Object(_.d)()&&{passive:!0},this.onMousedown=function(t){var e=r._lastTouchStartEvent&&Date.now(){{ label }}',encapsulation:u._2.None,preserveWhitespaces:!1,changeDetection:u.h.OnPush,inputs:["disabled"],styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],host:{class:"mat-optgroup",role:"group","[class.mat-optgroup-disabled]":"disabled","[attr.aria-disabled]":"disabled.toString()","[attr.aria-labelledby]":"_labelId"}}]}],e.ctorParameters=function(){return[]},e.propDecorators={label:[{type:u.A}]},e}(i(function(){return function(){}}())),tt=0,et=function(){return function(t,e){void 0===e&&(e=!1),this.source=t,this.isUserInput=e}}(),nt=new u.y("MAT_OPTION_PARENT_COMPONENT"),it=function(){function t(t,e,n,i){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._id="mat-option-"+tt++,this._mostRecentViewValue="",this.onSelectionChange=new u.s,this._stateChanges=new f.Subject}return Object.defineProperty(t.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=Object(h.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),t.prototype.select=function(){this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},t.prototype.deselect=function(){this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},t.prototype.focus=function(){var t=this._getHostElement();"function"==typeof t.focus&&t.focus()},t.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},t.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},t.prototype.getLabel=function(){return this.viewValue},t.prototype._handleKeydown=function(t){t.keyCode!==y.f&&t.keyCode!==y.n||(this._selectViaInteraction(),t.preventDefault())},t.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},t.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},t.prototype._getHostElement=function(){return this._element.nativeElement},t.prototype.ngAfterViewChecked=function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}},t.prototype._emitSelectionChangeEvent=function(t){void 0===t&&(t=!1),this.onSelectionChange.emit(new et(this,t))},t.countGroupLabelsBeforeOption=function(t,e,n){if(n.length){for(var i=e.toArray(),r=n.toArray(),o=0,a=0;a
',encapsulation:u._2.None,preserveWhitespaces:!1,changeDetection:u.h.OnPush}]}],t.ctorParameters=function(){return[{type:u.p},{type:u.i},{type:void 0,decorators:[{type:u.I},{type:u.w,args:[nt]}]},{type:Q,decorators:[{type:u.I}]}]},t.propDecorators={value:[{type:u.A}],disabled:[{type:u.A}],onSelectionChange:[{type:u.J}]},t}(),rt=function(){function t(){}return t.decorators=[{type:u.E,args:[{imports:[X,g.b,$],exports:[it,Q],declarations:[it,Q]}]}],t.ctorParameters=function(){return[]},t}(),ot=new u.y("mat-label-global-options")},function(t,e,n){"use strict";function i(t,e){if(t.id===e||t.name===e)return t;for(var n=0,r=t.getAllChildNavs();n1||t._isPortal&&e>0?t:r(t.parent)}function o(t){var e=[],n=t.getActiveChildNavs();return n&&n.length?n.forEach(function(t){var n=o(t);e=e.concat(n)}):e.push(t),e}var a=n(0),s=n(58),l=n(141),c=n(2),u=n(97),p=n(22),d=n(5),h=n(69),f=n(10),m=n(118),g=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_="opacity",y="translateX",b="show-back-button",v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return g(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=e.isRTL?"-99.5%":"99.5%",i=e.isRTL?"33%":"-33%",r=this.enteringView,o=this.leavingView,a=this.opts;this.duration(Object(f.l)(a.duration)?a.duration:500),this.easing(Object(f.l)(a.easing)?a.easing:"cubic-bezier(0.36,0.66,0.04,1)");var s="back"===a.direction,l=r&&r.hasNavbar(),c=o&&o.hasNavbar();if(r){var u=r.pageRef().nativeElement,p=new h.a(e,r.contentRef());if(p.element(u.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(p),s?p.fromTo(y,i,"0%",!0).fromTo(_,.8,1,!0):p.beforeClearStyles([_]).fromTo(y,n,"0%",!0),l){var d=u.querySelector("ion-navbar"),m=new h.a(e,d);this.add(m);var g=new h.a(e,d.querySelector("ion-title")),v=new h.a(e,d.querySelectorAll("ion-buttons,[menuToggle]")),w=new h.a(e,d.querySelector(".toolbar-background")),x=new h.a(e,d.querySelector(".back-button"));if(m.add(g).add(v).add(w).add(x),g.fromTo(_,.01,1,!0),v.fromTo(_,.01,1,!0),s)g.fromTo(y,i,"0%",!0),r.enableBack()&&x.beforeAddClass(b).fromTo(_,.01,1,!0);else if(g.fromTo(y,n,"0%",!0),w.beforeClearStyles([_]).fromTo(y,n,"0%",!0),r.enableBack()){x.beforeAddClass(b).fromTo(_,.01,1,!0);var C=new h.a(e,d.querySelector(".back-button-text"));C.fromTo(y,e.isRTL?"-100px":"100px","0px"),m.add(C)}else x.beforeRemoveClass(b)}}if(o&&o.pageRef()){var k=o.pageRef().nativeElement,S=new h.a(e,o.contentRef());if(S.element(k.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(S),s?S.beforeClearStyles([_]).fromTo(y,"0%",e.isRTL?"-100%":"100%"):S.fromTo(y,"0%",i).fromTo(_,1,.8).afterClearStyles(["transform",_]),c){var O=k.querySelector("ion-navbar"),E=new h.a(e,O),A=new h.a(e,O.querySelector("ion-title")),P=new h.a(e,O.querySelectorAll("ion-buttons,[menuToggle]")),T=new h.a(e,O.querySelector(".toolbar-background")),I=new h.a(e,O.querySelector(".back-button"));if(E.add(A).add(P).add(I).add(T),this.add(E),I.fromTo(_,.99,0),A.fromTo(_,.99,0),P.fromTo(_,.99,0),s){A.fromTo(y,"0%",e.isRTL?"-100%":"100%"),T.beforeClearStyles([_]).fromTo(y,"0%",e.isRTL?"-100%":"100%");var D=new h.a(e,O.querySelector(".back-button-text"));D.fromTo(y,"0%",(e.isRTL?-300:300)+"px"),E.add(D)}else A.fromTo(y,"0%",i).afterClearStyles(["transform"]),I.afterClearStyles([_]),A.afterClearStyles([_]),P.afterClearStyles([_])}}},e}(m.a),w=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),x="show-back-button",C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=this.enteringView,i=this.leavingView,r=this.opts,o="back"===r.direction;if(n&&(o?this.duration(Object(f.l)(r.duration)?r.duration:200).easing("cubic-bezier(0.47,0,0.745,0.715)"):(this.duration(Object(f.l)(r.duration)?r.duration:280).easing("cubic-bezier(0.36,0.66,0.04,1)"),this.enteringPage.fromTo("translateY","40px","0px",!0).fromTo("opacity",.01,1,!0)),n.hasNavbar())){var a=n.pageRef().nativeElement.querySelector("ion-navbar"),s=new h.a(e,a);this.add(s);var l=new h.a(e,a.querySelector(".back-button"));this.add(l),n.enableBack()?l.beforeAddClass(x):l.beforeRemoveClass(x)}if(i&&o){this.duration(r.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var c=new h.a(e,i.pageRef());this.add(c.fromTo("translateY","0px","40px").fromTo("opacity",1,0))}},e}(m.a),k=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),S="show-back-button",O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=this.enteringView,i=this.leavingView,r=this.opts,o="back"===r.direction;if(n&&(o?(this.duration(Object(f.l)(r.duration)?r.duration:120).easing("cubic-bezier(0.47,0,0.745,0.715)"),this.enteringPage.beforeClearStyles(["scale"])):(this.duration(Object(f.l)(r.duration)?r.duration:280).easing("cubic-bezier(0,0,0.05,1)"),this.enteringPage.fromTo("scale",.95,1,!0).fromTo("opacity",.01,1,!0)),n.hasNavbar())){var a=n.pageRef().nativeElement.querySelector("ion-navbar"),s=new h.a(e,a);this.add(s);var l=new h.a(e,a.querySelector(".back-button"));this.add(l),n.enableBack()?l.beforeAddClass(S):l.beforeRemoveClass(S)}if(i&&o){this.duration(r.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var c=new h.a(e,i.pageRef());this.add(c.fromTo("scale",1,.95).fromTo("opacity",.99,0))}},e}(m.a);n.d(e,"a",function(){return E});var E=function(){function t(t,e,n){this._config=t,this._plt=e,this._menuCtrl=n,this._disTime=0,this._scrollTime=0,this._title="",this._titleSrv=new s.i(s.b),this._rootNavs=new Map,this._didScroll=!1,this.viewDidLoad=new a.s,this.viewWillEnter=new a.s,this.viewDidEnter=new a.s,this.viewWillLeave=new a.s,this.viewDidLeave=new a.s,this.viewWillUnload=new a.s,e.registerBackButtonAction(this.goBack.bind(this)),this._disableScrollAssist=t.getBoolean("disableScrollAssist",!1);t.getBoolean("inputBlurring",!1)&&this._enableInputBlurring(),t.setTransition("ios-transition",v),t.setTransition("md-transition",C),t.setTransition("wp-transition",O)}return t.prototype.setTitle=function(t){t!==this._title&&(this._title=t,this._titleSrv.setTitle(t))},t.prototype.setElementClass=function(t,e){this._appRoot.setElementClass(t,e)},t.prototype.setEnabled=function(t,e,n){void 0===e&&(e=700),void 0===n&&(n=0),this._disTime=t?0:Date.now()+e,this._clickBlock&&(t?this._clickBlock.activate(!1,T,n):this._clickBlock.activate(!0,e+T,n))},t.prototype._setDisableScroll=function(t){this._disableScrollAssist&&this._appRoot._disableScroll(t)},t.prototype.isEnabled=function(){var t=this._disTime;return 0===t||t0)return o(e);if(!this._rootNavs||!this._rootNavs.size)return[];if(1===this._rootNavs.size)return o(this._rootNavs.values().next().value);if(t)return o(this._rootNavs.get(t));var n=[];return this._rootNavs.forEach(function(t){var e=o(t);n=n.concat(e)}),n},t.prototype.getRootNav=function(){console.warn("(getRootNav) is deprecated and will be removed in the next major release. Use getRootNavById instead.");var t=this.getRootNavs();return 0===t.length?null:(t.length>1&&console.warn("(getRootNav) there are multiple root navs, use getRootNavs instead"),t[0])},t.prototype.getRootNavs=function(){var t=[];return this._rootNavs.forEach(function(e){return t.push(e)}),t},t.prototype.getRootNavById=function(t){return this._rootNavs.get(t)},t.prototype.registerRootNav=function(t){this._rootNavs.set(t.id,t)},t.prototype.unregisterRootNav=function(t){this._rootNavs.delete(t.id)},t.prototype.getActiveNavContainers=function(){var t=[];return this._rootNavs.forEach(function(e){t=t.concat(o(e))}),t},t.prototype.present=function(t,e,n){var i=this._appRoot._getPortal(n);return t._setNav(i),e.direction=u.b,e.animation||(e.animation=t.getTransitionName(u.b)),t.setLeavingOpts({keyboardClose:e.keyboardClose,direction:u.a,animation:t.getTransitionName(u.a),ev:e.ev}),i.insertPages(-1,[t],e)},t.prototype.goBack=function(){if(this._menuCtrl&&this._menuCtrl.isOpen())return this._menuCtrl.close();var t=this.navPop();return t||this._config.getBoolean("navExitApp",!0)&&this._plt.exitApp(),t},t.prototype.navPop=function(){var t=this;if(!this._rootNavs||0===this._rootNavs.size||!this.isEnabled())return Promise.resolve();if(this._appRoot._getPortal(l.a).length()>0)return Promise.resolve();var e=null,n=null;return this._rootNavs.forEach(function(i){t.getActiveNavs(i.id).map(function(t){return r(t)}).filter(function(t){return!!t}).forEach(function(t){var i=t.last();(t._isPortal||i&&t.length()>1&&(!n||i._ts>=n._ts))&&(n=i,e=t)})}),e?e.pop():void 0},t.prototype._enableInputBlurring=function(){var t=!0,e=this,n=this._plt;n.registerListener(n.doc(),"focusin",function(){t=!0},{capture:!0,zone:!1,passive:!0}),n.registerListener(n.doc(),"touchend",function(i){if(e._didScroll)e._didScroll=!1;else{var r=e._plt.getActiveElement();if(r&&-1!==A.indexOf(r.tagName)){var o=i.target;o!==r&&(A.indexOf(o.tagName)>=0||o.classList.contains("input-cover")||(t=!1,n.timeout(function(){t||r.blur()},50)))}}},{capture:!1,zone:!1,passive:!0})},t.prototype.getNavByIdOrName=function(t){for(var e=0,n=Array.from(this._rootNavs.values());e=1;i--){var r=arguments[i];if(r)for(var o in r)r.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=r[o])}return t},e.n=i,e.j=r,e.i=function(t){return"function"==typeof t},e.h=function(t){return void 0!==t},e.p=function(t){return void 0===t},e.l=function(t){return void 0!==t&&null!==t},e.f=function(t){return void 0===t||null===t},e.k=function(t){return"object"==typeof t},e.e=function(t){return Array.isArray(t)},e.o=function(t){return"string"==typeof t?"true"===(t=t.toLowerCase().trim())||"on"===t||""===t:!!t},e.g=function(t,e){return void 0===t||null===t||""===t?void 0===e||null===e||""===e:!0===t||"true"===t?!0===e||"true"===e:!1===t||"false"===t?!1===e||"false"===e:0===t||"0"===t?0===e||"0"===e:t==e},e.m=function(t,e,n){switch(void 0===n&&(n=!1),t){case"right":return!0;case"left":return!1;case"end":return!e;case"start":return e;default:return n?!e:e}},e.r=function(t,e){var n=t[e.from];return t.splice(e.from,1),t.splice(e.to,0,n),t},e.q=function(t,e){var n=t.indexOf(e);return!!~n&&!!t.splice(n,1)},e.t=function(t,e,n){return!e&&n||t&&e},e.s=function(t){return"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,500)}},function(t,e,n){"use strict";function i(){if(null==o&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return o=!0}}))}finally{o=o||!1}return o}function r(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(u);var t=document.createElement("input");return a=new Set(u.filter(function(e){return t.setAttribute("type",e),t.type===e}))}n.d(e,"a",function(){return c}),n.d(e,"d",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"b",function(){return p});var o,a,s=n(0),l="undefined"!=typeof Intl&&Intl.v8BreakIterator,c=function(){function t(){this.isBrowser="object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!l)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return t.decorators=[{type:s.x}],t.ctorParameters=function(){return[]},t}(),u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"],p=function(){function t(){}return t.decorators=[{type:s.E,args:[{providers:[c]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){}}()},function(t,e,n){"use strict";function i(t){return function(t){return t}}var r=n(140),o=n(22),a=n(212),s=n(213),l=n(163),c=n(214),u=n(119),p=n(164),d=n(8),h=n(287),f=n(81),m=n(288),g=n(16),_=n(289),y=n(290),b=n(291),v=n(292),w=n(165),x=n(299),C=n(15),k=n(300),S=n(89),O=n(109),E=n(168),A=n(40),P=n(144),T=n(31),I=n(43),D=n(20),j=n(302),R=n(215),M=n(303),N=n(169),F=n(54),L=n(90),B=n(305),V=n(306),z=n(170),H=n(82),U=n(171),W=n(172),Y=n(108),q=n(85),G=n(216),K=n(307),X=n(217),Z=n(173),$=n(174),J=n(218),Q=n(38),tt=n(69),et=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),nt=function(){function t(t){this.ani=new tt.a(t),this.ani.easing("cubic-bezier(0.0, 0.0, 0.2, 1)").easingReverse("cubic-bezier(0.4, 0.0, 0.6, 1)").duration(280)}return t.prototype.setOpen=function(t,e,n){var i=this.ani.onFinish(n,!0,!0).reverse(!t);e?i.play():i.syncPlay()},t.prototype.setProgressStart=function(t){this.isOpening=!t,this.ani.reverse(t).progressStart()},t.prototype.setProgessStep=function(t){this.ani.progressStep(t)},t.prototype.setProgressEnd=function(t,e,n,i){var r=this,o=this.isOpening&&t;this.isOpening||t||(o=!0);var a=this.ani;a.onFinish(function(){r.isOpening=!1,i(o)},!0);var s=1-Math.min(Math.abs(n)/4,.7),l=a.getDuration()*s;a.progressEnd(t,e,l)},t.prototype.destroy=function(){this.ani.destroy(),this.ani=null},t}(),it=function(t){function e(e,n){var i=t.call(this,n)||this,r=e.width()*(e.isRightSide?-1:1)+"px",o=new tt.a(n,e.getContentElement());return o.fromTo("translateX","0px",r),i.ani.add(o),i}return et(e,t),e}(nt);o.a.registerType("reveal",it);var rt=function(t){function e(e,n){var i,r,o,a=t.call(this,n)||this,s=e.width();e.isRightSide?(i=-s+"px",r=s+"px",o="0px"):(i=s+"px",o="0px",r=-s+"px");var l=new tt.a(n,e.getMenuElement());l.fromTo("translateX",r,o),a.ani.add(l);var c=new tt.a(n,e.getContentElement());return c.fromTo("translateX","0px",i),a.ani.add(c),a}return et(e,t),e}(nt);o.a.registerType("push",rt);var ot=function(t){function e(e,n){var i,r,o=t.call(this,n)||this,a=e.width();e.isRightSide?(i=8+a+"px",r="0px"):(i=-(8+a)+"px",r="0px");var s=new tt.a(n,e.getMenuElement());s.fromTo("translateX",i,r),o.ani.add(s);var l=new tt.a(n,e.getBackdropElement());return l.fromTo("opacity",.01,.35),o.ani.add(l),o}return et(e,t),e}(nt);o.a.registerType("overlay",ot);var at=n(309),st=n(175),lt=n(176),ct=n(145),ut=n(221),pt=n(311),dt=n(222),ht=n(312),ft=n(313),mt=n(223),gt=n(301),_t=n(167),yt=n(143),bt=n(166),vt=n(224),wt=n(177),xt=n(225),Ct=n(178),kt=n(146),St=n(314),Ot=n(315),Et=n(110),At=n(121),Pt=n(179),Tt=n(102),It=n(147),Dt=n(111),jt=n(316),Rt=n(180),Mt=n(317),Nt=n(226),Ft=n(318),Lt=n(148),Bt=n(112),Vt=n(149),zt=n(101),Ht=n(320),Ut=n(321),Wt=n(228),Yt=n(227),qt=n(322),Gt=n(181),Kt=n(229),Xt=n(182),Zt=n(122),$t=n(25),Jt=n(23),Qt=n(35),te=n(29),ee=n(19),ne=n(323),ie=n(324),re=n(230),oe=n(231),ae=n(232),se=n(325),le=n(2),ce=n(9),ue=n(5),pe=n(84),de=n(64),he=n(13),fe=n(161),me=n(12),ge=(n(97),n(233)),_e=n(142),ye=n(6),be=n(162),ve=n(10),we=n(326),xe=function(){function t(t,e){void 0===e&&(e={}),this._callbacks={},this.isListening=!1,Object(ve.d)(e,{domEvents:!0}),this.element=t,this.direction=e.direction||"x",e.direction="x"===this.direction?we.a:we.b,this._options=e}return t.prototype.options=function(t){Object.assign(this._options,t)},t.prototype.on=function(t,e){"pinch"!==t&&"rotate"!==t||this._hammer.get(t).set({enable:!0}),this._hammer.on(t,e),(this._callbacks[t]||(this._callbacks[t]=[])).push(e)},t.prototype.off=function(t,e){this._hammer.off(t,this._callbacks[t]?e:null)},t.prototype.listen=function(){this.isListening||(this._hammer=Object(we.c)(this.element,this._options)),this.isListening=!0},t.prototype.unlisten=function(){var t,e;if(this._hammer&&this.isListening){for(t in this._callbacks)for(e=0;ee.top?1:0}function r(t){return t.indexOf("px")>0?parseInt(t,10):0}function o(t){return t>0?t+"px":""}n.d(e,"a",function(){return v});var a=n(0),s=n(8),l=n(2),c=n(9),u=n(43),p=n(97),d=n(10),h=n(18),f=n(13),m=n(5),g=n(297),_=n(6),y=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.prototype.subscribe=function(e,n,i){return this.onSubscribe(),t.prototype.subscribe.call(this,e,n,i)},e}(a.s),v=function(t){function e(e,n,i,r,o,a,s,l,c,u){var d=t.call(this,e,r,o,"content")||this;d._plt=n,d._dom=i,d._app=a,d._keyboard=s,d._zone=l,d._scrollPadding=0,d._inputPolling=!1,d._hasRefresher=!1,d._imgs=[],d._scrollDownOnLoad=!1,d.ionScrollStart=new b,d.ionScroll=new b,d.ionScrollEnd=new b;var h=function(){return d._scroll.enableEvents()};for(d.ionScroll.onSubscribe=h,d.ionScrollStart.onSubscribe=h,d.ionScrollEnd.onSubscribe=h,d.statusbarPadding=e.getBoolean("statusbarPadding",!1),d._imgReqBfr=e.getNumber("imgRequestBuffer",1400),d._imgRndBfr=e.getNumber("imgRenderBuffer",400),d._imgVelMax=e.getNumber("imgVelocityMax",3),d._scroll=new g.a(a,n,i);u;){if(Object(p.m)(u)){d._tabs=u;break}u=u.parent}return c?(d._viewCtrl=c,c._setIONContent(d),c._setIONContentRef(r),d._viewCtrlReadSub=c.readReady.subscribe(function(){d._viewCtrlReadSub.unsubscribe(),d._readDimensions()}),d._viewCtrlWriteSub=c.writeReady.subscribe(function(){d._viewCtrlWriteSub.unsubscribe(),d._writeDimensions()})):(i.read(d._readDimensions.bind(d)),i.write(d._writeDimensions.bind(d))),d}return y(e,t),Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this._scroll.ev.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentWidth",{get:function(){return this._scroll.ev.contentWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scroll.ev.scrollHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollWidth",{get:function(){return this._scroll.ev.scrollWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this._scroll.ev.scrollTop},set:function(t){this._scroll.setTop(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollLeft",{get:function(){return this._scroll.ev.scrollLeft},set:function(t){this._scroll.setLeft(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isScrolling",{get:function(){return this._scroll.isScrolling},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"directionY",{get:function(){return this._scroll.ev.directionY},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"directionX",{get:function(){return this._scroll.ev.directionX},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t=this,e=this._scroll;e.ev.fixedElement=this.getFixedElement(),e.ev.scrollElement=this.getScrollElement(),e.onScrollStart=function(e){t.ionScrollStart.emit(e)},e.onScroll=function(e){t.ionScroll.emit(e),t.imgsUpdate()},e.onScrollEnd=function(e){t.ionScrollEnd.emit(e),t.imgsUpdate()}},e.prototype.enableJsScroll=function(){this._scroll.enableJsScroll(this._cTop,this._cBottom)},e.prototype.ngOnDestroy=function(){this._scLsn&&this._scLsn(),this._viewCtrlReadSub&&this._viewCtrlReadSub.unsubscribe(),this._viewCtrlWriteSub&&this._viewCtrlWriteSub.unsubscribe(),this._viewCtrlReadSub=this._viewCtrlWriteSub=null,this._scroll&&this._scroll.destroy(),this._footerEle=this._scLsn=this._scroll=null},e.prototype.getScrollElement=function(){return this._scrollContent.nativeElement},e.prototype.getFixedElement=function(){return this._fixedContent.nativeElement},e.prototype.onScrollElementTransitionEnd=function(t){this._plt.transitionEnd(this.getScrollElement(),t)},e.prototype.scrollTo=function(t,e,n,i){return void 0===n&&(n=300),this._scroll.scrollTo(t,e,n,i)},e.prototype.scrollToTop=function(t){return void 0===t&&(t=300),this._scroll.scrollToTop(t)},e.prototype.scrollToBottom=function(t){return void 0===t&&(t=300),this._scroll.scrollToBottom(t)},Object.defineProperty(e.prototype,"fullscreen",{get:function(){return this._fullscreen},set:function(t){this._fullscreen=Object(d.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollDownOnLoad",{get:function(){return this._scrollDownOnLoad},set:function(t){this._scrollDownOnLoad=Object(d.o)(t)},enumerable:!0,configurable:!0}),e.prototype.addImg=function(t){this._imgs.push(t)},e.prototype.removeImg=function(t){Object(d.q)(this._imgs,t)},e.prototype.setScrollElementStyle=function(t,e){var n=this.getScrollElement();n&&this._dom.write(function(){n.style[t]=e})},e.prototype.getContentDimensions=function(){var t=this.getScrollElement(),e=t.parentElement;return{contentHeight:e.offsetHeight-this._cTop-this._cBottom,contentTop:this._cTop,contentBottom:this._cBottom,contentWidth:e.offsetWidth,contentLeft:e.offsetLeft,scrollHeight:t.scrollHeight,scrollTop:t.scrollTop,scrollWidth:t.scrollWidth,scrollLeft:t.scrollLeft}},e.prototype.addScrollPadding=function(t){if(0===t&&(this._inputPolling=!1,this._scrollPadding=-1),t>this._scrollPadding){this._scrollPadding=t;var e=this.getScrollElement();e&&this._dom.write(function(){e.style.paddingBottom=t>0?t+"px":""})}},e.prototype.clearScrollPaddingFocusOut=function(){var t=this;this._inputPolling||(this._inputPolling=!0,this._keyboard.onClose(function(){t.addScrollPadding(0)},200,3e3))},e.prototype.resize=function(){this._dom.read(this._readDimensions.bind(this)),this._dom.write(this._writeDimensions.bind(this))},e.prototype._readDimensions=function(){var t,e=this._pTop,n=this._pRight,i=this._pBottom,o=this._pLeft,a=this._hdrHeight,s=this._ftrHeight,l=this._tabsPlacement,c=0;if(this._pTop=0,this._pRight=0,this._pBottom=0,this._pLeft=0,this._hdrHeight=0,this._ftrHeight=0,this._tabsPlacement=null,this._tTop=0,this._fTop=0,this._fBottom=0,this._scroll){t=this._scroll.ev;var u=this.getNativeElement();if(u){for(var p,d,h=u.parentElement,f=h.children,m=f.length-1;m>=0;m--)"ION-CONTENT"===(d=(u=f[m]).tagName)?(t.contentElement=u,this._fullscreen&&(p=getComputedStyle(u),this._pTop=r(p.paddingTop),this._pBottom=r(p.paddingBottom),this._pRight=r(p.paddingRight),this._pLeft=r(p.paddingLeft))):"ION-HEADER"===d?(t.headerElement=u,this._hdrHeight=u.clientHeight):"ION-FOOTER"===d&&(t.footerElement=u,this._ftrHeight=u.clientHeight,this._footerEle=u);u=h;for(;u&&"ION-MODAL"!==u.tagName&&!u.classList.contains("tab-subpage");)"ION-TABS"===u.tagName&&(this._tabbarHeight=u.firstElementChild.clientHeight,null===this._tabsPlacement&&(this._tabsPlacement=u.getAttribute("tabsplacement"))),u=u.parentElement;this._tabs&&"top"===this._tabsPlacement&&(this._tTop=this._hdrHeight,c=this._tabs._top),this._cTop=this._hdrHeight,this._cBottom=this._ftrHeight,"top"===this._tabsPlacement?this._cTop+=this._tabbarHeight:"bottom"===this._tabsPlacement&&(this._cBottom+=this._tabbarHeight),this._hasRefresher&&(this._cTop-=1),this._fTop=this._cTop,this._fBottom=this._cBottom,this._fullscreen&&(this._cTop+=this._pTop,this._cBottom+=this._pBottom);var g=this.getContentDimensions();t.scrollHeight=g.scrollHeight,t.scrollWidth=g.scrollWidth,t.contentHeight=g.contentHeight,t.contentWidth=g.contentWidth,t.contentTop=g.contentTop,t.contentBottom=g.contentBottom,this._dirty=e!==this._pTop||i!==this._pBottom||o!==this._pLeft||n!==this._pRight||a!==this._hdrHeight||s!==this._ftrHeight||l!==this._tabsPlacement||c!==this._tTop||this._cTop!==this.contentTop||this._cBottom!==this.contentBottom,this._scroll.init(this.getScrollElement(),this._cTop,this._cBottom),this.imgsUpdate()}}},e.prototype._writeDimensions=function(){if(this._dirty){var t=this.getScrollElement();if(t){var e=this.getFixedElement();if(e){if("bottom"===this._tabsPlacement&&this._cBottom>0&&this._footerEle){this._footerEle.style.bottom=o(this._cBottom-this._ftrHeight)}var n="marginTop",i="marginBottom",r=this._fTop,a=this._fBottom;this._fullscreen&&(n="paddingTop",i="paddingBottom"),this._cTop!==this.contentTop&&(t.style[n]=o(this._cTop),e.style.marginTop=o(r),this.contentTop=this._cTop),this._cBottom!==this.contentBottom&&(t.style[i]=o(this._cBottom),e.style.marginBottom=o(a),this.contentBottom=this._cBottom),null!==this._tabsPlacement&&this._tabs&&("top"===this._tabsPlacement?this._tabs.setTabbarPosition(this._tTop,-1):this._tabs.setTabbarPosition(-1,0)),this._scrollDownOnLoad&&(this.scrollToBottom(0),this._scrollDownOnLoad=!1)}}}},e.prototype.imgsUpdate=function(){this._scroll.initialized&&this._imgs.length&&this.isImgsUpdatable()&&function(t,e,n,r,o,a){for(var s,l=e+n,c=[],u=[],p=0,d=t.length;pe-a){s.canRequest=s.canRender=!0,c.push(s);continue}if(s.bottom<=e&&s.bottom>e-o){s.canRequest=!0,s.canRender=!1,u.push(s);continue}if(s.top>=l&&s.tope&&s.top=l&&s.tope-a){s.canRequest=s.canRender=!1;continue}}s.canRequest=s.canRender=!1,s.reset()}c.sort(i).forEach(function(t){return t.update()}),"up"===r?u.sort(i).reverse().forEach(function(t){return t.update()}):u.sort(i).forEach(function(t){return t.update()})}(this._imgs,this.scrollTop,this.contentHeight,this.directionY,this._imgReqBfr,this._imgRndBfr)},e.prototype.isImgsUpdatable=function(){return Math.abs(this._scroll.ev.velocityY)
',host:{"[class.statusbar-padding]":"statusbarPadding","[class.has-refresher]":"_hasRefresher"},changeDetection:a.h.OnPush,encapsulation:a._2.None}]}],e.ctorParameters=function(){return[{type:l.a},{type:m.a},{type:c.a},{type:a.p},{type:a.O},{type:s.a},{type:h.a},{type:a.H},{type:_.a,decorators:[{type:a.I}]},{type:f.a,decorators:[{type:a.I}]}]},e.propDecorators={_fixedContent:[{type:a.Z,args:["fixedContent",{read:a.p}]}],_scrollContent:[{type:a.Z,args:["scrollContent",{read:a.p}]}],ionScrollStart:[{type:a.J}],ionScroll:[{type:a.J}],ionScrollEnd:[{type:a.J}],fullscreen:[{type:a.A}],scrollDownOnLoad:[{type:a.A}]},e}(u.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(2),o=n(43),a=n(10),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(e,n,i,r){var o=t.call(this,n,i,r)||this;return o._role="button",o._style="default",o._mode=n.get("mode"),!1===n.get("hoverCSS")&&o.setElementClass("disable-hover",!0),e.trim().length>0&&o.setRole(e),o}return s(e,t),Object.defineProperty(e.prototype,"large",{set:function(t){this._attr("_size","large",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"small",{set:function(t){this._attr("_size","small",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"default",{set:function(t){this._attr("_size","default",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outline",{set:function(t){this._attr("_style","outline",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clear",{set:function(t){this._attr("_style","clear",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"solid",{set:function(t){this._attr("_style","solid",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round",{set:function(t){this._attr("_shape","round",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"block",{set:function(t){this._attr("_display","block",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"full",{set:function(t){this._attr("_display","full",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strong",{set:function(t){this._attr("_decorator","strong",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._assignCss(!1),this._mode=t,this._assignCss(!0)},enumerable:!0,configurable:!0}),e.prototype._attr=function(t,e,n){"_style"===t&&this._updateColor(this._color,!1),this._setClass(this[t],!1),Object(a.o)(n)?(this[t]=e,this._setClass(e,!0)):(this[t]="_style"===t?"default":null,this._setClass(this[t],!0)),"_style"===t&&this._updateColor(this._color,!0)},Object.defineProperty(e.prototype,"color",{set:function(t){this._updateColor(this._color,!1),this._updateColor(t,!0),this._color=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._init=!0,this._assignCss(!0)},e.prototype.setRole=function(t){this._assignCss(!1),this._role=t,this._assignCss(!0)},e.prototype._assignCss=function(t){var e=this._role;e&&(this.setElementClass(e,t),this.setElementClass(e+"-"+this._mode,t),this._setClass(this._style,t),this._setClass(this._shape,t),this._setClass(this._display,t),this._setClass(this._size,t),this._setClass(this._decorator,t),this._updateColor(this._color,t))},e.prototype._setClass=function(t,e){t&&this._init&&(t=t.toLocaleLowerCase(),this.setElementClass(this._role+"-"+t,e),this.setElementClass(this._role+"-"+t+"-"+this._mode,e))},e.prototype._updateColor=function(t,e){if(t&&this._init){var n=this._role,i=this._style;n+=null!==(i="bar-button"!==this._role&&"solid"===i?"default":i)&&""!==i&&"default"!==i?"-"+i.toLowerCase():"",null!==t&&""!==t&&this.setElementClass(n+"-"+this._mode+"-"+t,e)}},e.decorators=[{type:i.k,args:[{selector:"[ion-button]",template:'
',changeDetection:i.h.OnPush,encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.g,args:["ion-button"]}]},{type:r.a},{type:i.p},{type:i.O}]},e.propDecorators={large:[{type:i.A}],small:[{type:i.A}],default:[{type:i.A}],outline:[{type:i.A}],clear:[{type:i.A}],solid:[{type:i.A}],round:[{type:i.A}],block:[{type:i.A}],full:[{type:i.A}],strong:[{type:i.A}],mode:[{type:i.A}],color:[{type:i.A}]},e}(o.a)},function(t,e,n){"use strict";n.d(e,"c",function(){return a}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return l});var i=n(0),r=n(4),o=new i.y("cdk-dir-doc"),a=function(){function t(t){if(this.value="ltr",this.change=new i.s,t){this.value=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"}}return t.decorators=[{type:i.x}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.I},{type:i.w,args:[o]}]}]},t}(),s=function(){function t(){this._dir="ltr",this._isInitialized=!1,this.change=new i.s}return Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir},set:function(t){var e=this._dir;this._dir=t,e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.dir},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){this.change.complete()},t.decorators=[{type:i.o,args:[{selector:"[dir]",providers:[{provide:a,useExisting:t}],host:{"[dir]":"dir"},exportAs:"dir"}]}],t.ctorParameters=function(){return[]},t.propDecorators={change:[{type:i.J,args:["dirChange"]}],dir:[{type:i.A}]},t}(),l=function(){function t(){}return t.decorators=[{type:i.E,args:[{exports:[s],declarations:[s],providers:[{provide:o,useExisting:r.c},a]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(0),r=n(2),o=n(9),a=n(59),s=n(88),l=n(5),c=function(){function t(t,e,n,r){this._plt=e,this._zone=n,this._dom=r,this.willShow=new i.s,this.willHide=new i.s,this.didShow=new i.s,this.didHide=new i.s,this.eventsAvailable=!1,this.focusOutline(t.get("focusOutline"));var o=e.win();o.Ionic&&o.Ionic.keyboardPlugin?this.listenV2(o):this.listenV1(o)}return t.prototype.listenV2=function(t){var e=this,n=this._plt;n.registerListener(t,"keyboardWillShow",function(t){e._zone.run(function(){e.willShow.emit(t.keyboardHeight)})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardWillHide",function(){e._zone.run(function(){e.willHide.emit()})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardDidShow",function(t){e._zone.run(function(){e.didShow.emit(t.keyboardHeight)})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardDidHide",function(){e._zone.run(function(){e.didHide.emit()})},{zone:!1,passive:!0}),this.eventsAvailable=!0},t.prototype.listenV1=function(t){var e=this,n=this._plt;n.registerListener(t,"native.keyboardhide",function(){e.blurActiveInput(!0)},{zone:!1,passive:!0}),n.registerListener(t,"native.keyboardshow",function(){e.blurActiveInput(!1)},{zone:!1,passive:!0})},t.prototype.blurActiveInput=function(t){var e=this,n=this._plt;n.cancelTimeout(this._tmr),t&&(this._tmr=n.timeout(function(){e.isOpen()&&n.focusOutActiveElement()},80))},t.prototype.isOpen=function(){return this.hasFocusedTextInput()},t.prototype.onClose=function(t,e,n){function i(){!r.isOpen()||o>n?r._plt.timeout(function(){r._zone.run(function(){t()})},400):r._plt.timeout(i,e),o++}void 0===e&&(e=u),void 0===n&&(n=p);var r=this,o=0,a=null;return t||(a=new Promise(function(e){t=e})),r._plt.timeout(i,e),a},t.prototype.close=function(){var t=this;this._dom.read(function(){t.isOpen()&&t._dom.write(function(){t._plt.focusOutActiveElement()})})},t.prototype.focusOutline=function(t){function e(){a._dom.write(function(){l.doc().body.classList[u?"add":"remove"]("focus-outline")})}function n(){u=!1,i()}function i(){e(),r&&r(),o&&o(),u&&(r=l.registerListener(c,"mousedown",n,p),o=l.registerListener(c,"touchstart",n,p))}var r,o,a=this,l=a._plt,c=l.doc(),u=!1,p={passive:!0,zone:!1};if(!0===t)return u=!0,e();!1!==t&&l.registerListener(l.doc(),"keydown",function(t){u||t.keyCode!==s.g||(u=!0,i())},p)},t.prototype.hasFocusedTextInput=function(){var t=this._plt.getActiveElement();return!!Object(a.e)(t)&&t.parentElement.querySelector(":focus")===t},t.prototype.hideFormAccessoryBar=function(t){var e=this._plt.win();e&&e.Keyboard&&e.Keyboard.hideFormAccessoryBar&&e.Keyboard.hideFormAccessoryBar(t)},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[{type:r.a},{type:l.a},{type:i.H},{type:o.a}]},t}(),u=150,p=100},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n(0),r=n(8),o=n(2),a=n(10),s=n(13),l=n(308),c=n(6),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p=function(t){function e(e,n,i,r,o,a){var s=t.call(this,r,o,a)||this;return s._app=e,s.navCtrl=i,s._hidden=!1,s._hideBb=!1,n&&n._setNavbar(s),s._bbIcon=r.get("backButtonIcon"),s._sbPadding=r.getBoolean("statusbarPadding"),s._backText=r.get("backButtonText","Back"),s}return u(e,t),Object.defineProperty(e.prototype,"hideBackButton",{get:function(){return this._hideBb},set:function(t){this._hideBb=Object(a.o)(t)},enumerable:!0,configurable:!0}),e.prototype.backButtonClick=function(t){t.preventDefault(),t.stopPropagation(),this.navCtrl&&this.navCtrl.pop(null,null)},e.prototype.setBackButtonText=function(t){this._backText=t},e.prototype.didEnter=function(){try{this._app.setTitle(this.getTitleText())}catch(t){console.error(t)}},e.prototype.setHidden=function(t){this._hidden=t},e.decorators=[{type:i.k,args:[{selector:"ion-navbar",template:'
',host:{"[hidden]":"_hidden",class:"toolbar","[class.statusbar-padding]":"_sbPadding"}}]}],e.ctorParameters=function(){return[{type:r.a},{type:c.a,decorators:[{type:i.I}]},{type:s.a,decorators:[{type:i.I}]},{type:o.a},{type:i.p},{type:i.O}]},e.propDecorators={hideBackButton:[{type:i.A}]},e}(l.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(10),o=n(2),a=n(43),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(e,n,i){var r=t.call(this,e,n,i,"icon")||this;return r._isActive=!0,r._name="",r._ios="",r._md="",r._css="",r._hidden=!1,r._iconMode=e.get("iconMode"),r}return s(e,t),e.prototype.ngOnDestroy=function(){this._css&&this.setElementClass(this._css,!1)},Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=/^md-|^ios-|^logo-/.test(t)?t:this._iconMode+"-"+t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ios",{get:function(){return this._ios},set:function(t){this._ios=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"md",{get:function(){return this._md},set:function(t){this._md=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this._isActive=Object(r.o)(t),this.update()},enumerable:!0,configurable:!0}),e.prototype.update=function(){var t;if(!(this._hidden=null===(t=this._ios&&"ios"===this._iconMode?this._ios:this._md&&"md"===this._iconMode?this._md:this._name))){"ios"===t.split("-",2)[0]&&!this._isActive&&t.indexOf("logo-")<0&&t.indexOf("-outline")<0&&(t+="-outline");var e="ion-"+t;if(this._css!==e){this._css&&this.setElementClass(this._css,!1),this._css=e,this.setElementClass(e,!0);var n=t.replace("ios-","").replace("md-","").replace("-"," ");this.setElementAttribute("aria-label",n)}}},e.decorators=[{type:i.o,args:[{selector:"ion-icon",host:{role:"img"}}]}],e.ctorParameters=function(){return[{type:o.a},{type:i.p},{type:i.O}]},e.propDecorators={name:[{type:i.A}],ios:[{type:i.A}],md:[{type:i.A}],isActive:[{type:i.A}],_hidden:[{type:i.u,args:["class.hide"]}]},e}(a.a)},function(t,e,n){"use strict";function i(t){return r._41(2,[(t()(),r._18(0,0,null,null,1,"span",[["class","button-inner"]],null,null,null,null,null)),r._31(null,0),(t()(),r._18(2,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],null,null)}n.d(e,"a",function(){return s}),e.b=i;var r=n(0),o=n(16),a=n(2),s=r._16({encapsulation:2,styles:[],data:{}});r._14("[ion-button]",o.a,function(t){return r._41(0,[(t()(),r._18(0,0,null,null,1,"div",[["ion-button",""]],null,null,null,i,s)),r._17(1,1097728,null,0,o.a,[[8,""],a.a,r.p,r.O],null,null)],null,null)},{color:"color",mode:"mode",large:"large",small:"small",default:"default",outline:"outline",clear:"clear",solid:"solid",round:"round",block:"block",full:"full",strong:"strong"},{},["*"])},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(10),r=function(){function t(){this._menus=[]}return t.prototype.open=function(t){var e=this.get(t);if(e&&!this.isAnimating()){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.open()}return Promise.resolve(!1)},t.prototype.close=function(t){var e;return(e=t?this.get(t):this.getOpen())?e.close():Promise.resolve(!1)},t.prototype.toggle=function(t){var e=this.get(t);if(e&&!this.isAnimating()){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.toggle()}return Promise.resolve(!1)},t.prototype.enable=function(t,e){var n=this.get(e);if(n)return n.enable(t)},t.prototype.swipeEnable=function(t,e){var n=this.get(e);if(n)return n.swipeEnable(t)},t.prototype.isOpen=function(t){if(t){var e=this.get(t);return e&&e.isOpen||!1}return!!this.getOpen()},t.prototype.isEnabled=function(t){var e=this.get(t);return e&&e.enabled||!1},t.prototype.get=function(t){return"left"===t||"right"===t?this._menus.find(function(e){return e.side===t&&e.enabled})||this._menus.find(function(e){return e.side===t})||null:t?this._menus.find(function(e){return e.id===t})||null:this._menus.find(function(t){return t.enabled})||(this._menus.length?this._menus[0]:null)},t.prototype.getOpen=function(){return this._menus.find(function(t){return t.isOpen})},t.prototype.getMenus=function(){return this._menus},t.prototype.isAnimating=function(){return this._menus.some(function(t){return t.isAnimating()})},t.prototype._register=function(t){this._menus.push(t)},t.prototype._unregister=function(t){Object(i.q)(this._menus,t)},t.prototype._setActiveMenu=function(t){var e=t.side;this._menus.filter(function(n){return n.side===e&&n!==t}).map(function(t){return t.enable(!1)})},t.registerType=function(t,e){o[t]=e},t.create=function(t,e,n){return new o[t](e,n)},t}(),o={}},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=n(2),o=n(308),a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r._sbPadding=e.getBoolean("statusbarPadding"),r}return a(e,t),e.decorators=[{type:i.k,args:[{selector:"ion-toolbar",template:'
',host:{class:"toolbar","[class.statusbar-padding]":"_sbPadding"},changeDetection:i.h.OnPush}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.p},{type:i.O}]},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n(1),r=n(133),o=n(261),a=n(57),s=n(199),l=n(154),c=n(198),u=function(t){function e(n,i,r){var a=t.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,a._parentSubscription=null,arguments.length){case 0:a.destination=o.a;break;case 1:if(!n){a.destination=o.a;break}if("object"==typeof n){n instanceof e?(a.syncErrorThrowable=n.syncErrorThrowable,a.destination=n,n.add(a)):(a.syncErrorThrowable=!0,a.destination=new p(a,n));break}default:a.syncErrorThrowable=!0,a.destination=new p(a,n,i,r)}return a}return i.b(e,t),e.prototype[s.a]=function(){return this},e.create=function(t,n,i){var r=new e(t,n,i);return r.syncErrorThrowable=!1,r},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(a.a),p=function(t){function e(e,n,i,a){var s=t.call(this)||this;s._parentSubscriber=e;var l,c=s;return Object(r.a)(n)?l=n:n&&(l=n.next,i=n.error,a=n.complete,n!==o.a&&(c=Object.create(n),Object(r.a)(c.unsubscribe)&&s.add(c.unsubscribe.bind(c)),c.unsubscribe=s.unsubscribe.bind(s))),s._context=c,s._next=l,s._error=i,s._complete=a,s}return i.b(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;l.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=l.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(c.a)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};l.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw t;Object(c.a)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return l.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(Object(c.a)(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(2),o=n(43),a=n(6),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i,"header")||this;return r&&r._setHeader(o),o}return s(e,t),e.decorators=[{type:i.o,args:[{selector:"ion-header"}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.p},{type:i.O},{type:a.a,decorators:[{type:i.I}]}]},e}(o.a)},function(t,e,n){"use strict";function i(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}n.d(e,"d",function(){return S}),n.d(e,"a",function(){return f}),n.d(e,"b",function(){return k}),n.d(e,"c",function(){return m}),n.d(e,"e",function(){return _}),n.d(e,"f",function(){return b});var r=n(4),o=n(0),a=n(11),s=n(48),l=n(72),c=(n.n(l),n(93)),u=(n.n(c),n(7)),p=n(150),d=(n.n(p),n(71)),h=0,f=function(){function t(){this.id="mat-error-"+h++}return t.decorators=[{type:o.o,args:[{selector:"mat-error",host:{class:"mat-error",role:"alert","[attr.id]":"id"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={id:[{type:o.A}]},t}(),m=function(){return function(){}}(),g=0,_=function(){function t(){this.align="start",this.id="mat-hint-"+g++}return t.decorators=[{type:o.o,args:[{selector:"mat-hint",host:{class:"mat-hint","[class.mat-right]":'align == "end"',"[attr.id]":"id","[attr.align]":"null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={align:[{type:o.A}],id:[{type:o.A}]},t}(),y=function(){function t(){}return t.decorators=[{type:o.o,args:[{selector:"mat-placeholder"}]}],t.ctorParameters=function(){return[]},t}(),b=function(){function t(){}return t.decorators=[{type:o.o,args:[{selector:"mat-label"}]}],t.ctorParameters=function(){return[]},t}(),v=function(){function t(){}return t.decorators=[{type:o.o,args:[{selector:"[matPrefix]"}]}],t.ctorParameters=function(){return[]},t}(),w=function(){function t(){}return t.decorators=[{type:o.o,args:[{selector:"[matSuffix]"}]}],t.ctorParameters=function(){return[]},t}(),x={transitionMessages:Object(d.k)("transitionMessages",[Object(d.h)("enter",Object(d.i)({opacity:1,transform:"translateY(0%)"})),Object(d.j)("void => enter",[Object(d.i)({opacity:0,transform:"translateY(-100%)"}),Object(d.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},C=0,k=function(){function t(t,e,n){this._elementRef=t,this._changeDetectorRef=e,this.color="primary",this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+C++,this._labelOptions=n||{},this.floatLabel=this._labelOptions.float||"auto"}return Object.defineProperty(t.prototype,"dividerColor",{get:function(){return this.color},set:function(t){this.color=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Object(s.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this._floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_canLabelFloat",{get:function(){return"never"!==this._floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"floatPlaceholder",{get:function(){return this._floatLabel},set:function(t){this.floatLabel=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"floatLabel",{get:function(){return this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild(),this._control.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+this._control.controlType),this._control.stateChanges.pipe(Object(c.startWith)(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()});var e=this._control.ngControl;e&&e.valueChanges&&e.valueChanges.subscribe(function(){t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(c.startWith)(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(c.startWith)(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})},t.prototype.ngAfterContentChecked=function(){this._validateControlChild()},t.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},t.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},t.prototype._hasPlaceholder=function(){return!(!this._control.placeholder&&!this._placeholderChild)},t.prototype._hasLabel=function(){return!!this._labelChild},t.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._control.shouldPlaceholderFloat||this._shouldAlwaysFloat)},t.prototype._hideControlPlaceholder=function(){return!this._hasLabel()||!this._shouldLabelFloat()},t.prototype._hasFloatingLabel=function(){return this._hasLabel()||this._hasPlaceholder()},t.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},t.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._showAlwaysAnimate=!0,this._floatLabel="always",Object(p.fromEvent)(this._label.nativeElement,"transitionend").pipe(Object(l.take)(1)).subscribe(function(){t._showAlwaysAnimate=!1}),this._changeDetectorRef.markForCheck())},t.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},t.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},t.prototype._validateHints=function(){var t=this;if(this._hintChildren){var e,n;this._hintChildren.forEach(function(r){if("start"==r.align){if(e||t.hintLabel)throw i("start");e=r}else if("end"==r.align){if(n)throw i("end");n=r}})}},t.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},t.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},t.decorators=[{type:o.k,args:[{selector:"mat-input-container, mat-form-field",exportAs:"matFormField",template:'
{{hintLabel}}
',styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform:perspective(100px);-ms-transform:none;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;height:1px;width:100%}.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.mat-form-field-underline .mat-form-field-ripple{position:absolute;top:0;left:0;width:100%;height:2px;transform-origin:50%;transform:scaleX(.5);visibility:hidden;opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field-invalid:not(.mat-focused) .mat-form-field-underline .mat-form-field-ripple{height:1px}.mat-focused .mat-form-field-underline .mat-form-field-ripple,.mat-form-field-invalid .mat-form-field-underline .mat-form-field-ripple{visibility:visible;opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block} .mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-autosize{resize:none}"],animations:[x.transitionMessages],host:{class:"mat-input-container mat-form-field","[class.mat-input-invalid]":"_control.errorState","[class.mat-form-field-invalid]":"_control.errorState","[class.mat-form-field-can-float]":"_canLabelFloat","[class.mat-form-field-should-float]":"_shouldLabelFloat()","[class.mat-form-field-hide-placeholder]":"_hideControlPlaceholder()","[class.mat-form-field-disabled]":"_control.disabled","[class.mat-focused]":"_control.focused","[class.mat-primary]":'color == "primary"',"[class.mat-accent]":'color == "accent"',"[class.mat-warn]":'color == "warn"',"[class.ng-untouched]":'_shouldForward("untouched")',"[class.ng-touched]":'_shouldForward("touched")',"[class.ng-pristine]":'_shouldForward("pristine")',"[class.ng-dirty]":'_shouldForward("dirty")',"[class.ng-valid]":'_shouldForward("valid")',"[class.ng-invalid]":'_shouldForward("invalid")',"[class.ng-pending]":'_shouldForward("pending")'},encapsulation:o._2.None,preserveWhitespaces:!1,changeDetection:o.h.OnPush}]}],t.ctorParameters=function(){return[{type:o.p},{type:o.i},{type:void 0,decorators:[{type:o.I},{type:o.w,args:[u.j]}]}]},t.propDecorators={color:[{type:o.A}],dividerColor:[{type:o.A}],hideRequiredMarker:[{type:o.A}],hintLabel:[{type:o.A}],floatPlaceholder:[{type:o.A}],floatLabel:[{type:o.A}],underlineRef:[{type:o.Z,args:["underline"]}],_connectionContainerRef:[{type:o.Z,args:["connectionContainer"]}],_inputContainerRef:[{type:o.Z,args:["inputContainer"]}],_label:[{type:o.Z,args:["label"]}],_control:[{type:o.m,args:[m]}],_placeholderChild:[{type:o.m,args:[y]}],_labelChild:[{type:o.m,args:[b]}],_errorChildren:[{type:o.n,args:[f]}],_hintChildren:[{type:o.n,args:[_]}],_prefixChildren:[{type:o.n,args:[v]}],_suffixChildren:[{type:o.n,args:[w]}]},t}(),S=function(){function t(){}return t.decorators=[{type:o.E,args:[{declarations:[f,_,k,y,v,w,b],imports:[r.b,a.b],exports:[f,_,k,y,v,w,b]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"c",function(){return o}),n.d(e,"h",function(){return a}),n.d(e,"g",function(){return s}),n.d(e,"b",function(){return l}),n.d(e,"d",function(){return c}),n.d(e,"a",function(){return g}),n.d(e,"e",function(){return _}),n.d(e,"i",function(){return y}),n.d(e,"f",function(){return b});var i=n(0),r=n(7),o=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"mat-card-content",host:{class:"mat-card-content"}}]}],t.ctorParameters=function(){return[]},t}(),a=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"mat-card-title, [mat-card-title], [matCardTitle]",host:{class:"mat-card-title"}}]}],t.ctorParameters=function(){return[]},t}(),s=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]",host:{class:"mat-card-subtitle"}}]}],t.ctorParameters=function(){return[]},t}(),l=function(){function t(){this.align="start"}return t.decorators=[{type:i.o,args:[{selector:"mat-card-actions",exportAs:"matCardActions",host:{class:"mat-card-actions","[class.mat-card-actions-align-end]":'align === "end"'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={align:[{type:i.A}]},t}(),c=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"mat-card-footer",host:{class:"mat-card-footer"}}]}],t.ctorParameters=function(){return[]},t}(),u=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"[mat-card-image], [matCardImage]",host:{class:"mat-card-image"}}]}],t.ctorParameters=function(){return[]},t}(),p=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"[mat-card-sm-image], [matCardImageSmall]",host:{class:"mat-card-sm-image"}}]}],t.ctorParameters=function(){return[]},t}(),d=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"[mat-card-md-image], [matCardImageMedium]",host:{class:"mat-card-md-image"}}]}],t.ctorParameters=function(){return[]},t}(),h=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"[mat-card-lg-image], [matCardImageLarge]",host:{class:"mat-card-lg-image"}}]}],t.ctorParameters=function(){return[]},t}(),f=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"[mat-card-xl-image], [matCardImageXLarge]",host:{class:"mat-card-xl-image"}}]}],t.ctorParameters=function(){return[]},t}(),m=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"[mat-card-avatar], [matCardAvatar]",host:{class:"mat-card-avatar"}}]}],t.ctorParameters=function(){return[]},t}(),g=function(){function t(){}return t.decorators=[{type:i.k,args:[{selector:"mat-card",exportAs:"matCard",template:'',styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:24px;border-radius:2px}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-card .mat-divider{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider{left:auto;right:0}.mat-card .mat-divider.mat-divider-inset{position:static;margin:0}@media screen and (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-flat{box-shadow:none}.mat-card-actions,.mat-card-content,.mat-card-subtitle,.mat-card-title{display:block;margin-bottom:16px}.mat-card-actions{margin-left:-16px;margin-right:-16px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 48px);margin:0 -24px 16px -24px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-footer{display:block;margin:0 -24px -24px -24px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 4px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header-text{margin:0 8px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0}.mat-card-lg-image,.mat-card-md-image,.mat-card-sm-image{margin:-8px 0}.mat-card-title-group{display:flex;justify-content:space-between;margin:0 -8px}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}@media (max-width:599px){.mat-card{padding:24px 16px}.mat-card-actions{margin-left:-8px;margin-right:-8px}.mat-card-image{width:calc(100% + 32px);margin:16px -16px}.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}.mat-card-header{margin:-8px 0 0 0}.mat-card-footer{margin-left:-16px;margin-right:-16px}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-24px}.mat-card>.mat-card-actions:last-child{margin-bottom:-16px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:i._2.None,preserveWhitespaces:!1,changeDetection:i.h.OnPush,host:{class:"mat-card"}}]}],t.ctorParameters=function(){return[]},t}(),_=function(){function t(){}return t.decorators=[{type:i.k,args:[{selector:"mat-card-header",template:'
',encapsulation:i._2.None,preserveWhitespaces:!1,changeDetection:i.h.OnPush,host:{class:"mat-card-header"}}]}],t.ctorParameters=function(){return[]},t}(),y=function(){function t(){}return t.decorators=[{type:i.k,args:[{selector:"mat-card-title-group",template:'
',encapsulation:i._2.None,preserveWhitespaces:!1,changeDetection:i.h.OnPush,host:{class:"mat-card-title-group"}}]}],t.ctorParameters=function(){return[]},t}(),b=function(){function t(){}return t.decorators=[{type:i.E,args:[{imports:[r.n],exports:[g,_,y,o,a,s,l,c,p,d,h,u,f,m,r.n],declarations:[g,_,y,o,a,s,l,c,p,d,h,u,f,m]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return r._41(2,[r._37(402653184,1,{_fixedContent:0}),r._37(402653184,2,{_scrollContent:0}),(t()(),r._18(2,0,[[1,0],["fixedContent",1]],null,1,"div",[["class","fixed-content"]],null,null,null,null,null)),r._31(null,0),(t()(),r._18(4,0,[[2,0],["scrollContent",1]],null,1,"div",[["class","scroll-content"]],null,null,null,null,null)),r._31(null,1),r._31(null,2)],null,null)}n.d(e,"a",function(){return h}),e.b=i;var r=n(0),o=n(15),a=n(2),s=n(5),l=n(9),c=n(8),u=n(18),p=n(6),d=n(13),h=r._16({encapsulation:2,styles:[],data:{}});r._14("ion-content",o.a,function(t){return r._41(0,[(t()(),r._18(0,0,null,null,1,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,i,h)),r._17(1,4374528,null,0,o.a,[a.a,s.a,l.a,r.p,r.O,c.a,u.a,r.H,[2,p.a],[2,d.a]],null,null)],null,function(t,e){t(e,0,0,r._32(e,1).statusbarPadding,r._32(e,1)._hasRefresher)})},{color:"color",mode:"mode",fullscreen:"fullscreen",scrollDownOnLoad:"scrollDownOnLoad"},{ionScrollStart:"ionScrollStart",ionScroll:"ionScroll",ionScrollEnd:"ionScrollEnd"},["[ion-fixed],ion-fab","*","ion-refresher"])},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(0),r=n(2),o=n(43),a=n(19),s=n(23),l=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i,"title")||this;return r&&r._setTitle(a),o&&o._setTitle(a),a}return l(e,t),e.prototype.getTitleText=function(){return this._elementRef.nativeElement.textContent},e.decorators=[{type:i.k,args:[{selector:"ion-title",template:'
',changeDetection:i.h.OnPush,encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.p},{type:i.O},{type:s.a,decorators:[{type:i.I}]},{type:a.a,decorators:[{type:i.I},{type:i.w,args:[Object(i._6)(function(){return a.a})]}]}]},e}(o.a)},function(t,e,n){"use strict";function i(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function r(t){if(!i(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function o(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}function a(t,e){return t||new M(e)}function s(t,e,n){return t||new z(e,n)}function l(t,e,n){return t||new U(e,n)}function c(t){return 0===t.buttons}n.d(e,"e",function(){return M}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return N}),n.d(e,"d",function(){return L}),n.d(e,"i",function(){return B}),n.d(e,"k",function(){return O}),n.d(e,"g",function(){return A}),n.d(e,"l",function(){return k}),n.d(e,"m",function(){return V}),n.d(e,"p",function(){return z}),n.d(e,"o",function(){return s}),n.d(e,"n",function(){return H}),n.d(e,"j",function(){return U}),n.d(e,"f",function(){return W}),n.d(e,"h",function(){return l}),n.d(e,"q",function(){return c}),n.d(e,"a",function(){return q});var u=n(0),p=n(48),d=n(72),h=(n.n(d),n(11)),f=n(4),m=n(1),g=n(50),_=(n.n(g),n(92)),y=(n.n(_),n(62)),b=n(241),v=(n.n(b),n(87)),w=(n.n(v),n(126)),x=(n.n(w),n(242)),C=(n.n(x),n(86)),k=(n.n(C),function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e=function(t){try{return t.frameElement}catch(t){return null}}(function(t){return t.ownerDocument.defaultView||window}(t));if(e){var n=e&&e.nodeName.toLowerCase();if(-1===r(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}var i=t.nodeName.toLowerCase(),o=r(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&(!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0)},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||i(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:h.a}]},t}()),S=function(){function t(t,e,n,i,r){void 0===r&&(r=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._enabled=!0,r||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;this._startAnchor||(this._startAnchor=this._createAnchor()),this._endAnchor||(this._endAnchor=this._createAnchor()),this._ngZone.runOutsideAngular(function(){t._startAnchor.addEventListener("focus",function(){t.focusLastTabbableElement()}),t._endAnchor.addEventListener("focus",function(){t.focusFirstTabbableElement()}),t._element.parentNode&&(t._element.parentNode.insertBefore(t._startAnchor,t._element),t._element.parentNode.insertBefore(t._endAnchor,t._element.nextSibling))})},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return t.tabIndex=this._enabled?0:-1,t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(d.take)(1)).subscribe(t)},t}(),O=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new S(t,this._checker,this._ngZone,this._document,e)},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:k},{type:u.H},{type:void 0,decorators:[{type:u.w,args:[f.c]}]}]},t}(),E=function(){function t(t,e){this._elementRef=t,this._focusTrapFactory=e,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object.defineProperty(t.prototype,"disabled",{get:function(){return!this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=!Object(p.b)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.focusTrap.destroy()},t.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors()},t.decorators=[{type:u.o,args:[{selector:"cdk-focus-trap"}]}],t.ctorParameters=function(){return[{type:u.p},{type:O}]},t.propDecorators={disabled:[{type:u.A}]},t}(),A=function(){function t(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=Object(p.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoCapture",{get:function(){return this._autoCapture},set:function(t){this._autoCapture=Object(p.b)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)},t.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())},t.decorators=[{type:u.o,args:[{selector:"[cdkTrapFocus]",exportAs:"cdkTrapFocus"}]}],t.ctorParameters=function(){return[{type:u.p},{type:O},{type:void 0,decorators:[{type:u.w,args:[f.c]}]}]},t.propDecorators={enabled:[{type:u.A,args:["cdkTrapFocus"]}],autoCapture:[{type:u.A,args:["cdkTrapFocusAutoCapture"]}]},t}(),P=" ",T="cdk-describedby-message",I="cdk-describedby-host",D=0,j=new Map,R=null,M=function(){function t(t){this._document=t}return t.prototype.describe=function(t,e){this._canBeDescribed(t,e)&&(j.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))},t.prototype.removeDescription=function(t,e){if(this._canBeDescribed(t,e)){this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e);var n=j.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e),R&&0===R.childNodes.length&&this._deleteMessagesContainer()}},t.prototype.ngOnDestroy=function(){for(var t=this._document.querySelectorAll("["+I+"]"),e=0;e-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}})}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(){return this._wrap=!0,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some(function(t){return"function"!=typeof t.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(x.tap)(function(t){return e._pressedLetters.push(t)}),Object(b.debounceTime)(t),Object(v.filter)(function(){return e._pressedLetters.length>0}),Object(w.map)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._items.toArray(),i=1;i=y.a&&e<=y.q||e>=y.r&&e<=y.j)&&this._letterKeyStream.next(String.fromCharCode(e)))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItemIndex=function(t){this._activeItemIndex=t},t.prototype._setActiveItemByDelta=function(t,e){void 0===e&&(e=this._items.toArray()),this._wrap?this._setActiveInWrapMode(t,e):this._setActiveInDefaultMode(t,e)},t.prototype._setActiveInWrapMode=function(t,e){for(var n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}},t.prototype._setActiveInDefaultMode=function(t,e){this._setActiveItemByIndex(this._activeItemIndex+t,t,e)},t.prototype._setActiveItemByIndex=function(t,e,n){if(void 0===n&&(n=this._items.toArray()),n[t]){for(;this._skipPredicateFn(n[t]);)if(t+=e,!n[t])return;this.setActiveItem(t)}},t}(),L=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(m.b)(e,t),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(F),B=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._origin="program",e}return Object(m.b)(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(F),V=new u.y("liveAnnouncerElement"),z=function(){function t(t,e){this._document=e,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t,e){var n=this;return void 0===e&&(e="polite"),this._liveElement.textContent="",this._liveElement.setAttribute("aria-live",e),new Promise(function(e){setTimeout(function(){n._liveElement.textContent=t,e()},100)})},t.prototype.ngOnDestroy=function(){this._liveElement&&this._liveElement.parentNode&&this._liveElement.parentNode.removeChild(this._liveElement)},t.prototype._createLiveElement=function(){var t=this._document.createElement("div");return t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:u.I},{type:u.w,args:[V]}]},{type:void 0,decorators:[{type:u.w,args:[f.c]}]}]},t}(),H={provide:z,deps:[[new u.I,new u.V,z],[new u.I,new u.w(V)],f.c],useFactory:s},U=function(){function t(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._unregisterGlobalListeners=function(){},this._monitoredElementCount=0}return t.prototype.monitor=function(t,e,n){var i=this;if(e instanceof u.P||(n=e),n=!!n,!this._platform.isBrowser)return Object(C.of)(null);if(this._elementInfo.has(t)){var r=this._elementInfo.get(t);return r.checkChildren=n,r.subject.asObservable()}var o={unlisten:function(){},checkChildren:n,subject:new g.Subject};this._elementInfo.set(t,o),this._incrementMonitoredElementCount();var a=function(e){return i._onFocus(e,t)},s=function(e){return i._onBlur(e,t)};return this._ngZone.runOutsideAngular(function(){t.addEventListener("focus",a,!0),t.addEventListener("blur",s,!0)}),o.unlisten=function(){t.removeEventListener("focus",a,!0),t.removeEventListener("blur",s,!0)},o.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=this._elementInfo.get(t);e&&(e.unlisten(),e.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())},t.prototype.focusVia=function(t,e){this._setOriginForCurrentEventQueue(e),t.focus()},t.prototype.ngOnDestroy=function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})},t.prototype._registerGlobalListeners=function(){var t=this;if(this._platform.isBrowser){var e=function(){t._lastTouchTarget=null,t._setOriginForCurrentEventQueue("keyboard")},n=function(){t._lastTouchTarget||t._setOriginForCurrentEventQueue("mouse")},i=function(e){null!=t._touchTimeoutId&&clearTimeout(t._touchTimeoutId),t._lastTouchTarget=e.target,t._touchTimeoutId=setTimeout(function(){return t._lastTouchTarget=null},650)},r=function(){t._windowFocused=!0,t._windowFocusTimeoutId=setTimeout(function(){return t._windowFocused=!1},0)};this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",e,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("touchstart",i,!Object(h.d)()||{passive:!0,capture:!0}),window.addEventListener("focus",r)}),this._unregisterGlobalListeners=function(){document.removeEventListener("keydown",e,!0),document.removeEventListener("mousedown",n,!0),document.removeEventListener("touchstart",i,!Object(h.d)()||{passive:!0,capture:!0}),window.removeEventListener("focus",r),clearTimeout(t._windowFocusTimeoutId),clearTimeout(t._touchTimeoutId),clearTimeout(t._originTimeoutId)}}},t.prototype._toggleClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype._setClasses=function(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._origin=t,this._originTimeoutId=setTimeout(function(){return e._origin=null},0)},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);n&&(n.checkChildren||e===t.target)&&(this._origin||(this._origin=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,this._origin),n.subject.next(this._origin),this._lastFocusOrigin=this._origin,this._origin=null)},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),n.subject.next(null))},t.prototype._incrementMonitoredElementCount=function(){1==++this._monitoredElementCount&&this._registerGlobalListeners()},t.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(this._unregisterGlobalListeners(),this._unregisterGlobalListeners=function(){})},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:u.H},{type:h.a}]},t}(),W=function(){function t(t,e){var n=this;this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new u.s,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef.nativeElement,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(t){return n.cdkFocusChange.emit(t)})}return t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef.nativeElement),this._monitorSubscription.unsubscribe()},t.decorators=[{type:u.o,args:[{selector:"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]"}]}],t.ctorParameters=function(){return[{type:u.p},{type:U}]},t.propDecorators={cdkFocusChange:[{type:u.J}]},t}(),Y={provide:U,deps:[[new u.I,new u.V,U],u.H,h.a],useFactory:l},q=function(){function t(){}return t.decorators=[{type:u.E,args:[{imports:[f.b,h.b],declarations:[A,E,W],exports:[A,E,W],providers:[k,O,M,H,N,Y]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(0),r=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"ion-row, [ion-row]",host:{class:"row"}}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return r._41(0,[(t()(),r._18(0,0,null,null,1,"div",[["class","toolbar-background"]],null,null,null,null,null)),r._17(1,278528,null,0,o.h,[r.B,r.C,r.p,r.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),r._18(2,0,null,null,8,"button",[["class","back-button"],["ion-button","bar-button"]],[[8,"hidden",0]],[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component.backButtonClick(n)&&i}return i},a.b,a.a)),r._17(3,278528,null,0,o.h,[r.B,r.C,r.p,r.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r._17(4,1097728,null,0,s.a,[[8,"bar-button"],l.a,r.p,r.O],null,null),(t()(),r._18(5,0,null,0,2,"ion-icon",[["class","back-button-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),r._17(6,278528,null,0,o.h,[r.B,r.C,r.p,r.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r._17(7,147456,null,0,c.a,[l.a,r.p,r.O],{name:[0,"name"]},null),(t()(),r._18(8,0,null,0,2,"span",[["class","back-button-text"]],null,null,null,null,null)),r._17(9,278528,null,0,o.h,[r.B,r.C,r.p,r.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),r._39(10,null,["",""])),r._31(null,0),r._31(null,1),r._31(null,2),(t()(),r._18(14,0,null,null,2,"div",[["class","toolbar-content"]],null,null,null,null,null)),r._17(15,278528,null,0,o.h,[r.B,r.C,r.p,r.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r._31(null,3)],function(t,e){var n=e.component;t(e,1,0,"toolbar-background","toolbar-background-"+n._mode);t(e,3,0,"back-button","back-button-"+n._mode);t(e,6,0,"back-button-icon","back-button-icon-"+n._mode);t(e,7,0,n._bbIcon);t(e,9,0,"back-button-text","back-button-text-"+n._mode);t(e,15,0,"toolbar-content","toolbar-content-"+n._mode)},function(t,e){var n=e.component;t(e,2,0,n._hideBb);t(e,5,0,r._32(e,7)._hidden);t(e,10,0,n._backText)})}n.d(e,"a",function(){return f}),e.b=i;var r=n(0),o=n(4),a=n(21),s=n(16),l=n(2),c=n(20),u=n(19),p=n(8),d=n(6),h=n(13),f=r._16({encapsulation:2,styles:[],data:{}});r._14("ion-navbar",u.a,function(t){return r._41(0,[(t()(),r._18(0,0,null,null,1,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,i,f)),r._17(1,49152,null,0,u.a,[p.a,[2,d.a],[2,h.a],l.a,r.p,r.O],null,null)],null,function(t,e){t(e,0,0,r._32(e,1)._hidden,r._32(e,1)._sbPadding)})},{color:"color",mode:"mode",hideBackButton:"hideBackButton"},{},["[menuToggle],ion-buttons[left]","ion-buttons[start]","ion-buttons[end],ion-buttons[right]","*"])},function(t,e,n){"use strict";function i(t){return a._41(2,[a._31(null,0),a._31(null,1)],null,null)}function r(t){return a._41(2,[a._31(null,0),(t()(),a._18(1,0,null,null,1,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),a._31(null,1),a._31(null,2)],null,null)}function o(t){return a._41(2,[(t()(),a._18(0,0,null,null,1,"div",[],null,null,null,null,null)),a._31(null,0),a._31(null,1),a._31(null,2)],null,null)}n.d(e,"a",function(){return p}),e.d=i,n.d(e,"b",function(){return d}),e.c=r;var a=n(0),s=n(27),l=n(17),c=n(4),u=n(7),p=(a._15(s.f,[],function(t){return a._29([a._30(512,a.l,a._11,[[8,[]],[3,a.l],a.F]),a._30(6144,l.b,null,[c.c]),a._30(4608,l.c,l.c,[[2,l.b]]),a._30(512,l.a,l.a,[]),a._30(256,u.f,!0,[]),a._30(512,u.n,u.n,[[2,u.f]]),a._30(512,s.f,s.f,[])])}),a._16({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:24px;border-radius:2px}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-card .mat-divider{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider{left:auto;right:0}.mat-card .mat-divider.mat-divider-inset{position:static;margin:0}@media screen and (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-flat{box-shadow:none}.mat-card-actions,.mat-card-content,.mat-card-subtitle,.mat-card-title{display:block;margin-bottom:16px}.mat-card-actions{margin-left:-16px;margin-right:-16px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 48px);margin:0 -24px 16px -24px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-footer{display:block;margin:0 -24px -24px -24px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 4px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header-text{margin:0 8px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0}.mat-card-lg-image,.mat-card-md-image,.mat-card-sm-image{margin:-8px 0}.mat-card-title-group{display:flex;justify-content:space-between;margin:0 -8px}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}@media (max-width:599px){.mat-card{padding:24px 16px}.mat-card-actions{margin-left:-8px;margin-right:-8px}.mat-card-image{width:calc(100% + 32px);margin:16px -16px}.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}.mat-card-header{margin:-8px 0 0 0}.mat-card-footer{margin-left:-16px;margin-right:-16px}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-24px}.mat-card>.mat-card-actions:last-child{margin-bottom:-16px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}})),d=(a._14("mat-card",s.a,function(t){return a._41(0,[(t()(),a._18(0,0,null,null,1,"mat-card",[["class","mat-card"]],null,null,null,i,p)),a._17(1,49152,null,0,s.a,[],null,null)],null,null)},{},{},["*","mat-card-footer"]),a._16({encapsulation:2,styles:[],data:{}})),h=(a._14("mat-card-header",s.e,function(t){return a._41(0,[(t()(),a._18(0,0,null,null,1,"mat-card-header",[["class","mat-card-header"]],null,null,null,r,d)),a._17(1,49152,null,0,s.e,[],null,null)],null,null)},{},{},["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"]),a._16({encapsulation:2,styles:[],data:{}}));a._14("mat-card-title-group",s.i,function(t){return a._41(0,[(t()(),a._18(0,0,null,null,1,"mat-card-title-group",[["class","mat-card-title-group"]],null,null,null,o,h)),a._17(1,49152,null,0,s.i,[],null,null)],null,null)},{},{},["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"])},function(t,e,n){"use strict";function i(t){return r._41(2,[(t()(),r._18(0,0,null,null,2,"div",[["class","toolbar-title"]],null,null,null,null,null)),r._17(1,278528,null,0,o.h,[r.B,r.C,r.p,r.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r._31(null,0)],function(t,e){t(e,1,0,"toolbar-title","toolbar-title-"+e.component._mode)},null)}n.d(e,"a",function(){return u}),e.b=i;var r=n(0),o=n(4),a=n(29),s=n(2),l=n(23),c=n(19),u=r._16({encapsulation:2,styles:[],data:{}});r._14("ion-title",a.a,function(t){return r._41(0,[(t()(),r._18(0,0,null,null,1,"ion-title",[],null,null,null,i,u)),r._17(1,49152,null,0,a.a,[s.a,r.p,r.O,[2,l.a],[2,c.a]],null,null)],null,null)},{color:"color",mode:"mode"},{},["*"])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n(0),r=n(16),o=n(2),a=n(43),s=n(19),l=n(23),c=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i,"bar-buttons")||this;return a.inToolbar=!(!r&&!o),a}return c(e,t),Object.defineProperty(e.prototype,"_buttons",{set:function(t){this.inToolbar&&t.forEach(function(t){t.setRole("bar-button")})},enumerable:!0,configurable:!0}),e.decorators=[{type:i.o,args:[{selector:"ion-buttons,[menuToggle]"}]}],e.ctorParameters=function(){return[{type:o.a},{type:i.p},{type:i.O},{type:l.a,decorators:[{type:i.I}]},{type:s.a,decorators:[{type:i.I},{type:i.w,args:[Object(i._6)(function(){return s.a})]}]}]},e.propDecorators={_buttons:[{type:i.n,args:[r.a]}]},e}(a.a)},function(t,e,n){"use strict";n.d(e,"c",function(){return w}),n.d(e,"b",function(){return v}),n.d(e,"a",function(){return g});var i=n(11),r=n(4),o=n(0),a=n(26),s=n(150),l=(n.n(s),n(337)),c=(n.n(l),n(103)),u=(n.n(c),n(50)),p=(n.n(u),n(1)),d=n(48),h=n(3),f=n(7),m=function(){function t(t,e,n){this._elementRef=t,this._platform=e,this._ngZone=n,this._destroyed=new u.Subject}return Object.defineProperty(t.prototype,"minRows",{get:function(){return this._minRows},set:function(t){this._minRows=t,this._setMinHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxRows",{get:function(){return this._maxRows},set:function(t){this._maxRows=t,this._setMaxHeight()},enumerable:!0,configurable:!0}),t.prototype._setMinHeight=function(){var t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&this._setTextareaStyle("minHeight",t)},t.prototype._setMaxHeight=function(){var t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&this._setTextareaStyle("maxHeight",t)},t.prototype.ngAfterViewInit=function(){var t=this;this._platform.isBrowser&&(this.resizeToFitContent(),this._ngZone&&this._ngZone.runOutsideAngular(function(){Object(s.fromEvent)(window,"resize").pipe(Object(l.auditTime)(16),Object(c.takeUntil)(t._destroyed)).subscribe(function(){return t.resizeToFitContent(!0)})}))},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype._setTextareaStyle=function(t,e){this._elementRef.nativeElement.style[t]=e},t.prototype._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var t=this._elementRef.nativeElement,e=t.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",t.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,t.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}},t.prototype.ngDoCheck=function(){this._platform.isBrowser&&this.resizeToFitContent()},t.prototype.resizeToFitContent=function(t){if(void 0===t&&(t=!1),this._cacheTextareaLineHeight(),this._cachedLineHeight){var e=this._elementRef.nativeElement,n=e.value;if(n!==this._previousValue||t){var i=e.placeholder;e.style.height="auto",e.style.overflow="hidden",e.placeholder="",e.style.height=e.scrollHeight+"px",e.style.overflow="",e.placeholder=i,this._previousValue=n}}},t.decorators=[{type:o.o,args:[{selector:"textarea[mat-autosize], textarea[matTextareaAutosize]",exportAs:"matTextareaAutosize",host:{class:"mat-autosize",rows:"1"}}]}],t.ctorParameters=function(){return[{type:o.p},{type:i.a},{type:o.H}]},t.propDecorators={minRows:[{type:o.A,args:["matAutosizeMinRows"]}],maxRows:[{type:o.A,args:["matAutosizeMaxRows"]}]},t}(),g=new o.y("MAT_INPUT_VALUE_ACCESSOR"),_=["button","checkbox","file","hidden","image","radio","range","reset","submit"],y=0,b=function(){return function(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}(),v=function(t){function e(e,n,r,o,a,s,l){var c=t.call(this,s,o,a,r)||this;return c._elementRef=e,c._platform=n,c.ngControl=r,c._type="text",c._disabled=!1,c._required=!1,c._uid="mat-input-"+y++,c._readonly=!1,c.focused=!1,c._isServer=!1,c.stateChanges=new u.Subject,c.controlType="mat-input",c.placeholder="",c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return Object(i.c)().has(t)}),c._inputValueAccessor=l||c._elementRef.nativeElement,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&e.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}),c._isServer=!c._platform.isBrowser,c}return Object(p.b)(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(d.b)(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(d.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(i.c)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Object(d.b)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete()},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._focusChanged=function(t){t===this.focused||this.readonly||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(_.indexOf(this._type)>-1)throw function(t){return Error('Input type "'+t+"\" isn't supported by matInput.")}(this._type)},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){var t=this._elementRef.nativeElement,e=this._platform.isBrowser?t.nodeName:t.name;return!!e&&"textarea"===e.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus()},e.decorators=[{type:o.o,args:[{selector:"input[matInput], textarea[matInput]",exportAs:"matInput",host:{class:"mat-input-element mat-form-field-autofill-control","[class.mat-input-server]":"_isServer","[attr.id]":"id","[placeholder]":"placeholder","[disabled]":"disabled","[required]":"required","[readonly]":"readonly","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-invalid]":"errorState","[attr.aria-required]":"required.toString()","(blur)":"_focusChanged(false)","(focus)":"_focusChanged(true)","(input)":"_onInput()"},providers:[{provide:a.c,useExisting:e}]}]}],e.ctorParameters=function(){return[{type:o.p},{type:i.a},{type:h.r,decorators:[{type:o.I},{type:o.U}]},{type:h.u,decorators:[{type:o.I}]},{type:h.k,decorators:[{type:o.I}]},{type:f.d},{type:void 0,decorators:[{type:o.I},{type:o.U},{type:o.w,args:[g]}]}]},e.propDecorators={disabled:[{type:o.A}],id:[{type:o.A}],placeholder:[{type:o.A}],required:[{type:o.A}],type:[{type:o.A}],errorStateMatcher:[{type:o.A}],value:[{type:o.A}],readonly:[{type:o.A}]},e}(Object(f.G)(b)),w=function(){function t(){}return t.decorators=[{type:o.E,args:[{declarations:[v,m],imports:[r.b,a.d,i.b],exports:[a.d,v,m],providers:[f.d]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"d",function(){return a}),n.d(e,"c",function(){return s}),n.d(e,"j",function(){return l}),n.d(e,"k",function(){return c}),n.d(e,"h",function(){return u}),n.d(e,"g",function(){return p}),n.d(e,"f",function(){return d}),n.d(e,"e",function(){return h}),n.d(e,"i",function(){return f}),n.d(e,"a",function(){return m}),n.d(e,"l",function(){return g});var i=n(0),r=n(8),o="goback-swipe",a="menu-swipe",s="item-swipe",l="refresher",c="toggle",u=-10,p=0,d=10,h=20,f=30,m={disable:[a,o],disableScroll:!0},g=function(){function t(t){this._app=t,this.id=1,this.requestedStart={},this.disabledGestures={},this.disabledScroll=new Set,this.capturedID=null}return t.prototype.createGesture=function(t){if(!t.name)throw new Error("name is undefined");return new _(t.name,this.newID(),this,t.priority||0,!!t.disableScroll)},t.prototype.createBlocker=function(t){return void 0===t&&(t={}),new y(this.newID(),this,t.disable,!!t.disableScroll)},t.prototype.newID=function(){var t=this.id;return this.id++,t},t.prototype.start=function(t,e,n){return this.canStart(t)?(this.requestedStart[e]=n,!0):(delete this.requestedStart[e],!1)},t.prototype.capture=function(t,e,n){if(!this.start(t,e,n))return!1;var i=this.requestedStart,r=-1e4;for(var o in i)r=Math.max(r,i[o]);return r===n?(this.capturedID=e,this.requestedStart={},!0):(delete i[e],!1)},t.prototype.release=function(t){delete this.requestedStart[t],this.capturedID&&t===this.capturedID&&(this.capturedID=null)},t.prototype.disableGesture=function(t,e){var n=this.disabledGestures[t];n||(n=new Set,this.disabledGestures[t]=n),n.add(e)},t.prototype.enableGesture=function(t,e){var n=this.disabledGestures[t];n&&n.delete(e)},t.prototype.disableScroll=function(t){var e=!this.isScrollDisabled();this.disabledScroll.add(t),this._app&&e&&this.isScrollDisabled()&&this._app._setDisableScroll(!0)},t.prototype.enableScroll=function(t){var e=this.isScrollDisabled();this.disabledScroll.delete(t),this._app&&e&&!this.isScrollDisabled()&&this._app._setDisableScroll(!1)},t.prototype.canStart=function(t){return!this.capturedID&&!this.isDisabled(t)},t.prototype.isCaptured=function(){return!!this.capturedID},t.prototype.isScrollDisabled=function(){return this.disabledScroll.size>0},t.prototype.isDisabled=function(t){var e=this.disabledGestures[t];return!!(e&&e.size>0)},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[{type:r.a,decorators:[{type:i.w,args:[Object(i._6)(function(){return r.a})]}]}]},t}(),_=function(){function t(t,e,n,i,r){this.name=t,this.id=e,this.controller=n,this.priority=i,this.disableScroll=r}return t.prototype.canStart=function(){return!!this.controller&&this.controller.canStart(this.name)},t.prototype.start=function(){return!!this.controller&&this.controller.start(this.name,this.id,this.priority)},t.prototype.capture=function(){if(!this.controller)return!1;var t=this.controller.capture(this.name,this.id,this.priority);return t&&this.disableScroll&&this.controller.disableScroll(this.id),t},t.prototype.release=function(){this.controller&&(this.controller.release(this.id),this.disableScroll&&this.controller.enableScroll(this.id))},t.prototype.destroy=function(){this.release(),this.controller=null},t}(),y=function(){function t(t,e,n,i){this.id=t,this.controller=e,this.disable=n,this.disableScroll=i,this.blocked=!1}return t.prototype.block=function(){var t=this;this.controller&&(this.disable&&this.disable.forEach(function(e){t.controller.disableGesture(e,t.id)}),this.disableScroll&&this.controller.disableScroll(this.id),this.blocked=!0)},t.prototype.unblock=function(){var t=this;this.controller&&(this.disable&&this.disable.forEach(function(e){t.controller.enableGesture(e,t.id)}),this.disableScroll&&this.controller.enableScroll(this.id),this.blocked=!1)},t.prototype.destroy=function(){this.unblock(),this.controller=null},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(16),o=n(22),a=n(19),s=n(6),l=function(){function t(t,e,n,i){this._menu=t,this._viewCtrl=e,this._button=n,this._isButton=!!n,this._inNavbar=!!i}return t.prototype.ngAfterContentInit=function(){this._isButton&&this._button._setClass("menutoggle",!0)},t.prototype.toggle=function(){var t=this._menu.get(this.menuToggle);t&&t.toggle()},Object.defineProperty(t.prototype,"isHidden",{get:function(){var t=this._menu.get(this.menuToggle);if(this._inNavbar&&this._viewCtrl){if(!t||!t._canOpen())return!0;if(this._viewCtrl.isFirst())return!1;if(t)return!t.persistent}return!1},enumerable:!0,configurable:!0}),t.decorators=[{type:i.o,args:[{selector:"[menuToggle]",host:{"[hidden]":"isHidden"}}]}],t.ctorParameters=function(){return[{type:o.a},{type:s.a,decorators:[{type:i.I}]},{type:r.a,decorators:[{type:i.I}]},{type:a.a,decorators:[{type:i.I}]}]},t.propDecorators={menuToggle:[{type:i.A}],toggle:[{type:i.v,args:["click"]}]},t}()},function(t,e,n){"use strict";function i(t,e,n){return t||new f(e,n)}function r(t,e,n){return t||new _(e,n)}n.d(e,"c",function(){return f}),n.d(e,"a",function(){return i}),n.d(e,"f",function(){return _}),n.d(e,"e",function(){return r}),n.d(e,"d",function(){return y}),n.d(e,"b",function(){return b});var o=n(0),a=n(11),s=n(50),l=(n.n(s),n(79)),c=(n.n(l),n(86)),u=(n.n(c),n(150)),p=(n.n(u),n(337)),d=(n.n(p),n(87)),h=(n.n(d),n(73)),f=(n.n(h),function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new s.Subject,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this,n=t.elementScrolled().subscribe(function(){return e._scrolled.next(t)});this.scrollContainers.set(t,n)},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?l.Observable.create(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(Object(p.auditTime)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Object(c.of)()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)})},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(d.filter)(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Object(u.fromEvent)(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.decorators=[{type:o.x}],t.ctorParameters=function(){return[{type:o.H},{type:a.a}]},t}()),m={provide:f,deps:[[new o.I,new o.V,f],o.H,a.a],useFactory:i},g=function(){function t(t,e,n){var i=this;this._elementRef=t,this._scroll=e,this._ngZone=n,this._elementScrolled=new s.Subject,this._scrollListener=function(t){return i._elementScrolled.next(t)}}return t.prototype.ngOnInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){t.getElementRef().nativeElement.addEventListener("scroll",t._scrollListener)}),this._scroll.register(this)},t.prototype.ngOnDestroy=function(){this._scroll.deregister(this),this._scrollListener&&this.getElementRef().nativeElement.removeEventListener("scroll",this._scrollListener)},t.prototype.elementScrolled=function(){return this._elementScrolled.asObservable()},t.prototype.getElementRef=function(){return this._elementRef},t.decorators=[{type:o.o,args:[{selector:"[cdk-scrollable], [cdkScrollable]"}]}],t.ctorParameters=function(){return[{type:o.p},{type:f},{type:o.H}]},t}(),_=function(){function t(t,e){var n=this;this._platform=t,this._change=t.isBrowser?e.runOutsideAngular(function(){return Object(h.merge)(Object(u.fromEvent)(window,"resize"),Object(u.fromEvent)(window,"orientationchange"))}):Object(c.of)(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Object(p.auditTime)(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.decorators=[{type:o.x}],t.ctorParameters=function(){return[{type:a.a},{type:o.H}]},t}(),y={provide:_,deps:[[new o.I,new o.V,_],a.a,o.H],useFactory:r},b=function(){function t(){}return t.decorators=[{type:o.E,args:[{imports:[a.b],exports:[g],declarations:[g],providers:[m]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(0),r=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"ion-col, [ion-col]",host:{class:"col"}}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return h._41(0,[(t()(),h._18(0,0,null,null,1,"div",[["class","mat-input-prefix mat-form-field-prefix"]],null,null,null,null,null)),h._31(null,0)],null,null)}function r(t){return h._41(0,[(t()(),h._18(0,0,null,null,2,null,null,null,null,null,null,null)),h._31(null,2),(t()(),h._39(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function o(t){return h._41(0,[h._31(null,3),(t()(),h._13(0,null,null,0))],null,null)}function a(t){return h._41(0,[(t()(),h._18(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),h._39(-1,null,[" *"]))],null,null)}function s(t){return h._41(0,[(t()(),h._18(0,0,[[4,0],["label",1]],null,7,"label",[["class","mat-form-field-label mat-input-placeholder mat-form-field-placeholder"]],[[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null)),h._17(1,16384,null,0,m.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),h._13(16777216,null,null,1,null,r)),h._17(3,278528,null,0,m.o,[h._1,h.W,m.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),h._13(16777216,null,null,1,null,o)),h._17(5,278528,null,0,m.o,[h._1,h.W,m.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),h._13(16777216,null,null,1,null,a)),h._17(7,16384,null,0,m.j,[h._1,h.W],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._hasLabel());t(e,3,0,!1);t(e,5,0,!0);t(e,7,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(t,e){var n=e.component;t(e,0,0,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function l(t){return h._41(0,[(t()(),h._18(0,0,null,null,1,"div",[["class","mat-input-suffix mat-form-field-suffix"]],null,null,null,null,null)),h._31(null,4)],null,null)}function c(t){return h._41(0,[(t()(),h._18(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),h._31(null,5)],null,function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function u(t){return h._41(0,[(t()(),h._18(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),h._39(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._hintLabelId);t(e,1,0,n.hintLabel)})}function p(t){return h._41(0,[(t()(),h._18(0,0,null,null,5,"div",[["class","mat-input-hint-wrapper mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),h._13(16777216,null,null,1,null,u)),h._17(2,16384,null,0,m.j,[h._1,h.W],{ngIf:[0,"ngIf"]},null),h._31(null,6),(t()(),h._18(4,0,null,null,0,"div",[["class","mat-input-hint-spacer mat-form-field-hint-spacer"]],null,null,null,null,null)),h._31(null,7)],function(t,e){t(e,2,0,e.component.hintLabel)},function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function d(t){return h._41(2,[h._37(402653184,1,{underlineRef:0}),h._37(402653184,2,{_connectionContainerRef:0}),h._37(402653184,3,{_inputContainerRef:0}),h._37(671088640,4,{_label:0}),(t()(),h._18(4,0,null,null,18,"div",[["class","mat-input-wrapper mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),h._18(5,0,[[2,0],["connectionContainer",1]],null,9,"div",[["class","mat-input-flex mat-form-field-flex"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&i}return i},null,null)),(t()(),h._13(16777216,null,null,1,null,i)),h._17(7,16384,null,0,m.j,[h._1,h.W],{ngIf:[0,"ngIf"]},null),(t()(),h._18(8,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-input-infix mat-form-field-infix"]],null,null,null,null,null)),h._31(null,1),(t()(),h._18(10,0,null,null,2,"span",[["class","mat-form-field-label-wrapper mat-input-placeholder-wrapper mat-form-field-placeholder-wrapper"]],null,null,null,null,null)),(t()(),h._13(16777216,null,null,1,null,s)),h._17(12,16384,null,0,m.j,[h._1,h.W],{ngIf:[0,"ngIf"]},null),(t()(),h._13(16777216,null,null,1,null,l)),h._17(14,16384,null,0,m.j,[h._1,h.W],{ngIf:[0,"ngIf"]},null),(t()(),h._18(15,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-input-underline mat-form-field-underline"]],null,null,null,null,null)),(t()(),h._18(16,0,null,null,0,"span",[["class","mat-input-ripple mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null)),(t()(),h._18(17,0,null,null,5,"div",[["class","mat-input-subscript-wrapper mat-form-field-subscript-wrapper"]],null,null,null,null,null)),h._17(18,16384,null,0,m.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),h._13(16777216,null,null,1,null,c)),h._17(20,278528,null,0,m.o,[h._1,h.W,m.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),h._13(16777216,null,null,1,null,p)),h._17(22,278528,null,0,m.o,[h._1,h.W,m.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,7,0,n._prefixChildren.length);t(e,12,0,n._hasFloatingLabel());t(e,14,0,n._suffixChildren.length);t(e,18,0,n._getDisplayedMessages());t(e,20,0,"error");t(e,22,0,"hint")},function(t,e){var n=e.component;t(e,16,0,"accent"==n.color,"warn"==n.color)})}n.d(e,"a",function(){return y}),e.b=d;var h=n(0),f=n(26),m=n(4),g=n(11),_=n(7),y=(h._15(f.d,[],function(t){return h._29([h._30(512,h.l,h._11,[[8,[]],[3,h.l],h.F]),h._30(4608,m.l,m.k,[h.D,[2,m.w]]),h._30(4608,g.a,g.a,[]),h._30(512,m.b,m.b,[]),h._30(512,g.b,g.b,[]),h._30(512,f.d,f.d,[])])}),h._16({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform:perspective(100px);-ms-transform:none;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;height:1px;width:100%}.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.mat-form-field-underline .mat-form-field-ripple{position:absolute;top:0;left:0;width:100%;height:2px;transform-origin:50%;transform:scaleX(.5);visibility:hidden;opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field-invalid:not(.mat-focused) .mat-form-field-underline .mat-form-field-ripple{height:1px}.mat-focused .mat-form-field-underline .mat-form-field-ripple,.mat-form-field-invalid .mat-form-field-underline .mat-form-field-ripple{visibility:visible;opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-autosize{resize:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}}));h._14("mat-input-container, mat-form-field",f.b,function(t){return h._41(0,[(t()(),h._18(0,0,null,null,8,"mat-input-container",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,d,y)),h._17(1,7389184,null,7,f.b,[h.p,h.i,[2,_.j]],null,null),h._37(335544320,1,{_control:0}),h._37(335544320,2,{_placeholderChild:0}),h._37(335544320,3,{_labelChild:0}),h._37(603979776,4,{_errorChildren:1}),h._37(603979776,5,{_hintChildren:1}),h._37(603979776,6,{_prefixChildren:1}),h._37(603979776,7,{_suffixChildren:1})],null,function(t,e){t(e,0,1,[h._32(e,1)._control.errorState,h._32(e,1)._control.errorState,h._32(e,1)._canLabelFloat,h._32(e,1)._shouldLabelFloat(),h._32(e,1)._hideControlPlaceholder(),h._32(e,1)._control.disabled,h._32(e,1)._control.focused,"primary"==h._32(e,1).color,"accent"==h._32(e,1).color,"warn"==h._32(e,1).color,h._32(e,1)._shouldForward("untouched"),h._32(e,1)._shouldForward("touched"),h._32(e,1)._shouldForward("pristine"),h._32(e,1)._shouldForward("dirty"),h._32(e,1)._shouldForward("valid"),h._32(e,1)._shouldForward("invalid"),h._32(e,1)._shouldForward("pending")])})},{color:"color",dividerColor:"dividerColor",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatPlaceholder:"floatPlaceholder",floatLabel:"floatLabel"},{},["[matPrefix]","*","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"])},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){var t=t||function(t,e){var n=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),i={},r=i.lib={},o=r.Base={extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},a=r.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||l).stringify(this)},concat:function(t){var e=this.words,n=t.words,i=this.sigBytes,r=t.sigBytes;if(this.clamp(),i%4)for(var o=0;o>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(i+o)%4*8}else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=r,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n,i=[],r=function(e){e=e;var n=987654321;return function(){var i=((n=36969*(65535&n)+(n>>16)&4294967295)<<16)+(e=18e3*(65535&e)+(e>>16)&4294967295)&4294967295;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}},o=0;o>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new a.init(n,e/2)}},c=s.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new a.init(n,e)}},u=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},p=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n=this._data,i=n.words,r=n.sigBytes,o=this.blockSize,s=r/(4*o),l=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*o,c=t.min(4*l,r);if(l){for(var u=0;u *",[Object(O.i)({opacity:0,minWidth:"100%",transform:"scaleY(0)"}),Object(O.e)("150ms cubic-bezier(0.25, 0.8, 0.25, 1)")]),Object(O.j)("* => void",[Object(O.e)("250ms 100ms linear",Object(O.i)({opacity:0}))])]),fadeInContent:Object(O.k)("fadeInContent",[Object(O.h)("showing",Object(O.i)({opacity:1})),Object(O.j)("void => showing",[Object(O.i)({opacity:0}),Object(O.e)("150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},A=0,P=new r.y("mat-select-scroll-strategy"),T={provide:P,deps:[d.c],useFactory:i},I=function(){return function(t,e){this.source=t,this.value=e}}(),D=function(){return function(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}(),j=Object(v.E)(Object(v.H)(Object(v.F)(Object(v.G)(D)))),R=function(){function t(){}return t.decorators=[{type:r.o,args:[{selector:"mat-select-trigger"}]}],t.ctorParameters=function(){return[]},t}(),M=function(t){function e(e,n,i,o,a,s,l,c,u,p,d,h){var m=t.call(this,a,o,l,c,p)||this;return m._viewportRuler=e,m._changeDetectorRef=n,m._ngZone=i,m._dir=s,m._parentFormField=u,m.ngControl=p,m._scrollStrategyFactory=h,m._panelOpen=!1,m._required=!1,m._scrollTop=0,m._multiple=!1,m._compareWith=function(t,e){return t===e},m._uid="mat-select-"+A++,m._destroy=new k.Subject,m._triggerFontSize=0,m._onChange=function(){},m._onTouched=function(){},m._optionIds="",m._transformOrigin="top",m._panelDoneAnimating=!1,m._scrollStrategy=m._scrollStrategyFactory(),m._offsetY=0,m._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],m.focused=!1,m.controlType="mat-select",m.ariaLabel="",m.optionSelectionChanges=Object(S.defer)(function(){return m.options?C.merge.apply(void 0,m.options.map(function(t){return t.onSelectionChange})):m._ngZone.onStable.asObservable().pipe(Object(f.take)(1),Object(g.switchMap)(function(){return m.optionSelectionChanges}))}),m.openedChange=new r.s,m.onOpen=m._openedStream,m.onClose=m._closedStream,m.selectionChange=new r.s,m.change=m.selectionChange,m.valueChange=new r.s,m.ngControl&&(m.ngControl.valueAccessor=m),m.tabIndex=parseInt(d)||0,m.id=m.id,m}return Object(a.b)(e,t),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(c.b)(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(c.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(Object(h.filter)(function(t){return t}),Object(m.map)(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(Object(h.filter)(function(t){return!t}),Object(m.map)(function(){}))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._selectionModel=new u.b(this.multiple,void 0,!1),this.stateChanges.next()},e.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this.options.changes.pipe(Object(_.startWith)(null),Object(y.takeUntil)(this._destroy)).subscribe(function(){t._resetOptions(),t._initializeSelection()})},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement)["font-size"]),this._panelOpen=!0,this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(f.take)(1)).subscribe(function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")}))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map(function(t){return t.viewValue});return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},e.prototype._handleClosedKeydown=function(t){var e=t.keyCode;e===p.f||e===p.n||(this.multiple||t.altKey)&&(e===p.d||e===p.p)?(t.preventDefault(),this.open()):this.multiple||this._keyManager.onKeydown(t)},e.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=e===p.d||e===p.p,i=this._keyManager;if(e===p.h||e===p.e)t.preventDefault(),e===p.h?i.setFirstItemActive():i.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==p.f&&e!==p.n||!i.activeItem){var r=i.activeItemIndex;i.onKeydown(t),this._multiple&&n&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==r&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()},e.prototype._onPanelDone=function(){this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this._panelDoneAnimating=!1,this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())},e.prototype._onFadeInDone=function(){this._panelDoneAnimating=this.panelOpen,this._changeDetectorRef.markForCheck()},e.prototype._onFocus=function(){this.disabled||(this.focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this.focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(Object(f.take)(1)).subscribe(function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop})},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then(function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value)})},e.prototype._setSelectionByValue=function(t,e){var n=this;if(void 0===e&&(e=!1),this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._clearSelection(),t.forEach(function(t){return n._selectValue(t,e)}),this._sortValues()}else{this._clearSelection();var i=this._selectValue(t,e);i&&this._keyManager.setActiveItem(this.options.toArray().indexOf(i))}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(t,e){var n=this;void 0===e&&(e=!1);var i=this.options.find(function(e){try{return null!=e.value&&n._compareWith(e.value,t)}catch(t){return Object(r._8)()&&console.warn(t),!1}});return i&&(e?i._selectViaInteraction():i.select(),this._selectionModel.select(i),this.stateChanges.next()),i},e.prototype._clearSelection=function(t){this._selectionModel.clear(),this.options.forEach(function(e){e!==t&&e.deselect()}),this.stateChanges.next()},e.prototype._initKeyManager=function(){var t=this;this._keyManager=new s.d(this.options).withTypeAhead(),this._keyManager.tabOut.pipe(Object(y.takeUntil)(this._destroy)).subscribe(function(){return t.close()}),this._keyManager.change.pipe(Object(y.takeUntil)(this._destroy)).subscribe(function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()})},e.prototype._resetOptions=function(){var t=this,e=Object(C.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(y.takeUntil)(e),Object(h.filter)(function(t){return t.isUserInput})).subscribe(function(e){t._onSelect(e.source),!t.multiple&&t._panelOpen&&(t.close(),t.focus())}),C.merge.apply(void 0,this.options.map(function(t){return t._stateChanges})).pipe(Object(y.takeUntil)(e)).subscribe(function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()}),this._setOptionIds()},e.prototype._onSelect=function(t){var e=this._selectionModel.isSelected(t);this.multiple?(this._selectionModel.toggle(t),this.stateChanges.next(),e?t.deselect():t.select(),this._keyManager.setActiveItem(this._getOptionIndex(t)),this._sortValues()):(this._clearSelection(null==t.value?void 0:t),null==t.value?this._propagateChanges(t.value):(this._selectionModel.select(t),this.stateChanges.next())),e!==this._selectionModel.isSelected(t)&&this._propagateChanges()},e.prototype._sortValues=function(){var t=this;this._multiple&&(this._selectionModel.clear(),this.options.forEach(function(e){e.selected&&t._selectionModel.select(e)}),this.stateChanges.next())},e.prototype._propagateChanges=function(t){var e=null;e=this.multiple?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new I(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(t){return t.id}).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._getOptionIndex(this._selectionModel.selected[0])))},e.prototype._scrollActiveOptionIntoView=function(){var t=this._getItemHeight(),e=this._keyManager.activeItemIndex||0,n=(e+v.t.countGroupLabelsBeforeOption(e,this.options,this.optionGroups))*t,i=this.panel.nativeElement.scrollTop;ni+256&&(this.panel.nativeElement.scrollTop=Math.max(0,n-256+t))},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._getOptionIndex=function(t){return this.options.reduce(function(e,n,i){return void 0===e?t===n?i:void 0:e},void 0)},e.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=v.t.countGroupLabelsBeforeOption(r,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(r,o,i),this._offsetY=this._calculateOverlayOffsetY(r,o,i),this._checkOverlayWithinViewport(i)},e.prototype._calculateOverlayScroll=function(t,e,n){var i=this._getItemHeight(),r=i*t-e+i/2;return Math.min(Math.max(0,r),n)},Object.defineProperty(e.prototype,"_ariaLabel",{get:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},enumerable:!0,configurable:!0}),e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?60:32;if(this.multiple)t=44;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}i||(t*=-1);var a=0-(e.left+t-(i?r:0)),s=e.right+t-n.width+(i?0:r);a>0?t+=a+8:s>0&&(t-=s+8),this.overlayDir.offsetX=t,this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(t,e,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);if(0===this._scrollTop)i=t*r;else if(this._scrollTop===n){i=(t-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r)}else i=e-r/2;return-1*i-o},e.prototype._checkOverlayWithinViewport=function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,t):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(t,e,n){var i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e.decorators=[{type:r.k,args:[{selector:"mat-select",exportAs:"matSelect",template:'
',styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;transition:none}"],inputs:["disabled","disableRipple","tabIndex"],encapsulation:r._2.None,preserveWhitespaces:!1,changeDetection:r.h.OnPush,host:{role:"listbox","[attr.id]":"id","[attr.tabindex]":"tabIndex","[attr.aria-label]":"_ariaLabel","[attr.aria-labelledby]":"ariaLabelledby","[attr.aria-required]":"required.toString()","[attr.aria-disabled]":"disabled.toString()","[attr.aria-invalid]":"errorState","[attr.aria-owns]":"panelOpen ? _optionIds : null","[attr.aria-multiselectable]":"multiple","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-activedescendant]":"_getAriaActiveDescendant()","[class.mat-select-disabled]":"disabled","[class.mat-select-invalid]":"errorState","[class.mat-select-required]":"required",class:"mat-select","(keydown)":"_handleKeydown($event)","(focus)":"_onFocus()","(blur)":"_onBlur()"},animations:[E.transformPanel,E.fadeInContent],providers:[{provide:w.c,useExisting:e},{provide:v.l,useExisting:e}]}]}],e.ctorParameters=function(){return[{type:d.j},{type:r.i},{type:r.H},{type:v.d},{type:r.p},{type:l.c,decorators:[{type:r.I}]},{type:b.u,decorators:[{type:r.I}]},{type:b.k,decorators:[{type:r.I}]},{type:w.b,decorators:[{type:r.I}]},{type:b.r,decorators:[{type:r.U},{type:r.I}]},{type:void 0,decorators:[{type:r.g,args:["tabindex"]}]},{type:void 0,decorators:[{type:r.w,args:[P]}]}]},e.propDecorators={trigger:[{type:r.Z,args:["trigger"]}],panel:[{type:r.Z,args:["panel"]}],overlayDir:[{type:r.Z,args:[d.a]}],options:[{type:r.n,args:[v.t,{descendants:!0}]}],optionGroups:[{type:r.n,args:[v.s]}],panelClass:[{type:r.A}],customTrigger:[{type:r.m,args:[R]}],placeholder:[{type:r.A}],required:[{type:r.A}],multiple:[{type:r.A}],compareWith:[{type:r.A}],value:[{type:r.A}],ariaLabel:[{type:r.A,args:["aria-label"]}],ariaLabelledby:[{type:r.A,args:["aria-labelledby"]}],errorStateMatcher:[{type:r.A}],id:[{type:r.A}],openedChange:[{type:r.J}],_openedStream:[{type:r.J,args:["opened"]}],_closedStream:[{type:r.J,args:["closed"]}],onOpen:[{type:r.J}],onClose:[{type:r.J}],selectionChange:[{type:r.J}],change:[{type:r.J}],valueChange:[{type:r.J}]},e}(j),N=function(){function t(){}return t.decorators=[{type:r.E,args:[{imports:[o.b,d.g,v.u,v.n],exports:[w.d,M,R,v.u,v.n],declarations:[M,R],providers:[T,v.d]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(1),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.b(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n(24).a)},function(t,e,n){"use strict";e.a=function(t,e,n,o,a){if(void 0===a&&(a=new i.a(t,n,o)),!a.closed)return Object(r.a)(e)(a)};var i=n(96),r=n(274)},function(t,e,n){"use strict";function i(t){return null!=t&&""+t!="false"}function r(t,e){return void 0===e&&(e=0),function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"a",function(){return o})},function(t,e,n){"use strict";function i(t){return s._41(0,[(t()(),s._18(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null]],null,null,a,f)),s._17(1,49152,null,0,l.v,[],{state:[0,"state"],disabled:[1,"disabled"]},null)],function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)},function(t,e){t(e,0,0,"indeterminate"===s._32(e,1).state,"checked"===s._32(e,1).state,s._32(e,1).disabled)})}function r(t){return s._41(2,[(t()(),s._13(16777216,null,null,1,null,i)),s._17(1,16384,null,0,u.j,[s._1,s.W],{ngIf:[0,"ngIf"]},null),(t()(),s._18(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),s._31(null,0),(t()(),s._18(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),s._17(5,212992,null,0,l.x,[s.p,s.H,p.a,[2,l.m]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,1,0,n.multiple);t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())},function(t,e){t(e,4,0,s._32(e,5).unbounded)})}function o(t){return s._41(2,[(t()(),s._18(0,0,null,null,1,"label",[["class","mat-optgroup-label"]],[[8,"id",0]],null,null,null,null)),(t()(),s._39(1,null,["",""])),s._31(null,0)],null,function(t,e){var n=e.component;t(e,0,0,n._labelId);t(e,1,0,n.label)})}function a(t){return s._41(2,[],null,null)}n.d(e,"b",function(){return d}),e.e=r,n.d(e,"a",function(){return h}),e.d=o,n.d(e,"c",function(){return f}),e.f=a;var s=n(0),l=n(7),c=n(17),u=n(4),p=n(11),d=(s._15(l.n,[],function(t){return s._29([s._30(512,s.l,s._11,[[8,[]],[3,s.l],s.F]),s._30(6144,c.b,null,[u.c]),s._30(4608,c.c,c.c,[[2,c.b]]),s._30(512,c.a,c.a,[]),s._30(256,l.f,!0,[]),s._30(512,l.n,l.n,[[2,l.f]])])}),s._15(l.A,[],function(t){return s._29([s._30(512,s.l,s._11,[[8,[]],[3,s.l],s.F]),s._30(6144,l.h,null,[s.D]),s._30(4608,l.c,l.z,[[2,l.h]]),s._30(512,l.A,l.A,[])])}),s._15(l.r,[],function(t){return s._29([s._30(512,s.l,s._11,[[8,[]],[3,s.l],s.F]),s._30(6144,l.h,null,[s.D]),s._30(4608,l.c,l.z,[[2,l.h]]),s._30(512,l.A,l.A,[]),s._30(512,l.r,l.r,[]),s._30(256,l.g,l.k,[])])}),s._15(l.p,[],function(t){return s._29([s._30(512,s.l,s._11,[[8,[]],[3,s.l],s.F]),s._30(6144,c.b,null,[u.c]),s._30(4608,c.c,c.c,[[2,c.b]]),s._30(512,c.a,c.a,[]),s._30(256,l.f,!0,[]),s._30(512,l.n,l.n,[[2,l.f]]),s._30(512,l.p,l.p,[])])}),s._15(l.u,[],function(t){return s._29([s._30(512,s.l,s._11,[[8,[]],[3,s.l],s.F]),s._30(6144,c.b,null,[u.c]),s._30(4608,c.c,c.c,[[2,c.b]]),s._30(4608,p.a,p.a,[]),s._30(4608,u.l,u.k,[s.D,[2,u.w]]),s._30(512,c.a,c.a,[]),s._30(256,l.f,!0,[]),s._30(512,l.n,l.n,[[2,l.f]]),s._30(512,p.b,p.b,[]),s._30(512,l.y,l.y,[]),s._30(512,u.b,u.b,[]),s._30(512,l.w,l.w,[]),s._30(512,l.u,l.u,[])])}),s._15(l.y,[],function(t){return s._29([s._30(512,s.l,s._11,[[8,[]],[3,s.l],s.F]),s._30(6144,c.b,null,[u.c]),s._30(4608,c.c,c.c,[[2,c.b]]),s._30(4608,p.a,p.a,[]),s._30(512,c.a,c.a,[]),s._30(256,l.f,!0,[]),s._30(512,l.n,l.n,[[2,l.f]]),s._30(512,p.b,p.b,[]),s._30(512,l.y,l.y,[])])}),s._15(l.w,[],function(t){return s._29([s._30(512,s.l,s._11,[[8,[]],[3,s.l],s.F]),s._30(512,l.w,l.w,[])])}),s._16({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}})),h=(s._14("mat-option",l.t,function(t){return s._41(0,[(t()(),s._18(0,0,null,null,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==s._32(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==s._32(t,1)._handleKeydown(n)&&i),i},r,d)),s._17(1,8437760,null,0,l.t,[s.p,s.i,[2,l.l],[2,l.s]],null,null)],null,function(t,e){t(e,0,0,s._32(e,1)._getTabIndex(),s._32(e,1).selected,s._32(e,1).multiple,s._32(e,1).active,s._32(e,1).id,s._32(e,1).selected.toString(),s._32(e,1).disabled.toString(),s._32(e,1).disabled)})},{value:"value",disabled:"disabled"},{onSelectionChange:"onSelectionChange"},["*"]),s._16({encapsulation:2,styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],data:{}})),f=(s._14("mat-optgroup",l.s,function(t){return s._41(0,[(t()(),s._18(0,0,null,null,1,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,o,h)),s._17(1,49152,null,0,l.s,[],null,null)],null,function(t,e){t(e,0,0,s._32(e,1).disabled,s._32(e,1).disabled.toString(),s._32(e,1)._labelId)})},{disabled:"disabled",label:"label"},{},["mat-option"]),s._16({encapsulation:2,styles:[".mat-pseudo-checkbox{width:20px;height:20px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:9px;left:2px;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:5px;left:3px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],data:{}}));s._14("mat-pseudo-checkbox",l.v,function(t){return s._41(0,[(t()(),s._18(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null]],null,null,a,f)),s._17(1,49152,null,0,l.v,[],null,null)],null,function(t,e){t(e,0,0,"indeterminate"===s._32(e,1).state,"checked"===s._32(e,1).state,s._32(e,1).disabled)})},{state:"state",disabled:"disabled"},{},[])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(379))},function(t,e,n){"use strict";function i(t){return c._41(0,[(t()(),c._18(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),c._39(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.placeholder||" ")})}function r(t){return c._41(0,[(t()(),c._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),c._39(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.triggerValue)})}function o(t){return c._41(0,[c._31(null,0),(t()(),c._13(0,null,null,0))],null,null)}function a(t){return c._41(0,[(t()(),c._18(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),c._17(1,16384,null,0,p.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),c._13(16777216,null,null,1,null,r)),c._17(3,16384,null,0,p.p,[c._1,c.W,p.n],null,null),(t()(),c._13(16777216,null,null,1,null,o)),c._17(5,278528,null,0,p.o,[c._1,c.W,p.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){t(e,1,0,!!e.component.customTrigger);t(e,5,0,!0)},null)}function s(t){return c._41(0,[(t()(),c._18(0,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[2,"mat-select-panel-done-animating",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],function(t,e,n){var i=!0,r=t.component;if("@transformPanel.done"===e){i=!1!==r._onPanelDone()&&i}if("keydown"===e){i=!1!==r._handleKeydown(n)&&i}return i},null,null)),c._17(1,278528,null,0,p.h,[c.B,c.C,c.p,c.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),c._18(2,0,null,null,1,"div",[["class","mat-select-content"]],[[24,"@fadeInContent",0]],[[null,"@fadeInContent.done"]],function(t,e,n){var i=!0;if("@fadeInContent.done"===e){i=!1!==t.component._onFadeInDone()&&i}return i},null,null)),c._31(null,1)],function(t,e){var n=e.component;t(e,1,0,c._21(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)},function(t,e){var n=e.component;t(e,0,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._panelDoneAnimating,n._triggerFontSize);t(e,2,0,"showing")})}function l(t){return c._41(2,[c._37(402653184,1,{trigger:0}),c._37(671088640,2,{panel:0}),c._37(402653184,3,{overlayDir:0}),(t()(),c._18(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component.toggle()&&i}return i},null,null)),c._17(4,16384,[["origin",4]],0,m.b,[c.p],null,null),(t()(),c._18(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),c._17(6,16384,null,0,p.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),c._13(16777216,null,null,1,null,i)),c._17(8,278528,null,0,p.o,[c._1,c.W,p.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),c._13(16777216,null,null,1,null,a)),c._17(10,278528,null,0,p.o,[c._1,c.W,p.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),c._18(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),c._18(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),c._13(16777216,null,null,1,function(t,e,n){var i=!0,r=t.component;if("backdropClick"===e){i=!1!==r.close()&&i}if("attach"===e){i=!1!==r._onAttached()&&i}if("detach"===e){i=!1!==r.close()&&i}return i},s)),c._17(14,671744,[[3,4]],0,m.a,[m.c,c.W,c._1,m.l,[2,d.c]],{_deprecatedOrigin:[0,"_deprecatedOrigin"],_deprecatedPositions:[1,"_deprecatedPositions"],_deprecatedOffsetY:[2,"_deprecatedOffsetY"],_deprecatedMinWidth:[3,"_deprecatedMinWidth"],_deprecatedBackdropClass:[4,"_deprecatedBackdropClass"],_deprecatedScrollStrategy:[5,"_deprecatedScrollStrategy"],_deprecatedOpen:[6,"_deprecatedOpen"],_deprecatedHasBackdrop:[7,"_deprecatedHasBackdrop"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],function(t,e){var n=e.component;t(e,6,0,n.empty);t(e,8,0,!0);t(e,10,0,!1);t(e,14,0,c._32(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"")},null)}n.d(e,"a",function(){return v}),e.b=l;var c=n(0),u=n(45),p=n(4),d=n(17),h=n(11),f=n(39),m=n(70),g=n(7),_=n(61),y=n(26),b=n(3),v=(c._15(u.d,[],function(t){return c._29([c._30(512,c.l,c._11,[[8,[]],[3,c.l],c.F]),c._30(4608,p.l,p.k,[c.D,[2,p.w]]),c._30(6144,d.b,null,[p.c]),c._30(4608,d.c,d.c,[[2,d.b]]),c._30(4608,h.a,h.a,[]),c._30(5120,f.c,f.a,[[3,f.c],c.H,h.a]),c._30(5120,f.f,f.e,[[3,f.f],h.a,c.H]),c._30(4608,m.i,m.i,[f.c,f.f,c.H,p.c]),c._30(5120,m.e,m.k,[[3,m.e],p.c]),c._30(4608,m.h,m.h,[f.f,p.c]),c._30(5120,m.f,m.n,[[3,m.f],p.c]),c._30(4608,m.c,m.c,[m.i,m.e,c.l,m.h,m.f,c.f,c.z,c.H,p.c]),c._30(5120,m.l,m.m,[m.c]),c._30(5120,u.a,u.b,[m.c]),c._30(4608,g.d,g.d,[]),c._30(512,p.b,p.b,[]),c._30(512,d.a,d.a,[]),c._30(512,_.g,_.g,[]),c._30(512,h.b,h.b,[]),c._30(512,f.b,f.b,[]),c._30(512,m.g,m.g,[]),c._30(256,g.f,!0,[]),c._30(512,g.n,g.n,[[2,g.f]]),c._30(512,g.y,g.y,[]),c._30(512,g.w,g.w,[]),c._30(512,g.u,g.u,[]),c._30(512,y.d,y.d,[]),c._30(512,u.d,u.d,[])])}),c._16({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;transition:none}"],data:{animation:[{type:7,name:"transformPanel",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0,minWidth:"100%",transform:"scaleY(0)"},offset:null},{type:4,styles:null,timings:"150ms cubic-bezier(0.25, 0.8, 0.25, 1)"}],options:null},{type:1,expr:"* => void",animation:[{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"250ms 100ms linear"}],options:null}],options:{}},{type:7,name:"fadeInContent",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => showing",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}}));c._14("mat-select",u.c,function(t){return c._41(0,[(t()(),c._18(0,0,null,null,6,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==c._32(t,3)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==c._32(t,3)._onFocus()&&i),"blur"===e&&(i=!1!==c._32(t,3)._onBlur()&&i),i},l,v)),c._36(6144,null,y.c,null,[u.c]),c._36(6144,null,g.l,null,[u.c]),c._17(3,2080768,null,3,u.c,[f.f,c.i,c.H,g.d,c.p,[2,d.c],[2,b.u],[2,b.k],[2,y.b],[8,null],[8,null],u.a],null,null),c._37(603979776,1,{options:1}),c._37(603979776,2,{optionGroups:1}),c._37(335544320,3,{customTrigger:0})],function(t,e){t(e,3,0)},function(t,e){t(e,0,1,[c._32(e,3).id,c._32(e,3).tabIndex,c._32(e,3)._ariaLabel,c._32(e,3).ariaLabelledby,c._32(e,3).required.toString(),c._32(e,3).disabled.toString(),c._32(e,3).errorState,c._32(e,3).panelOpen?c._32(e,3)._optionIds:null,c._32(e,3).multiple,c._32(e,3)._ariaDescribedby||null,c._32(e,3)._getAriaActiveDescendant(),c._32(e,3).disabled,c._32(e,3).errorState,c._32(e,3).required])})},{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",ariaLabel:"aria-label",ariaLabelledby:"aria-labelledby",errorStateMatcher:"errorStateMatcher",id:"id"},{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",onOpen:"onOpen",onClose:"onClose",selectionChange:"selectionChange",change:"change",valueChange:"valueChange"},["mat-select-trigger","*"])},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(0),r=n(10),o=function(){function t(){this._focused=null,this._ids=-1,this._inputs=[]}return t.prototype.register=function(t){this._inputs.push(t)},t.prototype.deregister=function(t){Object(r.q)(this._inputs,t),this.unsetAsFocused(t)},t.prototype.setAsFocused=function(t){this._focused=t},t.prototype.unsetAsFocused=function(t){t===this._focused&&(this._focused=null)},t.prototype.tabFocus=function(t){var e=this._inputs,n=e.indexOf(t)+1;if(n>0&&n0){var r=e[n-1];r&&r.initFocus()}},t.prototype.nextId=function(){return++this._ids},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return t||new l}n.d(e,"d",function(){return l}),n.d(e,"c",function(){return c}),n.d(e,"a",function(){return a}),n.d(e,"b",function(){return s}),n.d(e,"e",function(){return i});var r=n(50),o=(n.n(r),n(0)),a=function(){return function(){}}(),s=function(){function t(t,e,n){void 0===t&&(t=!1),void 0===n&&(n=!0);var i=this;this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.onChange=this._emitChanges?new r.Subject:null,e&&e.length&&(t?e.forEach(function(t){return i._markSelected(t)}):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),t.prototype.select=function(){for(var t=this,e=[],n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),l=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){for(var n=0,i=this._listeners;n0}this._inputs.length>1&&this.setElementClass("item-multiple-inputs",!0)},e.prototype._updateColor=function(t,e){this._setColor(t,e=e||"item")},e.prototype._setName=function(t){var e=t.nativeElement.nodeName.replace("ION-","");"LIST-HEADER"!==e&&"ITEM-DIVIDER"!==e||(this._name=e)},e.prototype.getLabelText=function(){return this._label?this._label.text:""},Object.defineProperty(e.prototype,"contentLabel",{set:function(t){t&&(this._label=t,t.id=this.labelId,t.type&&this.setElementClass("item-label-"+t.type,!0),this._viewLabel=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewLabel",{set:function(t){this._label||(this._label=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_buttons",{set:function(t){t.forEach(function(t){t._size||t.setElementClass("item-button",!0)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_icons",{set:function(t){t.forEach(function(t){t.setElementClass("item-icon",!0)})},enumerable:!0,configurable:!0}),e.decorators=[{type:i.k,args:[{selector:"ion-list-header,ion-item,[ion-item],ion-item-divider",template:'
',host:{class:"item"},changeDetection:i.h.OnPush,encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:a.a},{type:o.a},{type:i.p},{type:i.O},{type:u.a,decorators:[{type:i.I}]}]},e.propDecorators={contentLabel:[{type:i.m,args:[c.a]}],viewLabel:[{type:i.Z,args:[c.a]}],_buttons:[{type:i.n,args:[r.a]}],_icons:[{type:i.n,args:[s.a]}]},e}(l.a)},function(t,e,n){"use strict";function i(t){return function(e){return e.lift(new le(t))}}function r(t,e){return void 0===e&&(e=ue.a),i(function(){return Object(pe.a)(t,e)})}function o(t){return function(e){return e.lift(new de(t))}}function a(t,e){return void 0===e&&(e=null),function(n){return n.lift(new me(t,e))}}function s(t){var e=arguments.length,n=ue.a;Object(ye.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),function(e){return e.lift(new be(t,i,r,n))}}function l(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function c(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,r=t.scheduler,o=i.openContext();i.closed||(i.add(o.closeAction=r.schedule(u,n,{subscriber:i,context:o})),this.schedule(t,e))}function u(t){t.subscriber.closeContext(t.context)}function p(t,e){return function(n){return n.lift(new Ce(t,e))}}function d(t){return function(e){return e.lift(new Se(t))}}function h(t){return function(e){var n=new Ae(t),i=e.lift(n);return n.caught=i}}function f(t){return function(e){return e.lift(new Te.a(t))}}function m(){for(var t=[],e=0;e=2;return function(i){return i.pipe(I(function(e,n){return n===t}),R(1),n?C(e):fn(function(){return new an.a}))}}function N(){for(var t=[],e=0;e0?Object(je.a)(e,Object(yn.a)(t,n)):Object(je.a)(e,Object(mn.b)(n)):Object(je.a)(e,Object(bn.a)(t[0]))}}function F(t,e){return function(n){return n.lift(new vn(t,e,n))}}function L(){return function(t){return t.lift(new xn)}}function B(t,e){return e?function(n){return n.pipe(B(function(n,i){return Object(De.a)(t(n,i)).pipe(Object(kn.a)(function(t,r){return e(n,t,i,r)}))}))}:function(e){return e.lift(new Sn(t))}}function V(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(i){return i.lift(new En(t,e,n))}}function z(t){return function(e){return e.lift(new Pn(t))}}function H(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new In(t,n,!1,e))}}function U(t,e){return function(n){return n.lift(new In(t,n,!0,e))}}function W(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?I(function(e,n){return t(e,n,i)}):jn.a,R(1),n?C(e):fn(function(){return new hn.a}))}}function Y(){return function(t){return t.lift(new Mn)}}function q(){return function(t){return t.lift(new Fn)}}function G(t){return function(e){return 0===t?Object(mn.b)():e.lift(new Bn(t))}}function K(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?I(function(e,n){return t(e,n,i)}):jn.a,G(1),n?C(e):fn(function(){return new hn.a}))}}function X(t){return function(e){return e.lift(new zn(t))}}function Z(){return function(t){return t.lift(new Un)}}function $(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new Yn(t,e,n))}}function J(t,e){return arguments.length>=2?function(n){return Object(Gn.a)($(t,e),G(1),C(e))(n)}:function(e){return Object(Gn.a)($(function(e,n,i){return t(e,n,i+1)}),G(1))(e)}}function Q(t){return J("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}function tt(){for(var t=[],e=0;e0?Object(je.a)(Object(yn.a)(t,n),e):Object(je.a)(Object(mn.b)(n),e):Object(je.a)(Object(bn.a)(t[0]),e)}}function It(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Bi(t,e))}}function Dt(t,e){return"function"==typeof e?function(n){return n.pipe(Dt(function(n,i){return Object(De.a)(t(n,i)).pipe(Object(kn.a)(function(t,r){return e(n,t,i,r)}))}))}:function(e){return e.lift(new Vi(t))}}function jt(){return Dt(jn.a)}function Rt(t,e){return e?Dt(function(){return t},e):Dt(function(){return t})}function Mt(t){return function(e){return e.lift(new Hi(t))}}function Nt(t){return function(e){return e.lift(new Wi(t))}}function Ft(t,e){return void 0===e&&(e=qi),function(n){return n.lift(new Gi(t,e.leading,e.trailing))}}function Lt(t,e,n){return void 0===e&&(e=ue.a),void 0===n&&(n=qi),function(i){return i.lift(new Xi(t,e,n.leading,n.trailing))}}function Bt(t){t.subscriber.clearThrottle()}function Vt(t){return void 0===t&&(t=ue.a),function(e){return Object($i.a)(function(){return e.pipe($(function(e,n){var i=e.current;return{value:n,current:t.now(),last:i}},{current:t.now(),value:void 0,last:void 0}),Object(kn.a)(function(t){return new Ji(t.value,t.current-t.last)}))})}}function zt(t,e,n){return void 0===n&&(n=ue.a),function(i){var r=k(t),o=r?+t-n.now():Math.abs(t);return i.lift(new tr(o,r,e,n))}}function Ht(t,e){return void 0===e&&(e=ue.a),zt(t,Object(nr.a)(new Qi.a),e)}function Ut(t){return void 0===t&&(t=ue.a),Object(kn.a)(function(e){return new ir(e,t.now())})}function Wt(t,e,n){return 0===n?[e]:(t.push(e),t)}function Yt(){return J(Wt,[])}function qt(t){return function(e){return e.lift(new rr(t))}}function Gt(t,e){return void 0===e&&(e=0),function(n){return n.lift(new ar(t,e))}}function Kt(t){var e=ue.a,n=null,i=Number.POSITIVE_INFINITY;return Object(ye.a)(arguments[3])&&(e=arguments[3]),Object(ye.a)(arguments[2])?e=arguments[2]:Object(Fi.a)(arguments[2])&&(i=arguments[2]),Object(ye.a)(arguments[1])?e=arguments[1]:Object(Fi.a)(arguments[1])&&(n=arguments[1]),function(r){return r.lift(new lr(t,n,i,e))}}function Xt(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function Zt(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,r=t.windowCreationInterval,o=n.openWindow(),a={action:this,subscription:null};a.subscription=i.schedule($t,e,{subscriber:n,window:o,context:a}),this.add(a.subscription),this.schedule(t,r)}function $t(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}function Jt(t,e){return function(n){return n.lift(new pr(t,e))}}function Qt(t){return function(e){return e.lift(new hr(t))}}function te(){for(var t=[],e=0;e0&&this.destination.next(e),t.prototype._complete.call(this)},e}(fe.a),_e=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.bufferSize=n,r.startBufferEvery=i,r.buffers=[],r.count=0,r}return ie.b(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,i=this.buffers,r=this.count;this.count++,r%n==0&&i.push([]);for(var o=i.length;o--;){var a=i[o];a.push(t),a.length===e&&(i.splice(o,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var i=e.shift();i.length>0&&n.next(i)}t.prototype._complete.call(this)},e}(fe.a),ye=n(75),be=function(){function t(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new we(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),ve=function(){return function(){this.buffer=[]}}(),we=function(t){function e(e,n,i,r,o){var a=t.call(this,e)||this;a.bufferTimeSpan=n,a.bufferCreationInterval=i,a.maxBufferSize=r,a.scheduler=o,a.contexts=[];var s=a.openContext();if(a.timespanOnly=null==i||i<0,a.timespanOnly){a.add(s.closeAction=o.schedule(l,n,{subscriber:a,context:s,bufferTimeSpan:n}))}else{var p={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:a,scheduler:o};a.add(s.closeAction=o.schedule(u,n,{subscriber:a,context:s})),a.add(o.schedule(c,i,p))}return a}return ie.b(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,i=n.length,r=0;r0;){var i=e.shift();n.next(i.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(l,n,{subscriber:this,context:t,bufferTimeSpan:n}))}},e.prototype.openContext=function(){var t=new ve;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(fe.a),xe=n(57),Ce=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new ke(t,this.openings,this.closingSelector))},t}(),ke=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.openings=n,r.closingSelector=i,r.contexts=[],r.add(Object(se.a)(r,n)),r}return ie.b(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,i=0;i0;){var i=n.shift();i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.subscription;this.destination.next(t.buffer),e.splice(e.indexOf(t),1),this.remove(n),n.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new xe.a,i={buffer:[],subscription:n};e.push(i);var r=Object(se.a)(this,t,i);!r||r.closed?this.closeBuffer(i):(r.context=i,this.add(r),n.add(r))},e}(ae.a),Se=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Oe(t,this.closingSelector))},t}(),Oe=function(t){function e(e,n){var i=t.call(this,e)||this;return i.closingSelector=n,i.subscribing=!1,i.openBuffer(),i}return ie.b(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,i,r){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());this.buffer&&this.destination.next(this.buffer),this.buffer=[];var e=Object(re.a)(this.closingSelector)();e===oe.a?this.error(oe.a.e):(t=new xe.a,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(Object(se.a)(this,e)),this.subscribing=!1)},e}(ae.a),Ee=n(96),Ae=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Pe(t,this.selector,this.caught))},t}(),Pe=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.selector=n,r.caught=i,r}return ie.b(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var i=new Ee.a(this,void 0,void 0);this.add(i),Object(se.a)(this,n,void 0,void 0,i)}},e}(ae.a),Te=n(206),Ie=n(66),De=n(83),je=n(159),Re=n(280),Me=n(139),Ne=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Fe(t,this.predicate,this.source))},t}(),Fe=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.source=i,r.count=0,r.index=0,r}return ie.b(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(fe.a),Le=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Be(t,this.durationSelector))},t}(),Be=function(t){function e(e,n){var i=t.call(this,e)||this;return i.durationSelector=n,i.hasValue=!1,i.durationSubscription=null,i}return ie.b(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=Object(se.a)(this,e))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(ae.a),Ve=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new ze(t,this.dueTime,this.scheduler))},t}(),ze=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return ie.b(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(x,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(fe.a),He=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new Ue(t,this.defaultValue))},t}(),Ue=function(t){function e(e,n){var i=t.call(this,e)||this;return i.defaultValue=n,i.isEmpty=!0,i}return ie.b(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(fe.a),We=n(157),Ye=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new qe(t,this.delay,this.scheduler))},t}(),qe=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.delay=n,r.scheduler=i,r.queue=[],r.active=!1,r.errored=!1,r}return ie.b(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0;this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new Ge(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(We.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(We.a.createComplete()),this.unsubscribe()},e}(fe.a),Ge=function(){return function(t,e){this.time=t,this.notification=e}}(),Ke=n(44),Xe=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Ze(t,this.delayDurationSelector))},t}(),Ze=function(t){function e(e,n){var i=t.call(this,e)||this;return i.delayDurationSelector=n,i.completed=!1,i.delayNotifierSubscriptions=[],i.index=0,i}return ie.b(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(t),this.removeSubscription(r),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=Object(se.a)(this,t,e);if(n&&!n.closed){this.destination.add(n),this.delayNotifierSubscriptions.push(n)}},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(ae.a),$e=function(t){function e(e,n){var i=t.call(this)||this;return i.source=e,i.subscriptionDelay=n,i}return ie.b(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new Je(t,this.source))},e}(Ke.a),Je=function(t){function e(e,n){var i=t.call(this)||this;return i.parent=e,i.source=n,i.sourceSubscribed=!1,i}return ie.b(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(fe.a),Qe=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new tn(t))},t}(),tn=function(t){function e(e){return t.call(this,e)||this}return ie.b(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(fe.a),en=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new nn(t,this.keySelector,this.flushes))},t}(),nn=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.keySelector=n,r.values=new Set,i&&r.add(Object(se.a)(r,i)),r}return ie.b(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(ae.a),rn=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new on(t,this.compare,this.keySelector))},t}(),on=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.keySelector=i,r.hasKey=!1,"function"==typeof n&&(r.compare=n),r}return ie.b(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=Object(re.a)(this.keySelector)(t))===oe.a)return this.destination.error(oe.a.e);var n=!1;if(this.hasKey){if((n=Object(re.a)(this.compare)(this.key,e))===oe.a)return this.destination.error(oe.a.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=e,this.destination.next(t))},e}(fe.a),an=n(136),sn=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new ln(t,this.predicate,this.thisArg))},t}(),ln=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.thisArg=i,r.count=0,r}return ie.b(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(fe.a),cn=n(155),un=n(133),pn=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new dn(t,this.nextOrObserver,this.error,this.complete))},t}(),dn=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o._tapNext=cn.a,o._tapError=cn.a,o._tapComplete=cn.a,o._tapError=i||cn.a,o._tapComplete=r||cn.a,Object(un.a)(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||cn.a,o._tapError=n.error||cn.a,o._tapComplete=n.complete||cn.a),o}return ie.b(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(fe.a),hn=n(137),fn=function(t){return void 0===t&&(t=j),D({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})},mn=n(67),gn=function(){function t(t){if(this.total=t,this.total<0)throw new an.a}return t.prototype.call=function(t,e){return e.subscribe(new _n(t,this.total))},t}(),_n=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return ie.b(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(fe.a),yn=n(95),bn=n(204),vn=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new wn(t,this.predicate,this.thisArg,this.source))},t}(),wn=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=i,o.source=r,o.index=0,o.thisArg=i||o,o}return ie.b(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(fe.a),xn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Cn(t))},t}(),Cn=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return ie.b(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(se.a)(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(ae.a),kn=n(76),Sn=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new On(t,this.project))},t}(),On=function(t){function e(e,n){var i=t.call(this,e)||this;return i.project=n,i.hasSubscription=!1,i.hasCompleted=!1,i.index=0,i}return ie.b(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=new Ee.a(this,void 0,void 0);this.destination.add(i),Object(se.a)(this,t,e,n,i)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(ae.a),En=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new An(t,this.project,this.concurrent,this.scheduler))},t}(),An=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.project=n,o.concurrent=i,o.scheduler=r,o.index=0,o.active=0,o.hasCompleted=!1,i0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(ae.a),Pn=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Tn(t,this.callback))},t}(),Tn=function(t){function e(e,n){var i=t.call(this,e)||this;return i.add(new xe.a(n)),i}return ie.b(e,t),e}(fe.a),In=function(){function t(t,e,n,i){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=i}return t.prototype.call=function(t,e){return e.subscribe(new Dn(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Dn=function(t){function e(e,n,i,r,o){var a=t.call(this,e)||this;return a.predicate=n,a.source=i,a.yieldIndex=r,a.thisArg=o,a.index=0,a}return ie.b(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,i=this.index++;try{e.call(n||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(fe.a),jn=n(117),Rn=n(266),Mn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Nn(t))},t}(),Nn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ie.b(e,t),e.prototype._next=function(t){},e}(fe.a),Fn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Ln(t))},t}(),Ln=function(t){function e(e){return t.call(this,e)||this}return ie.b(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(fe.a),Bn=function(){function t(t){if(this.total=t,this.total<0)throw new an.a}return t.prototype.call=function(t,e){return e.subscribe(new Vn(t,this.total))},t}(),Vn=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.ring=new Array,i.count=0,i}return ie.b(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,i=this.count++;if(e.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(ae.a),Jn=n(264),Qn=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,i=this.subjectFactory(),r=n(i).subscribe(t);return r.add(e.subscribe(i)),r},t}(),ti=n(270),ei=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new ni(t,this.nextSources))},t}(),ni=function(t){function e(e,n){var i=t.call(this,e)||this;return i.destination=e,i.nextSources=n,i}return ie.b(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new Ee.a(this,void 0,void 0);this.destination.add(e),Object(se.a)(this,t,void 0,void 0,e)}else this.destination.complete()},e}(ae.a),ii=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ri(t))},t}(),ri=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return ie.b(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(fe.a),oi=n(63),ai=n(267),si=n(158),li=n(202),ci=n(282),ui=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new pi(t,this.count,this.source))},t}(),pi=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.count=n,r.source=i,r}return ie.b(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(fe.a),di=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new hi(t,this.notifier,e))},t}(),hi=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.notifier=n,r.source=i,r.sourceIsBeingSubscribedTo=!0,r}return ie.b(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){this.notifications=new oi.a;var e=Object(re.a)(this.notifier)(this.notifications);if(e===oe.a)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=Object(se.a)(this,e)},e}(ae.a),fi=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new mi(t,this.count,this.source))},t}(),mi=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.count=n,r.source=i,r}return ie.b(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,i=this.count;if(0===i)return t.prototype.error.call(this,e);i>-1&&(this.count=i-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(fe.a),gi=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new _i(t,this.notifier,this.source))},t}(),_i=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.notifier=n,r.source=i,r}return ie.b(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{if(n=new oi.a,(i=Object(re.a)(this.notifier)(n))===oe.a)return t.prototype.error.call(this,oe.a.e);r=Object(se.a)(this,i)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=r,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,i,r){var o=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=o,this.source.subscribe(this)},e}(ae.a),yi=n(201),bi=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new vi(t),i=e.subscribe(n);return i.add(Object(se.a)(n,this.notifier)),i},t}(),vi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return ie.b(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(ae.a),wi=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new xi(t,this.period,this.scheduler))},t}(),xi=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.period=n,r.scheduler=i,r.hasValue=!1,r.add(i.schedule(vt,n,{subscriber:r,period:n})),r}return ie.b(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(fe.a),Ci=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new ki(t,this.compareTo,this.comparor))},t}(),ki=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.compareTo=n,r.comparor=i,r._a=[],r._b=[],r._oneComplete=!1,r.destination.add(n.subscribe(new Si(e,r))),r}return ie.b(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this._a,e=this._b,n=this.comparor;t.length>0&&e.length>0;){var i=t.shift(),r=e.shift(),o=!1;n?(o=Object(re.a)(n)(i,r))===oe.a&&this.destination.error(oe.a.e):o=i===r,o||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(fe.a),Si=function(t){function e(e,n){var i=t.call(this,e)||this;return i.parent=n,i}return ie.b(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(fe.a),Oi=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Ei(t,this.predicate,this.source))},t}(),Ei=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.source=i,r.seenValue=!1,r.index=0,r}return ie.b(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new hn.a)},e}(fe.a),Ai=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new Pi(t,this.total))},t}(),Pi=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return ie.b(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(fe.a),Ti=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new an.a}return t.prototype.call=function(t,e){return e.subscribe(0===this._skipCount?new fe.a(t):new Ii(t,this._skipCount))},t}(),Ii=function(t){function e(e,n){var i=t.call(this,e)||this;return i._skipCount=n,i._count=0,i._ring=new Array(n),i}return ie.b(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,r=this.windows,o=r.length,a=0;a=0&&s%e==0&&!this.closed&&r.shift().complete(),++this.count%e==0&&!this.closed){var l=new oi.a;r.push(l),n.next(l)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(fe.a),lr=function(){function t(t,e,n,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new ur(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),cr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return ie.b(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(oi.a),ur=function(t){function e(e,n,i,r,o){var a=t.call(this,e)||this;a.destination=e,a.windowTimeSpan=n,a.windowCreationInterval=i,a.maxWindowSize=r,a.scheduler=o,a.windows=[];var s=a.openWindow();if(null!==i&&i>=0){var l={windowTimeSpan:n,windowCreationInterval:i,subscriber:a,scheduler:o};a.add(o.schedule($t,n,{subscriber:a,window:s,context:null})),a.add(o.schedule(Zt,i,l))}else{a.add(o.schedule(Xt,n,{subscriber:a,window:s,windowTimeSpan:n}))}return a}return ie.b(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,i=0;i=this.maxWindowSize&&this.closeWindow(r))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new cr;this.windows.push(t);return this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(fe.a),pr=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new dr(t,this.openings,this.closingSelector))},t}(),dr=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.openings=n,r.closingSelector=i,r.contexts=[],r.add(r.openSubscription=Object(se.a)(r,n,n)),r}return ie.b(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i0){var a=o.indexOf(n);-1!==a&&o.splice(a,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(ae.a),_r=n(209);n.d(e,"audit",function(){return i}),n.d(e,"auditTime",function(){return r}),n.d(e,"buffer",function(){return o}),n.d(e,"bufferCount",function(){return a}),n.d(e,"bufferTime",function(){return s}),n.d(e,"bufferToggle",function(){return p}),n.d(e,"bufferWhen",function(){return d}),n.d(e,"catchError",function(){return h}),n.d(e,"combineAll",function(){return f}),n.d(e,"combineLatest",function(){return m}),n.d(e,"concat",function(){return g}),n.d(e,"concatAll",function(){return Re.a}),n.d(e,"concatMap",function(){return _}),n.d(e,"concatMapTo",function(){return y}),n.d(e,"count",function(){return b}),n.d(e,"debounce",function(){return v}),n.d(e,"debounceTime",function(){return w}),n.d(e,"defaultIfEmpty",function(){return C}),n.d(e,"delay",function(){return S}),n.d(e,"delayWhen",function(){return O}),n.d(e,"dematerialize",function(){return E}),n.d(e,"distinct",function(){return A}),n.d(e,"distinctUntilChanged",function(){return P}),n.d(e,"distinctUntilKeyChanged",function(){return T}),n.d(e,"elementAt",function(){return M}),n.d(e,"endWith",function(){return N}),n.d(e,"every",function(){return F}),n.d(e,"exhaust",function(){return L}),n.d(e,"exhaustMap",function(){return B}),n.d(e,"expand",function(){return V}),n.d(e,"filter",function(){return I}),n.d(e,"finalize",function(){return z}),n.d(e,"find",function(){return H}),n.d(e,"findIndex",function(){return U}),n.d(e,"first",function(){return W}),n.d(e,"groupBy",function(){return Rn.b}),n.d(e,"ignoreElements",function(){return Y}),n.d(e,"isEmpty",function(){return q}),n.d(e,"last",function(){return K}),n.d(e,"map",function(){return kn.a}),n.d(e,"mapTo",function(){return X}),n.d(e,"materialize",function(){return Z}),n.d(e,"max",function(){return Q}),n.d(e,"merge",function(){return tt}),n.d(e,"mergeAll",function(){return Xn.a}),n.d(e,"mergeMap",function(){return Me.a}),n.d(e,"flatMap",function(){return Me.a}),n.d(e,"mergeMapTo",function(){return et}),n.d(e,"mergeScan",function(){return nt}),n.d(e,"min",function(){return it}),n.d(e,"multicast",function(){return rt}),n.d(e,"observeOn",function(){return ti.b}),n.d(e,"onErrorResumeNext",function(){return ot}),n.d(e,"pairwise",function(){return at}),n.d(e,"partition",function(){return st}),n.d(e,"pluck",function(){return lt}),n.d(e,"publish",function(){return ct}),n.d(e,"publishBehavior",function(){return ut}),n.d(e,"publishLast",function(){return pt}),n.d(e,"publishReplay",function(){return dt}),n.d(e,"race",function(){return ht}),n.d(e,"reduce",function(){return J}),n.d(e,"repeat",function(){return ft}),n.d(e,"repeatWhen",function(){return mt}),n.d(e,"retry",function(){return gt}),n.d(e,"retryWhen",function(){return _t}),n.d(e,"refCount",function(){return yi.a}),n.d(e,"sample",function(){return yt}),n.d(e,"sampleTime",function(){return bt}),n.d(e,"scan",function(){return $}),n.d(e,"sequenceEqual",function(){return wt}),n.d(e,"share",function(){return Ct}),n.d(e,"shareReplay",function(){return kt}),n.d(e,"single",function(){return St}),n.d(e,"skip",function(){return Ot}),n.d(e,"skipLast",function(){return Et}),n.d(e,"skipUntil",function(){return At}),n.d(e,"skipWhile",function(){return Pt}),n.d(e,"startWith",function(){return Tt}),n.d(e,"subscribeOn",function(){return It}),n.d(e,"switchAll",function(){return jt}),n.d(e,"switchMap",function(){return Dt}),n.d(e,"switchMapTo",function(){return Rt}),n.d(e,"take",function(){return R}),n.d(e,"takeLast",function(){return G}),n.d(e,"takeUntil",function(){return Mt}),n.d(e,"takeWhile",function(){return Nt}),n.d(e,"tap",function(){return D}),n.d(e,"throttle",function(){return Ft}),n.d(e,"throttleTime",function(){return Lt}),n.d(e,"throwIfEmpty",function(){return fn}),n.d(e,"timeInterval",function(){return Vt}),n.d(e,"timeout",function(){return Ht}),n.d(e,"timeoutWith",function(){return zt}),n.d(e,"timestamp",function(){return Ut}),n.d(e,"toArray",function(){return Yt}),n.d(e,"window",function(){return qt}),n.d(e,"windowCount",function(){return Gt}),n.d(e,"windowTime",function(){return Kt}),n.d(e,"windowToggle",function(){return Jt}),n.d(e,"windowWhen",function(){return Qt}),n.d(e,"withLatestFrom",function(){return te}),n.d(e,"zip",function(){return ee}),n.d(e,"zipAll",function(){return ne})},function(t,e,n){"use strict";function i(t){return!!t&&(t instanceof E.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}function r(t,e,n){if(e){if(!Object(at.a)(e))return function(){for(var i=[],o=0;o1?Array.prototype.slice.call(arguments):t)},i,n)})}function h(t,e,n,i,r){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var a=t;t.addEventListener(e,n,r),o=function(){return a.removeEventListener(e,n,r)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(e,n),o=function(){return s.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var l=t;t.addListener(e,n),o=function(){return l.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,u=t.length;c=e){i.complete();break}if(i.next(o++),i.closed)break}})}function S(t){var e=t.start,n=t.index,i=t.subscriber;n>=t.count?i.complete():(i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}function O(t,e){return new E.a(function(n){var i;try{i=t()}catch(t){return void n.error(t)}var r;try{r=e(i)}catch(t){return void n.error(t)}var o=(r?Object(ht.a)(r):ut.a).subscribe(n);return function(){o.unsubscribe(),i&&i.unsubscribe()}})}Object.defineProperty(e,"__esModule",{value:!0});var E=n(44),A=n(264),P=n(266),T=n(116),I=n(63),D=n(267),j=n(202),R=n(158),M=n(272),N=n(68),F=n(268),L=n(1),B=n(134),V=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return L.b(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(B.a),z=n(135),H=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return L.b(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++ie.index?1:-1:t.delay>e.delay?1:-1},e}(B.a),Y=n(269),q=n(57),G=n(24),K=n(157),X=n(200),Z=n(155),$=n(117),J=n(136),Q=n(137),tt=n(156),et=n(263),nt=n(273),it=n(76),rt=n(197),ot=n(66),at=n(75),st=n(206),lt=n(159),ct=n(208),ut=n(67),pt=n(47),dt=function(t){function e(e,n){var i=t.call(this,e)||this;i.sources=n,i.completed=0,i.haveValues=0;var r=n.length;i.values=new Array(r);for(var o=0;o/g,">")}function g(t){St.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||St.removeAttribute(t,n)});for(var e=0,n=St.childNodesAsList(t);e"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return ne.init(i)}n.d(e,"a",function(){return Qt}),n.d(e,"j",function(){return Jt}),n.d(e,"h",function(){return M}),n.d(e,"i",function(){return B}),n.d(e,"b",function(){return j}),n.d(e,"d",function(){return W}),n.d(e,"e",function(){return Y}),n.d(e,"f",function(){return gt}),n.d(e,"g",function(){return _t}),n.d(e,"c",function(){return Ht}),n.d(e,"r",function(){return i}),n.d(e,"l",function(){return Q}),n.d(e,"k",function(){return ft}),n.d(e,"n",function(){return yt}),n.d(e,"o",function(){return wt}),n.d(e,"m",function(){return K}),n.d(e,"p",function(){return G}),n.d(e,"s",function(){return s}),n.d(e,"q",function(){return Ut});var v,w=n(4),x=n(0),C=n(1),k=null,S=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var i=["Webkit","Moz","O","ms"],r=0;r0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,i=0;i0;a||(a=t[o]=[]);var l=dt(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:l,handler:r});else{for(var c=!1,u=0;u-1},e.decorators=[{type:x.x}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:x.w,args:[j]}]},{type:_t,decorators:[{type:x.w,args:[gt]}]}]},e}(q),bt=["alt","control","meta","shift"],vt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},wt=function(t){function e(e){return t.call(this,e)||this}return Object(C.b)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var o=e.parseEventName(n),a=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return i().onAndCancel(t,o.domEventName,a)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;var r=e._normalizeKey(n.pop()),o="";if(bt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=r,0!=n.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=i().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),bt.forEach(function(i){if(i!=n){(0,vt[i])(t)&&(e+=i+".")}}),e+=n},e.eventCallback=function(t,n,i){return function(r){e.getEventFullKey(r)===t&&i.runGuarded(function(){return n(r)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:x.x}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:x.w,args:[j]}]}]},e}(q),xt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ct=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,kt=null,St=null,Ot=d("area,br,col,hr,img,wbr"),Et=d("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),At=d("rp,rt"),Pt=h(At,Et),Tt=h(Et,d("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),It=h(At,d("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Dt=h(Ot,Tt,It,Pt),jt=d("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Rt=d("srcset"),Mt=d("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nt=h(jt,Rt,Mt),Ft=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(St.isElementNode(e)?this.startElement(e):St.isTextNode(e)?this.chars(St.nodeValue(e)):this.sanitizedSomething=!0,St.firstChild(e))e=St.firstChild(e);else for(;e;){St.isElementNode(e)&&this.endElement(e);var n=f(e,St.nextSibling(e));if(n){e=n;break}e=f(e,St.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=St.nodeName(t).toLowerCase();Dt.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),St.attributeMap(t).forEach(function(t,n){var i=n.toLowerCase();Nt.hasOwnProperty(i)?(jt[i]&&(t=p(t)),Rt[i]&&(t=function(t){return(t=String(t)).split(",").map(function(t){return p(t.trim())}).join(", ")}(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(m(t)),e.buf.push('"')):e.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=St.nodeName(t).toLowerCase();Dt.hasOwnProperty(e)&&!Ot.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(m(t))},t}(),Lt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bt=/([^\#-~ |!])/g,Vt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),zt=/^url\(([^)]+)\)$/,Ht=function(){return function(){}}(),Ut=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(C.b)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case x.T.NONE:return e;case x.T.HTML:return e instanceof Yt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),_(this._doc,String(e)));case x.T.STYLE:return e instanceof qt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(zt);return e&&p(e[1])===e[1]||t.match(Vt)&&function(t){for(var e=!0,n=!0,i=0;i-1;return n.transitionDuration=(r?"-webkit-":"")+"transition-duration",n.transitionTimingFn=(r?"-webkit-":"")+"transition-timing-function",n.transitionDelay=(r?"-webkit-":"")+"transition-delay",n.transitionEnd=(r?"webkitTransitionEnd ":"")+"transitionend",n.transformOrigin=(r?"-webkit-":"")+"transform-origin",n.animationDelay=r?"webkitAnimationDelay":"animationDelay",n},e.f=function(t){if(t){var e=t.changedTouches;if(e&&e.length>0){var n=e[0];return{x:n.clientX,y:n.clientY}}var i=t.pageX;if(void 0!==i)return{x:i,y:t.pageY}}return{x:0,y:0}},e.d=function(t,e,n){if(e&&n){var i=e.x-n.x,r=e.y-n.y;return i*i+r*r>t*t}return!1},e.e=function(t){return!!t&&("TEXTAREA"===t.tagName||"true"===t.contentEditable||"INPUT"===t.tagName&&!i.test(t.type))},n.d(e,"a",function(){return i}),e.b=function(t,e){for(var n=t.attributes,i=0;i>>2]}},m=(i.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:f}),reset:function(){u.reset.call(this);var t=this.cfg,e=t.iv,n=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else{i=n.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==i?this._mode.init(this,e&&e.words):(this._mode=i.call(n,this,e&&e.words),this._mode.__creator=i)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else{e=this._process(!0);t.unpad(e)}return e},blockSize:4}),i.CipherParams=r.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),g=(n.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,n=t.salt;if(n)var i=o.create([1398893684,1701076831]).concat(n).concat(e);else i=e;return i.toString(l)},parse:function(t){var e=l.parse(t),n=e.words;if(1398893684==n[0]&&1701076831==n[1]){var i=o.create(n.slice(2,4));n.splice(0,4),e.sigBytes-=16}return m.create({ciphertext:e,salt:i})}},_=i.SerializableCipher=r.extend({cfg:r.extend({format:g}),encrypt:function(t,e,n,i){i=this.cfg.extend(i);var r=t.createEncryptor(n,i),o=r.finalize(e),a=r.cfg;return m.create({ciphertext:o,key:n,iv:a.iv,algorithm:t,mode:a.mode,padding:a.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,e,n,i){i=this.cfg.extend(i),e=this._parse(e,i.format);return t.createDecryptor(n,i).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),y=(n.kdf={}).OpenSSL={execute:function(t,e,n,i){i||(i=o.random(8));var r=c.create({keySize:e+n}).compute(t,i),a=o.create(r.words.slice(e),4*n);return r.sigBytes=4*e,m.create({key:r,iv:a,salt:i})}},b=i.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:y}),encrypt:function(t,e,n,i){var r=(i=this.cfg.extend(i)).kdf.execute(n,t.keySize,t.ivSize);i.iv=r.iv;var o=_.encrypt.call(this,t,e,r.key,i);return o.mixIn(r),o},decrypt:function(t,e,n,i){i=this.cfg.extend(i),e=this._parse(e,i.format);var r=i.kdf.execute(n,t.keySize,t.ivSize,e.salt);i.iv=r.iv;return _.decrypt.call(this,t,e,r.key,i)}})}()})},function(t,e,n){"use strict";function i(){throw Error("Host already has a portal attached")}n.d(e,"d",function(){return s}),n.d(e,"h",function(){return l}),n.d(e,"a",function(){return c}),n.d(e,"e",function(){return u}),n.d(e,"b",function(){return p}),n.d(e,"c",function(){return d}),n.d(e,"g",function(){return h}),n.d(e,"f",function(){return f});var r=n(1),o=n(0),a=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&i(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),s=function(t){function e(e,n,i){var r=t.call(this)||this;return r.component=e,r.viewContainerRef=n,r.injector=i,r}return Object(r.b)(e,t),e}(a),l=function(t){function e(e,n,i){var r=t.call(this)||this;return r.templateRef=e,r.viewContainerRef=n,r.context=i,r}return Object(r.b)(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(a),c=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof s?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof l?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),u=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.outletElement=e,o._componentFactoryResolver=n,o._appRef=i,o._defaultInjector=r,o}return Object(r.b)(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,i=this._componentFactoryResolver.resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.parentInjector),this.setDisposeFn(function(){return e.destroy()})):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.detectChanges(),i.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(i);-1!==t&&n.remove(t)}),i},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(c),p=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(r.b)(e,t),e.decorators=[{type:o.o,args:[{selector:"[cdk-portal], [cdkPortal], [portal]",exportAs:"cdkPortal"}]}],e.ctorParameters=function(){return[{type:o.W},{type:o._1}]},e}(l),d=function(t){function e(e,n){var i=t.call(this)||this;return i._componentFactoryResolver=e,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new o.s,i}return Object(r.b)(e,t),Object.defineProperty(e.prototype,"_deprecatedPortal",{get:function(){return this.portal},set:function(t){this.portal=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_deprecatedPortalHost",{get:function(){return this.portal},set:function(t){this.portal=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=this._componentFactoryResolver.resolveComponentFactory(e.component),r=n.createComponent(i,n.length,e.injector||n.parentInjector);return t.prototype.setDisposeFn.call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e.decorators=[{type:o.o,args:[{selector:"[cdkPortalOutlet], [cdkPortalHost], [portalHost]",exportAs:"cdkPortalOutlet, cdkPortalHost",inputs:["portal: cdkPortalOutlet"]}]}],e.ctorParameters=function(){return[{type:o.l},{type:o._1}]},e.propDecorators={_deprecatedPortal:[{type:o.A,args:["portalHost"]}],_deprecatedPortalHost:[{type:o.A,args:["cdkPortalHost"]}],attached:[{type:o.J,args:["attached"]}]},e}(c),h=function(){function t(){}return t.decorators=[{type:o.E,args:[{exports:[p,d],declarations:[p,d]}]}],t.ctorParameters=function(){return[]},t}(),f=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}()},function(t,e,n){"use strict";n.d(e,"p",function(){return i}),n.d(e,"d",function(){return r}),n.d(e,"m",function(){return o}),n.d(e,"i",function(){return a}),n.d(e,"l",function(){return s}),n.d(e,"k",function(){return l}),n.d(e,"h",function(){return c}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return p}),n.d(e,"n",function(){return d}),n.d(e,"o",function(){return h}),n.d(e,"g",function(){return f}),n.d(e,"b",function(){return m}),n.d(e,"c",function(){return g}),n.d(e,"a",function(){return _}),n.d(e,"q",function(){return y}),n.d(e,"r",function(){return b}),n.d(e,"j",function(){return v});var i=38,r=40,o=39,a=37,s=33,l=34,c=36,u=35,p=13,d=32,h=9,f=27,m=8,g=46,_=65,y=90,b=48,v=57},function(t,e,n){"use strict";n.d(e,"b",function(){return u}),n.d(e,"a",function(){return p});var i=n(1),r=n(44),o=n(24),a=n(57),s=n(156),l=n(265),c=n(199),u=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return i.b(e,t),e}(o.a),p=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i.b(e,t),e.prototype[c.a]=function(){return new u(this)},e.prototype.lift=function(t){var e=new d(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.a;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),r=0;r1&&"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),t}n.d(e,"a",function(){return l}),e.b=function(t,e,n,i,r){var o=new l(t,e,n,i,r);return o.init(),o};var r=n(97),o=n(10),a=n(142),s=n(6),l=function(){function t(t,e,n,i,r){this._app=t,this._serializer=e,this._location=n,this._moduleLoader=i,this._baseCfr=r,this._history=[]}return t.prototype.init=function(){var t=this,e=i(this._location.path());this._historyPush(e),this._location.subscribe(function(e){t._urlChange(i(e.url))})},t.prototype._urlChange=function(t){var e=this;if(!this._isCurrentUrl(t)){this._isBackUrl(t)?this._historyPop():(!1,this._historyPush(t));var n=this._app.getActiveNavContainers();if(n&&n.length){if("/"===t){if(!Object(o.l)(this._indexAliasUrl))return void n.forEach(function(t){t.goToRoot({updateUrl:!1,isNavRoot:!0})});t=this._indexAliasUrl}this.getCurrentSegments(t).map(function(t){for(var e=0,i=n;e30&&this._history.shift())},t.prototype._historyPop=function(){this._history.pop(),this._history.length||this._historyPush(this._location.path())},t.prototype._getTabSelector=function(t){return Object(o.l)(t.tabUrlPath)?t.tabUrlPath:Object(o.l)(t.tabTitle)?Object(a.c)(t.tabTitle):"tab-"+t.index},t.prototype._loadViewForSegment=function(t,e,n){if(!e)return n(!1,!1);if(Object(r.m)(t)||Object(r.l)(t)&&t.parent){var i=Object(r.m)(t)?t:t.parent,o=i._getSelectedTabIndex(e.secondaryId),a=i.getByIndex(o);return a._segment=e,i.select(a,{updateUrl:!1,animate:!1},!0),n(!1,!1)}for(var s=t,l=s.length()-1,c=l;c>=0;c--){var u=s.getByIndex(c);if(u&&(u.id===e.id||u.id===e.name))return c===l?n(!1,!1):s.popTo(u,{animate:!1,updateUrl:!1},n)}return s.setRoot(e.component||e.name,e.data,{id:e.id,animate:!1,updateUrl:!1},n)},t}()},function(t,e,n){"use strict";function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function r(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function o(t){return"undefined"!=typeof Blob&&t instanceof Blob}function a(t){return"undefined"!=typeof FormData&&t instanceof FormData}function s(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}function l(t,e){return void 0===e&&(e=[]),e?e.reduceRight(function(t,e){return new T(t,e)},t):t}function c(){return"object"==typeof window?window:{}}n.d(e,"b",function(){return b}),n.d(e,"g",function(){return y}),n.d(e,"c",function(){return P}),n.d(e,"h",function(){return v}),n.d(e,"a",function(){return I}),n.d(e,"d",function(){return G}),n.d(e,"e",function(){return q}),n.d(e,"q",function(){return l}),n.d(e,"f",function(){return A}),n.d(e,"i",function(){return V}),n.d(e,"k",function(){return L}),n.d(e,"j",function(){return U}),n.d(e,"l",function(){return B}),n.d(e,"o",function(){return W}),n.d(e,"p",function(){return Y}),n.d(e,"m",function(){return z}),n.d(e,"n",function(){return H});var u=n(0),p=n(86),d=(n.n(p),n(389)),h=(n.n(d),n(391)),f=(n.n(h),n(294)),m=(n.n(f),n(1)),g=n(4),_=n(79),y=(n.n(_),function(){return function(){}}()),b=function(){return function(){}}(),v=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var i=t.slice(0,n),r=i.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(i,r),e.headers.has(r)?e.headers.get(r).push(o):e.headers.set(r,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var i=t[n],r=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(e.headers.set(r,i),e.maybeSetNormalizedName(n,r))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,n),this.headers.set(e,i);break;case"d":var r=t.value;if(r){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===r.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),w=function(){function t(){}return t.prototype.encodeKey=function(t){return i(t)},t.prototype.encodeValue=function(t){return i(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}(),x=function(){function t(t){void 0===t&&(t={});var e=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new w,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;t.length>0&&t.split("&").forEach(function(t){var i=t.indexOf("="),r=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=r[0],a=r[1],s=n.get(o)||[];s.push(a),n.set(o,s)});return n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var i=t.fromObject[n];e.map.set(n,Array.isArray(i)?i:[i])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=null)},t}(),C=function(){function t(t,e,n,i){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();var r;if(function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=n||null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new v),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a=200&&this.status<300}}(),O=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=k.ResponseHeader,n}return Object(m.b)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(S),E=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=k.Response,n.body=e.body||null,n}return Object(m.b)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(S),A=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(m.b)(e,t),e}(S),P=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var i=this;void 0===n&&(n={});var r;if(t instanceof C)r=t;else{var o=void 0;void 0!==!!n.headers&&(o=n.headers instanceof v?n.headers:new v(n.headers));var a=void 0;n.params&&(a=n.params instanceof x?n.params:new x({fromObject:n.params})),r=new C(t,e,n.body||null,{headers:o,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=d.concatMap.call(Object(p.of)(r),function(t){return i.handler.handle(t)});if(t instanceof C||"events"===n.observe)return s;var l=h.filter.call(s,function(t){return t instanceof E});switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return f.map.call(l,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return f.map.call(l,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return f.map.call(l,function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body});case"json":default:return f.map.call(l,function(t){return t.body})}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new x).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,s(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,s(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,s(n,e))},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:y}]},t}(),T=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),I=new u.y("HTTP_INTERCEPTORS"),D=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[]},t}(),j=0,R=function(){return function(){}}(),M=function(){function t(t,e){this.callbackMap=t,this.document=e}return t.prototype.nextCallback=function(){return"ng_jsonp_callback_"+j++},t.prototype.handle=function(t){var e=this;if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");return new _.Observable(function(n){var i=e.nextCallback(),r=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"="+i+"$1"),o=e.document.createElement("script");o.src=r;var a=null,s=!1,l=!1;e.callbackMap[i]=function(t){delete e.callbackMap[i],l||(a=t,s=!0)};var c=function(){o.parentNode&&o.parentNode.removeChild(o),delete e.callbackMap[i]},u=function(t){l||(c(),s?(n.next(new E({body:a,status:200,statusText:"OK",url:r})),n.complete()):n.error(new A({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")})))},p=function(t){l||(c(),n.error(new A({error:t,status:0,statusText:"JSONP Error",url:r})))};return o.addEventListener("load",u),o.addEventListener("error",p),e.document.body.appendChild(o),n.next({type:k.Sent}),function(){l=!0,o.removeEventListener("load",u),o.removeEventListener("error",p),c()}})},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:R},{type:void 0,decorators:[{type:u.w,args:[g.c]}]}]},t}(),N=function(){function t(t){this.jsonp=t}return t.prototype.intercept=function(t,e){return"JSONP"===t.method?this.jsonp.handle(t):e.handle(t)},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:M}]},t}(),F=/^\)\]\}',?\n/,L=function(){return function(){}}(),B=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[]},t}(),V=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new _.Observable(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach(function(t,e){return i.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new v(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new O({headers:r,status:e,statusText:n,url:o})},c=function(){var e=l(),r=e.headers,o=e.status,a=e.statusText,s=e.url,c=null;204!==o&&(c=void 0===i.response?i.responseText:i.response),0===o&&(o=c?200:0);var u=o>=200&&o<300;if(u&&"json"===t.responseType&&"string"==typeof c){c=c.replace(F,"");try{c=JSON.parse(c)}catch(t){u=!1,c={error:t,text:c}}}else if(!u&&"json"===t.responseType&&"string"==typeof c)try{c=JSON.parse(c)}catch(t){}u?(n.next(new E({body:c,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new A({error:c,headers:r,status:o,statusText:a,url:s||void 0}))},u=function(t){var e=new A({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error"});n.error(e)},p=!1,d=function(e){p||(n.next(l()),p=!0);var r={type:k.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},h=function(t){var e={type:k.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",c),i.addEventListener("error",u),t.reportProgress&&(i.addEventListener("progress",d),null!==a&&i.upload&&i.upload.addEventListener("progress",h)),i.send(a),n.next({type:k.Sent}),function(){i.removeEventListener("error",u),i.removeEventListener("load",c),t.reportProgress&&(i.removeEventListener("progress",d),null!==a&&i.upload&&i.upload.removeEventListener("progress",h)),i.abort()}})},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:L}]},t}(),z=new u.y("XSRF_COOKIE_NAME"),H=new u.y("XSRF_HEADER_NAME"),U=function(){return function(){}}(),W=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(g.x)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:u.w,args:[g.c]}]},{type:void 0,decorators:[{type:u.w,args:[u.K]}]},{type:void 0,decorators:[{type:u.w,args:[z]}]}]},t}(),Y=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:U},{type:void 0,decorators:[{type:u.w,args:[H]}]}]},t}(),q=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:Y,useClass:D}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:z,useValue:e.cookieName}:[],e.headerName?{provide:H,useValue:e.headerName}:[]]}},t.decorators=[{type:u.E,args:[{providers:[Y,{provide:I,useExisting:Y,multi:!0},{provide:U,useClass:W},{provide:z,useValue:"XSRF-TOKEN"},{provide:H,useValue:"X-XSRF-TOKEN"}]}]}],t.ctorParameters=function(){return[]},t}(),G=function(){function t(){}return t.decorators=[{type:u.E,args:[{imports:[q.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})],providers:[P,{provide:y,useFactory:l,deps:[b,[new u.I,new u.w(I)]]},V,{provide:b,useExisting:V},B,{provide:L,useExisting:B}]}]}],t.ctorParameters=function(){return[]},t}();!function(){function t(){}t.decorators=[{type:u.E,args:[{providers:[M,{provide:R,useFactory:c},{provide:I,useClass:N,multi:!0}]}]}],t.ctorParameters=function(){return[]}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),e.b=function(t){return t?function(t){return new i.a(function(e){return t.schedule(function(){return e.complete()})})}(t):r};var i=n(44),r=new i.a(function(t){return t.complete()})},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(134),r=new(n(135).a)(i.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(10),r=function(){function t(t,e,n){this._dur=null,this._es=null,this._rvEs=null,this.hasChildren=!1,this.isPlaying=!1,this.hasCompleted=!1,this.plt=t,this.element(e),this.opts=n}return t.prototype.element=function(t){if(t)if("string"==typeof t){t=this.plt.doc().querySelectorAll(t);for(var e=0;es;for(var e=this._c,n=0;ns)return!0;for(var e=this._c,n=0;n0?(n[s]="",n[l]=o,r&&(n[c]=r)):n[s]="none"},t.prototype._beforeAnimation=function(){this._fireBeforeReadFunc(),this._fireBeforeWriteFunc(),this._setBeforeStyles()},t.prototype._setBeforeStyles=function(){var t,e,n=this._c;for(t=0;t30,this._progressEnd(t,i,n,this._isAsync),this._isAsync&&(this._asyncEnd(n,t),this.plt&&this.plt.raf(this._playToStep.bind(this,i)))},t.prototype._progressEnd=function(t,e,n,i){for(var r=this._c,o=0;oe.bottom||t.righte.right})}function o(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}function a(t){return"string"==typeof t?t:t+"px"}function s(t,e){return t||new N(e)}function l(t,e){return t||new L(e)}function c(t){return function(){return t.scrollStrategies.reposition()}}n.d(e,"c",function(){return z}),n.d(e,"e",function(){return L}),n.d(e,"b",function(){return Y}),n.d(e,"a",function(){return q}),n.d(e,"f",function(){return N}),n.d(e,"h",function(){return M}),n.d(e,"d",function(){return k}),n.d(e,"i",function(){return I}),n.d(e,"g",function(){return K}),n.d(e,"n",function(){return s}),n.d(e,"k",function(){return l}),n.d(e,"l",function(){return U}),n.d(e,"m",function(){return c});var u=n(0),p=n(39),d=n(4),h=n(17),f=n(61),m=n(1),g=n(72),_=(n.n(g),n(50)),y=(n.n(_),n(92)),b=(n.n(y),n(87)),v=(n.n(b),n(150)),w=(n.n(v),n(48)),x=n(62);n.d(e,"j",function(){return p.f});var C=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}(),k=function(){return function(t){var e=this;this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.direction="ltr",t&&Object.keys(t).filter(function(e){return void 0!==t[e]}).forEach(function(n){return e[n]=t[n]})}}(),S=function(){return function(t,e,n,i){this.offsetX=n,this.offsetY=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}(),O=function(){return function(){}}(),E=function(){function t(t,e){this.connectionPair=t,this.scrollableViewProperties=e}return t.ctorParameters=function(){return[{type:S},{type:O,decorators:[{type:u.I}]}]},t}(),A=function(){function t(t,e,n,i){var r=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run(function(){return r._overlayRef.detach()})}}return t.prototype.attach=function(t){if(this._overlayRef)throw i();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),P=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=-this._previousScrollPosition.left+"px",t.style.top=-this._previousScrollPosition.top+"px",t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=this._document.body,n=t.style.scrollBehavior||"",i=e.style.scrollBehavior||"";this._isEnabled=!1,t.style.left=this._previousHTMLStyles.left,t.style.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),t.style.scrollBehavior=e.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.style.scrollBehavior=n,e.style.scrollBehavior=i}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}(),T=function(){function t(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw i();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,o=n.height;r(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}})}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),I=function(){function t(t,e,n,i){var r=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new C},this.close=function(t){return new A(r._scrollDispatcher,r._ngZone,r._viewportRuler,t)},this.block=function(){return new P(r._viewportRuler,r._document)},this.reposition=function(t){return new T(r._scrollDispatcher,r._viewportRuler,r._ngZone,t)},this._document=i}return t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:p.c},{type:p.f},{type:u.H},{type:void 0,decorators:[{type:u.w,args:[d.c]}]}]},t}(),D=function(){function t(t,e,n,i,r,o){this._portalOutlet=t,this._pane=e,this._config=n,this._ngZone=i,this._keyboardDispatcher=r,this._document=o,this._backdropElement=null,this._backdropClick=new _.Subject,this._attachments=new _.Subject,this._detachments=new _.Subject,this._keydownEvents=new _.Subject,n.scrollStrategy&&n.scrollStrategy.attach(this)}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._config.positionStrategy&&this._config.positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(g.take)(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&(Array.isArray(this._config.panelClass)?this._config.panelClass.forEach(function(t){return e._pane.classList.add(t)}):this._pane.classList.add(this._config.panelClass)),this._attachments.next(),this._keyboardDispatcher.add(this),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._config.positionStrategy&&this._config.positionStrategy.detach&&this._config.positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._config.positionStrategy&&this._config.positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEvents.asObservable()},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._config.positionStrategy&&this._config.positionStrategy.apply()},t.prototype.updateSize=function(t){this._config=Object(m.a)({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=Object(m.a)({},this._config,{direction:t}),this._updateElementDirection()},t.prototype._updateElementDirection=function(){this._pane.setAttribute("dir",this._config.direction)},t.prototype._updateElementSize=function(){(this._config.width||0===this._config.width)&&(this._pane.style.width=a(this._config.width)),(this._config.height||0===this._config.height)&&(this._pane.style.height=a(this._config.height)),(this._config.minWidth||0===this._config.minWidth)&&(this._pane.style.minWidth=a(this._config.minWidth)),(this._config.minHeight||0===this._config.minHeight)&&(this._pane.style.minHeight=a(this._config.minHeight)),(this._config.maxWidth||0===this._config.maxWidth)&&(this._pane.style.maxWidth=a(this._config.maxWidth)),(this._config.maxHeight||0===this._config.maxHeight)&&(this._pane.style.maxHeight=a(this._config.maxHeight))},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this,e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._backdropElement.classList.add(this._config.backdropClass),this._pane.parentElement.insertBefore(this._backdropElement,this._pane),this._backdropElement.addEventListener("click",function(e){return t._backdropClick.next(e)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)},t.prototype._updateStackingOrder=function(){this._pane.nextSibling&&this._pane.parentNode.appendChild(this._pane)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null)};e.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&e.classList.remove(this._config.backdropClass),e.addEventListener("transitionend",n),e.style.pointerEvents="none",this._ngZone.runOutsideAngular(function(){setTimeout(n,500)})}},t}(),j=function(){function t(t,e,n,i,r){this._connectedTo=n,this._viewportRuler=i,this._document=r,this._dir="ltr",this._offsetX=0,this._offsetY=0,this.scrollables=[],this._resizeSubscription=y.Subscription.EMPTY,this._preferredPositions=[],this._applied=!1,this._positionLocked=!1,this._onPositionChange=new _.Subject,this._origin=this._connectedTo.nativeElement,this.withFallbackPosition(t,e)}return Object.defineProperty(t.prototype,"_isRtl",{get:function(){return"rtl"===this._dir},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onPositionChange",{get:function(){return this._onPositionChange.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;this._pane=t.overlayElement,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){return e.apply()})},t.prototype.dispose=function(){this._applied=!1,this._resizeSubscription.unsubscribe(),this._onPositionChange.complete()},t.prototype.detach=function(){this._applied=!1,this._resizeSubscription.unsubscribe()},t.prototype.apply=function(){if(this._applied&&this._positionLocked&&this._lastConnectedPosition)this.recalculateLastPosition();else{this._applied=!0;for(var t,e,n=this._pane,i=this._origin.getBoundingClientRect(),r=n.getBoundingClientRect(),o=this._viewportRuler.getViewportSize(),a=0,s=this._preferredPositions;a-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._unsubscribeFromKeydownEvents()},t.prototype._subscribeToKeydownEvents=function(){var t=this,e=Object(v.fromEvent)(this._document.body,"keydown",!0);this._keydownEventSubscription=e.pipe(Object(b.filter)(function(){return!!t._attachedOverlays.length})).subscribe(function(e){t._selectOverlayFromEvent(e)._keydownEvents.next(e)})},t.prototype._unsubscribeFromKeydownEvents=function(){this._keydownEventSubscription&&(this._keydownEventSubscription.unsubscribe(),this._keydownEventSubscription=null)},t.prototype._selectOverlayFromEvent=function(t){return this._attachedOverlays.find(function(e){return e.overlayElement===t.target||e.overlayElement.contains(t.target)})||this._attachedOverlays[this._attachedOverlays.length-1]},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:u.w,args:[d.c]}]}]},t}(),F={provide:N,deps:[[new u.I,new u.V,N],d.c],useFactory:s},L=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:u.w,args:[d.c]}]}]},t}(),B={provide:L,deps:[[new u.I,new u.V,L],d.c],useFactory:l},V=0,z=function(){function t(t,e,n,i,r,o,a,s,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._appRef=o,this._injector=a,this._ngZone=s,this._document=l}return t.prototype.create=function(t){var e=this._createPaneElement(),n=this._createPortalOutlet(e);return new D(n,e,new k(t),this._ngZone,this._keyboardDispatcher,this._document)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(){var t=this._document.createElement("div");return t.id="cdk-overlay-"+V++,t.classList.add("cdk-overlay-pane"),this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalOutlet=function(t){return new f.e(t,this._componentFactoryResolver,this._appRef,this._injector)},t.decorators=[{type:u.x}],t.ctorParameters=function(){return[{type:I},{type:L},{type:u.l},{type:M},{type:N},{type:u.f},{type:u.z},{type:u.H},{type:void 0,decorators:[{type:u.w,args:[d.c]}]}]},t}(),H=[new S({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new S({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new S({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new S({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"})],U=new u.y("cdk-connected-overlay-scroll-strategy"),W={provide:U,deps:[z],useFactory:c},Y=function(){function t(t){this.elementRef=t}return t.decorators=[{type:u.o,args:[{selector:"[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]",exportAs:"cdkOverlayOrigin"}]}],t.ctorParameters=function(){return[{type:u.p}]},t}(),q=function(){function t(t,e,n,i,r){this._overlay=t,this._scrollStrategy=i,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._backdropSubscription=y.Subscription.EMPTY,this._offsetX=0,this._offsetY=0,this.scrollStrategy=this._scrollStrategy(),this.open=!1,this.backdropClick=new u.s,this.positionChange=new u.s,this.attach=new u.s,this.detach=new u.s,this._templatePortal=new f.h(e,n)}return Object.defineProperty(t.prototype,"offsetX",{get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._position.withOffsetX(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"offsetY",{get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._position.withOffsetY(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(w.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(t){this._lockPosition=Object(w.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedOrigin",{get:function(){return this.origin},set:function(t){this.origin=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedPositions",{get:function(){return this.positions},set:function(t){this.positions=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedOffsetX",{get:function(){return this.offsetX},set:function(t){this.offsetX=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedOffsetY",{get:function(){return this.offsetY},set:function(t){this.offsetY=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedWidth",{get:function(){return this.width},set:function(t){this.width=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedHeight",{get:function(){return this.height},set:function(t){this.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedMinWidth",{get:function(){return this.minWidth},set:function(t){this.minWidth=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedMinHeight",{get:function(){return this.minHeight},set:function(t){this.minHeight=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedBackdropClass",{get:function(){return this.backdropClass},set:function(t){this.backdropClass=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedScrollStrategy",{get:function(){return this.scrollStrategy},set:function(t){this.scrollStrategy=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedOpen",{get:function(){return this.open},set:function(t){this.open=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedHasBackdrop",{get:function(){return this.hasBackdrop},set:function(t){this.hasBackdrop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._destroyOverlay()},t.prototype.ngOnChanges=function(t){this._position&&((t.positions||t._deprecatedPositions)&&this._position.withPositions(this.positions),t.lockPosition&&this._position.withLockedPosition(this.lockPosition),(t.origin||t._deprecatedOrigin)&&(this._position.setOrigin(this.origin.elementRef),this.open&&this._position.apply())),(t.open||t._deprecatedOpen)&&(this.open?this._attachOverlay():this._detachOverlay())},t.prototype._createOverlay=function(){this.positions&&this.positions.length||(this.positions=H),this._overlayRef=this._overlay.create(this._buildConfig())},t.prototype._buildConfig=function(){var t=this._position=this._createPositionStrategy(),e=new k({positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),e},t.prototype._createPositionStrategy=function(){for(var t=this,e=this.positions[0],n={originX:e.originX,originY:e.originY},i={overlayX:e.overlayX,overlayY:e.overlayY},r=this._overlay.position().connectedTo(this.origin.elementRef,n,i).withOffsetX(this.offsetX).withOffsetY(this.offsetY).withLockedPosition(this.lockPosition),o=1;o=o&&e._onFinish()}),t.onDestroy(function(){++i>=o&&e._onDestroy()}),t.onStart(function(){++r>=o&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),g="!"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(422))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(376))},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i={e:{}}},function(t,e,n){"use strict";e.a=function(t){return t&&"function"==typeof t.schedule}},function(t,e,n){"use strict";e.a=function(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(t,e))}};var i=n(1),r=n(24),o=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}(),a=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.project=n,r.count=0,r.thisArg=i||r,r}return i.b(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(r.a)},function(t,e,n){"use strict";n.d(e,"d",function(){return y}),n.d(e,"c",function(){return u}),n.d(e,"f",function(){return p}),n.d(e,"e",function(){return d}),n.d(e,"b",function(){return g}),n.d(e,"a",function(){return _});var i=n(0),r=n(4),o=n(7),a=n(30),s=n(1),l=n(11),c="accent",u=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"button[mat-button], a[mat-button]",host:{class:"mat-button"}}]}],t.ctorParameters=function(){return[]},t}(),p=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"button[mat-raised-button], a[mat-raised-button]",host:{class:"mat-raised-button"}}]}],t.ctorParameters=function(){return[]},t}(),d=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"button[mat-icon-button], a[mat-icon-button]",host:{class:"mat-icon-button"}}]}],t.ctorParameters=function(){return[]},t}(),h=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"button[mat-fab], a[mat-fab]",host:{class:"mat-fab"}}]}],t.ctorParameters=function(){return[]},t}(),f=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"button[mat-mini-fab], a[mat-mini-fab]",host:{class:"mat-mini-fab"}}]}],t.ctorParameters=function(){return[]},t}(),m=function(){return function(t){this._elementRef=t}}(),g=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r._platform=n,r._focusMonitor=i,r._isRoundButton=r._hasHostAttributes("mat-fab","mat-mini-fab"),r._isIconButton=r._hasHostAttributes("mat-icon-button"),r._focusMonitor.monitor(r._elementRef.nativeElement,!0),r._isRoundButton&&(r.color=c),r}return Object(s.b)(e,t),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.focus=function(){this._getHostElement().focus()},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasHostAttributes=function(){for(var t=this,e=[],n=0;n
',styles:[".mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.cdk-keyboard-focused.mat-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-icon-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-mini-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-raised-button .mat-button-focus-overlay,.cdk-program-focused.mat-button .mat-button-focus-overlay,.cdk-program-focused.mat-fab .mat-button-focus-overlay,.cdk-program-focused.mat-icon-button .mat-button-focus-overlay,.cdk-program-focused.mat-mini-fab .mat-button-focus-overlay,.cdk-program-focused.mat-raised-button .mat-button-focus-overlay{opacity:1}.mat-button::-moz-focus-inner,.mat-fab::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-mini-fab::-moz-focus-inner,.mat-raised-button::-moz-focus-inner{border:0}.mat-fab,.mat-mini-fab,.mat-raised-button{transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]),.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{transition:none;opacity:0}.mat-button:hover .mat-button-focus-overlay{opacity:1}.mat-fab{min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],inputs:["disabled","disableRipple","color"],encapsulation:i._2.None,preserveWhitespaces:!1,changeDetection:i.h.OnPush}]}],e.ctorParameters=function(){return[{type:i.p},{type:l.a},{type:a.j}]},e}(Object(o.D)(Object(o.F)(Object(o.E)(m)))),_=function(t){function e(e,n,i){return t.call(this,i,e,n)||this}return Object(s.b)(e,t),e.prototype._haltDisabledEvents=function(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())},e.decorators=[{type:i.k,args:[{selector:"a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab]",exportAs:"matButton, matAnchor",host:{"[attr.tabindex]":"disabled ? -1 : 0","[attr.disabled]":"disabled || null","[attr.aria-disabled]":"disabled.toString()","(click)":"_haltDisabledEvents($event)"},inputs:["disabled","disableRipple","color"],template:'
',styles:[".mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.cdk-keyboard-focused.mat-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-icon-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-mini-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-raised-button .mat-button-focus-overlay,.cdk-program-focused.mat-button .mat-button-focus-overlay,.cdk-program-focused.mat-fab .mat-button-focus-overlay,.cdk-program-focused.mat-icon-button .mat-button-focus-overlay,.cdk-program-focused.mat-mini-fab .mat-button-focus-overlay,.cdk-program-focused.mat-raised-button .mat-button-focus-overlay{opacity:1}.mat-button::-moz-focus-inner,.mat-fab::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-mini-fab::-moz-focus-inner,.mat-raised-button::-moz-focus-inner{border:0}.mat-fab,.mat-mini-fab,.mat-raised-button{transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]),.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{transition:none;opacity:0}.mat-button:hover .mat-button-focus-overlay{opacity:1}.mat-fab{min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],encapsulation:i._2.None,preserveWhitespaces:!1,changeDetection:i.h.OnPush}]}],e.ctorParameters=function(){return[{type:l.a},{type:a.j},{type:i.p}]},e}(g),y=function(){function t(){}return t.decorators=[{type:i.E,args:[{imports:[r.b,o.y,o.n,a.a],exports:[g,_,f,h,o.n,u,p,d],declarations:[g,_,f,h,u,p,d]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"c",function(){return _}),n.d(e,"b",function(){return f}),n.d(e,"a",function(){return g});var i=n(30),r=n(53),o=n(4),a=n(0),s=n(7),l=n(1),c=n(48),u=0,p={provide:n(3).q,useExisting:Object(a._6)(function(){return f}),multi:!0},d=function(){return function(){}}(),h=function(){return function(){}}(),f=function(t){function e(e){var n=t.call(this)||this;return n._changeDetector=e,n._value=null,n._name="mat-radio-group-"+u++,n._selected=null,n._isInitialized=!1,n._labelPosition="after",n._disabled=!1,n._required=!1,n._controlValueAccessorChangeFn=function(){},n.onTouched=function(){},n.change=new a.s,n}return Object(l.b)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._updateRadioButtonNames()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return"after"==this.labelPosition?"start":"end"},set:function(t){this.labelPosition="start"==t?"after":"before"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){this._labelPosition="before"==t?"before":"after",this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())},enumerable:!0,configurable:!0}),e.prototype._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)},Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(c.b)(t),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(c.b)(t),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._isInitialized=!0},e.prototype._touch=function(){this.onTouched&&this.onTouched()},e.prototype._updateRadioButtonNames=function(){var t=this;this._radios&&this._radios.forEach(function(e){e.name=t.name})},e.prototype._updateSelectedRadioFromValue=function(){var t=this;null==this._radios||null!=this._selected&&this._selected.value==this._value||(this._selected=null,this._radios.forEach(function(e){e.checked=t.value==e.value,e.checked&&(t._selected=e)}))},e.prototype._emitChangeEvent=function(){if(this._isInitialized){var t=new d;t.source=this._selected,t.value=this._value,this.change.emit(t)}},e.prototype._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(t){return t._markForCheck()})},e.prototype.writeValue=function(t){this.value=t,this._changeDetector.markForCheck()},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetector.markForCheck()},e.decorators=[{type:a.o,args:[{selector:"mat-radio-group",exportAs:"matRadioGroup",providers:[p],host:{role:"radiogroup",class:"mat-radio-group"},inputs:["disabled"]}]}],e.ctorParameters=function(){return[{type:a.i}]},e.propDecorators={change:[{type:a.J}],_radios:[{type:a.n,args:[Object(a._6)(function(){return g}),{descendants:!0}]}],name:[{type:a.A}],align:[{type:a.A}],labelPosition:[{type:a.A}],value:[{type:a.A}],selected:[{type:a.A}],disabled:[{type:a.A}],required:[{type:a.A}]},e}(Object(s.F)(h)),m=function(){return function(t){this._elementRef=t}}(),g=function(t){function e(e,n,i,r,o){var s=t.call(this,n)||this;return s._changeDetector=i,s._focusMonitor=r,s._radioDispatcher=o,s._uniqueId="mat-radio-"+ ++u,s.id=s._uniqueId,s.change=new a.s,s._checked=!1,s._value=null,s._rippleConfig={centered:!0,radius:23,speedFactor:1.5},s._removeUniqueSelectionListener=function(){},s.radioGroup=e,s._removeUniqueSelectionListener=o.listen(function(t,e){t!=s.id&&e==s.name&&(s.checked=!1)}),s}return Object(l.b)(e,t),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){var e=Object(c.b)(t);this._checked!=e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!=this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value==this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,null!=this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value==t),this.checked&&(this.radioGroup.selected=this)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return"after"==this.labelPosition?"start":"end"},set:function(t){this.labelPosition="start"==t?"after":"before"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(t){this._labelPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||null!=this.radioGroup&&this.radioGroup.disabled},set:function(t){this._disabled=Object(c.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(t){this._required=Object(c.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement.nativeElement,"keyboard")},e.prototype._markForCheck=function(){this._changeDetector.markForCheck()},e.prototype.ngOnInit=function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)},e.prototype.ngAfterViewInit=function(){var t=this;this._focusMonitor.monitor(this._inputElement.nativeElement).subscribe(function(e){return t._onInputFocusChange(e)})},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._inputElement.nativeElement),this._removeUniqueSelectionListener()},e.prototype._emitChangeEvent=function(){var t=new d;t.source=this,t.value=this._value,this.change.emit(t)},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onInputClick=function(t){t.stopPropagation()},e.prototype._onInputChange=function(t){t.stopPropagation();var e=this.radioGroup&&this.value!=this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),this.radioGroup._touch(),e&&this.radioGroup._emitChangeEvent())},e.prototype._onInputFocusChange=function(t){this._focusRipple||"keyboard"!==t?t||(this.radioGroup&&this.radioGroup._touch(),this._focusRipple&&(this._focusRipple.fadeOut(),this._focusRipple=null)):this._focusRipple=this._ripple.launch(0,0,Object(l.a)({persistent:!0},this._rippleConfig))},e.decorators=[{type:a.k,args:[{selector:"mat-radio-button",template:'',styles:[".mat-radio-button{display:inline-block}.mat-radio-label{cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(.001)}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}.mat-radio-label-content{display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-ripple{position:absolute;left:-15px;top:-15px;height:50px;width:50px;z-index:1;pointer-events:none}"],inputs:["color","disableRipple"],encapsulation:a._2.None,preserveWhitespaces:!1,exportAs:"matRadioButton",host:{class:"mat-radio-button","[class.mat-radio-checked]":"checked","[class.mat-radio-disabled]":"disabled","[attr.id]":"id","(focus)":"_inputElement.nativeElement.focus()"},changeDetection:a.h.OnPush}]}],e.ctorParameters=function(){return[{type:f,decorators:[{type:a.I}]},{type:a.p},{type:a.i},{type:i.j},{type:r.d}]},e.propDecorators={id:[{type:a.A}],name:[{type:a.A}],ariaLabel:[{type:a.A,args:["aria-label"]}],ariaLabelledby:[{type:a.A,args:["aria-labelledby"]}],checked:[{type:a.A}],value:[{type:a.A}],align:[{type:a.A}],labelPosition:[{type:a.A}],disabled:[{type:a.A}],required:[{type:a.A}],change:[{type:a.J}],_ripple:[{type:a.Z,args:[s.x]}],_inputElement:[{type:a.Z,args:["input"]}]},e}(Object(s.D)(Object(s.E)(m),"accent")),_=function(){function t(){}return t.decorators=[{type:a.E,args:[{imports:[o.b,s.y,s.n,i.a],exports:[f,g,s.n],providers:[r.c],declarations:[f,g]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(364))},function(t,e,n){"use strict";function i(){try{return r.apply(this,arguments)}catch(t){return o.a.e=t,o.a}}e.a=function(t){return r=t,i};var r,o=n(74)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(0),r=function(){function t(t,e){this._elementRef=t,this._renderer=e}return t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.decorators=[{type:i.o,args:[{selector:"ion-backdrop",host:{role:"presentation",tappable:"","disable-activated":""}}]}],t.ctorParameters=function(){return[{type:i.p},{type:i.O}]},t}()},function(t,e,n){"use strict";var i=n(0),r=n(15),o=n(9),a=n(10),s=n(298),l=n(59),c=n(98),u=function(){function t(t,e){this.plt=t,this.reorderList=e,this.selectedItemEle=null,this.events=new c.a(t),this.events.pointerEvents({element:this.reorderList.getNativeElement(),pointerDown:this.onDragStart.bind(this),pointerMove:this.onDragMove.bind(this),pointerUp:this.onDragEnd.bind(this),zone:!1})}return t.prototype.onDragStart=function(t){if(this.selectedItemEle)return!1;var e=t.target;if("ION-REORDER"!==e.nodeName)return!1;var n=e.$ionComponent;if(!n)return console.error("ion-reorder does not contain $ionComponent"),!1;this.reorderList._reorderPrepare();var i=n.getReorderNode();return i?(t.preventDefault(),this.selectedItemEle=i,this.selectedItemHeight=i.offsetHeight,this.lastYcoord=-100,this.lastToIndex=Object(s.b)(i),this.windowHeight=this.plt.height()-p,this.lastScrollPosition=this.reorderList._scrollContent(0),this.offset=Object(l.f)(t),this.offset.y+=this.lastScrollPosition,i.classList.add(h),this.reorderList._reorderStart(),!0):(console.error("reorder node not found"),!1)},t.prototype.onDragMove=function(t){var e=this.selectedItemEle;if(e){t.preventDefault();var n=Object(l.f)(t),i=n.y,r=this.scroll(i);if(Math.abs(i-this.lastYcoord)>30){var o=this.itemForCoord(n);if(o){var a=Object(s.b)(o);if(void 0!==a&&(a!==this.lastToIndex||this.emptyZone)){var c=Object(s.b)(e);this.lastToIndex=a,this.lastYcoord=i,this.emptyZone=!1,this.reorderList._reorderMove(c,a,this.selectedItemHeight)}}else this.emptyZone=!0}var u=Math.round(i-this.offset.y+r);e.style[this.plt.Css.transform]="translateY("+u+"px)"}},t.prototype.onDragEnd=function(t){var e=this,n=this.selectedItemEle;if(n){t&&(t.preventDefault(),t.stopPropagation());var i=this.lastToIndex,r=Object(s.b)(n),o=function(){e.selectedItemEle.style.transition="",e.selectedItemEle.classList.remove(h),e.selectedItemEle=null};i===r?(n.style.transition="transform 200ms ease-in-out",setTimeout(o,200)):o(),this.reorderList._reorderEmit(r,i)}},t.prototype.itemForCoord=function(t){var e=this.plt.getElementFromPoint(this.offset.x+(this.reorderList._isStart===this.plt.isRTL?-100:100),t.y);return Object(s.a)(e,this.reorderList.getNativeElement())},t.prototype.scroll=function(t){return tthis.windowHeight&&(this.lastScrollPosition=this.reorderList._scrollContent(d)),this.lastScrollPosition},t.prototype.destroy=function(){this.onDragEnd(null),this.events.destroy(),this.events=null,this.reorderList=null},t}(),p=60,d=10,h="reorder-active",f=n(5);n.d(e,"a",function(){return g});var m=function(){function t(t,e){this.from=t,this.to=e}return t.prototype.applyTo=function(t){Object(a.r)(t,this)},t}(),g=function(){function t(t,e,n,r,o,a){this._plt=t,this._dom=e,this._rendered=r,this._zone=o,this._content=a,this._enableReorder=!1,this._visibleReorder=!1,this._isStart=!1,this._lastToIndex=-1,this.ionItemReorder=new i.s,this._element=n.nativeElement}return Object.defineProperty(t.prototype,"side",{set:function(t){this._isStart="start"===t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._element=null,this._reorderGesture&&this._reorderGesture.destroy()},Object.defineProperty(t.prototype,"reorder",{get:function(){return this._enableReorder},set:function(t){var e=this,n=Object(a.o)(t);!n&&this._reorderGesture?(this._reorderGesture.destroy(),this._reorderGesture=null,this._visibleReorder=!1,setTimeout(function(){return e._enableReorder=!1},400)):n&&!this._reorderGesture&&(this._reorderGesture=new u(this._plt,this),this._enableReorder=!0,this._dom.write(function(){e._zone.run(function(){e._visibleReorder=!0})},16))},enumerable:!0,configurable:!0}),t.prototype._reorderPrepare=function(){for(var t=this._element,e=t.children,n=0,i=e.length;n=i)for(var a=i;a<=e;a++)a!==t&&(r[a].style[o]=a>t?"translateY("+-n+"px)":"");if(e<=i)for(a=e;a<=i;a++)a!==t&&(r[a].style[o]=abutton")})(t)||this.closeOpened()},e.prototype.closeOpened=function(){return this.selectedContainer=null,!!this.openContainer&&(this.openContainer.close(),this.openContainer=null,!0)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.closeOpened(),this.list=null,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null},e}(c.a),h=n(5);n.d(e,"a",function(){return m});var f=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),m=function(t){function e(e,n,i,r,o,a){var s=t.call(this,e,n,i,"list")||this;return s._plt=r,s._gestureCtrl=o,s._domCtrl=a,s._enableSliding=!0,s._containsSlidingItems=!1,s}return f(e,t),Object.defineProperty(e.prototype,"sliding",{get:function(){return this._enableSliding},set:function(t){this._enableSliding=Object(l.o)(t),this._updateSlidingState()},enumerable:!0,configurable:!0}),e.prototype.containsSlidingItem=function(t){this._containsSlidingItems=t,this._updateSlidingState()},e.prototype._updateSlidingState=function(){this._enableSliding&&this._containsSlidingItems?this._slidingGesture||(this._slidingGesture=new d(this._plt,this,this._gestureCtrl,this._domCtrl),this._slidingGesture.listen()):(this._slidingGesture&&this._slidingGesture.destroy(),this._slidingGesture=null)},e.prototype.closeSlidingItems=function(){this._slidingGesture&&this._slidingGesture.closeOpened()},e.prototype.destroy=function(){this._slidingGesture&&this._slidingGesture.destroy()},e.decorators=[{type:i.o,args:[{selector:"ion-list"}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.p},{type:i.O},{type:h.a},{type:a.l},{type:o.a}]},e.propDecorators={sliding:[{type:i.A}]},e}(s.a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(388))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(425))},function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"h",function(){return r}),n.d(e,"e",function(){return o}),n.d(e,"a",function(){return a}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return l}),n.d(e,"f",function(){return c}),n.d(e,"g",function(){return u});var i=37,r=38,o=39,a=40,s=13,l=27,c=32,u=9},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=n(2),o=n(43),a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(e,n,i){return t.call(this,e,n,i,"fab")||this}return a(e,t),e.prototype.setActiveClose=function(t){this.setElementClass("fab-close-active",t)},e.decorators=[{type:i.k,args:[{selector:"[ion-fab]",template:'
',changeDetection:i.h.OnPush,encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.p},{type:i.O}]},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(0),r=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"ion-item,[ion-item]",host:{class:"item-block"}}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t,e,n){var i,r,o;return"string"==typeof t?i=t:(i=t.constructor.getPluginRef(),n=t.constructor.getPluginName(),o=t.constructor.getPluginInstallName()),!(!(r=w(i))||e&&void 0===r[e])||(window.cordova?(x(n,o,e),O):(C(n,e),S))}function r(t,e){return t._objectInstance&&(!e||void 0!==t._objectInstance[e])}function o(t,e,n,i){if(void 0===e&&(e={}),e.sync)return t;if("reverse"===e.callbackOrder)t.unshift(i),t.unshift(n);else if("node"===e.callbackStyle)t.push(function(t,e){t?i(t):n(e)});else if("object"===e.callbackStyle&&e.successName&&e.errorName){var r={};r[e.successName]=n,r[e.errorName]=i,t.push(r)}else if(void 0!==e.successIndex||void 0!==e.errorIndex){var o=function(){e.successIndex>t.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n)},a=function(){e.errorIndex>t.length?t[e.errorIndex]=i:t.splice(e.errorIndex,0,i)};e.successIndex>e.errorIndex?(a(),o()):(o(),a())}else t.push(n),t.push(i);return t}function a(t,e,n,r,a,s){void 0===r&&(r={}),n=o(n,r,a,s);var l=i(t,e);if(!0===l){var c=w(t.constructor.getPluginRef());return c[e].apply(c,n)}return l}function s(t,e,n,i,a,s){if(void 0===i&&(i={}),n=o(n,i,a,s),r(t,e))return t._objectInstance[e].apply(t._objectInstance,n)}function l(t,e){return void 0===e&&(e=window),k.Observable.fromEvent(e,t)}function c(t,e,n,r){return void 0===r&&(r={}),new k.Observable(function(n){var r=i(t,e);if(!0===r){var o=w(t.constructor.getPluginRef());return o[e]=n.next.bind(n),function(){return o[e]=function(){}}}n.error(r),n.complete()})}function u(t,e,n){return void 0===n&&(n={}),function(){for(var i=[],r=0;r0)},e.prototype.focusNext=function(){this._form&&this._form.tabFocus(this)},e.prototype.ngOnDestroy=function(){var t=this._form;t&&t.deregister(this),this._init=!1},e.prototype.ngAfterContentInit=function(){this._initialize()},e.prototype.initFocus=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus()},e.prototype._inputNormalize=function(t){return t},e.prototype._inputShouldChange=function(t){return this._value!==t},e.prototype._inputChangeEvent=function(){return this},e.prototype._inputNgModelEvent=function(){return this._value},e.prototype._inputUpdated=function(){var t=this._item;if(t){!function(t,e){e&&(t.setElementClass("ng-untouched",e.untouched),t.setElementClass("ng-touched",e.touched),t.setElementClass("ng-pristine",e.pristine),t.setElementClass("ng-dirty",e.dirty),t.setElementClass("ng-valid",e.valid),t.setElementClass("ng-invalid",!e.valid))}(t,this._ngControl);var e=this.hasValue();t.setElementClass("input-has-value",e),t.setElementClass("item-input-has-value",e)}},e.propDecorators={ionFocus:[{type:i.J}],ionChange:[{type:i.J}],ionBlur:[{type:i.J}],disabled:[{type:i.A}]},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return p});var i=n(0),r=n(43),o=n(10),a=n(2),s=n(5),l=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},u=function(){return function(){}}(),p=function(t){function e(e,n,r,o,a){var s=t.call(this,r,o,a,"split-pane")||this;return s._zone=e,s._plt=n,s._init=!1,s._visible=!1,s._isEnabled=!0,s._mediaQuery=c.md,s.sideContent=null,s.mainContent=null,s.ionChange=new i.s,s}return l(e,t),Object.defineProperty(e.prototype,"_setchildren",{set:function(t){var e=this;(this._children=t.filter(function(t){return t!==e})).forEach(function(t){var n=t.initPane();e._setPaneCSSClass(t.getElementRef(),n)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"when",{get:function(){return this._mediaQuery},set:function(t){if("boolean"==typeof t)this._mediaQuery=t;else{var e=c[t];this._mediaQuery=e||t}this._update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=Object(o.o)(t),this._update()},enumerable:!0,configurable:!0}),e.prototype._register=function(t,e,n){return this.getElementRef().nativeElement===t.getElementRef().nativeElement.parentNode&&(this._setPaneCSSClass(t.getElementRef(),e),n&&this.ionChange.subscribe(n),e&&(this.mainContent&&console.error("split pane: main content was already set"),this.mainContent=t),!0)},e.prototype.ngAfterViewInit=function(){this._init=!0,this._update()},e.prototype._update=function(){var t=this;if(this._init)if(this._rmListener&&this._rmListener(),this._rmListener=null,this._isEnabled){var e=this._mediaQuery;if("boolean"!=typeof e)if(e&&e.length>0){var n=function(e){return t._setVisible(e.matches)},i=this._plt.win().matchMedia(e);i.addListener(n),this._setVisible(i.matches),this._rmListener=function(){i.removeListener(n)}}else this._setVisible(!1);else this._setVisible(e)}else this._setVisible(!1)},e.prototype._updateChildren=function(){this.mainContent=null,this.sideContent=null;var t=this._visible;this._children.forEach(function(e){return e.paneChanged&&e.paneChanged(t)})},e.prototype._setVisible=function(t){var e=this;this._visible!==t&&(this._visible=t,this.setElementClass("split-pane-visible",t),this._updateChildren(),this._zone.run(function(){e.ionChange.emit(e)}))},e.prototype.isVisible=function(){return this._visible},e.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},e.prototype._setPaneCSSClass=function(t,e){var n=t.nativeElement;this._renderer.setElementClass(n,"split-pane-main",e),this._renderer.setElementClass(n,"split-pane-side",!e)},e.prototype.ngOnDestroy=function(){this._rmListener&&this._rmListener(),this._rmListener=null},e.prototype.initPane=function(){return!0},e.decorators=[{type:i.o,args:[{selector:"ion-split-pane",providers:[{provide:u,useExisting:Object(i._6)(function(){return e})}]}]}],e.ctorParameters=function(){return[{type:i.H},{type:s.a},{type:a.a},{type:i.p},{type:i.O}]},e.propDecorators={_setchildren:[{type:i.n,args:[u,{descendants:!1}]}],when:[{type:i.A}],enabled:[{type:i.A}],ionChange:[{type:i.J}]},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n(0),r=n(3),o=n(2),a=n(100),s=n(10),l=n(296),c=n(5),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p=function(t){function e(e,n,r,o,a){var s=t.call(this,e,r,o,"searchbar","",null,null,a)||this;return s._plt=n,s._shouldBlur=!0,s._shouldAlignLeft=!0,s._isCancelVisible=!1,s._spellcheck=!1,s._autocomplete="off",s._autocorrect="off",s._isActive=!1,s._showCancelButton=!1,s._animated=!1,s._inputDebouncer=new l.a(0),s.cancelButtonText="Cancel",s.placeholder="Search",s.type="search",s.ionInput=new i.s,s.ionCancel=new i.s,s.ionClear=new i.s,s.debounce=250,s}return u(e,t),Object.defineProperty(e.prototype,"showCancelButton",{get:function(){return this._showCancelButton},set:function(t){this._showCancelButton=Object(s.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debouncer.wait},set:function(t){this._debouncer.wait=t,this._inputDebouncer.wait=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autocomplete",{set:function(t){this._autocomplete=""===t||"on"===t?"on":this._config.get("autocomplete","off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autocorrect",{set:function(t){this._autocorrect=""===t||"on"===t?"on":this._config.get("autocorrect","off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spellcheck",{set:function(t){this._spellcheck=""===t||"true"===t||!0===t||this._config.getBoolean("spellcheck",!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animated",{get:function(){return this._animated},set:function(t){this._animated=Object(s.o)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this.showCancelButton;"string"==typeof t&&(this.showCancelButton=""===t||"true"===t)},e.prototype._inputUpdated=function(){var t=this._searchbarInput.nativeElement,e=this._value;t.value!==e&&(t.value=e),this.positionElements()},e.prototype.positionElements=function(){var t=this._animated,e=this._shouldAlignLeft,n=!t||this._value&&""!==this._value.toString().trim()||!0===this._isFocus;this._shouldAlignLeft=n,"ios"===this._mode&&(e!==n&&this.positionPlaceholder(),t&&this.positionCancelButton())},e.prototype.positionPlaceholder=function(){var t=this._searchbarInput.nativeElement,e=this._searchbarIcon.nativeElement;if(this._shouldAlignLeft)t.removeAttribute("style"),e.removeAttribute("style");else{var n=this._plt.doc(),i=n.createElement("span");i.innerHTML=this.placeholder,n.body.appendChild(i);var r=i.offsetWidth;n.body.removeChild(i);var o="calc(50% - "+r/2+"px)";this._plt.isRTL?t.style.paddingRight=o:t.style.paddingLeft=o;var a="calc(50% - "+(r/2+30)+"px)";this._plt.isRTL?e.style.marginRight=a:e.style.marginLeft=a}},e.prototype.positionCancelButton=function(){var t=this._isFocus;if(t!==this._isCancelVisible){var e=this._cancelButton.nativeElement,n=e.style;if(this._isCancelVisible=t,t)this._plt.isRTL?n.marginLeft="0":n.marginRight="0";else{var i=e.offsetWidth;i>0&&(this._plt.isRTL?n.marginLeft=-i+"px":n.marginRight=-i+"px")}}},e.prototype.inputChanged=function(t){var e=this;this.value=t.target.value,this._inputDebouncer.debounce(function(){e.ionInput.emit(t)})},e.prototype.inputFocused=function(){this._isActive=!0,this._fireFocus(),this.positionElements()},e.prototype.inputBlurred=function(){if(!1===this._shouldBlur)return this._searchbarInput.nativeElement.focus(),void(this._shouldBlur=!0);this._fireBlur(),this.positionElements()},e.prototype.clearInput=function(t){var e=this;this.ionClear.emit(t),setTimeout(function(){var n=e._value;Object(s.l)(n)&&""!==n&&(e.value="",e.ionInput.emit(t))},64),this._shouldBlur=!1},e.prototype.cancelSearchbar=function(t){this.ionCancel.emit(t),this.clearInput(t),this._shouldBlur=!0,this._isActive=!1},e.prototype.setFocus=function(){this._renderer.invokeElementMethod(this._searchbarInput.nativeElement,"focus")},e.decorators=[{type:i.k,args:[{selector:"ion-searchbar",template:'
',host:{"[class.searchbar-animated]":"_animated","[class.searchbar-has-value]":"_value","[class.searchbar-active]":"_isActive","[class.searchbar-show-cancel]":"_showCancelButton","[class.searchbar-left-aligned]":"_shouldAlignLeft","[class.searchbar-has-focus]":"_isFocus"},encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:o.a},{type:c.a},{type:i.p},{type:i.O},{type:r.r,decorators:[{type:i.I}]}]},e.propDecorators={cancelButtonText:[{type:i.A}],showCancelButton:[{type:i.A}],debounce:[{type:i.A}],placeholder:[{type:i.A}],autocomplete:[{type:i.A}],autocorrect:[{type:i.A}],spellcheck:[{type:i.A}],type:[{type:i.A}],animated:[{type:i.A}],ionInput:[{type:i.J}],ionCancel:[{type:i.J}],ionClear:[{type:i.J}],_searchbarInput:[{type:i.Z,args:["searchbarInput"]}],_searchbarIcon:[{type:i.Z,args:["searchbarIcon"]}],_cancelButton:[{type:i.Z,args:["cancelButton",{read:i.p}]}]},e}(a.a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(441))},function(t,e,n){"use strict";n.d(e,"b",function(){return D}),n.d(e,"a",function(){return v}),n.d(e,"d",function(){return k}),n.d(e,"c",function(){return E}),n.d(e,"e",function(){return P}),n.d(e,"f",function(){return I});var i=n(4),r=n(0),o=n(53),a=n(245),s=n(30),l=n(61),c=n(1),u=n(48),p=n(7),d=n(50),h=(n.n(d),n(72)),f=(n.n(h),n(87)),m=(n.n(f),n(93)),g=(n.n(m),n(71)),_=n(62),y=n(73),b=(n.n(y),n(92)),v=(n.n(b),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._hideToggle=!1,e.displayMode="default",e}return Object(c.b)(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=Object(u.b)(t)},enumerable:!0,configurable:!0}),e.decorators=[{type:r.o,args:[{selector:"mat-accordion",exportAs:"matAccordion",host:{class:"mat-accordion"}}]}],e.ctorParameters=function(){return[]},e.propDecorators={hideToggle:[{type:r.A}],displayMode:[{type:r.A}]},e}(a.a)),w=function(){function t(t){this._template=t}return t.decorators=[{type:r.o,args:[{selector:"ng-template[matExpansionPanelContent]"}]}],t.ctorParameters=function(){return[{type:r.W}]},t}(),x="225ms cubic-bezier(0.4,0.0,0.2,1)",C={indicatorRotate:Object(g.k)("indicatorRotate",[Object(g.h)("collapsed",Object(g.i)({transform:"rotate(0deg)"})),Object(g.h)("expanded",Object(g.i)({transform:"rotate(180deg)"})),Object(g.j)("expanded <=> collapsed",Object(g.e)(x))]),expansionHeaderHeight:Object(g.k)("expansionHeight",[Object(g.h)("collapsed",Object(g.i)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(g.h)("expanded",Object(g.i)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(g.j)("expanded <=> collapsed",Object(g.e)(x))]),bodyExpansion:Object(g.k)("bodyExpansion",[Object(g.h)("collapsed",Object(g.i)({height:"0px",visibility:"hidden"})),Object(g.h)("expanded",Object(g.i)({height:"*",visibility:"visible"})),Object(g.j)("expanded <=> collapsed",Object(g.e)(x))])},k=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(c.b)(e,t),e.decorators=[{type:r.k,args:[{template:"",encapsulation:r._2.None,preserveWhitespaces:!1,changeDetection:r.h.OnPush}]}],e.ctorParameters=function(){return[{type:v},{type:r.i},{type:o.d}]},e}(a.b),S=Object(p.F)(k),O=0,E=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o._viewContainerRef=r,o._hideToggle=!1,o._inputChanges=new d.Subject,o._headerId="mat-expansion-panel-header-"+O++,o.accordion=e,o}return Object(c.b)(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=Object(u.b)(t)},enumerable:!0,configurable:!0}),e.prototype._getHideToggle=function(){return this.accordion?this.accordion.hideToggle:this.hideToggle},e.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},e.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},e.prototype.ngAfterContentInit=function(){var t=this;this._lazyContent&&this.opened.pipe(Object(m.startWith)(null),Object(f.filter)(function(){return t.expanded&&!t._portal}),Object(h.take)(1)).subscribe(function(){t._portal=new l.h(t._lazyContent._template,t._viewContainerRef)})},e.prototype.ngOnChanges=function(t){this._inputChanges.next(t)},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._inputChanges.complete()},e.decorators=[{type:r.k,args:[{styles:[".mat-expansion-panel{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);box-sizing:content-box;display:block;margin:0;transition:margin 225ms cubic-bezier(.4,0,.2,1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-expanded .mat-expansion-panel-content{overflow:visible}.mat-expansion-panel-content,.mat-expansion-panel-content.ng-animating{overflow:hidden}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion .mat-expansion-panel-spacing:first-child{margin-top:0}.mat-accordion .mat-expansion-panel-spacing:last-child{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button{margin-left:0;margin-right:8px}"],selector:"mat-expansion-panel",exportAs:"matExpansionPanel",template:'
',encapsulation:r._2.None,preserveWhitespaces:!1,changeDetection:r.h.OnPush,inputs:["disabled","expanded"],outputs:["opened","closed"],animations:[C.bodyExpansion],host:{class:"mat-expansion-panel","[class.mat-expanded]":"expanded","[class.mat-expansion-panel-spacing]":"_hasSpacing()"},providers:[{provide:S,useExisting:Object(r._6)(function(){return e})}]}]}],e.ctorParameters=function(){return[{type:v,decorators:[{type:r.I},{type:r.t}]},{type:r.i},{type:o.d},{type:r._1}]},e.propDecorators={hideToggle:[{type:r.A}],_lazyContent:[{type:r.m,args:[w]}]},e}(S),A=function(){function t(){}return t.decorators=[{type:r.o,args:[{selector:"mat-action-row",host:{class:"mat-action-row"}}]}],t.ctorParameters=function(){return[]},t}(),P=function(){function t(t,e,n,i){var r=this;this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._parentChangeSubscription=b.Subscription.EMPTY,this._parentChangeSubscription=Object(y.merge)(t.opened,t.closed,t._inputChanges.pipe(Object(f.filter)(function(t){return!(!t.hideToggle&&!t.disabled)}))).subscribe(function(){return r._changeDetectorRef.markForCheck()}),n.monitor(e.nativeElement)}return t.prototype._toggle=function(){this.panel.disabled||this.panel.toggle()},t.prototype._isExpanded=function(){return this.panel.expanded},t.prototype._getExpandedState=function(){return this.panel._getExpandedState()},t.prototype._getPanelId=function(){return this.panel.id},t.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},t.prototype._keydown=function(t){switch(t.keyCode){case _.n:case _.f:t.preventDefault(),this._toggle();break;default:return}},t.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element.nativeElement)},t.decorators=[{type:r.k,args:[{selector:"mat-expansion-panel-header",styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],template:'',encapsulation:r._2.None,preserveWhitespaces:!1,changeDetection:r.h.OnPush,animations:[C.indicatorRotate,C.expansionHeaderHeight],host:{class:"mat-expansion-panel-header",role:"button","[attr.id]":"panel._headerId","[attr.tabindex]":"panel.disabled ? -1 : 0","[attr.aria-controls]":"_getPanelId()","[attr.aria-expanded]":"_isExpanded()","[attr.aria-disabled]":"panel.disabled","[class.mat-expanded]":"_isExpanded()","(click)":"_toggle()","(keydown)":"_keydown($event)","[@expansionHeight]":"{\n value: _getExpandedState(),\n params: {\n collapsedHeight: collapsedHeight,\n expandedHeight: expandedHeight\n }\n }"}}]}],t.ctorParameters=function(){return[{type:E,decorators:[{type:r.t}]},{type:r.p},{type:s.j},{type:r.i}]},t.propDecorators={expandedHeight:[{type:r.A}],collapsedHeight:[{type:r.A}]},t}(),T=function(){function t(){}return t.decorators=[{type:r.o,args:[{selector:"mat-panel-description",host:{class:"mat-expansion-panel-header-description"}}]}],t.ctorParameters=function(){return[]},t}(),I=function(){function t(){}return t.decorators=[{type:r.o,args:[{selector:"mat-panel-title",host:{class:"mat-expansion-panel-header-title"}}]}],t.ctorParameters=function(){return[]},t}(),D=function(){function t(){}return t.decorators=[{type:r.E,args:[{imports:[i.b,s.a,a.c,l.g],exports:[v,E,A,P,I,T,w],declarations:[k,v,E,A,P,I,T,w],providers:[o.c]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"c",function(){return D}),n.d(e,"f",function(){return _}),n.d(e,"a",function(){return y}),n.d(e,"e",function(){return w}),n.d(e,"b",function(){return x}),n.d(e,"d",function(){return T}),n.d(e,"g",function(){return I});var i=n(4),r=n(0),o=n(7),a=n(1),s=n(30),l=n(48),c=n(53),u=n(62),p=n(3),d=n(186),h=function(){return function(){}}(),f=Object(o.E)(h),m=function(){return function(){}}(),g=Object(o.E)(m),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a.b)(e,t),e.decorators=[{type:r.k,args:[{selector:"mat-nav-list",exportAs:"matNavList",host:{role:"navigation",class:"mat-nav-list"},template:"",styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-avatar,.mat-list .mat-list-option.mat-list-item-avatar,.mat-nav-list .mat-list-item.mat-list-item-avatar,.mat-nav-list .mat-list-option.mat-list-item-avatar,.mat-selection-list .mat-list-item.mat-list-item-avatar,.mat-selection-list .mat-list-option.mat-list-item-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{left:auto;right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-avatar,.mat-list[dense] .mat-list-option.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{left:auto;right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}.mat-list-option:not([disabled]){cursor:pointer}"],inputs:["disableRipple"],encapsulation:r._2.None,preserveWhitespaces:!1,changeDetection:r.h.OnPush}]}],e.ctorParameters=function(){return[]},e}(f),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(a.b)(e,t),e.decorators=[{type:r.k,args:[{selector:"mat-list",exportAs:"matList",template:"",host:{class:"mat-list"},styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-avatar,.mat-list .mat-list-option.mat-list-item-avatar,.mat-nav-list .mat-list-item.mat-list-item-avatar,.mat-nav-list .mat-list-option.mat-list-item-avatar,.mat-selection-list .mat-list-item.mat-list-item-avatar,.mat-selection-list .mat-list-option.mat-list-item-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{left:auto;right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-avatar,.mat-list[dense] .mat-list-option.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{left:auto;right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}.mat-list-option:not([disabled]){cursor:pointer}"],inputs:["disableRipple"],encapsulation:r._2.None,preserveWhitespaces:!1,changeDetection:r.h.OnPush}]}],e.ctorParameters=function(){return[]},e}(f),b=function(){function t(){}return t.decorators=[{type:r.o,args:[{selector:"[mat-list-avatar], [matListAvatar]",host:{class:"mat-list-avatar"}}]}],t.ctorParameters=function(){return[]},t}(),v=function(){function t(){}return t.decorators=[{type:r.o,args:[{selector:"[mat-list-icon], [matListIcon]",host:{class:"mat-list-icon"}}]}],t.ctorParameters=function(){return[]},t}(),w=function(){function t(){}return t.decorators=[{type:r.o,args:[{selector:"[mat-subheader], [matSubheader]",host:{class:"mat-subheader"}}]}],t.ctorParameters=function(){return[]},t}(),x=function(t){function e(e,n){var i=t.call(this)||this;return i._element=e,i._navList=n,i._isNavList=!1,i._isNavList=!!n,i}return Object(a.b)(e,t),Object.defineProperty(e.prototype,"_hasAvatar",{set:function(t){null!=t?this._element.nativeElement.classList.add("mat-list-item-avatar"):this._element.nativeElement.classList.remove("mat-list-item-avatar")},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._lineSetter=new o.q(this._lines,this._element)},e.prototype._isRippleDisabled=function(){return!this._isNavList||this.disableRipple||this._navList.disableRipple},e.prototype._handleFocus=function(){this._element.nativeElement.classList.add("mat-list-item-focus")},e.prototype._handleBlur=function(){this._element.nativeElement.classList.remove("mat-list-item-focus")},e.prototype._getHostElement=function(){return this._element.nativeElement},e.decorators=[{type:r.k,args:[{selector:"mat-list-item, a[mat-list-item]",exportAs:"matListItem",host:{class:"mat-list-item","(focus)":"_handleFocus()","(blur)":"_handleBlur()"},inputs:["disableRipple"],template:'
',encapsulation:r._2.None,preserveWhitespaces:!1,changeDetection:r.h.OnPush}]}],e.ctorParameters=function(){return[{type:r.p},{type:_,decorators:[{type:r.I}]}]},e.propDecorators={_lines:[{type:r.n,args:[o.o]}],_hasAvatar:[{type:r.m,args:[b]}]},e}(g),C=function(){return function(){}}(),k=Object(o.H)(Object(o.E)(Object(o.F)(C))),S=function(){return function(){}}(),O=Object(o.E)(S),E={provide:p.q,useExisting:Object(r._6)(function(){return I}),multi:!0},A=function(){return function(t,e){this.source=t,this.selected=e}}(),P=function(){return function(t,e){this.source=t,this.option=e}}(),T=function(t){function e(e,n,i){var o=t.call(this)||this;return o._element=e,o._changeDetector=n,o.selectionList=i,o._selected=!1,o._disabled=!1,o._hasFocus=!1,o.checkboxPosition="after",o.selectionChange=new r.s,o}return Object(a.b)(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},set:function(t){var e=Object(l.b)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(t){var e=Object(l.b)(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._selected&&Promise.resolve().then(function(){return t.selected=!0})},e.prototype.ngAfterContentInit=function(){this._lineSetter=new o.q(this._lines,this._element)},e.prototype.ngOnDestroy=function(){var t=this;this.selected&&Promise.resolve().then(function(){return t.selected=!1}),this.selectionList._removeOptionFromList(this)},e.prototype.toggle=function(){this.selected=!this.selected},e.prototype.focus=function(){this._element.nativeElement.focus()},e.prototype.getLabel=function(){return this._text?this._text.nativeElement.textContent:""},e.prototype._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple},e.prototype._handleClick=function(){this.disabled||(this.toggle(),this.selectionList._emitChangeEvent(this),this._emitDeprecatedChangeEvent())},e.prototype._handleFocus=function(){this._hasFocus=!0,this.selectionList._setFocusedOption(this)},e.prototype._handleBlur=function(){this._hasFocus=!1,this.selectionList._onTouched()},e.prototype._getHostElement=function(){return this._element.nativeElement},e.prototype._setSelected=function(t){t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck())},e.prototype._emitDeprecatedChangeEvent=function(){this.selectionChange.emit(new A(this,this.selected))},e.decorators=[{type:r.k,args:[{selector:"mat-list-option",exportAs:"matListOption",inputs:["disableRipple"],host:{role:"option",class:"mat-list-item mat-list-option","(focus)":"_handleFocus()","(blur)":"_handleBlur()","(click)":"_handleClick()",tabindex:"-1","[class.mat-list-item-disabled]":"disabled","[class.mat-list-item-focus]":"_hasFocus","[attr.aria-selected]":"selected.toString()","[attr.aria-disabled]":"disabled.toString()"},template:'
',encapsulation:r._2.None,preserveWhitespaces:!1,changeDetection:r.h.OnPush}]}],e.ctorParameters=function(){return[{type:r.p},{type:r.i},{type:I,decorators:[{type:r.I},{type:r.w,args:[Object(r._6)(function(){return I})]}]}]},e.propDecorators={_lines:[{type:r.n,args:[o.o]}],_text:[{type:r.Z,args:["text"]}],checkboxPosition:[{type:r.A}],value:[{type:r.A}],disabled:[{type:r.A}],selected:[{type:r.A}],selectionChange:[{type:r.J}]},e}(O),I=function(t){function e(e,n){var i=t.call(this)||this;return i._element=e,i.selectionChange=new r.s,i.selectedOptions=new c.b(!0),i._onChange=function(t){},i._onTouched=function(){},i.tabIndex=parseInt(n)||0,i}return Object(a.b)(e,t),e.prototype.ngAfterContentInit=function(){this._keyManager=new s.i(this.options).withWrap().withTypeAhead(),this._tempValues&&(this._setOptionsFromValues(this._tempValues),this._tempValues=null)},e.prototype.focus=function(){this._element.nativeElement.focus()},e.prototype.selectAll=function(){this.options.forEach(function(t){return t._setSelected(!0)}),this._reportValueChange()},e.prototype.deselectAll=function(){this.options.forEach(function(t){return t._setSelected(!1)}),this._reportValueChange()},e.prototype._setFocusedOption=function(t){this._keyManager.updateActiveItemIndex(this._getOptionIndex(t))},e.prototype._removeOptionFromList=function(t){if(t._hasFocus){var e=this._getOptionIndex(t);e>0?this._keyManager.setPreviousItemActive():0===e&&this.options.length>1&&this._keyManager.setNextItemActive()}},e.prototype._keydown=function(t){switch(t.keyCode){case u.n:case u.f:this._toggleSelectOnFocusedOption(),t.preventDefault();break;case u.h:case u.e:t.keyCode===u.h?this._keyManager.setFirstItemActive():this._keyManager.setLastItemActive(),t.preventDefault();break;default:this._keyManager.onKeydown(t)}},e.prototype._reportValueChange=function(){this.options&&this._onChange(this._getSelectedOptionValues())},e.prototype._emitChangeEvent=function(t){this.selectionChange.emit(new P(this,t))},e.prototype.writeValue=function(t){this.options?this._setOptionsFromValues(t||[]):this._tempValues=t},e.prototype.setDisabledState=function(t){this.options&&this.options.forEach(function(e){return e.disabled=t})},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype._getOptionByValue=function(t){return this.options.find(function(e){return e.value===t})},e.prototype._setOptionsFromValues=function(t){var e=this;this.options.forEach(function(t){return t._setSelected(!1)}),t.map(function(t){return e._getOptionByValue(t)}).filter(Boolean).forEach(function(t){return t._setSelected(!0)})},e.prototype._getSelectedOptionValues=function(){return this.options.filter(function(t){return t.selected}).map(function(t){return t.value})},e.prototype._toggleSelectOnFocusedOption=function(){var t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){var e=this.options.toArray()[t];e&&(e.toggle(),this._emitChangeEvent(e),e._emitDeprecatedChangeEvent())}},e.prototype._isValidIndex=function(t){return t>=0&&t",styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-avatar,.mat-list .mat-list-option.mat-list-item-avatar,.mat-nav-list .mat-list-item.mat-list-item-avatar,.mat-nav-list .mat-list-option.mat-list-item-avatar,.mat-selection-list .mat-list-item.mat-list-item-avatar,.mat-selection-list .mat-list-option.mat-list-item-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{left:auto;right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-avatar,.mat-list[dense] .mat-list-option.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{left:auto;right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}.mat-list-option:not([disabled]){cursor:pointer}"],encapsulation:r._2.None,providers:[E],preserveWhitespaces:!1,changeDetection:r.h.OnPush}]}],e.ctorParameters=function(){return[{type:r.p},{type:void 0,decorators:[{type:r.g,args:["tabindex"]}]}]},e.propDecorators={options:[{type:r.n,args:[T]}],selectionChange:[{type:r.J}]},e}(k),D=function(){function t(){}return t.decorators=[{type:r.E,args:[{imports:[o.p,o.y,o.n,o.w,i.b],exports:[y,_,x,b,o.p,o.n,v,w,o.w,I,T,d.a],declarations:[y,_,x,b,v,w,I,T]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(91),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.PERMISSION={ACCESS_CHECKIN_PROPERTIES:"android.permission.ACCESS_CHECKIN_PROPERTIES",ACCESS_COARSE_LOCATION:"android.permission.ACCESS_COARSE_LOCATION",ACCESS_FINE_LOCATION:"android.permission.ACCESS_FINE_LOCATION",ACCESS_LOCATION_EXTRA_COMMANDS:"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS",ACCESS_MOCK_LOCATION:"android.permission.ACCESS_MOCK_LOCATION",ACCESS_NETWORK_STATE:"android.permission.ACCESS_NETWORK_STATE",ACCESS_SURFACE_FLINGER:"android.permission.ACCESS_SURFACE_FLINGER",ACCESS_WIFI_STATE:"android.permission.ACCESS_WIFI_STATE",ACCOUNT_MANAGER:"android.permission.ACCOUNT_MANAGER",ADD_VOICEMAIL:"com.android.voicemail.permission.ADD_VOICEMAIL",AUTHENTICATE_ACCOUNTS:"android.permission.AUTHENTICATE_ACCOUNTS",BATTERY_STATS:"android.permission.BATTERY_STATS",BIND_ACCESSIBILITY_SERVICE:"android.permission.BIND_ACCESSIBILITY_SERVICE",BIND_APPWIDGET:"android.permission.BIND_APPWIDGET",BIND_CARRIER_MESSAGING_SERVICE:"android.permission.BIND_CARRIER_MESSAGING_SERVICE",BIND_DEVICE_ADMIN:"android.permission.BIND_DEVICE_ADMIN",BIND_DREAM_SERVICE:"android.permission.BIND_DREAM_SERVICE",BIND_INPUT_METHOD:"android.permission.BIND_INPUT_METHOD",BIND_NFC_SERVICE:"android.permission.BIND_NFC_SERVICE",BIND_NOTIFICATION_LISTENER_SERVICE:"android.permission.BIND_NOTIFICATION_LISTENER_SERVICE",BIND_PRINT_SERVICE:"android.permission.BIND_PRINT_SERVICE",BIND_REMOTEVIEWS:"android.permission.BIND_REMOTEVIEWS",BIND_TEXT_SERVICE:"android.permission.BIND_TEXT_SERVICE",BIND_TV_INPUT:"android.permission.BIND_TV_INPUT",BIND_VOICE_INTERACTION:"android.permission.BIND_VOICE_INTERACTION",BIND_VPN_SERVICE:"android.permission.BIND_VPN_SERVICE",BIND_WALLPAPER:"android.permission.BIND_WALLPAPER",BLUETOOTH:"android.permission.BLUETOOTH",BLUETOOTH_ADMIN:"android.permission.BLUETOOTH_ADMIN",BLUETOOTH_PRIVILEGED:"android.permission.BLUETOOTH_PRIVILEGED",BODY_SENSORS:"android.permission.BODY_SENSORS",BRICK:"android.permission.BRICK",BROADCAST_PACKAGE_REMOVED:"android.permission.BROADCAST_PACKAGE_REMOVED",BROADCAST_SMS:"android.permission.BROADCAST_SMS",BROADCAST_STICKY:"android.permission.BROADCAST_STICKY",BROADCAST_WAP_PUSH:"android.permission.BROADCAST_WAP_PUSH",CALL_PHONE:"android.permission.CALL_PHONE",CALL_PRIVILEGED:"android.permission.CALL_PRIVILEGED",CAMERA:"android.permission.CAMERA",CAPTURE_AUDIO_OUTPUT:"android.permission.CAPTURE_AUDIO_OUTPUT",CAPTURE_SECURE_VIDEO_OUTPUT:"android.permission.CAPTURE_SECURE_VIDEO_OUTPUT",CAPTURE_VIDEO_OUTPUT:"android.permission.CAPTURE_VIDEO_OUTPUT",CHANGE_COMPONENT_ENABLED_STATE:"android.permission.CHANGE_COMPONENT_ENABLED_STATE",CHANGE_CONFIGURATION:"android.permission.CHANGE_CONFIGURATION",CHANGE_NETWORK_STATE:"android.permission.CHANGE_NETWORK_STATE",CHANGE_WIFI_MULTICAST_STATE:"android.permission.CHANGE_WIFI_MULTICAST_STATE",CHANGE_WIFI_STATE:"android.permission.CHANGE_WIFI_STATE",CLEAR_APP_CACHE:"android.permission.CLEAR_APP_CACHE",CLEAR_APP_USER_DATA:"android.permission.CLEAR_APP_USER_DATA",CONTROL_LOCATION_UPDATES:"android.permission.CONTROL_LOCATION_UPDATES",DELETE_CACHE_FILES:"android.permission.DELETE_CACHE_FILES",DELETE_PACKAGES:"android.permission.DELETE_PACKAGES",DEVICE_POWER:"android.permission.DEVICE_POWER",DIAGNOSTIC:"android.permission.DIAGNOSTIC",DISABLE_KEYGUARD:"android.permission.DISABLE_KEYGUARD",DUMP:"android.permission.DUMP",EXPAND_STATUS_BAR:"android.permission.EXPAND_STATUS_BAR",FACTORY_TEST:"android.permission.FACTORY_TEST",FLASHLIGHT:"android.permission.FLASHLIGHT",FORCE_BACK:"android.permission.FORCE_BACK",GET_ACCOUNTS:"android.permission.GET_ACCOUNTS",GET_PACKAGE_SIZE:"android.permission.GET_PACKAGE_SIZE",GET_TASKS:"android.permission.GET_TASKS",GET_TOP_ACTIVITY_INFO:"android.permission.GET_TOP_ACTIVITY_INFO",GLOBAL_SEARCH:"android.permission.GLOBAL_SEARCH",HARDWARE_TEST:"android.permission.HARDWARE_TEST",INJECT_EVENTS:"android.permission.INJECT_EVENTS",INSTALL_LOCATION_PROVIDER:"android.permission.INSTALL_LOCATION_PROVIDER",INSTALL_PACKAGES:"android.permission.INSTALL_PACKAGES",INSTALL_SHORTCUT:"com.android.launcher.permission.INSTALL_SHORTCUT",INTERNAL_SYSTEM_WINDOW:"android.permission.INTERNAL_SYSTEM_WINDOW",INTERNET:"android.permission.INTERNET",KILL_BACKGROUND_PROCESSES:"android.permission.KILL_BACKGROUND_PROCESSES",LOCATION_HARDWARE:"android.permission.LOCATION_HARDWARE",MANAGE_ACCOUNTS:"android.permission.MANAGE_ACCOUNTS",MANAGE_APP_TOKENS:"android.permission.MANAGE_APP_TOKENS",MANAGE_DOCUMENTS:"android.permission.MANAGE_DOCUMENTS",MASTER_CLEAR:"android.permission.MASTER_CLEAR",MEDIA_CONTENT_CONTROL:"android.permission.MEDIA_CONTENT_CONTROL",MODIFY_AUDIO_SETTINGS:"android.permission.MODIFY_AUDIO_SETTINGS",MODIFY_PHONE_STATE:"android.permission.MODIFY_PHONE_STATE",MOUNT_FORMAT_FILESYSTEMS:"android.permission.MOUNT_FORMAT_FILESYSTEMS",MOUNT_UNMOUNT_FILESYSTEMS:"android.permission.MOUNT_UNMOUNT_FILESYSTEMS",NFC:"android.permission.NFC",PERSISTENT_ACTIVITY:"android.permission.PERSISTENT_ACTIVITY",PROCESS_OUTGOING_CALLS:"android.permission.PROCESS_OUTGOING_CALLS",READ_CALENDAR:"android.permission.READ_CALENDAR",READ_CALL_LOG:"android.permission.READ_CALL_LOG",READ_CONTACTS:"android.permission.READ_CONTACTS",READ_EXTERNAL_STORAGE:"android.permission.READ_EXTERNAL_STORAGE",READ_FRAME_BUFFER:"android.permission.READ_FRAME_BUFFER",READ_HISTORY_BOOKMARKS:"com.android.browser.permission.READ_HISTORY_BOOKMARKS",READ_INPUT_STATE:"android.permission.READ_INPUT_STATE",READ_LOGS:"android.permission.READ_LOGS",READ_PHONE_STATE:"android.permission.READ_PHONE_STATE",READ_PROFILE:"android.permission.READ_PROFILE",READ_SMS:"android.permission.READ_SMS",READ_SOCIAL_STREAM:"android.permission.READ_SOCIAL_STREAM",READ_SYNC_SETTINGS:"android.permission.READ_SYNC_SETTINGS",READ_SYNC_STATS:"android.permission.READ_SYNC_STATS",READ_USER_DICTIONARY:"android.permission.READ_USER_DICTIONARY",READ_VOICEMAIL:"com.android.voicemail.permission.READ_VOICEMAIL",REBOOT:"android.permission.REBOOT",RECEIVE_BOOT_COMPLETED:"android.permission.RECEIVE_BOOT_COMPLETED",RECEIVE_MMS:"android.permission.RECEIVE_MMS",RECEIVE_SMS:"android.permission.RECEIVE_SMS",RECEIVE_WAP_PUSH:"android.permission.RECEIVE_WAP_PUSH",RECORD_AUDIO:"android.permission.RECORD_AUDIO",REORDER_TASKS:"android.permission.REORDER_TASKS",RESTART_PACKAGES:"android.permission.RESTART_PACKAGES",SEND_RESPOND_VIA_MESSAGE:"android.permission.SEND_RESPOND_VIA_MESSAGE",SEND_SMS:"android.permission.SEND_SMS",SET_ACTIVITY_WATCHER:"android.permission.SET_ACTIVITY_WATCHER",SET_ALARM:"com.android.alarm.permission.SET_ALARM",SET_ALWAYS_FINISH:"android.permission.SET_ALWAYS_FINISH",SET_ANIMATION_SCALE:"android.permission.SET_ANIMATION_SCALE",SET_DEBUG_APP:"android.permission.SET_DEBUG_APP",SET_ORIENTATION:"android.permission.SET_ORIENTATION",SET_POINTER_SPEED:"android.permission.SET_POINTER_SPEED",SET_PREFERRED_APPLICATIONS:"android.permission.SET_PREFERRED_APPLICATIONS",SET_PROCESS_LIMIT:"android.permission.SET_PROCESS_LIMIT",SET_TIME:"android.permission.SET_TIME",SET_TIME_ZONE:"android.permission.SET_TIME_ZONE",SET_WALLPAPER:"android.permission.SET_WALLPAPER",SET_WALLPAPER_HINTS:"android.permission.SET_WALLPAPER_HINTS",SIGNAL_PERSISTENT_PROCESSES:"android.permission.SIGNAL_PERSISTENT_PROCESSES",STATUS_BAR:"android.permission.STATUS_BAR",SUBSCRIBED_FEEDS_READ:"android.permission.SUBSCRIBED_FEEDS_READ",SUBSCRIBED_FEEDS_WRITE:"android.permission.SUBSCRIBED_FEEDS_WRITE",SYSTEM_ALERT_WINDOW:"android.permission.SYSTEM_ALERT_WINDOW",TRANSMIT_IR:"android.permission.TRANSMIT_IR",UNINSTALL_SHORTCUT:"com.android.launcher.permission.UNINSTALL_SHORTCUT",UPDATE_DEVICE_STATS:"android.permission.UPDATE_DEVICE_STATS",USE_CREDENTIALS:"android.permission.USE_CREDENTIALS",USE_SIP:"android.permission.USE_SIP",VIBRATE:"android.permission.VIBRATE",WAKE_LOCK:"android.permission.WAKE_LOCK",WRITE_APN_SETTINGS:"android.permission.WRITE_APN_SETTINGS",WRITE_CALENDAR:"android.permission.WRITE_CALENDAR",WRITE_CALL_LOG:"android.permission.WRITE_CALL_LOG",WRITE_CONTACTS:"android.permission.WRITE_CONTACTS",WRITE_EXTERNAL_STORAGE:"android.permission.WRITE_EXTERNAL_STORAGE",WRITE_GSERVICES:"android.permission.WRITE_GSERVICES",WRITE_HISTORY_BOOKMARKS:"com.android.browser.permission.WRITE_HISTORY_BOOKMARKS",WRITE_PROFILE:"android.permission.WRITE_PROFILE",WRITE_SECURE_SETTINGS:"android.permission.WRITE_SECURE_SETTINGS",WRITE_SETTINGS:"android.permission.WRITE_SETTINGS",WRITE_SMS:"android.permission.WRITE_SMS",WRITE_SOCIAL_STREAM:"android.permission.WRITE_SOCIAL_STREAM",WRITE_SYNC_SETTINGS:"android.permission.WRITE_SYNC_SETTINGS",WRITE_USER_DICTIONARY:"android.permission.WRITE_USER_DICTIONARY",WRITE_VOICEMAIL:"com.android.voicemail.permission.WRITE_VOICEMAIL"},e}return o(e,t),e.prototype.checkPermission=function(t){},e.prototype.requestPermission=function(t){},e.prototype.requestPermissions=function(t){},e.prototype.hasPermission=function(t){},e.decorators=[{type:i.x}],a([Object(r.a)(),s("design:type",Function),s("design:paramtypes",[String]),s("design:returntype",Promise)],e.prototype,"checkPermission",null),a([Object(r.a)(),s("design:type",Function),s("design:paramtypes",[String]),s("design:returntype",Promise)],e.prototype,"requestPermission",null),a([Object(r.a)(),s("design:type",Function),s("design:paramtypes",[Array]),s("design:returntype",Promise)],e.prototype,"requestPermissions",null),a([Object(r.a)(),s("design:type",Function),s("design:paramtypes",[String]),s("design:returntype",Promise)],e.prototype,"hasPermission",null),e=a([Object(r.g)({pluginName:"AndroidPermissions",plugin:"cordova-plugin-android-permissions",pluginRef:"cordova.plugins.permissions",repo:"https://github.com/NeoLSN/cordova-plugin-android-permissions",platforms:["Android"]})],e)}(r.f)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(69),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e,n,i,r){var o=t.call(this,e,null,r)||this;return o.enteringView=n,o.leavingView=i,o}return r(e,t),e.prototype.init=function(){},e.prototype.registerStart=function(t){this._trnsStart=t},e.prototype.start=function(){this._trnsStart&&this._trnsStart(),this._trnsStart=null,this.parent&&this.parent.start()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.parent=this.enteringView=this.leavingView=this._trnsStart=null},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=n(2),o=n(43),a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(e,n,i,r,o,a,s){var l=t.call(this,e,n,i,"label")||this;return l.type=""===r?"floating":""===o?"stacked":""===a?"fixed":""===s?"inset":null,l}return a(e,t),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,t&&this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.getNativeElement().textContent||""},enumerable:!0,configurable:!0}),e.decorators=[{type:i.o,args:[{selector:"ion-label"}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.p},{type:i.O},{type:void 0,decorators:[{type:i.g,args:["floating"]}]},{type:void 0,decorators:[{type:i.g,args:["stacked"]}]},{type:void 0,decorators:[{type:i.g,args:["fixed"]}]},{type:void 0,decorators:[{type:i.g,args:["inset"]}]}]},e.propDecorators={id:[{type:i.A}]},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(5),o=n(98),a=n(89),s=n(168),l=function(){function t(t){this._listsActive=!1,this._events=new o.a(t)}return t.prototype.ngAfterContentInit=function(){var t=this._mainButton;t&&t.getNativeElement()?this._events.listen(t.getNativeElement(),"click",this.clickHandler.bind(this),{zone:!0}):console.error("FAB container needs a main ';else"fraction"===t.paginationType?e=' / ':"progress"===t.paginationType&&(e='');t._paginationContainer.innerHTML=e,t._bullets=t._paginationContainer.querySelectorAll("."+vt.bullet)}}function S(t){a(t._slides,[vt.slideActive,vt.slideNext,vt.slidePrev,vt.slideDuplicateActive,vt.slideDuplicateNext,vt.slideDuplicatePrev]);for(var e=0;et._slides.length-1-2*t.loopedSlides&&(e-=t._slides.length-2*t.loopedSlides),e>n-1&&(e-=n),e<0&&"bullets"!==t.paginationType&&(e=n+e)):e=void 0!==t._snapIndex?t._snapIndex:t._activeIndex||0,"bullets"===t.paginationType&&t._bullets)for(var i=e+(e<0?t._bullets.length:0),r=0;r=t._slidesGrid[n]&&r=t._slidesGrid[n]&&r=t._slidesGrid[n]&&(e=n);(i=Math.floor(e/t.slidesPerGroup))>=t._snapGrid.length&&(i=t._snapGrid.length-1),e!==t._activeIndex&&(t._snapIndex=i,t._previousIndex=t._activeIndex,t._activeIndex=e,S(t),E(t))}function E(t){var e=t._slides[t._activeIndex];e&&(t.realIndex=parseInt(e.getAttribute("data-swiper-slide-index")||t._activeIndex,10))}function A(t,e,n,r,o){var a=0,s=0;m(t)?a=t._rtl?-n:n:s=n,t.roundLengths&&(a=i(a),s=i(s)),t.virtualTranslate||u(t._wrapper,"translate3d("+a+"px, "+s+"px, 0px)"),t._translate=m(t)?a:s;var l=y(t)-_(t);(0===l?0:(n-_(t))/l)!==t.progress&&w(t,n),r&&O(t),"slide"!==t.effect&&Ct[t.effect]&&Ct[t.effect].setTranslate(t,e),t.parallax&&v(t),t.control&&wt.setTranslate(t,e,t._translate,o,A)}function P(t,e,n,i){var r,o,a,s,l=e.win();return void 0===i&&(i="x"),t.virtualTranslate?t._rtl?-t._translate:t._translate:(a=e.getElementComputedStyle(n),l.WebKitCSSMatrix?((o=a.transform||a.webkitTransform).split(",").length>6&&(o=o.split(", ").map(function(t){return t.replace(",",".")}).join(", ")),s=new l.WebKitCSSMatrix("none"===o?"":o)):r=(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(o=l.WebKitCSSMatrix?s.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===i&&(o=l.WebKitCSSMatrix?s.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),t._rtl&&o&&(o=-o),o||0)}function T(t,e,n,i){p(t._wrapper,n),"slide"!==t.effect&&Ct[t.effect]&&Ct[t.effect].setTransition(t,e,n),t.parallax&&function(t,e){void 0===e&&(e=t.speed),c(t.container,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(t){var n=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),p(t,n)})}(t,n),t.control&&wt.setTransition(t,e,n,i,T)}function I(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,n=t.targetTouches[0].pageY,i=t.targetTouches[1].pageX,r=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-e,2)+Math.pow(r-n,2))}function D(t,e,n){var i=t._zoom;if(t.originalEvent=n,!t._supportGestures){if("touchstart"!==n.type||"touchstart"===n.type&&n.targetTouches.length<2)return;i.gesture.scaleStart=I(n)}if(!i.gesture.slide&&(n.currentTarget&&n.currentTarget.classList.contains(vt.slide)&&(i.gesture.slide=n.currentTarget),i.gesture.slide||(i.gesture.slide=t._slides[t._activeIndex]),i.gesture.image=i.gesture.slide.querySelector("img, svg, canvas, ion-img"),i.gesture.image)){if(i.gesture.imageWrap=i.gesture.image.closest("."+vt.zoomContainer),!i.gesture.imageWrap)return void(i.gesture.image=void 0);i.gesture.zoomMax=parseInt(i.gesture.imageWrap.getAttribute("data-swiper-zoom")||t.zoomMax,10)}p(i.gesture.image,0),i.isScaling=!0}function j(t,e,n){var i=t._zoom;if(t.originalEvent=n,!t._supportGestures){if("touchmove"!==n.type||"touchmove"===n.type&&n.targetTouches.length<2)return;i.gesture.scaleMove=I(n)}i.gesture.image&&(i.scale=t._supportGestures?n.scale*i.currentScale:i.gesture.scaleMove/i.gesture.scaleStart*i.currentScale,i.scale>i.gesture.zoomMax&&(i.scale=i.gesture.zoomMax-1+Math.pow(i.scale-i.gesture.zoomMax+1,.5)),i.scalei.image.touchesStart.x)return void(i.image.isTouched=!1);if(!m(t)&&Math.floor(i.image.minY)===Math.floor(i.image.startY)&&i.image.touchesCurrent.yi.image.touchesStart.y)return void(i.image.isTouched=!1)}n.preventDefault(),n.stopPropagation(),i.image.isMoved=!0,i.image.currentX=i.image.touchesCurrent.x-i.image.touchesStart.x+i.image.startX,i.image.currentY=i.image.touchesCurrent.y-i.image.touchesStart.y+i.image.startY,i.image.currentXi.image.maxX&&(i.image.currentX=i.image.maxX-1+Math.pow(i.image.currentX-i.image.maxX+1,.8)),i.image.currentYi.image.maxY&&(i.image.currentY=i.image.maxY-1+Math.pow(i.image.currentY-i.image.maxY+1,.8)),i.velocity.prevPositionX||(i.velocity.prevPositionX=i.image.touchesCurrent.x),i.velocity.prevPositionY||(i.velocity.prevPositionY=i.image.touchesCurrent.y),i.velocity.prevTime||(i.velocity.prevTime=Date.now()),i.velocity.x=(i.image.touchesCurrent.x-i.velocity.prevPositionX)/(Date.now()-i.velocity.prevTime)/2,i.velocity.y=(i.image.touchesCurrent.y-i.velocity.prevPositionY)/(Date.now()-i.velocity.prevTime)/2,Math.abs(i.image.touchesCurrent.x-i.velocity.prevPositionX)<2&&(i.velocity.x=0),Math.abs(i.image.touchesCurrent.y-i.velocity.prevPositionY)<2&&(i.velocity.y=0),i.velocity.prevPositionX=i.image.touchesCurrent.x,i.velocity.prevPositionY=i.image.touchesCurrent.y,i.velocity.prevTime=Date.now(),u(i.gesture.imageWrap,"translate3d("+i.image.currentX+"px, "+i.image.currentY+"px,0)")}}}function N(t,e){F(t);var n,i=t._zoom.unRegs,r={passive:"touchstart"===t._touchEvents.start,zone:!1},o=t._slides;if(t._supportGestures)for(var a=0;a_&&(l=_),cy&&(c=y)}else l=0,c=0;p(n.gesture.imageWrap,300),u(n.gesture.imageWrap,"translate3d("+l+"px, "+c+"px,0)"),p(n.gesture.image,300),u(n.gesture.image,"translate3d(0,0,0) scale("+n.scale+")")}}}(t,e)});i.push(function(){d.unsubscribe()})}}function F(t){t._zoom.unRegs.forEach(function(t){t()}),t._zoom.unRegs.length=0}function L(t,e){if(t._classNames=[],t.container){t.container.swiper=t;var n=vt.containerModifier;t._classNames.push(n+t.direction),t.freeMode&&t._classNames.push(n+"free-mode"),t.autoHeight&&t._classNames.push(n+"autoheight"),(t.parallax||t.watchSlidesVisibility)&&(t.watchSlidesProgress=!0),t.touchReleaseOnEdges&&(t.resistanceRatio=0);var i=t.effect;["cube","coverflow","flip"].indexOf(i)>=0&&(t.watchSlidesProgress=!0,t._classNames.push(n+"3d")),"slide"!==i&&t._classNames.push(n+i),"cube"===i&&(t.resistanceRatio=0,t.slidesPerView=1,t.slidesPerColumn=1,t.slidesPerGroup=1,t.centeredSlides=!1,t.spaceBetween=0,t.virtualTranslate=!0,t.setWrapperSize=!1),"fade"!==i&&"flip"!==i||(t.slidesPerView=1,t.slidesPerColumn=1,t.slidesPerGroup=1,t.watchSlidesProgress=!0,t.spaceBetween=0,t.setWrapperSize=!1,t.virtualTranslate=!0),t._wrapper=t.container.querySelector("."+vt.wrapper),t.paginationType&&(t._paginationContainer=t.container.querySelector(".swiper-pagination"),"bullets"===t.paginationType&&t._paginationContainer.classList.add(vt.paginationModifier+"clickable"),t._paginationContainer.classList.add(vt.paginationModifier+t.paginationType)),t._rtl=m(t)&&("rtl"===t.container.dir.toLowerCase()||"rtl"===t.container.style.direction),t._rtl&&t._classNames.push(n+"rtl"),t.slidesPerColumn>1&&t._classNames.push(n+"multirow"),e.is("android")&&t._classNames.push(n+"android"),t._classNames.forEach(function(e){t.container.classList.add(e)}),t._translate=0,t.progress=0,t.velocity=0,t._autoplayTimeoutId=void 0,t._autoplaying=!1,t._autoplayPaused=!1,t._allowClick=!0,t._animating=!1,t._touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},t.loop&&function(t){c(t._wrapper,"."+vt.slide+"."+vt.slideDuplicate,function(t){t.parentElement.removeChild(t)});var e=t._wrapper.querySelectorAll("."+vt.slide);"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=e.length);t.loopedSlides=parseInt(t.loopedSlides||t.slidesPerView,10),t.loopedSlides=t.loopedSlides+t.loopAdditionalSlides,t.loopedSlides>e.length&&(t.loopedSlides=e.length);for(var n=[],i=[],r=0;r=e.length-t.loopedSlides&&n.push(a),a.setAttribute("data-swiper-slide-index",r)}for(r=0;r=0;r--){var l=n[r].cloneNode(!0);o(l,vt.slideDuplicate),t._wrapper.insertBefore(l,t._wrapper.firstElementChild)}}(t),W(t,e),Y(t,e),k(t),"slide"!==i&&Ct[i]&&(t.loop||w(t),Ct[i].setTranslate(t,e)),t.loop?G(t,e,t.initialSlide+t.loopedSlides,0,t.runCallbacksOnInit):(G(t,e,t.initialSlide,0,t.runCallbacksOnInit),0===t.initialSlide&&v(t)),t.autoplay&&V(t,e)}}function B(t,e){var n=t.autoplay,i=t._slides[t._activeIndex];i.hasAttribute("data-swiper-autoplay")&&(n=i.getAttribute("data-swiper-autoplay")||t.autoplay),t._autoplayTimeoutId=e.timeout(function(){t._zone.run(function(){t.loop?(q(t,e),Z(t,e,!0,void 0,!0),t.ionSlideAutoplay.emit(t)):t._isEnd?t.autoplayStopOnLast?z(t):(G(t,e,0),t.ionSlideAutoplay.emit(t)):(Z(t,e,!0,void 0,!0),t.ionSlideAutoplay.emit(t))})},n)}function V(t,e){return void 0===t._autoplayTimeoutId&&(!(!t.autoplay||t._autoplaying)&&(t._autoplaying=!0,t._zone.run(function(){t.ionSlideAutoplayStart.emit(t)}),void B(t,e)))}function z(t){t._autoplayTimeoutId&&(t._autoplayTimeoutId&&clearTimeout(t._autoplayTimeoutId),t._autoplaying=!1,t._autoplayTimeoutId=void 0,t._zone.run(function(){t.ionSlideAutoplayStop.emit(t)}))}function H(t,e,n){t._autoplayPaused||(t._autoplayTimeoutId&&clearTimeout(t._autoplayTimeoutId),t._autoplayPaused=!0,0===n?(t._autoplayPaused=!1,B(t,e)):e.transitionEnd(t._wrapper,function(){t&&(t._autoplayPaused=!1,t._autoplaying?B(t,e):z(t))}))}function U(t){var e,n=[],i=0;if("auto"!==t.slidesPerView&&t.slidesPerView>1)for(e=0;et._slides.length)break;n.push(t._slides[r])}else n.push(t._slides[t._activeIndex]);for(e=0;ei?o:i}i&&(t._wrapper.style.height=i+"px")}function W(t,e){var n,i,r=t.container;if(n=void 0!==t.width?t.width:r.clientWidth,i=void 0!==t.renderedHeight?t.renderedHeight:r.clientHeight,!(0===n&&m(t)||0===i&&!m(t))){var o=e.getElementComputedStyle(r);n=n-parseInt(o.paddingLeft,10)-parseInt(o.paddingRight,10),i=i-parseInt(o.paddingTop,10)-parseInt(o.paddingBottom,10),t.renderedWidth=n,t.renderedHeight=i,t._renderedSize=m(t)?n:i}}function Y(t,e){t._slides=t._wrapper.querySelectorAll("."+vt.slide),t._snapGrid=[],t._slidesGrid=[],t._slidesSizesGrid=[];var n,o=t.spaceBetween,a=-t.slidesOffsetBefore,s=0,l=0;if(void 0!==t._renderedSize){"string"==typeof o&&o.indexOf("%")>=0&&(o=parseFloat(o.replace("%",""))/100*t._renderedSize),t._virtualSize=-o,r(t._slides,t._rtl?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""});var c;t.slidesPerColumn>1&&(c=Math.floor(t._slides.length/t.slidesPerColumn)===t._slides.length/t.slidesPerColumn?t._slides.length:Math.ceil(t._slides.length/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(c=Math.max(c,t.slidesPerView*t.slidesPerColumn)));var u,p=t.slidesPerColumn,d=c/p,h=d-(t.slidesPerColumn*d-t._slides.length);for(n=0;n1){var _,y,b;"column"===t.slidesPerColumnFill?(b=n-(y=Math.floor(n/p))*p,(y>h||y===h&&b===p-1)&&++b>=p&&(b=0,y++),r(g,{"-webkit-box-ordinal-group":_=y+b*c/p,"-moz-box-ordinal-group":_,"-ms-flex-order":_,"-webkit-order":_,order:_})):y=n-(b=Math.floor(n/d))*d;var v=0!==b&&t.spaceBetween&&t.spaceBetween+"px",w={};m(t)?w.marginTop=v:w.marginLeft=v,r(g,w),g.setAttribute("data-swiper-column",y),g.setAttribute("data-swiper-row",b)}if("none"!==g.style.display){if("auto"===t.slidesPerView){var x=e.getElementComputedStyle(g);u=m(t)?g.offsetWidth+parseFloat(x.marginRight)+parseFloat(x.marginLeft):g.offsetHeight+parseFloat(x.marginTop)+parseFloat(x.marginBottom),t.roundLengths&&(u=i(u))}else u=(t._renderedSize-(t.slidesPerView-1)*o)/t.slidesPerView,t.roundLengths&&(u=i(u)),m(t)?t._slides[n].style.width=u+"px":t._slides[n].style.height=u+"px";t._slides[n].swiperSlideSize=u,t._slidesSizesGrid.push(u),t.centeredSlides?(a=a+u/2+s/2+o,0===n&&(a=a-t._renderedSize/2-o),Math.abs(a)<.001&&(a=0),l%t.slidesPerGroup==0&&t._snapGrid.push(a),t._slidesGrid.push(a)):(l%t.slidesPerGroup==0&&t._snapGrid.push(a),t._slidesGrid.push(a),a=a+u+o),t._virtualSize+=u+o,s=u,l++}}t._virtualSize=Math.max(t._virtualSize,t._renderedSize)+t.slidesOffsetAfter;var C;if(!t._rtl||"slide"!==t.effect&&"coverflow"!==t.effect||r(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(m(t)?r(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}):r(t._wrapper,{height:t._virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(t._virtualSize=(u+t.spaceBetween)*c,t._virtualSize=Math.ceil(t._virtualSize/t.slidesPerColumn)-t.spaceBetween,m(t)?r(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}):r(t._wrapper,{height:t._virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){for(C=[],n=0;n1&&t._snapGrid.push(t._virtualSize-t._renderedSize)}0===t._snapGrid.length&&(t._snapGrid=[0]),0!==t.spaceBetween&&(m(t)?r(t._slides,t._rtl?{marginLeft:o+"px"}:{marginRight:o+"px"}):r(t._slides,{marginBottom:o+"px"})),t.watchSlidesProgress&&f(t)}}function q(t,e){var n;t._activeIndex=2*t.loopedSlides||t._activeIndex>t._slides.length-2*t.slidesPerView)&&(n=-t._slides.length+t._activeIndex+t.loopedSlides,G(t,e,n+=t.loopedSlides,0,!1,!0))}function G(t,e,n,i,r,o){void 0===r&&(r=!0),void 0===n&&(n=0),n<0&&(n=0),t._snapIndex=Math.floor(n/t.slidesPerGroup),t._snapIndex>=t._snapGrid.length&&(t._snapIndex=t._snapGrid.length-1);var a=-t._snapGrid[t._snapIndex];return t.autoplay&&t._autoplaying&&(o||!t.autoplayDisableOnInteraction?H(t,e,i):z(t)),w(t,a),!(!t._allowSwipeToNext&&at._translate&&a>y(t)&&(t._activeIndex||0)!==n)&&(void 0===i&&(i=t.speed),t._previousIndex=t._activeIndex||0,t._activeIndex=n,E(t),t._rtl&&-a===t._translate||!t._rtl&&a===t._translate?(t.autoHeight&&U(t),S(t),"slide"!==t.effect&&A(t,e,a),!1):(S(t),K(t,r),0===i?(A(t,e,a),T(t,e,0),X(t,e,r)):(A(t,e,a),T(t,e,i),t._animating||(t._animating=!0,e.transitionEnd(t._wrapper,function(){t&&X(t,e,r)}))),!0)))}function K(t,e){void 0===e&&(e=!0),t.autoHeight&&U(t),e&&t._zone.run(function(){t.ionSlideTransitionStart.emit(t),t._activeIndex!==t._previousIndex&&(t.ionSlideWillChange.emit(t),t._activeIndex>t._previousIndex?t.ionSlideNextStart.emit(t):t.ionSlidePrevStart.emit(t))})}function X(t,e,n){void 0===n&&(n=!0),t._animating=!1,T(t,e,0),n&&t._zone.run(function(){t.ionSlideTransitionEnd.emit(t),t._activeIndex!==t._previousIndex&&(t.ionSlideDidChange.emit(t),t._activeIndex>t._previousIndex?t.ionSlideNextEnd.emit(t):t.ionSlidePrevEnd.emit(t))})}function Z(t,e,n,i,r){if(t.loop)return!t._animating&&(q(t,e),G(t,e,t._activeIndex+t.slidesPerGroup,i,n,r));var o=t._activeIndex+t.slidesPerGroup;return o=0&&G(t,e,t._activeIndex-1,i,n,r)}function J(t){z(t),t.loop&&function(t){if(c(t._wrapper,"."+vt.slide+"."+vt.slideDuplicate,function(t){t.parentElement.removeChild(t)}),t._slides)for(var e=0;e=s.left&&f[0]<=s.left+l&&f[1]>=s.top&&f[1]<=s.top+c&&(a=!0)}if(!a)return}m(t)?(37!==r&&39!==r||(n.preventDefault?n.preventDefault():n.returnValue=!1),(39===r&&!t._rtl||37===r&&t._rtl)&&Z(t,e),(37===r&&!t._rtl||39===r&&t._rtl)&&$(t,e)):(38!==r&&40!==r||(n.preventDefault?n.preventDefault():n.returnValue=!1),40===r&&Z(t,e),38===r&&$(t,e))}}}(t,e,n)},{zone:!1}):!n&&t._keyboardUnReg&&t._keyboardUnReg()}function tt(t,e){var n=e.win(),i=e.doc();t._supportTouch=!!("ontouchstart"in n||n.DocumentTouch&&i instanceof n.DocumentTouch),t._touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},n.navigator.pointerEnabled?t._touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:n.navigator.msPointerEnabled&&(t._touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),t._touchEvents={start:t._supportTouch||!t.simulateTouch?"touchstart":t._touchEventsDesktop.start,move:t._supportTouch||!t.simulateTouch?"touchmove":t._touchEventsDesktop.move,end:t._supportTouch||!t.simulateTouch?"touchend":t._touchEventsDesktop.end},(n.navigator.pointerEnabled||n.navigator.msPointerEnabled)&&("container"===t.touchEventsTarget?t.container:t._wrapper).classList.add("swiper-wp8-"+t.direction);var r=[],o="container"===t.touchEventsTarget?t.container:t._wrapper;t._supportTouch&&(e.registerListener(o,t._touchEvents.start,function(n){nt(t,e,n)},{passive:!0,zone:!1},r),e.registerListener(o,t._touchEvents.move,function(n){it(t,e,n)},{zone:!1},r),e.registerListener(o,t._touchEvents.end,function(n){rt(t,e,n)},{passive:!0,zone:!1},r)),(t.simulateTouch&&!e.is("ios")&&!e.is("android")||t.simulateTouch&&!t._supportTouch&&e.is("ios")||e.getQueryParam("ionicPlatform"))&&(e.registerListener(o,"mousedown",function(n){nt(t,e,n)},{zone:!1},r),e.registerListener(o,"mousemove",function(n){it(t,e,n)},{zone:!1},r),e.registerListener(o,"mouseup",function(n){rt(t,e,n)},{zone:!1},r));var a=e.resize.subscribe(function(){return function(t,e,n){gt&&(e.cancelTimeout(gt),gt=null);gt=e.timeout(function(){return function(t,e,n){gt=null;var i=t._allowSwipeToPrev,r=t._allowSwipeToNext;t._allowSwipeToPrev=t._allowSwipeToNext=!0,W(t,e),Y(t,e),("auto"===t.slidesPerView||t.freeMode||n)&&k(t);t._spline&&(t._spline=void 0);if(t.freeMode){var o=Math.min(Math.max(t._translate,y(t)),_(t));A(t,e,o),O(t),S(t),t.autoHeight&&U(t)}else S(t),G(t,e,("auto"===t.slidesPerView||t.slidesPerView>1)&&t._isEnd&&!t.centeredSlides?t._slides.length-1:t._activeIndex,0,!1,!0);t._allowSwipeToPrev=i,t._allowSwipeToNext=r}(t,e,n)},200)}(t,e,!1)});return t.nextButton&&e.registerListener(t.nextButton,"click",function(n){!function(t,e,n){if(n.preventDefault(),t._isEnd&&!t.loop)return;Z(t,e)}(t,e,n)},{zone:!1},r),t.prevButton&&e.registerListener(t.prevButton,"click",function(n){!function(t,e,n){if(n.preventDefault(),t._isBeginning&&!t.loop)return;$(t,e)}(t,e,n)},{zone:!1},r),t.paginationType&&e.registerListener(t._paginationContainer,"click",function(n){!function(t,e,n){var i=n.target.getAttribute("data-slide-index");if(i){var r=parseInt(i,10);n.preventDefault(),t.loop&&(r+=t.loopedSlides),G(t,e,r)}}(t,e,n)},{zone:!1},r),(t.preventClicks||t.preventClicksPropagation)&&e.registerListener(o,"click",function(e){!function(t,e){t._allowClick||(t.preventClicks&&e.preventDefault(),t.preventClicksPropagation&&t._animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}(t,e)},{zone:!1,capture:!0},r),function(){a.unsubscribe(),r.forEach(function(t){t()}),r=null}}function et(t,e){var n=t.target;if(!n.matches(e))if("string"==typeof e)n=n.closest(e);else if(e.nodeType){for(var i=n.parentElement;i;)if(i===e)return e;return}return n}function nt(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,(mt="touchstart"===n.type)||!("which"in n)||3!==n.which)if(t.noSwiping&&et(n,"."+vt.noSwiping))t._allowClick=!0;else if(!t.swipeHandler||et(n,t.swipeHandler)){var i=t._touches.currentX="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,r=t._touches.currentY="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY;if(!(e.is("ios")&&t.iOSEdgeSwipeDetection&&i<=t.iOSEdgeSwipeThreshold)){if(ot=!0,at=!1,st=!0,ct=void 0,void 0,t._touches.startX=i,t._touches.startY=r,lt=Date.now(),t._allowClick=!0,W(t,e),t.swipeDirection=void 0,t.threshold>0&&(dt=!1),"touchstart"!==n.type){var o=!0;g(n.target)&&(o=!1),e.focusOutActiveElement(),o&&n.preventDefault()}t.ionSlideTouchStart.emit(n)}}}function it(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,!mt||"mousemove"!==n.type){if(n.preventedByNestedSwiper)return t._touches.startX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,void(t._touches.startY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY);if(t.onlyExternal)return t._allowClick=!1,void(ot&&(t._touches.startX=t._touches.currentX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,t._touches.startY=t._touches.currentY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,lt=Date.now()));if(mt&&t.touchReleaseOnEdges&&!t.loop)if(m(t)){if(t._touches.currentXt._touches.startX&&t._translate>=_(t))return}else if(t._touches.currentYt._touches.startY&&t._translate>=_(t))return;var i=e.getActiveElement();if(mt&&i&&n.target===i&&g(n.target))return at=!0,void(t._allowClick=!1);if(!(n.targetTouches&&n.targetTouches.length>1)){if(t._touches.currentX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,t._touches.currentY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,void 0===ct){var r;m(t)&&t._touches.currentY===t._touches.startY||!m(t)&&t._touches.currentX===t._touches.startX?ct=!1:(r=180*Math.atan2(Math.abs(t._touches.currentY-t._touches.startY),Math.abs(t._touches.currentX-t._touches.startX))/Math.PI,ct=m(t)?r>t.touchAngle:90-r>t.touchAngle)}if(ot)if(ct)ot=!1;else{t._allowClick=!1,t.ionSlideDrag.emit(t),n.preventDefault(),t.touchMoveStopPropagation&&n.stopPropagation(),at||(t.loop&&q(t,e),pt=function(t,e,n){return void 0===n&&(n=m(t)?"x":"y"),P(t,e,t._wrapper,n)}(t,e),T(t,e,0),t._animating&&d(e,t._wrapper),t.autoplay&&t._autoplaying&&(t.autoplayDisableOnInteraction?z(t):H(t,e)),ft=!1),at=!0;var o=t._touches.diff=m(t)?t._touches.currentX-t._touches.startX:t._touches.currentY-t._touches.startY;o*=t.touchRatio,t._rtl&&(o=-o),t.swipeDirection=o>0?"prev":"next",ut=o+pt;var a=!0;if(o>0&&ut>_(t)?(a=!1,t.resistance&&(ut=_(t)-1+Math.pow(-_(t)+pt+o,t.resistanceRatio))):o<0&&utpt&&(ut=pt),t.threshold>0){if(!(Math.abs(o)>t.threshold||dt))return void(ut=pt);if(!dt)return dt=!0,t._touches.startX=t._touches.currentX,t._touches.startY=t._touches.currentY,ut=pt,void(t._touches.diff=m(t)?t._touches.currentX-t._touches.startX:t._touches.currentY-t._touches.startY)}t.followFinger&&((t.freeMode||t.watchSlidesProgress)&&O(t),t.freeMode&&(0===Et.length&&Et.push({position:t._touches[m(t)?"startX":"startY"],time:lt}),Et.push({position:t._touches[m(t)?"currentX":"currentY"],time:(new Date).getTime()})),w(t,ut),A(t,e,ut))}}}}function rt(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,st&&t.ionSlideTouchEnd.emit(n),st=!1,ot){var i=Date.now(),r=i-lt;if(t._allowClick&&(!function(t,e,n){var i=et(n,"."+vt.slide),r=-1;if(i)for(var o=0;o-1))return t.clickedSlide=void 0,void(t.clickedIndex=void 0);if(t.clickedSlide=i,t.clickedIndex=r,t.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t._activeIndex){var a,l=t.clickedIndex,c="auto"===t.slidesPerView?function(t){var e,n,i=1;if(t.centeredSlides){var r,o=t._slides[t._activeIndex].swiperSlideSize;for(e=t._activeIndex+1;et._renderedSize&&(r=!0));for(n=t._activeIndex-1;n>=0;n--)t._slides[n]&&!r&&(i++,(o+=t._slides[n].swiperSlideSize)>t._renderedSize&&(r=!0))}else for(e=t._activeIndex+1;et._slides.length-t.loopedSlides+c/2?(q(t,e),l=s(t._wrapper.querySelector("."+vt.slide+'[data-swiper-slide-index="'+a+'"]:not(.'+vt.slideDuplicate+")")),e.timeout(function(){G(t,e,l)})):G(t,e,l):l>t._slides.length-c?(q(t,e),l=s(t._wrapper.querySelector("."+vt.slide+'[data-swiper-slide-index="'+a+'"]:not(.'+vt.slideDuplicate+")")),e.timeout(function(){G(t,e,l)})):G(t,e,l)}else G(t,e,l)}}(t,e,n),t._zone.run(function(){t.ionSlideTap.emit(t),r<300&&i-Ot>300&&(ht&&e.cancelTimeout(ht),ht=e.timeout(function(){t&&t.paginationHide&&t._paginationContainer&&!n.target.classList.contains(vt.bullet)&&t._paginationContainer.classList.toggle(vt.paginationHidden)},300)),r<300&&i-Ot<300&&(ht&&clearTimeout(ht),t.ionSlideDoubleTap.emit(t))})),Ot=Date.now(),e.timeout(function(){t&&(t._allowClick=!0)}),ot&&at&&t.swipeDirection&&0!==t._touches.diff&&ut!==pt){ot=at=!1;var o;if(o=t.followFinger?t._rtl?t._translate:-t._translate:-ut,t.freeMode){if(o<-_(t))return void G(t,e,t._activeIndex);if(o>-y(t))return void G(t,e,t._slides.length1){var a=Et.pop(),l=Et.pop(),c=a.time-l.time;t.velocity=(a.position-l.position)/c,t.velocity=t.velocity/2,Math.abs(t.velocity)150||(new Date).getTime()-a.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity=t.velocity*t.freeModeMomentumVelocityRatio,Et.length=0;var u=1e3*t.freeModeMomentumRatio,p=t._translate+t.velocity*u;t._rtl&&(p=-p);var d,h=!1,f=20*Math.abs(t.velocity)*t.freeModeMomentumBounceRatio;if(p_(t))t.freeModeMomentumBounce?(p-_(t)>f&&(p=_(t)+f),d=_(t),h=!0,ft=!0):p=_(t);else if(t.freeModeSticky){var m,g=0;for(g=0;g-p){m=g;break}p=Math.abs(t._snapGrid[m]-p)=t.longSwipesMs)&&(w(t),O(t))}else{for(var b=0,v=t._slidesSizesGrid[0],x=0;x=t._slidesGrid[x]&&o=t._slidesGrid[x]&&(b=x,v=t._slidesGrid[t._slidesGrid.length-1]-t._slidesGrid[t._slidesGrid.length-2]);var C=(o-t._slidesGrid[b])/v;if(r>t.longSwipesMs){if(!t.longSwipes)return void G(t,e,t._activeIndex);"next"===t.swipeDirection&&G(t,e,C>=t.longSwipesRatio?b+t.slidesPerGroup:b),"prev"===t.swipeDirection&&G(t,e,C>1-t.longSwipesRatio?b+t.slidesPerGroup:b)}else{if(!t.shortSwipes)return void G(t,e,t._activeIndex);"next"===t.swipeDirection&&G(t,e,b+t.slidesPerGroup),"prev"===t.swipeDirection&&G(t,e,b)}}}else ot=at=!1}}var ot,at,st,lt,ct,ut,pt,dt,ht,ft,mt,gt,_t=n(0),yt=n(2),bt=["INPUT","SELECT","TEXTAREA","BUTTON","VIDEO"],vt={noSwiping:"swiper-no-swiping",containerModifier:"swiper-container-",slide:"swiper-slide",slideActive:"swiper-slide-active",slideDuplicateActive:"swiper-slide-duplicate-active",slideVisible:"swiper-slide-visible",slideDuplicate:"swiper-slide-duplicate",slideNext:"swiper-slide-next",slideDuplicateNext:"swiper-slide-duplicate-next",slidePrev:"swiper-slide-prev",slideDuplicatePrev:"swiper-slide-duplicate-prev",wrapper:"swiper-wrapper",bullet:"swiper-pagination-bullet",bulletActive:"swiper-pagination-bullet-active",buttonDisabled:"swiper-button-disabled",paginationCurrent:"swiper-pagination-current",paginationTotal:"swiper-pagination-total",paginationHidden:"swiper-pagination-hidden",paginationProgressbar:"swiper-pagination-progressbar",paginationClickable:"swiper-pagination-clickable",paginationModifier:"swiper-pagination-",lazyLoading:"swiper-lazy",lazyStatusLoading:"swiper-lazy-loading",lazyStatusLoaded:"swiper-lazy-loaded",lazyPreloader:"swiper-lazy-preloader",notification:"swiper-notification",preloader:"preloader",zoomContainer:"swiper-zoom-container"},wt={LinearSpline:function(t,e,n,i){this.x=n,this.y=i,this.lastIndex=n.length-1;var r,o;this.interpolate=function(t){return t?(o=a(this.x,t),r=o-1,(t-this.x[r])*(this.y[o]-this.y[r])/(this.x[o]-this.x[r])+this.y[r]):0};var a=function(){var t,e,n;return function(i,r){for(e=-1,t=i.length;t-e>1;)i[n=t+e>>1]<=r?e=n:t=n;return t}}()},getInterpolateFunction:function(t,e,n){t._spline||(t._spline=t.loop?new wt.LinearSpline(t,e,t._slidesGrid,n._slidesGrid):new wt.LinearSpline(t,e,t._snapGrid,n._snapGrid))},setTranslate:function(t,e,n,i,r){function o(i){n=i._rtl&&m(i)?-t._translate:t._translate,"slide"===t.controlBy&&(wt.getInterpolateFunction(t,e,i),s=-t._spline.interpolate(-n)),s&&"container"!==t.controlBy||(a=(y(i)-_(i))/(y(t)-_(t)),s=(n-_(t))*a+_(i)),t.controlInverse&&(s=y(i)-s),w(i,s),r(i,e,s,!1,t),O(i)}var a,s,l=t.control;if(Array.isArray(l))for(var c=0;c-1&&(i=90*r+90*l,t._rtl&&(i=90*-r-90*l)),u(o,h),t.cube.slideShadows){var f=m(t)?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),g=m(t)?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");f||((f=e.doc().createElement("div")).className="swiper-slide-shadow-"+(m(t)?"left":"top"),o.appendChild(f)),g||((g=e.doc().createElement("div")).className="swiper-slide-shadow-"+(m(t)?"right":"bottom"),o.appendChild(g)),f&&(f.style.opacity=Math.max(-l,0)),g&&(g.style.opacity=Math.max(l,0))}}if(t._wrapper.style.transformOrigin=t._wrapper.style.webkitTransformOrigin="50% 50% -"+t._renderedSize/2+"px",t.cube.shadow)if(m(t))u(n,"translate3d(0px, "+(t.renderedWidth/2+t.cube.shadowOffset)+"px, "+-t.renderedWidth/2+"px) rotateX(90deg) rotateZ(0deg) scale("+t.cube.shadowScale+")");else{var _=Math.abs(i)-90*Math.floor(Math.abs(i)/90),y=1.5-(Math.sin(2*_*Math.PI/360)/2+Math.cos(2*_*Math.PI/360)/2),b=t.cube.shadowScale/y;u(n,"scale3d("+t.cube.shadowScale+", 1, "+b+") translate3d(0px, "+(t.renderedHeight/2+t.cube.shadowOffset)+"px, "+-t.renderedHeight/2/b+"px) rotateX(-90deg)")}var v=Object(xt.e)(e)||Object(xt.d)(e)?-t._renderedSize/2:0;u(t._wrapper,"translate3d(0px,0,"+v+"px) rotateX("+(m(t)?0:i)+"deg) rotateY("+(m(t)?-i:0)+"deg)")},setTransition:function(t,e,n){for(var i=0;i0?p:0),b&&(b.style.opacity=-p>0?-p:0)}}},setTransition:function(t,e,n){for(var i=0;i1)&&t._isEnd&&!t.centeredSlides?t._slides.length-1:t._activeIndex,0,!1,!0)||i()):t.autoHeight&&U(t)}}(e,e._plt),e.length()>10&&(e.paginationType=void 0)},t))},e.prototype.resize=function(){},e.prototype.slideTo=function(t,e,n){G(this,this._plt,t,e,n)},e.prototype.slideNext=function(t,e){Z(this,this._plt,e,t,!0)},e.prototype.slidePrev=function(t,e){$(this,this._plt,e,t,!0)},e.prototype.getActiveIndex=function(){return this._activeIndex},e.prototype.getPreviousIndex=function(){return this._previousIndex},e.prototype.length=function(){return this._slides.length},e.prototype.isEnd=function(){return this._isEnd},e.prototype.isBeginning=function(){return this._isBeginning},e.prototype.startAutoplay=function(){V(this,this._plt)},e.prototype.stopAutoplay=function(){z(this)},e.prototype.lockSwipeToNext=function(t){this._allowSwipeToNext=!t},e.prototype.lockSwipeToPrev=function(t){this._allowSwipeToPrev=!t},e.prototype.lockSwipes=function(t){this._allowSwipeToNext=this._allowSwipeToPrev=!t},e.prototype.enableKeyboardControl=function(t){Q(this,this._plt,t)},e.prototype.ngOnDestroy=function(){this._init=!1,this._unregs.forEach(function(t){t()}),this._unregs.length=0,J(this),this.enableKeyboardControl(!1)},e.decorators=[{type:_t.k,args:[{selector:"ion-slides",template:'
',changeDetection:_t.h.OnPush,encapsulation:_t._2.None}]}],e.ctorParameters=function(){return[{type:yt.a},{type:At.a},{type:_t.H},{type:Pt.a,decorators:[{type:_t.I}]},{type:_t.p},{type:_t.O}]},e.propDecorators={autoplay:[{type:_t.A}],control:[{type:_t.A}],effect:[{type:_t.A}],direction:[{type:_t.A}],initialSlide:[{type:_t.A}],loop:[{type:_t.A}],pager:[{type:_t.A}],dir:[{type:_t.A}],paginationType:[{type:_t.A}],parallax:[{type:_t.A}],speed:[{type:_t.A}],zoom:[{type:_t.A}],spaceBetween:[{type:_t.A}],slidesPerView:[{type:_t.A}],centeredSlides:[{type:_t.A}],ionSlideWillChange:[{type:_t.J}],ionSlideDidChange:[{type:_t.J}],ionSlideDrag:[{type:_t.J}],ionSlideReachStart:[{type:_t.J}],ionSlideReachEnd:[{type:_t.J}],ionSlideAutoplay:[{type:_t.J}],ionSlideAutoplayStart:[{type:_t.J}],ionSlideAutoplayStop:[{type:_t.J}],ionSlideNextStart:[{type:_t.J}],ionSlidePrevStart:[{type:_t.J}],ionSlideNextEnd:[{type:_t.J}],ionSlidePrevEnd:[{type:_t.J}],ionSlideTap:[{type:_t.J}],ionSlideDoubleTap:[{type:_t.J}]},e}(kt.a),Dt=-1},function(t,e,n){!function(e,i,r){t.exports=i(n(42),n(239),n(240))}(0,function(t){return function(){var e=t,n=e.lib,i=n.Base,r=n.WordArray,o=e.algo,a=o.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:o.MD5,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var n=this.cfg,i=n.hasher.create(),o=r.create(),a=o.words,s=n.keySize,l=n.iterations;a.length *",Object(_.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},k=function(t){function e(e,n,i,r){var a=t.call(this)||this;return a._elementRef=e,a._focusTrapFactory=n,a._changeDetectorRef=i,a._document=r,a._elementFocusedBeforeDialogWasOpened=null,a._state="enter",a._animationStateChanged=new o.s,a._ariaLabelledBy=null,a}return Object(p.b)(e,t),e.prototype.attachComponentPortal=function(t){return this._portalOutlet.hasAttached()&&i(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._portalOutlet.hasAttached()&&i(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)},e.prototype._trapFocus=function(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady()},e.prototype._restoreFocus=function(){var t=this._elementFocusedBeforeDialogWasOpened;t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var t=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,Promise.resolve().then(function(){return t._elementRef.nativeElement.focus()}))},e.prototype._onAnimationDone=function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)},e.prototype._onAnimationStart=function(t){this._animationStateChanged.emit(t)},e.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},e.decorators=[{type:o.k,args:[{selector:"mat-dialog-container",template:"",styles:[".mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);display:block;padding:24px;border-radius:2px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%}@media screen and (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:12px 0;display:flex;flex-wrap:wrap}.mat-dialog-actions:last-child{margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],encapsulation:o._2.None,preserveWhitespaces:!1,changeDetection:o.h.Default,animations:[C.slideDialog],host:{class:"mat-dialog-container",tabindex:"-1","[attr.role]":"_config?.role","[attr.aria-labelledby]":"_config?.ariaLabel ? null : _ariaLabelledBy","[attr.aria-label]":"_config?.ariaLabel","[attr.aria-describedby]":"_config?.ariaDescribedBy || null","[@slideDialog]":"_state","(@slideDialog.start)":"_onAnimationStart($event)","(@slideDialog.done)":"_onAnimationDone($event)"}}]}],e.ctorParameters=function(){return[{type:o.p},{type:c.k},{type:o.i},{type:void 0,decorators:[{type:o.I},{type:o.w,args:[a.c]}]}]},e.propDecorators={_portalOutlet:[{type:o.Z,args:[l.c]}]},e}(l.a),S=0,O=function(){function t(t,e,n,i){void 0===i&&(i="mat-dialog-"+S++);var r=this;this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpen=new g.Subject,this._afterClosed=new g.Subject,this._beforeClose=new g.Subject,this._locationChanges=w.Subscription.EMPTY,e._animationStateChanged.pipe(Object(b.filter)(function(t){return"done"===t.phaseName&&"enter"===t.toState}),Object(v.take)(1)).subscribe(function(){r._afterOpen.next(),r._afterOpen.complete()}),e._animationStateChanged.pipe(Object(b.filter)(function(t){return"done"===t.phaseName&&"exit"===t.toState}),Object(v.take)(1)).subscribe(function(){r._overlayRef.dispose(),r._locationChanges.unsubscribe(),r._afterClosed.next(r._result),r._afterClosed.complete(),r.componentInstance=null}),t.keydownEvents().pipe(Object(b.filter)(function(t){return t.keyCode===y.g&&!r.disableClose})).subscribe(function(){return r.close()}),n&&(this._locationChanges=n.subscribe(function(){r._containerInstance._config.closeOnNavigation&&r.close()}))}return t.prototype.close=function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe(Object(b.filter)(function(t){return"start"===t.phaseName}),Object(v.take)(1)).subscribe(function(){e._beforeClose.next(t),e._beforeClose.complete(),e._overlayRef.detachBackdrop()}),this._containerInstance._startExitAnimation()},t.prototype.afterOpen=function(){return this._afterOpen.asObservable()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.beforeClose=function(){return this._beforeClose.asObservable()},t.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},t.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},t.prototype.updatePosition=function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},t.prototype.updateSize=function(t,e){return void 0===t&&(t="auto"),void 0===e&&(e="auto"),this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this},t.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},t}(),E=new o.y("MatDialogData"),A=new o.y("mat-dialog-default-options"),P=new o.y("mat-dialog-scroll-strategy"),T={provide:P,deps:[s.c],useFactory:r},I=function(){function t(t,e,n,i,r,o,a){var s=this;this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=i,this._scrollStrategy=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new g.Subject,this._afterOpenAtThisLevel=new g.Subject,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(h.defer)(function(){return s.openDialogs.length?s._afterAllClosed:s._afterAllClosed.pipe(Object(m.startWith)(void 0))})}return Object.defineProperty(t.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this._parentDialog?this._parentDialog.afterOpen:this._afterOpenAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_afterAllClosed",{get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),t.prototype.open=function(t,e){var n=this;if((e=function(t,e){return Object(p.a)({},e,t)}(e,this._defaultOptions||new x)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var i=this._createOverlay(e),r=this._attachDialogContainer(i,e),o=this._attachDialogContent(t,r,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpen.next(o),o},t.prototype.closeAll=function(){for(var t=this.openDialogs.length;t--;)this.openDialogs[t].close()},t.prototype.getDialogById=function(t){return this.openDialogs.find(function(e){return e.id===t})},t.prototype._createOverlay=function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)},t.prototype._getOverlayConfig=function(t){var e=new s.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight});return t.backdropClass&&(e.backdropClass=t.backdropClass),e},t.prototype._attachDialogContainer=function(t,e){var n=new l.d(k,e.viewContainerRef),i=t.attach(n);return i.instance._config=e,i.instance},t.prototype._attachDialogContent=function(t,e,n,i){var r=new O(n,e,this._location,i.id);if(i.hasBackdrop&&n.backdropClick().subscribe(function(){r.disableClose||r.close()}),t instanceof o.W)e.attachTemplatePortal(new l.h(t,null,{$implicit:i.data,dialogRef:r}));else{var a=this._createInjector(i,r,e),s=e.attachComponentPortal(new l.d(t,void 0,a));r.componentInstance=s.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r},t.prototype._createInjector=function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new WeakMap;return r.set(O,e),r.set(k,n),r.set(E,t.data),r.set(d.c,{value:t.direction,change:Object(f.of)()}),new l.f(i||this._injector,r)},t.prototype._removeOpenDialog=function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}},t.decorators=[{type:o.x}],t.ctorParameters=function(){return[{type:s.c},{type:o.z},{type:a.f,decorators:[{type:o.I}]},{type:void 0,decorators:[{type:o.I},{type:o.w,args:[A]}]},{type:void 0,decorators:[{type:o.w,args:[P]}]},{type:t,decorators:[{type:o.I},{type:o.V}]},{type:s.e}]},t}(),D=0,j=function(){function t(t){this.dialogRef=t,this.ariaLabel="Close dialog"}return t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)},t.decorators=[{type:o.o,args:[{selector:"button[mat-dialog-close], button[matDialogClose]",exportAs:"matDialogClose",host:{"(click)":"dialogRef.close(dialogResult)","[attr.aria-label]":"ariaLabel",type:"button"}}]}],t.ctorParameters=function(){return[{type:O}]},t.propDecorators={ariaLabel:[{type:o.A,args:["aria-label"]}],dialogResult:[{type:o.A,args:["mat-dialog-close"]}],_matDialogClose:[{type:o.A,args:["matDialogClose"]}]},t}(),R=function(){function t(t){this._container=t,this.id="mat-dialog-title-"+D++}return t.prototype.ngOnInit=function(){var t=this;this._container&&!this._container._ariaLabelledBy&&Promise.resolve().then(function(){return t._container._ariaLabelledBy=t.id})},t.decorators=[{type:o.o,args:[{selector:"[mat-dialog-title], [matDialogTitle]",exportAs:"matDialogTitle",host:{class:"mat-dialog-title","[id]":"id"}}]}],t.ctorParameters=function(){return[{type:k,decorators:[{type:o.I}]}]},t.propDecorators={id:[{type:o.A}]},t}(),M=function(){function t(){}return t.decorators=[{type:o.o,args:[{selector:"[mat-dialog-content], mat-dialog-content, [matDialogContent]",host:{class:"mat-dialog-content"}}]}],t.ctorParameters=function(){return[]},t}(),N=function(){function t(){}return t.decorators=[{type:o.o,args:[{selector:"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",host:{class:"mat-dialog-actions"}}]}],t.ctorParameters=function(){return[]},t}(),F=function(){function t(){}return t.decorators=[{type:o.E,args:[{imports:[a.b,s.g,l.g,c.a,u.n],exports:[k,j,R,M,N,u.n],declarations:[k,j,R,N,M],providers:[I,T],entryComponents:[k]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return s._41(0,[(t()(),s._18(0,0,null,null,1,"ion-icon",[["name","reorder"],["role","img"]],[[2,"hide",null]],null,null,null,null)),s._17(1,147456,null,0,u.a,[c.a,s.p,s.O],{name:[0,"name"]},null)],function(t,e){t(e,1,0,"reorder")},function(t,e){t(e,0,0,s._32(e,1)._hidden)})}function r(t){return s._41(0,[(t()(),s._18(0,0,null,null,2,"ion-label",[],null,null,null,null,null)),s._17(1,16384,[[1,4]],0,l.a,[c.a,s.p,s.O,[8,null],[8,null],[8,null],[8,null]],null,null),s._31(null,2)],null,null)}function o(t){return s._41(0,[(t()(),s._18(0,0,null,null,1,"ion-reorder",[],null,[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==s._32(t,1).onClick(n)&&i}return i},i,d)),s._17(1,49152,null,0,p.a,[s.p],null,null)],null,null)}function a(t){return s._41(2,[s._37(671088640,1,{viewLabel:0}),s._31(null,0),(t()(),s._18(2,0,null,null,8,"div",[["class","item-inner"]],null,null,null,null,null)),(t()(),s._18(3,0,null,null,4,"div",[["class","input-wrapper"]],null,null,null,null,null)),s._31(null,1),(t()(),s._13(16777216,null,null,1,null,r)),s._17(6,16384,null,0,h.j,[s._1,s.W],{ngIf:[0,"ngIf"]},null),s._31(null,3),s._31(null,4),(t()(),s._13(16777216,null,null,1,null,o)),s._17(10,16384,null,0,h.j,[s._1,s.W],{ngIf:[0,"ngIf"]},null),(t()(),s._18(11,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,6,0,n._viewLabel);t(e,10,0,n._hasReorder)},null)}var s=n(0),l=n(108),c=n(2),u=n(20),p=n(172),d=s._16({encapsulation:2,styles:[],data:{}}),h=(s._14("ion-reorder",p.a,function(t){return s._41(0,[(t()(),s._18(0,0,null,null,1,"ion-reorder",[],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==s._32(t,1).onClick(n)&&i),i},i,d)),s._17(1,49152,null,0,p.a,[s.p],null,null)],null,null)},{},{},[]),n(4)),f=n(54),m=n(52),g=n(82);n.d(e,"a",function(){return _}),e.b=a;var _=s._16({encapsulation:2,styles:[],data:{}});s._14("ion-list-header,ion-item,[ion-item],ion-item-divider",f.a,function(t){return s._41(0,[(t()(),s._18(0,0,null,null,4,"ion-list-header",[["class","item"]],null,null,null,a,_)),s._17(1,1097728,null,3,f.a,[m.a,c.a,s.p,s.O,[2,g.a]],null,null),s._37(335544320,1,{contentLabel:0}),s._37(603979776,2,{_buttons:1}),s._37(603979776,3,{_icons:1})],null,null)},{color:"color",mode:"mode"},{},["[item-start],[item-left],ion-checkbox:not([item-end]):not([item-right])","ion-label","*","ion-select,ion-input,ion-textarea,ion-datetime,ion-range,[item-content]","[item-end],[item-right],ion-radio,ion-toggle"])},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(69),r=n(107),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(){var t=this;this.enteringView&&(this.enteringPage=new i.a(this.plt,this.enteringView.pageRef()),this.add(this.enteringPage.beforeAddClass("show-page")),this.beforeAddRead(function(){t.enteringView.readReady.emit()}),this.beforeAddWrite(function(){t.enteringView.writeReady.emit()}))},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.enteringPage&&this.enteringPage.destroy(),this.enteringPage=null},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=n(214),o=n(8),a=n(2),s=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new r.a(this._app,t,this.config)},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[{type:o.a},{type:a.a}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return s}),e.c=function(t,e){return new s(t,e)},e.d=function(t,e,n,i){return function(){Object(o.s)(function(){i.runOutsideAngular(function(){!function(t,e,n){if(!e||!e.links||!t.getBoolean("preloadModules"))return Promise.resolve();var i=e.links.filter(function(t){return!!t.loadChildren&&"off"!==t.priority}),r=i.filter(function(t){return"high"===t.priority}).map(function(t){return n.load(t.loadChildren)});Promise.all(r).then(function(){var t=i.filter(function(t){return"low"===t.priority}).map(function(t){return n.load(t.loadChildren)});return Promise.all(t)}).catch(function(t){console.error(t.message)})}(t,e,n)})})}};var i=n(0),r=n(220),o=n(10),a=new i.y("LZYCMP"),s=function(){function t(t,e){this._ngModuleLoader=t,this._injector=e,this._cfrMap=new Map,this._promiseMap=new Map}return t.prototype.load=function(t){var e=this,n=t.split(l),i=this._promiseMap.get(t);return i||(i=this._ngModuleLoader.load(n[0],n[1]),this._promiseMap.set(t,i)),i.then(function(t){var n=t.create(e._injector),i=n.injector.get(a);return e._cfrMap.set(i,n.componentFactoryResolver),{componentFactoryResolver:n.componentFactoryResolver,component:i}})},t.prototype.getComponentFactoryResolver=function(t){return this._cfrMap.get(t)},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[{type:r.a},{type:i.z}]},t}(),l="#"},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(0),r=n(2),o=n(110),a=function(){function t(t,e){this.r=t,this._config=e}return t.prototype.ngOnInit=function(){this.pullingIcon||(this.pullingIcon=this._config.get("ionPullIcon","arrow-down")),this.refreshingSpinner||(this.refreshingSpinner=this._config.get("ionRefreshingSpinner",this._config.get("spinner","ios")))},t.decorators=[{type:i.k,args:[{selector:"ion-refresher-content",template:'
',host:{"[attr.state]":"r.state"},encapsulation:i._2.None}]}],t.ctorParameters=function(){return[{type:o.a},{type:r.a}]},t.propDecorators={pullingIcon:[{type:i.A}],pullingText:[{type:i.A}],refreshingSpinner:[{type:i.A}],refreshingText:[{type:i.A}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(2),o=n(43),a=n(6),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i,"footer")||this;return r&&r._setFooter(o),o}return s(e,t),e.decorators=[{type:i.o,args:[{selector:"ion-footer"}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.p},{type:i.O},{type:a.a,decorators:[{type:i.I}]}]},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(91),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.overlaysWebView=function(t){},e.prototype.styleDefault=function(){},e.prototype.styleLightContent=function(){},e.prototype.styleBlackTranslucent=function(){},e.prototype.styleBlackOpaque=function(){},e.prototype.backgroundColorByName=function(t){},e.prototype.backgroundColorByHexString=function(t){},e.prototype.hide=function(){},e.prototype.show=function(){},e.decorators=[{type:i.x}],a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[Boolean]),s("design:returntype",void 0)],e.prototype,"overlaysWebView",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"styleDefault",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"styleLightContent",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"styleBlackTranslucent",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"styleBlackOpaque",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[String]),s("design:returntype",void 0)],e.prototype,"backgroundColorByName",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[String]),s("design:returntype",void 0)],e.prototype,"backgroundColorByHexString",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"hide",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"show",null),a([r.d,s("design:type",Boolean)],e.prototype,"isVisible",void 0),e=a([Object(r.g)({pluginName:"StatusBar",plugin:"cordova-plugin-statusbar",pluginRef:"StatusBar",repo:"https://github.com/apache/cordova-plugin-statusbar",platforms:["Android","iOS","Windows"]})],e)}(r.f)},function(t,e,n){!function(e,i){t.exports=i(n(42))}(0,function(t){return function(){var e=t.lib.WordArray;t.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,i=this._map;t.clamp();for(var r=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s>>6*(3-s)&63));var l=i.charAt(64);if(l)for(;r.length%4;)r.push(l);return r.join("")},parse:function(t){var n=t.length,i=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o>>6-a%4*2;r[o>>>2]|=(s|l)<<24-o%4*8,o++}return e.create(r,o)}(t,n,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),t.enc.Base64})},function(t,e,n){!function(e,i){t.exports=i(n(42))}(0,function(t){return function(e){function n(t,e,n,i,r,o,a){var s=t+(e&n|~e&i)+r+a;return(s<>>32-o)+e}function i(t,e,n,i,r,o,a){var s=t+(e&i|n&~i)+r+a;return(s<>>32-o)+e}function r(t,e,n,i,r,o,a){var s=t+(e^n^i)+r+a;return(s<>>32-o)+e}function o(t,e,n,i,r,o,a){var s=t+(n^(e|~i))+r+a;return(s<>>32-o)+e}var a=t,s=a.lib,l=s.WordArray,c=s.Hasher,u=a.algo,p=[];!function(){for(var t=0;t<64;t++)p[t]=4294967296*e.abs(e.sin(t+1))|0}();var d=u.MD5=c.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var a=0;a<16;a++){var s=e+a,l=t[s];t[s]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var c=this._hash.words,u=t[e+0],d=t[e+1],h=t[e+2],f=t[e+3],m=t[e+4],g=t[e+5],_=t[e+6],y=t[e+7],b=t[e+8],v=t[e+9],w=t[e+10],x=t[e+11],C=t[e+12],k=t[e+13],S=t[e+14],O=t[e+15],E=c[0],A=c[1],P=c[2],T=c[3];A=o(A=o(A=o(A=o(A=r(A=r(A=r(A=r(A=i(A=i(A=i(A=i(A=n(A=n(A=n(A=n(A,P=n(P,T=n(T,E=n(E,A,P,T,u,7,p[0]),A,P,d,12,p[1]),E,A,h,17,p[2]),T,E,f,22,p[3]),P=n(P,T=n(T,E=n(E,A,P,T,m,7,p[4]),A,P,g,12,p[5]),E,A,_,17,p[6]),T,E,y,22,p[7]),P=n(P,T=n(T,E=n(E,A,P,T,b,7,p[8]),A,P,v,12,p[9]),E,A,w,17,p[10]),T,E,x,22,p[11]),P=n(P,T=n(T,E=n(E,A,P,T,C,7,p[12]),A,P,k,12,p[13]),E,A,S,17,p[14]),T,E,O,22,p[15]),P=i(P,T=i(T,E=i(E,A,P,T,d,5,p[16]),A,P,_,9,p[17]),E,A,x,14,p[18]),T,E,u,20,p[19]),P=i(P,T=i(T,E=i(E,A,P,T,g,5,p[20]),A,P,w,9,p[21]),E,A,O,14,p[22]),T,E,m,20,p[23]),P=i(P,T=i(T,E=i(E,A,P,T,v,5,p[24]),A,P,S,9,p[25]),E,A,f,14,p[26]),T,E,b,20,p[27]),P=i(P,T=i(T,E=i(E,A,P,T,k,5,p[28]),A,P,h,9,p[29]),E,A,y,14,p[30]),T,E,C,20,p[31]),P=r(P,T=r(T,E=r(E,A,P,T,g,4,p[32]),A,P,b,11,p[33]),E,A,x,16,p[34]),T,E,S,23,p[35]),P=r(P,T=r(T,E=r(E,A,P,T,d,4,p[36]),A,P,m,11,p[37]),E,A,y,16,p[38]),T,E,w,23,p[39]),P=r(P,T=r(T,E=r(E,A,P,T,k,4,p[40]),A,P,u,11,p[41]),E,A,f,16,p[42]),T,E,_,23,p[43]),P=r(P,T=r(T,E=r(E,A,P,T,v,4,p[44]),A,P,C,11,p[45]),E,A,O,16,p[46]),T,E,h,23,p[47]),P=o(P,T=o(T,E=o(E,A,P,T,u,6,p[48]),A,P,y,10,p[49]),E,A,S,15,p[50]),T,E,g,21,p[51]),P=o(P,T=o(T,E=o(E,A,P,T,C,6,p[52]),A,P,f,10,p[53]),E,A,w,15,p[54]),T,E,d,21,p[55]),P=o(P,T=o(T,E=o(E,A,P,T,b,6,p[56]),A,P,O,10,p[57]),E,A,_,15,p[58]),T,E,k,21,p[59]),P=o(P,T=o(T,E=o(E,A,P,T,m,6,p[60]),A,P,x,10,p[61]),E,A,h,15,p[62]),T,E,v,21,p[63]),c[0]=c[0]+E|0,c[1]=c[1]+A|0,c[2]=c[2]+P|0,c[3]=c[3]+T|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var o=e.floor(i/4294967296),a=i;n[15+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var t=c.clone.call(this);return t._hash=this._hash.clone(),t}});a.MD5=c._createHelper(d),a.HmacMD5=c._createHmacHelper(d)}(Math),t.MD5})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(426))},function(t,e,n){"use strict";n.d(e,"b",function(){return _}),n.d(e,"a",function(){return p}),n.d(e,"c",function(){return v});var i=n(1),r=n(30),o=n(48),a=n(0),s=n(3),l=n(7),c=n(4),u=n(128),p=new a.y("mat-checkbox-click-action"),d=0,h={provide:s.q,useExisting:Object(a._6)(function(){return _}),multi:!0},f={Init:0,Checked:1,Unchecked:2,Indeterminate:3};f[f.Init]="Init",f[f.Checked]="Checked",f[f.Unchecked]="Unchecked",f[f.Indeterminate]="Indeterminate";var m=function(){return function(){}}(),g=function(){return function(t){this._elementRef=t}}(),_=function(t){function e(e,n,i,r,o){var s=t.call(this,e)||this;return s._changeDetectorRef=n,s._focusMonitor=i,s._clickAction=o,s.ariaLabel="",s.ariaLabelledby=null,s._uniqueId="mat-checkbox-"+ ++d,s.id=s._uniqueId,s.labelPosition="after",s.name=null,s.change=new a.s,s.indeterminateChange=new a.s,s._rippleConfig={centered:!0,radius:25,speedFactor:1.5},s.onTouched=function(){},s._currentAnimationClass="",s._currentCheckState=f.Init,s._checked=!1,s._indeterminate=!1,s._controlValueAccessorChangeFn=function(){},s.tabIndex=parseInt(r)||0,s}return Object(i.b)(e,t),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(o.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return"after"==this.labelPosition?"start":"end"},set:function(t){this.labelPosition="start"==t?"after":"before"},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t=this;this._focusMonitor.monitor(this._inputElement.nativeElement).subscribe(function(e){return t._onInputFocusChange(e)})},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._inputElement.nativeElement)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=t,e&&(this._transitionCheckState(this._indeterminate?f.Indeterminate:this.checked?f.Checked:f.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.markForCheck()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this.onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck()},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0&&n.classList.add(this._currentAnimationClass))},e.prototype._emitChangeEvent=function(){var t=new m;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},e.prototype._onInputFocusChange=function(t){this._focusRipple||"keyboard"!==t?t||(this._removeFocusRipple(),this.onTouched()):this._focusRipple=this._ripple.launch(0,0,Object(i.a)({persistent:!0},this._rippleConfig))},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?f.Checked:f.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement.nativeElement,"keyboard")},e.prototype._onInteractionEvent=function(t){t.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(t,e){var n="";switch(t){case f.Init:if(e===f.Checked)n="unchecked-checked";else{if(e!=f.Indeterminate)return"";n="unchecked-indeterminate"}break;case f.Unchecked:n=e===f.Checked?"unchecked-checked":"unchecked-indeterminate";break;case f.Checked:n=e===f.Unchecked?"checked-unchecked":"checked-indeterminate";break;case f.Indeterminate:n=e===f.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},e.prototype._removeFocusRipple=function(){this._focusRipple&&(this._focusRipple.fadeOut(),this._focusRipple=null)},e.decorators=[{type:a.k,args:[{selector:"mat-checkbox",template:'',styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-checkmark,.mat-checkbox-mixedmark{width:calc(100% - 4px)}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer}.mat-checkbox-layout{cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-inner-container{display:inline-block;height:20px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:20px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.66667px}.mat-checkbox-mixedmark{height:2px;opacity:0;transform:scaleX(0) rotate(0)}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-ripple{position:absolute;left:-15px;top:-15px;height:50px;width:50px;z-index:1;pointer-events:none}"],exportAs:"matCheckbox",host:{class:"mat-checkbox","[id]":"id","[class.mat-checkbox-indeterminate]":"indeterminate","[class.mat-checkbox-checked]":"checked","[class.mat-checkbox-disabled]":"disabled","[class.mat-checkbox-label-before]":'labelPosition == "before"'},providers:[h],inputs:["disabled","disableRipple","color","tabIndex"],encapsulation:a._2.None,preserveWhitespaces:!1,changeDetection:a.h.OnPush}]}],e.ctorParameters=function(){return[{type:a.p},{type:a.i},{type:r.j},{type:void 0,decorators:[{type:a.g,args:["tabindex"]}]},{type:void 0,decorators:[{type:a.I},{type:a.w,args:[p]}]}]},e.propDecorators={ariaLabel:[{type:a.A,args:["aria-label"]}],ariaLabelledby:[{type:a.A,args:["aria-labelledby"]}],id:[{type:a.A}],required:[{type:a.A}],align:[{type:a.A}],labelPosition:[{type:a.A}],name:[{type:a.A}],change:[{type:a.J}],indeterminateChange:[{type:a.J}],value:[{type:a.A}],_inputElement:[{type:a.Z,args:["input"]}],_ripple:[{type:a.Z,args:[l.x]}],checked:[{type:a.A}],indeterminate:[{type:a.A}]},e}(Object(l.H)(Object(l.D)(Object(l.E)(Object(l.F)(g)),"accent"))),y={provide:s.p,useExisting:Object(a._6)(function(){return b}),multi:!0},b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.b)(e,t),e.decorators=[{type:a.o,args:[{selector:"mat-checkbox[required][formControlName],\n mat-checkbox[required][formControl], mat-checkbox[required][ngModel]",providers:[y],host:{"[attr.required]":'required ? "" : null'}}]}],e.ctorParameters=function(){return[]},e}(s.b),v=function(){function t(){}return t.decorators=[{type:a.E,args:[{imports:[c.b,l.y,l.n,u.c,r.a],exports:[_,b,l.n],declarations:[_,b]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"c",function(){return c});var i=n(0),r=n(48),o=n(50),a=(n.n(o),n(241)),s=(n.n(a),function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[]},t}()),l=function(){function t(t,e,n){this._mutationObserverFactory=t,this._elementRef=e,this._ngZone=n,this._disabled=!1,this.event=new i.s,this._debouncer=new o.Subject}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(r.b)(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this.debounce>0?this._ngZone.runOutsideAngular(function(){t._debouncer.pipe(Object(a.debounceTime)(t.debounce)).subscribe(function(e){return t.event.emit(e)})}):this._debouncer.subscribe(function(e){return t.event.emit(e)}),this._observer=this._ngZone.runOutsideAngular(function(){return t._mutationObserverFactory.create(function(e){t._debouncer.next(e)})}),this.disabled||this._enable()},t.prototype.ngOnChanges=function(t){t.disabled&&(t.disabled.currentValue?this._disable():this._enable())},t.prototype.ngOnDestroy=function(){this._disable(),this._debouncer.complete()},t.prototype._disable=function(){this._observer&&this._observer.disconnect()},t.prototype._enable=function(){this._observer&&this._observer.observe(this._elementRef.nativeElement,{characterData:!0,childList:!0,subtree:!0})},t.decorators=[{type:i.o,args:[{selector:"[cdkObserveContent]",exportAs:"cdkObserveContent"}]}],t.ctorParameters=function(){return[{type:s},{type:i.p},{type:i.H}]},t.propDecorators={event:[{type:i.J,args:["cdkObserveContent"]}],disabled:[{type:i.A,args:["cdkObserveContentDisabled"]}],debounce:[{type:i.A}]},t}(),c=function(){function t(){}return t.decorators=[{type:i.E,args:[{exports:[l],declarations:[l],providers:[s]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return Error('Unable to find icon with the name "'+t+'"')}function r(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}function o(t,e,n,i){return t||new k(e,n,i)}function a(t){return t.cloneNode(!0)}function s(t,e){return t+":"+e}n.d(e,"c",function(){return A}),n.d(e,"b",function(){return E}),n.d(e,"d",function(){return k}),n.d(e,"a",function(){return o});var l=n(0),c=n(7),u=n(1),p=n(72),d=(n.n(p),n(435)),h=(n.n(d),n(242)),f=(n.n(h),n(437)),m=(n.n(f),n(126)),g=(n.n(m),n(439)),_=(n.n(g),n(65)),y=n(58),b=n(293),v=(n.n(b),n(86)),w=(n.n(v),n(330)),x=(n.n(w),n(4)),C=function(){return function(t){this.url=t,this.svgElement=null}}(),k=function(){function t(t,e,n){this._httpClient=t,this._sanitizer=e,this._document=n,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons"}return t.prototype.addSvgIcon=function(t,e){return this.addSvgIconInNamespace("",t,e)},t.prototype.addSvgIconInNamespace=function(t,e,n){var i=s(t,e);return this._svgIconConfigs.set(i,new C(n)),this},t.prototype.addSvgIconSet=function(t){return this.addSvgIconSetInNamespace("",t)},t.prototype.addSvgIconSetInNamespace=function(t,e){var n=new C(e),i=this._iconSetConfigs.get(t);return i?i.push(n):this._iconSetConfigs.set(t,[n]),this},t.prototype.registerFontClassAlias=function(t,e){return void 0===e&&(e=t),this._fontCssClassesByAlias.set(t,e),this},t.prototype.classNameForFontAlias=function(t){return this._fontCssClassesByAlias.get(t)||t},t.prototype.setDefaultFontSetClass=function(t){return this._defaultFontSetClass=t,this},t.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},t.prototype.getSvgIconFromUrl=function(t){var e=this,n=this._sanitizer.sanitize(l.T.RESOURCE_URL,t);if(!n)throw r(t);var i=this._cachedIconsByUrl.get(n);return i?Object(v.of)(a(i)):this._loadSvgIconFromConfig(new C(t)).pipe(Object(h.tap)(function(t){return e._cachedIconsByUrl.set(n,t)}),Object(m.map)(function(t){return a(t)}))},t.prototype.getNamedSvgIcon=function(t,e){void 0===e&&(e="");var n=s(e,t),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(t,o):Object(w._throw)(i(n))},t.prototype._getSvgFromConfig=function(t){return t.svgElement?Object(v.of)(a(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Object(h.tap)(function(e){return t.svgElement=e}),Object(m.map)(function(t){return a(t)}))},t.prototype._getSvgFromIconSetConfigs=function(t,e){var n=this,r=this._extractIconWithNameFromAnySet(t,e);if(r)return Object(v.of)(r);var o=e.filter(function(t){return!t.svgElement}).map(function(t){return n._loadSvgIconSetFromConfig(t).pipe(Object(d.catchError)(function(e){var i=n._sanitizer.sanitize(l.T.RESOURCE_URL,t.url);return console.log("Loading icon set URL: "+i+" failed: "+e),Object(v.of)(null)}),Object(h.tap)(function(e){e&&(t.svgElement=e)}))});return Object(b.forkJoin)(o).pipe(Object(m.map)(function(){var r=n._extractIconWithNameFromAnySet(t,e);if(!r)throw i(t);return r}))},t.prototype._extractIconWithNameFromAnySet=function(t,e){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.svgElement){var r=this._extractSvgIconFromSet(i.svgElement,t);if(r)return r}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(Object(m.map)(function(t){return e._createSvgElementForSingleIcon(t)}))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(Object(m.map)(function(t){return e._svgElementFromString(t)}))},t.prototype._createSvgElementForSingleIcon=function(t){var e=this._svgElementFromString(t);return this._setSvgAttributes(e),e},t.prototype._extractSvgIconFromSet=function(t,e){var n=t.querySelector("#"+e);if(!n)return null;var i=n.cloneNode(!0);if(i.id="","svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i));var r=this._svgElementFromString("");return r.appendChild(i),this._setSvgAttributes(r)},t.prototype._svgElementFromString=function(t){if(this._document||"undefined"!=typeof document){var e=(this._document||document).createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n}throw new Error("MatIconRegistry could not resolve document.")},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),n=0;n",selector:"mat-icon",exportAs:"matIcon",styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}"],inputs:["color"],host:{role:"img",class:"mat-icon"},encapsulation:l._2.None,preserveWhitespaces:!1,changeDetection:l.h.OnPush}]}],e.ctorParameters=function(){return[{type:l.p},{type:k},{type:void 0,decorators:[{type:l.g,args:["aria-hidden"]}]}]},e.propDecorators={svgIcon:[{type:l.A}],fontSet:[{type:l.A}],fontIcon:[{type:l.A}]},e}(Object(c.D)(O)),A=function(){function t(){}return t.decorators=[{type:l.E,args:[{imports:[c.n],exports:[E,c.n],declarations:[E],providers:[S]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(0),r=n(91),o=n(79),a=(n.n(o),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),s=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getCurrentPosition=function(t){},e.prototype.watchPosition=function(t){return new o.Observable(function(e){var n=navigator.geolocation.watchPosition(e.next.bind(e),e.next.bind(e),t);return function(){return navigator.geolocation.clearWatch(n)}})},e.decorators=[{type:i.x}],s([Object(r.a)({callbackOrder:"reverse"}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"getCurrentPosition",null),e=s([Object(r.g)({pluginName:"Geolocation",plugin:"cordova-plugin-geolocation",pluginRef:"navigator.geolocation",repo:"https://github.com/apache/cordova-plugin-geolocation",install:'ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="To locate you"',installVariables:["GEOLOCATION_USAGE_DESCRIPTION"],platforms:["Amazon Fire OS","Android","Browser","iOS","Windows"]})],e)}(r.f)},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(14),o=n(357),a=n(193),s=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n*,.mat-fab .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}})),h=(o._14("button[mat-button], button[mat-raised-button], button[mat-icon-button],\n button[mat-fab], button[mat-mini-fab]",a.b,function(t){return o._41(0,[(t()(),o._18(0,0,null,null,1,"button",[["mat-button",""]],[[8,"disabled",0]],null,null,i,d)),o._17(1,180224,null,0,a.b,[o.p,c.a,u.j],null,null)],null,function(t,e){t(e,0,0,o._32(e,1).disabled||null)})},{disabled:"disabled",disableRipple:"disableRipple",color:"color"},{},["*"]),o._16({encapsulation:2,styles:[".mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.cdk-keyboard-focused.mat-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-icon-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-mini-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-raised-button .mat-button-focus-overlay,.cdk-program-focused.mat-button .mat-button-focus-overlay,.cdk-program-focused.mat-fab .mat-button-focus-overlay,.cdk-program-focused.mat-icon-button .mat-button-focus-overlay,.cdk-program-focused.mat-mini-fab .mat-button-focus-overlay,.cdk-program-focused.mat-raised-button .mat-button-focus-overlay{opacity:1}.mat-button::-moz-focus-inner,.mat-fab::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-mini-fab::-moz-focus-inner,.mat-raised-button::-moz-focus-inner{border:0}.mat-fab,.mat-mini-fab,.mat-raised-button{transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]),.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{transition:none;opacity:0}.mat-button:hover .mat-button-focus-overlay{opacity:1}.mat-fab{min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}}));o._14("a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab]",a.a,function(t){return o._41(0,[(t()(),o._18(0,0,null,null,1,"a",[["mat-button",""]],[[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==o._32(t,1)._haltDisabledEvents(n)&&i),i},r,h)),o._17(1,180224,null,0,a.a,[c.a,u.j,o.p],null,null)],null,function(t,e){t(e,0,0,o._32(e,1).disabled?-1:0,o._32(e,1).disabled||null,o._32(e,1).disabled.toString())})},{disabled:"disabled",disableRipple:"disableRipple",color:"color"},{},["*"])},function(t,e,n){"use strict";e.a=function(t){return"function"==typeof t}},function(t,e,n){"use strict";var i=n(1),r=function(t){function e(e,n){return t.call(this)||this}return i.b(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(57).a);n.d(e,"a",function(){return o});var o=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return i.b(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(t){n=!0,i=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(r)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(1),r=n(269),o=function(t){function e(n,i){void 0===i&&(i=r.a.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():i()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return i.b(e,t),e.prototype.schedule=function(n,i,r){return void 0===i&&(i=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,i,r):t.prototype.schedule.call(this,n,i,r)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(r.a)},function(t,e,n){"use strict";function i(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.d(e,"a",function(){return r}),i.prototype=Object.create(Error.prototype);var r=i},function(t,e,n){"use strict";function i(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}n.d(e,"a",function(){return r}),i.prototype=Object.create(Error.prototype);var r=i},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},function(t,e,n){"use strict";function i(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(i(function(n,i){return Object(c.a)(t(n,i)).pipe(Object(l.a)(function(t,r){return e(n,t,i,r)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new u(t,n))})}e.a=i;var r=n(1),o=n(47),a=n(46),s=n(96),l=n(76),c=n(83),u=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.project,this.concurrent))},t}(),p=function(t){function e(e,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY);var r=t.call(this,e)||this;return r.project=n,r.concurrent=i,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return r.b(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(a.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return d});var i=n(0),r=n(8),o=n(2),a=n(43),s=n(210),l=n(5),c=n(141),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p=new i.y("USERROOT"),d=function(t){function e(e,n,i,r,o,a,s){var l=t.call(this,o,i,r,"app-root")||this;return l._userCmp=e,l._cfr=n,l._plt=a,s._appRoot=l,l._stopScrollPlugin=window.IonicStopScroll,l}return u(e,t),e.prototype.ngOnInit=function(){var t=this,e=this._cfr.resolveComponentFactory(this._userCmp),n=this._viewport.createComponent(e);this._renderer.setElementClass(n.location.nativeElement,"app-root",!0),n.changeDetectorRef.detectChanges(),this.setElementClass(this._config.get("mode"),!0);var i=this._plt.versions();this._plt.platforms().forEach(function(e){var n="platform-"+e;t.setElementClass(n,!0);var r=i[e];r&&(t.setElementClass(n+=r.major,!0),t.setElementClass(n+"_"+r.minor,!0))}),this._config.getBoolean("hoverCSS",!0)&&this.setElementClass("enable-hover",!0),this._plt.prepareReady()},e.prototype._getPortal=function(t){return t===c.b?this._loadingPortal:t===c.d?this._toastPortal:t===c.c?this._modalPortal:this._overlayPortal},e.prototype._getActivePortal=function(){var t=this._overlayPortal,e=this._modalPortal,n=e.length()>0,i=t.length()>0;if(!n&&!i)return null;if(n&&i){return t.getActive().getZIndex()>e.getActive().getZIndex()?t:e}return n?e:i?t:void 0},e.prototype._disableScroll=function(t){var e=this;if(t)this.stopScroll().then(function(){e._tmr=e._plt.timeout(function(){e.setElementClass("disable-scroll",!0)},32)});else{var n=this._stopScrollPlugin;n&&n.cancel&&n.cancel(),clearTimeout(this._tmr),this.setElementClass("disable-scroll",!1)}},e.prototype.stopScroll=function(){var t=this;return this._stopScrollPlugin?new Promise(function(e){t._stopScrollPlugin.stop(function(){return e(!0)})}):Promise.resolve(!1)},e.decorators=[{type:i.k,args:[{selector:"ion-app",template:'
'}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.w,args:[p]}]},{type:i.l},{type:i.p},{type:i.O},{type:o.a},{type:l.a},{type:r.a}]},e.propDecorators={_viewport:[{type:i.Z,args:["viewport",{read:i._1}]}],_modalPortal:[{type:i.Z,args:["modalPortal",{read:s.a}]}],_overlayPortal:[{type:i.Z,args:["overlayPortal",{read:s.a}]}],_loadingPortal:[{type:i.Z,args:["loadingPortal",{read:s.a}]}],_toastPortal:[{type:i.Z,args:["toastPortal",{read:s.a}]}]},e}(a.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"d",function(){return a});var i=1,r=2,o=3,a=4},function(t,e,n){"use strict";function i(t,e){return t.segmentPartsLen>e.segmentPartsLen?-1:t.segmentPartsLene.staticLen?-1:t.staticLene.dataLen?1:0}function r(t,e,n){return function(t,e){for(var n=[],i=0;i1))break;n.push(o(l,r[r.length-1])),r=r[r.length-1].getActiveChildNavs()}}return n}(t,function(t,e){return function(t,e){for(var n=[],i=new Set,r=0,o=t;r=0;p--){for(var d=!1,h=0;h=n[o]&&(r.push(a.join("/")),a=[],o++),a.push(e[i]);return r.push(a.join("/")),r}(t)),e)}(e,n))}function o(t,e){var n=Object.assign({},t);return n.type=e.getType(),n.navId=e.name||e.id,n.secondaryId=t.secondaryId,n}n.d(e,"b",function(){return l}),e.c=function(t){for(t=(t=t.replace(h,"-")).charAt(0).toLowerCase()+t.substring(1).replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});t.indexOf("--")>-1;)t=t.replace("--","-");return"-"===t.charAt(0)&&(t=t.substring(1)),"-"===t.substring(t.length-1)&&(t=t.substring(0,t.length-1)),encodeURIComponent(t)},n.d(e,"a",function(){return f}),e.d=function(t,e){return new l(t,e)};var a=n(0),s=n(10),l=function(){function t(t,e){this._app=t,this.links=e&&Object(s.e)(e.links)?d(e.links):[]}return t.prototype.parse=function(t){return"/"===t.charAt(0)&&(t=t.substr(1)),t=t.split("?")[0].split("#")[0],r(this._app,t,this.links)},t.prototype.createSegmentFromName=function(t,e){var n=this.getLinkFromName(e);return n?this._createSegment(this._app,t,n,null):null},t.prototype.getLinkFromName=function(t){return this.links.find(function(e){return e.component===t||e.name===t})},t.prototype.serialize=function(t){if(!t||!t.length)return"/";return t.map(function(t){return"tabs"===t.type?t.requiresExplicitNavPrefix?"/"+t.type+"/"+t.navId+"/"+t.secondaryId+"/"+t.id:"/"+t.secondaryId+"/"+t.id:t.requiresExplicitNavPrefix?"/"+t.type+"/"+t.navId+"/"+t.id:"/"+t.id}).join("")},t.prototype.serializeComponent=function(t,e,n){if(e){var i=p(this.links,e,n);if(i)return this._createSegment(this._app,t,i,n)}return null},t.prototype._createSegment=function(t,e,n,i){var r=n.segmentParts;if(Object(s.l)(i)){r=r.slice();var o=Object.keys(i),a=o.length;if(a)for(var l=0;l1:t.getRootNavById(e.id)&&t.getRootNavs().length>1,{id:r.join("/"),name:n.name,component:n.component,loadChildren:n.loadChildren,data:i,defaultHistory:n.defaultHistory,navId:e.name||e.id,type:e.getType(),secondaryId:e.getSecondaryIdentifier(),requiresExplicitNavPrefix:u}},t}(),c=function(t,e){return!(!Object(s.l)(t)||!Object(s.l)(e))&&(":"===e.charAt(0)||t===e)},u=function(t,e){for(var n=null,i=0;i=r&&(i=a,r=l)}}return i},d=function(t){for(var e=0,n=t.length;e|<|;|:|@|&|=/g,f=new a.y("USERLINKS")},function(t,e,n){"use strict";var i=n(0),r=n(10),o=n(2),a=n(9),s=n(84),l="picker-opt-selected",c=n(5),u=n(59),p=n(98);n.d(e,"a",function(){return d});var d=function(){function t(t,e,n,r,o,a,s){this._plt=e,this.elementRef=n,this._zone=r,this._haptic=o,this.y=0,this.pos=[],this.startY=null,this.ionChange=new i.s,this.events=new p.a(a),this.rotateFactor=t.getNumber("pickerRotateFactor",0),this.scaleFactor=t.getNumber("pickerScaleFactor",1),this.decelerateFunc=this.decelerate.bind(this),this.debouncer=s.debouncer()}return t.prototype.ngAfterViewInit=function(){var t=this.colEle.nativeElement;this.colHeight=t.clientHeight,this.optHeight=t.firstElementChild?t.firstElementChild.clientHeight:0,this.events.pointerEvents({element:this.elementRef.nativeElement,pointerDown:this.pointerStart.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerEnd.bind(this),capture:!0,zone:!1})},t.prototype.ngOnDestroy=function(){this._plt.cancelRaf(this.rafId),this.events.destroy()},t.prototype.pointerStart=function(t){this._haptic.gestureSelectionStart(),t.preventDefault(),this._plt.cancelRaf(this.rafId),this.startY=Object(u.f)(t).y,this.velocity=0,this.pos.length=0,this.pos.push(this.startY,Date.now());for(var e=this.col.options,n=e.length-1,i=0,r=0;re.minY?(t=Math.pow(t,.8),e.bounceFrom=t):t0)this.update(this.minY,100,!0,!0);else if(this.bounceFrom<0)this.update(this.maxY,100,!0,!0);else{var e=Object(u.f)(t).y;this.pos.push(e,Date.now());for(var n=this.pos.length-1,i=n,o=Date.now()-100,a=n;a>0&&this.pos[a]>o;a-=2)i=a;if(i!==n){var s=(this.pos[i-1]-this.pos[n-1])/(this.pos[n]-this.pos[i])*(1e3/60);this.velocity=Object(r.a)(-60,s,60)}if(Math.abs(e-this.startY)>3){this.update(this.y+(e-this.startY),0,!0,!0)}this.startY=null,this.decelerate()}},t.prototype.decelerate=function(){var t=0;if(isNaN(this.y)||!this.optHeight)this.update(t,0,!0,!0),this._haptic.gestureSelectionEnd();else if(Math.abs(this.velocity)>0){this.velocity*=.97,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1),(t=Math.round(this.y-this.velocity))>this.minY?(t=this.minY,this.velocity=0):t1;this.update(t,0,!0,!e),e&&(this.rafId=this._plt.raf(this.decelerateFunc))}else if(this.y%this.optHeight!=0){var n=Math.abs(this.y%this.optHeight);this.velocity=n>this.optHeight/2?1:-1,this._haptic.gestureSelectionEnd(),this.decelerate()}var i=Math.max(Math.abs(Math.round(t/this.optHeight)),0);i!==this.lastTempIndex&&this._haptic.gestureSelectionChanged(),this.lastTempIndex=i},t.prototype.optClick=function(t,e){this.velocity||(t.preventDefault(),t.stopPropagation(),this.setSelected(e,150))},t.prototype.setSelected=function(t,e){var n=t>-1?t*this.optHeight*-1:0;this._plt.cancelRaf(this.rafId),this.velocity=0,this.update(n,e,!0,!0)},t.prototype.update=function(t,e,n,i){t=Math.round(t);var r,o,a,s,c,u,p,d,h,f,m=this.colEle.nativeElement.children,g=m.length,_=this.col.selectedIndex=Math.min(Math.max(Math.round(-t/this.optHeight),0),g-1),y=0===e?null:e+"ms",b="scale("+this.scaleFactor+")";for(r=0;r90?c=!1:(0,u=0,p=90,h="rotateX("+d+"deg) ")):(0,p=0,u=s,Math.abs(u)>170&&(c=!1)),f=_===r,c?(h+="translate3d(0px,"+u+"px,"+p+"px) ",1===this.scaleFactor||f||(h+=b)):h="translate3d(-9999px,0px,0px)",e!==a._dur&&(a._dur=e,o.style[this._plt.Css.transitionDuration]=y),h!==a._trans&&(a._trans=h,o.style[this._plt.Css.transform]=h),f!==a._selected&&(a._selected=f,f?o.classList.add(l):o.classList.remove(l));if(this.col.prevSelected=_,n&&(this.y=t),i)if(void 0===this.lastIndex)this.lastIndex=this.col.selectedIndex;else if(this.lastIndex!==this.col.selectedIndex){this.lastIndex=this.col.selectedIndex;var v=this.ionChange;v.observers.length>0&&this._zone.run(v.emit.bind(v,this.col.options[this.col.selectedIndex]))}},t.prototype.refresh=function(){for(var t=this.col.options.length-1,e=0,n=this.col.options,i=0;i{{col.prefix}}
{{col.suffix}}
',host:{"[style.max-width]":"col.columnWidth","[class.picker-opts-left]":'col.align=="left"',"[class.picker-opts-right]":'col.align=="right"'}}]}],t.ctorParameters=function(){return[{type:o.a},{type:c.a},{type:i.p},{type:i.H},{type:s.a},{type:c.a},{type:a.a}]},t.propDecorators={colEle:[{type:i.Z,args:["colEle"]}],col:[{type:i.A}],ionChange:[{type:i.J}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(0),r=function(){function t(){}return t.decorators=[{type:i.o,args:[{selector:"ion-grid, [ion-grid]",host:{class:"grid"}}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i=n(0),r=n(8),o=n(2),a=n(64),s=n(9),l=n(37),c=n(13),u=n(161),p=n(5),d=n(99),h=n(6),f=n(101),m=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=function(t){function e(e,n,i,r,o,a,s,l,c,u,p,d,h,f){var m=t.call(this,n,i,r,o,a,s,l,c,u,p,d,h,f)||this;return m._hasInit=!1,e&&e._setContent(m),n?n.registerChildNav(m):e&&e.getNav()?(m.parent=e.getNav(),m.parent.registerChildNav(m)):i&&!i.getRootNavById(m.id)&&i.registerRootNav(m),m}return m(e,t),Object.defineProperty(e.prototype,"_vp",{set:function(t){this.setViewport(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t=this;this._hasInit=!0;var e=this._linker.getSegmentByNavIdOrName(this.id,this.name);if(e&&(e.component||e.loadChildren))return this._linker.initViews(e).then(function(e){return t.setPages(e,null,null)});if(this._root){var n=!e;return this.push(this._root,this.rootParams,{isNavRoot:this._app.getRootNavById(this.id)===this,updateUrl:n},null)}},Object.defineProperty(e.prototype,"root",{get:function(){return this._root},set:function(t){this._root=t,this._hasInit&&this.setRoot(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.destroy()},e.prototype.initPane=function(){return this._elementRef.nativeElement.hasAttribute("main")},e.prototype.paneChanged=function(t){t&&this.resize()},e.prototype.goToRoot=function(t){return this.setRoot(this._root,this.rootParams,t,null)},e.prototype.getType=function(){return"nav"},e.prototype.getSecondaryIdentifier=function(){return null},e.decorators=[{type:i.k,args:[{selector:"ion-nav",template:'
',encapsulation:i._2.None,providers:[{provide:f.a,useExisting:Object(i._6)(function(){return e})}]}]}],e.ctorParameters=function(){return[{type:h.a,decorators:[{type:i.I}]},{type:c.a,decorators:[{type:i.I}]},{type:r.a},{type:o.a},{type:p.a},{type:i.p},{type:i.H},{type:i.O},{type:i.l},{type:l.l},{type:d.a},{type:a.a,decorators:[{type:i.I}]},{type:s.a},{type:i.r}]},e.propDecorators={_vp:[{type:i.Z,args:["viewport",{read:i._1}]}],root:[{type:i.A}],rootParams:[{type:i.A}],name:[{type:i.A}]},e}(u.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=n(3),o=n(216),a=n(10),s=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._cd=n,this._disabled=!1,this._btns=[],this._ids=-1,this._init=!1,this.ionChange=new i.s,this.id=++l}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(a.o)(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this._btns.find(function(t){return t.checked});t&&this._setActive(t)},t.prototype.writeValue=function(t){this.value=t,this._init&&(this._update(),this.onTouched(),this.ionChange.emit(t)),this._init=!0},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e.value=n,e._update(),e.onTouched(),e.ionChange.emit(n)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype._update=function(){var t=this,e=!1;this._btns.forEach(function(n){n.checked=Object(a.g)(t.value,n.value)&&!e,n.checked&&(t._setActive(n),e=!0)})},t.prototype._setActive=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-activedescendant",t.id)},t.prototype.add=function(t){var e=this;return this._btns.push(t),t.ionSelect.subscribe(function(t){e.onChange(t)}),this.id+"-"+ ++this._ids},t.prototype.remove=function(t){var e=this._btns.indexOf(t);e>-1&&(t.value===this.value&&(this.value=null),this._btns.splice(e,1))},Object.defineProperty(t.prototype,"_header",{set:function(t){t&&(t.id||(t.id="rg-hdr-"+this.id),this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-describedby",t.id))},enumerable:!0,configurable:!0}),t.prototype.onChange=function(t){this.value=t,this._update(),this.onTouched(),this.ionChange.emit(t),this._cd.detectChanges()},t.prototype.onTouched=function(){},t.prototype.setDisabledState=function(t){this.disabled=t},t.decorators=[{type:i.o,args:[{selector:"[radio-group]",host:{role:"radiogroup"},providers:[{provide:r.q,useExisting:t,multi:!0}]}]}],t.ctorParameters=function(){return[{type:i.O},{type:i.p},{type:i.i}]},t.propDecorators={disabled:[{type:i.A}],ionChange:[{type:i.J}],_header:[{type:i.m,args:[o.a]}]},t}(),l=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(0),r=n(3),o=n(2),a=n(100),s=n(111),l=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=function(t){function e(e,n,i,r){return t.call(this,e,n,i,"segment",null,null,null,r)||this}return l(e,t),e.prototype.ngAfterContentInit=function(){var t=this;this._initialize(),this._buttons.forEach(function(e){e.ionSelect.subscribe(function(e){t.value=e.value,t._fireTouched()})})},e.prototype._inputUpdated=function(){if(this._buttons)for(var t=this._buttons.toArray(),e=this.value,n=0,i=t;n',changeDetection:i.h.OnPush,encapsulation:i._2.None}]}],t.ctorParameters=function(){return[{type:i.p},{type:i.O},{type:r.a}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(2),o=n(43),a=n(10),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(e,n,i){var r=t.call(this,e,n,i,"spinner")||this;return r._dur=null,r._paused=!1,r}return s(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this._dur},set:function(t){this._dur=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this._paused},set:function(t){this._paused=Object(a.o)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._init=!0,this.load()},e.prototype.load=function(){if(this._init){this._l=[],this._c=[];var t=this._name||this._config.get("spinner","ios"),e=c[t];if(e){if(e.lines)for(var n=0,i=e.lines;n',host:{"[class.spinner-paused]":"_paused"},changeDetection:i.h.OnPush,encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.p},{type:i.O}]},e.propDecorators={name:[{type:i.A}],duration:[{type:i.A}],paused:[{type:i.A}]},e}(o.a),c={ios:{dur:1e3,lines:12,fn:function(t,e,n){var i="rotate("+(30*e+(e<6?180:-180))+"deg)",r=-(t-t/n*e)+"ms";return{y1:17,y2:29,style:{transform:i,webkitTransform:i,animationDelay:r,webkitAnimationDelay:r}}}},"ios-small":{dur:1e3,lines:12,fn:function(t,e,n){var i="rotate("+(30*e+(e<6?180:-180))+"deg)",r=-(t-t/n*e)+"ms";return{y1:12,y2:20,style:{transform:i,webkitTransform:i,animationDelay:r,webkitAnimationDelay:r}}}},bubbles:{dur:1e3,circles:9,fn:function(t,e,n){var i=-(t-t/n*e)+"ms";return{r:5,style:{top:9*Math.sin(2*Math.PI*e/n)+"px",left:9*Math.cos(2*Math.PI*e/n)+"px",animationDelay:i,webkitAnimationDelay:i}}}},circles:{dur:1e3,circles:8,fn:function(t,e,n){var i=-(t-t/n*e)+"ms";return{r:5,style:{top:9*Math.sin(2*Math.PI*e/n)+"px",left:9*Math.cos(2*Math.PI*e/n)+"px",animationDelay:i,webkitAnimationDelay:i}}}},crescent:{dur:750,circles:1,fn:function(){return{r:26,style:{}}}},dots:{dur:750,circles:3,fn:function(t,e){var n=-110*e+"ms";return{r:6,style:{left:9-9*e+"px",animationDelay:n,webkitAnimationDelay:n}}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(428))},function(t,e,n){"use strict";function i(t){return r._41(0,[r._37(402653184,1,{_searchbarInput:0}),r._37(402653184,2,{_searchbarIcon:0}),r._37(402653184,3,{_cancelButton:0}),(t()(),r._18(3,0,null,null,8,"div",[["class","searchbar-input-container"]],null,null,null,null,null)),(t()(),r._18(4,0,null,null,3,"button",[["class","searchbar-md-cancel"],["clear",""],["color","dark"],["ion-button",""],["mode","md"],["type","button"]],null,[[null,"click"],[null,"mousedown"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.cancelSearchbar(n)&&i}if("mousedown"===e){i=!1!==r.cancelSearchbar(n)&&i}return i},o.b,o.a)),r._17(5,1097728,null,0,a.a,[[8,""],s.a,r.p,r.O],{color:[0,"color"],mode:[1,"mode"],clear:[2,"clear"]},null),(t()(),r._18(6,0,null,0,1,"ion-icon",[["name","md-arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),r._17(7,147456,null,0,l.a,[s.a,r.p,r.O],{name:[0,"name"]},null),(t()(),r._18(8,0,[[2,0],["searchbarIcon",1]],null,0,"div",[["class","searchbar-search-icon"]],null,null,null,null,null)),(t()(),r._18(9,0,[[1,0],["searchbarInput",1]],null,0,"input",[["class","searchbar-input"],["dir","auto"]],[[1,"placeholder",0],[1,"type",0],[1,"autocomplete",0],[1,"autocorrect",0],[1,"spellcheck",0]],[[null,"input"],[null,"blur"],[null,"focus"]],function(t,e,n){var i=!0,r=t.component;if("input"===e){i=!1!==r.inputChanged(n)&&i}if("blur"===e){i=!1!==r.inputBlurred()&&i}if("focus"===e){i=!1!==r.inputFocused()&&i}return i},null,null)),(t()(),r._18(10,0,null,null,1,"button",[["class","searchbar-clear-icon"],["clear",""],["ion-button",""],["type","button"]],null,[[null,"click"],[null,"mousedown"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.clearInput(n)&&i}if("mousedown"===e){i=!1!==r.clearInput(n)&&i}return i},o.b,o.a)),r._17(11,1097728,null,0,a.a,[[8,""],s.a,r.p,r.O],{mode:[0,"mode"],clear:[1,"clear"]},null),(t()(),r._18(12,0,[[3,0]],null,2,"button",[["class","searchbar-ios-cancel"],["clear",""],["ion-button",""],["mode","ios"],["type","button"]],[[8,"tabIndex",0]],[[null,"click"],[null,"mousedown"]],function(t,e,n){var i=!0,r=t.component;if("click"===e){i=!1!==r.cancelSearchbar(n)&&i}if("mousedown"===e){i=!1!==r.cancelSearchbar(n)&&i}return i},o.b,o.a)),r._17(13,1097728,[["cancelButton",4]],0,a.a,[[8,""],s.a,r.p,r.O],{mode:[0,"mode"],clear:[1,"clear"]},null),(t()(),r._39(14,0,["",""]))],function(t,e){var n=e.component;t(e,5,0,"dark","md","");t(e,7,0,"md-arrow-back");t(e,11,0,n._mode,"");t(e,13,0,"ios","")},function(t,e){var n=e.component;t(e,6,0,r._32(e,7)._hidden);t(e,9,0,n.placeholder,n.type,n._autocomplete,n._autocorrect,n._spellcheck);t(e,12,0,n._isActive?1:-1);t(e,14,0,n.cancelButtonText)})}n.d(e,"a",function(){return d}),e.b=i;var r=n(0),o=n(21),a=n(16),s=n(2),l=n(20),c=n(102),u=n(5),p=n(3),d=r._16({encapsulation:2,styles:[],data:{}});r._14("ion-searchbar",c.a,function(t){return r._41(0,[(t()(),r._18(0,0,null,null,1,"ion-searchbar",[],[[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],null,null,i,d)),r._17(1,1294336,null,0,c.a,[s.a,u.a,r.p,r.O,[2,p.r]],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,r._32(e,1)._animated,r._32(e,1)._value,r._32(e,1)._isActive,r._32(e,1)._showCancelButton,r._32(e,1)._shouldAlignLeft,r._32(e,1)._isFocus)})},{color:"color",mode:"mode",disabled:"disabled",cancelButtonText:"cancelButtonText",showCancelButton:"showCancelButton",debounce:"debounce",placeholder:"placeholder",autocomplete:"autocomplete",autocorrect:"autocorrect",spellcheck:"spellcheck",type:"type",animated:"animated"},{ionFocus:"ionFocus",ionChange:"ionChange",ionBlur:"ionBlur",ionInput:"ionInput",ionCancel:"ionCancel",ionClear:"ionClear"},[])},function(t,e,n){"use strict";function i(t){return l._41(2,[l._31(null,0)],null,null)}function r(t){return l._41(2,[l._31(null,0)],null,null)}function o(t){return l._41(2,[(t()(),l._18(0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(t()(),l._18(1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l._17(2,212992,null,0,h.x,[l.p,l.H,d.a,[2,h.m]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),l._31(null,0),(t()(),l._18(4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),l._31(null,1),l._31(null,2)],function(t,e){var n=e.component;t(e,2,0,n._isRippleDisabled(),n._getHostElement())},function(t,e){t(e,1,0,l._32(e,2).unbounded)})}function a(t){return l._41(2,[l._37(402653184,1,{_text:0}),(t()(),l._18(1,0,null,null,6,"div",[["class","mat-list-item-content"]],[[2,"mat-list-item-content-reverse",null],[2,"mat-list-item-disabled",null]],null,null,null,null)),(t()(),l._18(2,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),l._17(3,212992,null,0,h.x,[l.p,l.H,d.a,[2,h.m]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),(t()(),l._18(4,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null]],null,null,m.f,m.c)),l._17(5,49152,null,0,h.v,[],{state:[0,"state"],disabled:[1,"disabled"]},null),(t()(),l._18(6,0,[[1,0],["text",1]],null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),l._31(null,0)],function(t,e){var n=e.component;t(e,3,0,n._isRippleDisabled(),n._getHostElement());t(e,5,0,n.selected?"checked":"unchecked",n.disabled)},function(t,e){var n=e.component;t(e,1,0,"after"==n.checkboxPosition,n.disabled);t(e,2,0,l._32(e,3).unbounded);t(e,4,0,"indeterminate"===l._32(e,5).state,"checked"===l._32(e,5).state,l._32(e,5).disabled)})}function s(t){return l._41(2,[l._31(null,0)],null,null)}n.d(e,"a",function(){return y}),e.d=r,n.d(e,"b",function(){return b}),e.c=o;var l=n(0),c=n(105),u=n(17),p=n(4),d=n(11),h=n(7),f=n(186),m=n(49),g=n(3),_=(l._15(c.c,[],function(t){return l._29([l._30(512,l.l,l._11,[[8,[]],[3,l.l],l.F]),l._30(6144,u.b,null,[p.c]),l._30(4608,u.c,u.c,[[2,u.b]]),l._30(4608,d.a,d.a,[]),l._30(4608,p.l,p.k,[l.D,[2,p.w]]),l._30(512,u.a,u.a,[]),l._30(256,h.f,!0,[]),l._30(512,h.n,h.n,[[2,h.f]]),l._30(512,h.p,h.p,[]),l._30(512,d.b,d.b,[]),l._30(512,h.y,h.y,[]),l._30(512,h.w,h.w,[]),l._30(512,p.b,p.b,[]),l._30(512,f.a,f.a,[]),l._30(512,c.c,c.c,[])])}),l._16({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-avatar,.mat-list .mat-list-option.mat-list-item-avatar,.mat-nav-list .mat-list-item.mat-list-item-avatar,.mat-nav-list .mat-list-option.mat-list-item-avatar,.mat-selection-list .mat-list-item.mat-list-item-avatar,.mat-selection-list .mat-list-option.mat-list-item-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{left:auto;right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-avatar,.mat-list[dense] .mat-list-option.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{left:auto;right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}.mat-list-option:not([disabled]){cursor:pointer}"],data:{}})),y=(l._14("mat-nav-list",c.f,function(t){return l._41(0,[(t()(),l._18(0,0,null,null,1,"mat-nav-list",[["class","mat-nav-list"],["role","navigation"]],null,null,null,i,_)),l._17(1,49152,null,0,c.f,[],null,null)],null,null)},{disableRipple:"disableRipple"},{},["*"]),l._16({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-avatar,.mat-list .mat-list-option.mat-list-item-avatar,.mat-nav-list .mat-list-item.mat-list-item-avatar,.mat-nav-list .mat-list-option.mat-list-item-avatar,.mat-selection-list .mat-list-item.mat-list-item-avatar,.mat-selection-list .mat-list-option.mat-list-item-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{left:auto;right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-avatar,.mat-list[dense] .mat-list-option.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{left:auto;right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}.mat-list-option:not([disabled]){cursor:pointer}"],data:{}})),b=(l._14("mat-list",c.a,function(t){return l._41(0,[(t()(),l._18(0,0,null,null,1,"mat-list",[["class","mat-list"]],null,null,null,r,y)),l._17(1,49152,null,0,c.a,[],null,null)],null,null)},{disableRipple:"disableRipple"},{},["*"]),l._16({encapsulation:2,styles:[],data:{}})),v=(l._14("mat-list-item, a[mat-list-item]",c.b,function(t){return l._41(0,[(t()(),l._18(0,0,null,null,3,"mat-list-item",[["class","mat-list-item"]],null,[[null,"focus"],[null,"blur"]],function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l._32(t,1)._handleFocus()&&i),"blur"===e&&(i=!1!==l._32(t,1)._handleBlur()&&i),i},o,b)),l._17(1,1097728,null,2,c.b,[l.p,[2,c.f]],null,null),l._37(603979776,1,{_lines:1}),l._37(335544320,2,{_hasAvatar:0})],null,null)},{disableRipple:"disableRipple"},{},["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"]),l._16({encapsulation:2,styles:[],data:{}})),w=(l._14("mat-list-option",c.d,function(t){return l._41(0,[(t()(),l._18(0,0,null,null,2,"mat-list-option",[["class","mat-list-item mat-list-option"],["role","option"],["tabindex","-1"]],[[2,"mat-list-item-disabled",null],[2,"mat-list-item-focus",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l._32(t,1)._handleFocus()&&i),"blur"===e&&(i=!1!==l._32(t,1)._handleBlur()&&i),"click"===e&&(i=!1!==l._32(t,1)._handleClick()&&i),i},a,v)),l._17(1,1294336,null,1,c.d,[l.p,l.i,[2,c.g]],null,null),l._37(603979776,1,{_lines:1})],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,l._32(e,1).disabled,l._32(e,1)._hasFocus,l._32(e,1).selected.toString(),l._32(e,1).disabled.toString())})},{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",value:"value",disabled:"disabled",selected:"selected"},{selectionChange:"selectionChange"},["*"]),l._16({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-avatar,.mat-list .mat-list-option.mat-list-item-avatar,.mat-nav-list .mat-list-item.mat-list-item-avatar,.mat-nav-list .mat-list-option.mat-list-item-avatar,.mat-selection-list .mat-list-item.mat-list-item-avatar,.mat-selection-list .mat-list-option.mat-list-item-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{left:auto;right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-avatar,.mat-list[dense] .mat-list-option.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{left:auto;right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:72px;width:calc(100% - 72px);margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{left:auto;right:72px}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}.mat-list-option:not([disabled]){cursor:pointer}"],data:{}}));l._14("mat-selection-list",c.g,function(t){return l._41(0,[(t()(),l._18(0,0,null,null,3,"mat-selection-list",[["class","mat-selection-list"],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==l._32(t,2).focus()&&i),"blur"===e&&(i=!1!==l._32(t,2)._onTouched()&&i),"keydown"===e&&(i=!1!==l._32(t,2)._keydown(n)&&i),i},s,w)),l._36(5120,null,g.q,function(t){return[t]},[c.g]),l._17(2,1097728,null,1,c.g,[l.p,[8,null]],null,null),l._37(603979776,1,{options:1})],null,function(t,e){t(e,0,0,l._32(e,2).tabIndex,l._32(e,2).disabled.toString())})},{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},{selectionChange:"selectionChange"},["*"])},function(t,e,n){"use strict";function i(t){return l._41(2,[],null,null)}function r(t){return l._41(0,[(t()(),l._13(0,null,null,0))],null,null)}function o(t){return l._41(2,[l._31(null,0),(t()(),l._18(1,0,null,null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[2,"mat-expanded",null],[24,"@bodyExpansion",0],[8,"id",0],[1,"aria-labelledby",0]],null,null,null,null)),(t()(),l._18(2,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),l._31(null,1),(t()(),l._13(16777216,null,null,1,null,r)),l._17(5,212992,null,0,m.c,[l.l,l._1],{portal:[0,"portal"]},null),l._31(null,2)],function(t,e){t(e,5,0,e.component._portal)},function(t,e){var n=e.component;t(e,1,0,n.expanded,n._getExpandedState(),n.id,n._headerId)})}function a(t){return l._41(0,[(t()(),l._18(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,function(t,e){t(e,0,0,e.component._getExpandedState())})}function s(t){return l._41(2,[(t()(),l._18(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),l._31(null,0),l._31(null,1),l._31(null,2),(t()(),l._13(16777216,null,null,1,null,a)),l._17(5,16384,null,0,u.j,[l._1,l.W],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,5,0,e.component._showToggle())},null)}n.d(e,"a",function(){return y}),e.d=o,n.d(e,"b",function(){return b}),e.c=s;var l=n(0),c=n(104),u=n(4),p=n(11),d=n(30),h=n(53),f=n(245),m=n(61),g=n(7),_=(l._15(c.b,[],function(t){return l._29([l._30(512,l.l,l._11,[[8,[]],[3,l.l],l.F]),l._30(4608,u.l,u.k,[l.D,[2,u.w]]),l._30(4608,p.a,p.a,[]),l._30(4608,d.l,d.l,[p.a]),l._30(4608,d.k,d.k,[d.l,l.H,u.c]),l._30(136192,d.e,d.c,[[3,d.e],u.c]),l._30(5120,d.p,d.o,[[3,d.p],[2,d.m],u.c]),l._30(5120,d.j,d.h,[[3,d.j],l.H,p.a]),l._30(5120,h.d,h.e,[[3,h.d]]),l._30(512,u.b,u.b,[]),l._30(512,p.b,p.b,[]),l._30(512,d.a,d.a,[]),l._30(512,f.c,f.c,[]),l._30(512,m.g,m.g,[]),l._30(512,c.b,c.b,[])])}),l._16({encapsulation:2,styles:[],data:{}})),y=(l._14("ng-component",c.d,function(t){return l._41(0,[(t()(),l._18(0,0,null,null,1,"ng-component",[],null,null,null,i,_)),l._17(1,180224,null,0,c.d,[c.a,l.i,h.d],null,null)],null,null)},{expanded:"expanded",disabled:"disabled"},{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},[]),l._16({encapsulation:2,styles:[".mat-expansion-panel{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);box-sizing:content-box;display:block;margin:0;transition:margin 225ms cubic-bezier(.4,0,.2,1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-expanded .mat-expansion-panel-content{overflow:visible}.mat-expansion-panel-content,.mat-expansion-panel-content.ng-animating{overflow:hidden}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion .mat-expansion-panel-spacing:first-child{margin-top:0}.mat-accordion .mat-expansion-panel-spacing:last-child{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}})),b=(l._14("mat-expansion-panel",c.c,function(t){return l._41(0,[(t()(),l._18(0,16777216,null,null,3,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,o,y)),l._36(6144,null,g.F,null,[c.c]),l._17(2,1753088,null,1,c.c,[[2,c.a],l.i,h.d,l._1],null,null),l._37(335544320,1,{_lazyContent:0})],null,function(t,e){t(e,0,0,l._32(e,2).expanded,l._32(e,2)._hasSpacing())})},{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle"},{opened:"opened",closed:"closed"},["mat-expansion-panel-header","*","mat-action-row"]),l._16({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}}));l._14("mat-expansion-panel-header",c.e,function(t){return l._41(0,[(t()(),l._18(0,0,null,null,3,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==l._32(t,1)._toggle()&&i),"keydown"===e&&(i=!1!==l._32(t,1)._keydown(n)&&i),i},s,b)),l._17(1,180224,null,0,c.e,[c.c,l.p,d.j,l.i],null,null),l._34(2,{collapsedHeight:0,expandedHeight:1}),l._34(3,{value:0,params:1})],null,function(t,e){t(e,0,0,l._32(e,1).panel._headerId,l._32(e,1).panel.disabled?-1:0,l._32(e,1)._getPanelId(),l._32(e,1)._isExpanded(),l._32(e,1).panel.disabled,l._32(e,1)._isExpanded(),t(e,3,0,l._32(e,1)._getExpandedState(),t(e,2,0,l._32(e,1).collapsedHeight,l._32(e,1).expandedHeight)))})},{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},{},["mat-panel-title","mat-panel-description","*"])},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t);i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},function(t,e,n){"use strict";e.a=function(){}},function(t,e,n){"use strict";function i(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(e,"a",function(){return r}),i.prototype=Object.create(Error.prototype);var r=i},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(67),r=n(203),o=n(205),a=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(1),r=n(63),o=n(57),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return i.b(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.a.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(r.a)},function(t,e,n){"use strict";e.a=function(){for(var t=[],e=0;e=0};var i=n(66)},function(t,e,n){"use strict";var i=n(0),r=n(97),o=n(10),a=n(6),s=n(43),l=n(13),c=n(12),u=n(37),p=n(211),d=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),h=function(t){function e(e,n,i,r){var o=t.call(this,e,e.doc().body,{direction:"x",edge:"start",maxEdgeStart:75,threshold:5,zone:!1,domController:r,gesture:i.createGesture({name:u.b,priority:u.e,disableScroll:!0})})||this;return o._nav=n,o}return d(e,t),e.prototype.canStart=function(e){return this._nav.canSwipeBack()&&t.prototype.canStart.call(this,e)},e.prototype.onSlideBeforeStart=function(t){this._nav.swipeBackStart()},e.prototype.onSlide=function(t,e){e.preventDefault(),e.stopPropagation();this._nav.swipeBackProgress(t.distance/t.max)},e.prototype.onSlideEnd=function(t,e){var n=t.velocity,i=t.distance/t.max,r=n<0,a=Math.abs(t.velocity)>.4,s=Math.abs(t.delta)<.5*Math.abs(t.max),l=!Object(o.t)(r,a,s);this._nav.swipeBackEnd(l,i,n)},e}(p.a);n.d(e,"a",function(){return m});var f=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),m=function(t){function e(e,n,r,o,a,s,l,c,u,p,d,h,f){var m=t.call(this,r,a,l)||this;return m.parent=e,m._app=n,m.config=r,m.plt=o,m._zone=s,m._cfr=c,m._gestureCtrl=u,m._trnsCtrl=p,m._linker=d,m._domCtrl=h,m._errHandler=f,m._ids=-1,m._init=!1,m._queue=[],m._trnsId=null,m._trnsTm=!1,m._views=[],m._zIndexOffset=0,m.viewDidLoad=new i.s,m.viewWillEnter=new i.s,m.viewDidEnter=new i.s,m.viewWillLeave=new i.s,m.viewDidLeave=new i.s,m.viewWillUnload=new i.s,m._sbEnabled=r.getBoolean("swipeBackEnabled"),m._children=[],m.id="n"+ ++g,m._destroyed=!1,m}return f(e,t),Object.defineProperty(e.prototype,"swipeBackEnabled",{get:function(){return this._sbEnabled},set:function(t){this._sbEnabled=Object(o.o)(t),this._swipeBackCheck()},enumerable:!0,configurable:!0}),e.prototype.push=function(t,e,n,i){return this._queueTrns({insertStart:-1,insertViews:[{page:t,params:e}],opts:n},i)},e.prototype.insert=function(t,e,n,i,r){return this._queueTrns({insertStart:t,insertViews:[{page:e,params:n}],opts:i},r)},e.prototype.insertPages=function(t,e,n,i){return this._queueTrns({insertStart:t,insertViews:e,opts:n},i)},e.prototype.pop=function(t,e){return this._queueTrns({removeStart:-1,removeCount:1,opts:t},e)},e.prototype.popTo=function(t,e,n){var i={removeStart:-1,removeCount:-1,opts:e};return Object(a.b)(t)?(i.removeView=t,i.removeStart=1):Object(o.j)(t)&&(i.removeStart=t+1),this._queueTrns(i,n)},e.prototype.popToRoot=function(t,e){return this._queueTrns({removeStart:1,removeCount:-1,opts:t},e)},e.prototype.popAll=function(){for(var t=[],e=this._views.length-1;e>=0;e--)t.push(this.pop(null));return Promise.all(t)},e.prototype.remove=function(t,e,n,i){return void 0===e&&(e=1),this._queueTrns({removeStart:t,removeCount:e,opts:n},i)},e.prototype.removeView=function(t,e,n){return this._queueTrns({removeView:t,removeStart:0,removeCount:1,opts:e},n)},e.prototype.setRoot=function(t,e,n,i){return this.setPages([{page:t,params:e}],n,i)},e.prototype.setPages=function(t,e,n){return Object(o.f)(e)&&(e={}),!0!==e.animate&&(e.animate=!1),this._queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},n)},e.prototype._queueTrns=function(t,e){var n=new Promise(function(e,n){t.resolve=e,t.reject=n});return t.done=e,t.insertViews&&0===t.insertViews.length&&(t.insertViews=void 0),this._queue.push(t),this._nextTrns(),n},e.prototype._success=function(t,e){null!==this._queue?(this._init=!0,this._trnsId=null,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),e.done&&e.done(t.hasCompleted,t.requiresTransition,t.enteringName,t.leavingName,t.direction),e.resolve(t.hasCompleted)):this._fireError("nav controller was destroyed",e)},e.prototype._failed=function(t,e){null!==this._queue?(this._trnsId=null,this._queue.length=0,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),this._fireError(t,e)):this._fireError("nav controller was destroyed",e)},e.prototype._fireError=function(t,e){e.done&&e.done(!1,!1,t),e.reject&&!this._destroyed?e.reject(t):e.resolve(!1)},e.prototype._nextTrns=function(){var t=this;if(this.isTransitioning())return!1;var e=this._queue.shift();if(!e)return!1;var n,i;return this._startTI(e).then(function(){return t._loadLazyLoading(e)}).then(function(){if(i=t.getActive(),n=t._getEnteringView(e,i),!i&&!n)throw"no views in the stack to be removed";n&&n._state===r.h&&t._viewInit(n),e.requiresTransition=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&n!==i}).then(function(){return t._viewTest(n,i,e)}).then(function(){return t._postViewInit(n,i,e)}).then(function(){return t._transition(n,i,e)}).then(function(n){return t._success(n,e)}).catch(function(n){return t._failed(n,e)}),!0},e.prototype._startTI=function(t){var e=this._views.length;if(Object(o.l)(t.removeView)){var n=this.indexOf(t.removeView);if(n<0)return Promise.reject("removeView was not found");t.removeStart+=n}return Object(o.l)(t.removeStart)&&(t.removeStart<0&&(t.removeStart=e-1),t.removeCount<0&&(t.removeCount=e-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===e),t.insertViews&&((t.insertStart<0||t.insertStart>e)&&(t.insertStart=e),t.enteringRequiresTransition=t.insertStart===e),this.setTransitioning(!0),Promise.resolve()},e.prototype._loadLazyLoading=function(t){var e=this,n=t.insertViews;return n?Object(r.i)(this._linker,n).then(function(n){if(0===(n=n.filter(function(t){return null!==t})).length)throw"invalid views to insert";for(var i=0;i=0;r--)if(a=s[r],(r=l)&&a!==e)return a}return null},e.prototype._postViewInit=function(t,e,n){var i,a,s,l=this,c=n.opts||{},u=n.insertViews,p=n.removeStart,d=n.removeCount;if(Object(o.l)(p)){for(s=[],a=0;a0)for(this._zone.run(function(){for(a=0;a_&&!1!==i.disableApp&&this._app.setEnabled(!1,l+b,i.minClickBlockDuration),i.progressAnimation?t.progressStart():t.play()),c.then(function(){return o._zone.run(function(){return o._transitionFinish(t,i)})})},e.prototype._transitionFinish=function(t,e){var n,i,r=t.hasCompleted,o=t.enteringView,a=t.leavingView;return r?(o&&(n=o.name,this._didEnter(o)),a&&(i=a.name,this._didLeave(a)),this._cleanup(o)):this._cleanup(a),t.isRoot()&&(this._trnsCtrl.destroy(t.trnsId),this._app.setEnabled(!0),this.setTransitioning(!1),this.hasChildren()||!1===e.updateUrl||this._linker.navChange(e.direction),!1!==e.keyboardClose&&this.plt.focusOutActiveElement()),{hasCompleted:r,requiresTransition:!0,enteringName:n,leavingName:i,direction:e.direction}},e.prototype._viewsWillLifecycles=function(t,e){var n=this;(t||e)&&this._zone.run(function(){if(e){n._willLeave(e,!t||e.index>t.index)}t&&n._willEnter(t)})},e.prototype._insertViewAt=function(t,e){var n=this._views.indexOf(t);n>-1?this._views.splice(e,0,this._views.splice(n,1)[0]):(t._setNav(this),this._ids++,t.id||(t.id=this.id+"-"+this._ids),this._views.splice(e,0,t))},e.prototype._removeView=function(t){var e=this._views,n=e.indexOf(t);n>=0&&e.splice(n,1)},e.prototype._destroyView=function(t){t._destroy(this._renderer),this._removeView(t)},e.prototype._cleanup=function(t){if(!this._destroyed){var e=this._views.indexOf(t),n=this._views,i=!1,o=void 0,a=void 0;for(a=n.length-1;a>=0;a--)o=n[a],a>e?(this._willUnload(o),this._destroyView(o)):a0},e.prototype.getActiveChildNavs=function(){return this._children},e.prototype.getAllChildNavs=function(){return this._children},e.prototype.registerChildNav=function(t){this._children.push(t)},e.prototype.unregisterChildNav=function(t){this._children=this._children.filter(function(e){return e!==t})},e.prototype.destroy=function(){for(var t,e=this._views,n=0;n0)){this._queueTrns({removeStart:-1,removeCount:1,opts:{direction:r.a,progressAnimation:!0}},null)}},e.prototype.swipeBackProgress=function(t){this._sbTrns&&this._sbGesture&&(this._app.setEnabled(!1,y),this.setTransitioning(!0),this._sbTrns.progressStep(t))},e.prototype.swipeBackEnd=function(t,e,n){if(this._sbTrns&&this._sbGesture){var i=this._sbTrns.getDuration()/(Math.abs(n)+1);this._sbTrns.progressEnd(t,e,i)}},e.prototype._swipeBackCheck=function(){this.canSwipeBack()?(this._sbGesture||(this._sbGesture=new h(this.plt,this,this._gestureCtrl,this._domCtrl)),this._sbGesture.listen()):this._sbGesture&&this._sbGesture.unlisten()},e.prototype.canSwipeBack=function(){return this._sbEnabled&&!this._isPortal&&!this._children.length&&!this.isTransitioning()&&this._app.isEnabled()&&this.canGoBack()},e.prototype.canGoBack=function(){var t=this.getActive();return!(!t||!t.enableBack())},e.prototype.isTransitioning=function(){return this._trnsTm},e.prototype.setTransitioning=function(t){this._trnsTm=t},e.prototype.getActive=function(){return this._views[this._views.length-1]},e.prototype.isActive=function(t){return t===this.getActive()},e.prototype.getByIndex=function(t){return this._views[t]},e.prototype.getPrevious=function(t){t||(t=this.getActive());var e=this._views,n=e.indexOf(t);return n>0?e[n-1]:null},e.prototype.first=function(){return this._views[0]},e.prototype.last=function(){var t=this._views;return t[t.length-1]},e.prototype.indexOf=function(t){return this._views.indexOf(t)},e.prototype.length=function(){return this._views.length},e.prototype.getViews=function(){return this._views},e.prototype.getViewById=function(t){for(var e=0,n=this._views;e=this.threshold){var i=Math.atan2(n,e),r="y"===this.direction?Math.sin(i):Math.cos(i);return this._angle=i,this._isPan=r>this.maxCosine?1:r<-this.maxCosine?-1:0,this.dirty=!1,!0}return!1},t.prototype.angle=function(){return this._angle},t.prototype.pan=function(){return this._isPan},t}(),o=n(59),a=n(98);n.d(e,"a",function(){return s});var s=function(){function t(t,e,n){void 0===n&&(n={}),this.plt=t,this.element=e,Object(i.d)(n,{threshold:20,maxAngle:40,direction:"x",zone:!0,capture:!1,passive:!1}),this.events=new a.a(t),n.domController&&(this.debouncer=n.domController.debouncer()),this.gestute=n.gesture,this.direction=n.direction,this.eventsConfig={element:this.element,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this),zone:n.zone,capture:n.capture,passive:n.passive},n.threshold>0&&(this.detector=new r(n.direction,n.threshold,n.maxAngle))}return t.prototype.listen=function(){this.isListening||(this.pointerEvents=this.events.pointerEvents(this.eventsConfig),this.isListening=!0)},t.prototype.unlisten=function(){this.isListening&&(this.gestute&&this.gestute.release(),this.events.unlistenAll(),this.isListening=!1)},t.prototype.destroy=function(){this.gestute&&this.gestute.destroy(),this.gestute=null,this.unlisten(),this.events.destroy(),this.events=this.element=this.gestute=null},t.prototype.pointerDown=function(t){if(!this.started){if(!this.canStart(t))return!1;if(this.gestute&&(this.gestute.release(),!this.gestute.start()))return!1;this.started=!0,this.captured=!1;var e=Object(o.f)(t);if(this.detector)this.detector.start(e);else if(!this.tryToCapture(t))return this.started=!1,this.captured=!1,this.gestute.release(),!1;return!0}},t.prototype.pointerMove=function(t){var e=this;if(this.captured)this.debouncer.write(function(){e.onDragMove(t)});else{var n=Object(o.f)(t);this.detector.detect(n)&&0!==this.detector.pan()&&(this.tryToCapture(t)||this.abort(t))}},t.prototype.pointerUp=function(t){this.debouncer.cancel(),this.gestute&&this.gestute.release(),this.captured?this.onDragEnd(t):this.notCaptured(t),this.captured=!1,this.started=!1},t.prototype.tryToCapture=function(t){return!(this.gestute&&!this.gestute.capture())&&(this.onDragStart(t),this.captured=!0,!0)},t.prototype.abort=function(t){this.started=!1,this.captured=!1,this.gestute.release(),this.pointerEvents.stop(),this.notCaptured(t)},t.prototype.getNativeElement=function(){return this.element},t.prototype.canStart=function(t){return!0},t.prototype.onDragStart=function(t){},t.prototype.onDragMove=function(t){},t.prototype.onDragEnd=function(t){},t.prototype.notCaptured=function(t){},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(0),r=n(37),o=n(2),a=n(88),s=n(12),l=n(6),c=function(){function t(t,e,n,i,o,a){this._viewCtrl=t,this._elementRef=n,this.gestureBlocker=i.createBlocker(r.a),this.d=o.data,this.mode=e.get("mode"),a.setElementClass(n.nativeElement,"action-sheet-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&a.setElementClass(n.nativeElement,t,!0)}),this.id=++u,this.d.title&&(this.hdrId="acst-hdr-"+this.id),this.d.subTitle&&(this.descId="acst-subhdr-"+this.id)}return t.prototype.ionViewDidLoad=function(){var t=this;this.d.buttons=this.d.buttons.map(function(e){switch("string"==typeof e&&(e={text:e}),e.cssClass||(e.cssClass=""),e.role){case"cancel":return t.cancelButton=e,null;case"destructive":e.cssClass=(e.cssClass+" "||"")+"action-sheet-destructive";break;case"selected":e.cssClass=(e.cssClass+" "||"")+"action-sheet-selected"}return e}).filter(function(t){return null!==t})},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus(),this.enabled=!0},t.prototype.keyUp=function(t){this.enabled&&t.keyCode===a.c&&this._viewCtrl.isLast()&&this.bdClick()},t.prototype.click=function(t){if(this.enabled){var e=!0;t.handler&&!1===t.handler()&&(e=!1),e&&this.dismiss(t.role)}},t.prototype.bdClick=function(){this.enabled&&this.d.enableBackdropDismiss&&(this.cancelButton?this.click(this.cancelButton):this.dismiss("backdrop"))},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(null,t,{minClickBlockDuration:400})},t.prototype.ngOnDestroy=function(){this.d=this.cancelButton=null,this.gestureBlocker.destroy()},t.decorators=[{type:i.k,args:[{selector:"ion-action-sheet",template:'
{{d.title}}
{{d.subTitle}}
',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"},encapsulation:i._2.None}]}],t.ctorParameters=function(){return[{type:l.a},{type:o.a},{type:i.p},{type:r.l},{type:s.a},{type:i.O}]},t.propDecorators={keyUp:[{type:i.v,args:["body:keyup",["$event"]]}]},t}(),u=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n(0),r=n(2),o=n(59),a=n(37),s=n(10),l=n(88),c=n(12),u=n(5),p=n(6),d=function(){function t(t,e,n,i,r,o,s){this._viewCtrl=t,this._elementRef=e,this._renderer=o,this._plt=s,this.gestureBlocker=i.createBlocker(a.a),this.d=r.data,this.mode=this.d.mode||n.get("mode"),this.keyboardResizes=n.getBoolean("keyboardResizes",!1),o.setElementClass(e.nativeElement,"alert-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&o.setElementClass(e.nativeElement,t,!0)}),this.id=++h,this.descId="",this.hdrId="alert-hdr-"+this.id,this.subHdrId="alert-subhdr-"+this.id,this.msgId="alert-msg-"+this.id,this.activeId="",this.lastClick=0,this.d.message?this.descId=this.msgId:this.d.subTitle&&(this.descId=this.subHdrId),this.d.message||(this.d.message="")}return t.prototype.ionViewDidLoad=function(){var t=this,e=this.d;e.buttons=e.buttons.map(function(t){return"string"==typeof t?{text:t}:t}),e.inputs=e.inputs.map(function(e,n){return{type:e.type||"text",name:Object(s.l)(e.name)?e.name:n+"",placeholder:Object(s.l)(e.placeholder)?e.placeholder:"",value:Object(s.l)(e.value)?e.value:"",label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:Object(s.l)(e.id)?e.id:"alert-input-"+t.id+"-"+n,handler:Object(s.l)(e.handler)?e.handler:null,min:Object(s.l)(e.min)?e.min:null,max:Object(s.l)(e.max)?e.max:null}});var n=[];e.inputs.forEach(function(t){n.indexOf(t.type)<0&&n.push(t.type)}),n.length>1&&(n.indexOf("checkbox")>-1||n.indexOf("radio")>-1)&&console.warn("Alert cannot mix input types: "+n.join("/")+". Please see alert docs for more info."),this.inputType=n.length?n[0]:null;var i=this.d.inputs.find(function(t){return t.checked});i&&(this.activeId=i.id);var r=this.d.inputs.length&&this.d.inputs.some(function(t){return!o.a.test(t.type)});!this.keyboardResizes&&r&&this._plt.is("mobile")&&this._renderer.setElementClass(this._elementRef.nativeElement,"alert-top",!0)},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("input,button");t&&setTimeout(function(){return t.focus()}),this.enabled=!0},t.prototype.keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===l.b){if(this.lastClick+1e3

',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"},encapsulation:i._2.None}]}],t.ctorParameters=function(){return[{type:p.a},{type:i.p},{type:r.a},{type:a.l},{type:c.a},{type:i.O},{type:u.a}]},t.propDecorators={keyUp:[{type:i.v,args:["body:keyup",["$event"]]}]},t}(),h=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n(0),r=n(3),o=n(2),a=n(10),s=n(52),l=n(100),c=n(54),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p=function(t){function e(e,n,i,r,o){return t.call(this,e,r,o,"checkbox",!1,n,i,null)||this}return u(e,t),Object.defineProperty(e.prototype,"checked",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!0,configurable:!0}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.value=!this.value,this._fireTouched()},e.prototype._inputNormalize=function(t){return Object(a.o)(t)},e.prototype._inputUpdated=function(){this._item&&this._item.setElementClass("item-checkbox-checked",this._value)},e.decorators=[{type:i.k,args:[{selector:"ion-checkbox",template:'
',host:{"[class.checkbox-disabled]":"_disabled"},providers:[{provide:r.q,useExisting:e,multi:!0}],encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:o.a},{type:s.a},{type:c.a,decorators:[{type:i.I}]},{type:i.p},{type:i.O}]},e.propDecorators={checked:[{type:i.A}],_click:[{type:i.v,args:["click",["$event"]]}]},e}(l.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=n(8),o=n(2),a=n(301),s=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new a.a(this._app,t,this.config)},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[{type:r.a},{type:o.a}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n(0),r=n(10),o=n(2),a=n(37),s=n(88),l=n(12),c=n(6),u=n(143),p=function(){function t(t,e,n,i,r,o){this._viewCtrl=t,this._elementRef=e,this._gestureBlocker=i.createBlocker(a.a),this.d=r.data,this.mode=n.get("mode"),o.setElementClass(e.nativeElement,"picker-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){o.setElementClass(e.nativeElement,t,!0)}),this.id=++d,this.lastClick=0}return t.prototype.ionViewWillLoad=function(){var t=this.d;t.buttons=t.buttons.map(function(t){return Object(r.n)(t)?{text:t}:(t.role&&(t.cssRole="picker-toolbar-"+t.role),t)}),t.columns=t.columns.map(function(t){return Object(r.l)(t.options)||(t.options=[]),t.selectedIndex=t.selectedIndex||0,t.options=t.options.map(function(t){var e={text:"",value:"",disabled:t.disabled};return Object(r.l)(t)&&(Object(r.n)(t)||Object(r.j)(t)?(e.text=t.toString(),e.value=t):(e.text=Object(r.l)(t.text)?t.text:t.value,e.value=Object(r.l)(t.value)?t.value:t.text)),e}),t})},t.prototype.ionViewDidLoad=function(){this.refresh()},t.prototype.ionViewWillEnter=function(){this._gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype.refresh=function(){this._cols.forEach(function(t){return t.refresh()})},t.prototype._colChange=function(){this._viewCtrl.ionChange.emit(this.getSelected())},t.prototype._keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===s.b){if(this.lastClick+1e3\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n ',host:{role:"dialog"},encapsulation:i._2.None}]}],t.ctorParameters=function(){return[{type:c.a},{type:i.p},{type:o.a},{type:a.l},{type:l.a},{type:i.O}]},t.propDecorators={_cols:[{type:i._0,args:[u.a]}],_keyUp:[{type:i.v,args:["body:keyup",["$event"]]}]},t}(),d=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(2),o=n(10),a=n(5),s=n(89),l=function(){function t(t,e,n,i){this._elementRef=t,this._renderer=e,this._plt=i,this._visible=!1,this._fabs=[],this._mode=n.get("mode")}return Object.defineProperty(t.prototype,"_setbuttons",{set:function(t){for(var e=this._fabs=t.toArray(),n="fab-"+this._mode+"-in-list",i=0,r=e;i0&&console.warn("(focus) is deprecated in ion-input, use (ionFocus) instead"),this.blur.observers.length>0&&console.warn("(blur) is deprecated in ion-input, use (ionBlur) instead")},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._onDestroy.next(),this._onDestroy=null},e.prototype.initFocus=function(){this.setFocus()},e.prototype.setFocus=function(){this.isFocus()||this._native.nativeElement.focus()},e.prototype.setBlur=function(){this.isFocus()&&this._native.nativeElement.blur()},e.prototype.onInput=function(t){this.value=t.target.value,this.input.emit(t)},e.prototype.onBlur=function(t){this._fireBlur(),this.blur.emit(t),this._scrollData=null,this._clearOnEdit&&this.hasValue()&&(this._didBlurAfterEdit=!0)},e.prototype.onFocus=function(t){this._fireFocus(),this.focus.emit(t)},e.prototype.onKeydown=function(t){t&&this._clearOnEdit&&this.checkClearOnEdit(t.target.value)},e.prototype._inputUpdated=function(){t.prototype._inputUpdated.call(this);var e=this._native.nativeElement,n=this._value;e.value!==n&&(e.value=n)},e.prototype.clearTextInput=function(){this.value=""},e.prototype.checkClearOnEdit=function(t){this._clearOnEdit&&(this._didBlurAfterEdit&&this.hasValue()&&this.clearTextInput(),this._didBlurAfterEdit=!1)},e.prototype._getScrollData=function(){if(!this._content)return{scrollAmount:0,scrollTo:0,scrollPadding:0,scrollDuration:0,inputSafeY:0};if(this._scrollData)return this._scrollData;var t=this._elementRef.nativeElement;return t=t.closest("ion-item,[ion-item]")||t,this._scrollData=function(t,e,n,i,r){var o=t+n.contentTop-n.scrollTop,a=o+e,s=n.contentTop,l=(r-i-s)/2,c=s+l,u=o>=s&&o<=c,p=oc,h=a>=s&&a<=c,f=a>c,m={scrollAmount:0,scrollTo:0,scrollPadding:0,scrollDuration:0,inputSafeY:0};if(m.scrollPadding=i,u&&h)return m;(d||f||p)&&(m.scrollAmount=l>e?Math.round(c-a):Math.round(s-o),m.inputSafeY=4-(o-s),p&&m.scrollAmount>e&&(m.scrollAmount=e)),m.scrollTo=n.scrollTop-m.scrollAmount;var g=Math.abs(m.scrollAmount)/b;return m.scrollDuration=Math.min(400,Math.max(150,g)),m}(t.offsetTop,t.offsetHeight,this._content.getContentDimensions(),this._keyboardHeight,this._plt.height())},e.prototype._relocateInput=function(t){if(this._relocated!==t){var e=this._plt,n=this.getNativeElement(),i=this._native.nativeElement;if(t){!function(t,e,n){if(e){var i=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,a=e.offsetHeight,s=e.cloneNode(!1),l=s.style;s.classList.add("cloned-input"),s.setAttribute("aria-hidden","true"),l.pointerEvents="none",l.position="absolute",l.top=i+"px",l.left=r+"px",l.width=o+"px",l.height=a+"px";var c=n.cloneNode(!1);c.value=n.value,c.tabIndex=-1,s.appendChild(c),e.parentNode.appendChild(s),e.style.pointerEvents="none"}n.style[t.Css.transform]="scale(0)"}(e,n,i);var r=this._getScrollData().inputSafeY;i.style[e.Css.transform]="translate3d("+(this._plt.isRTL?9999:-9999)+"px,"+r+"px,0)",i.style.opacity="0"}else!function(t,e,n){if(e&&e.parentElement){for(var i=e.parentElement.querySelectorAll(".cloned-input"),r=0;r4&&t._content.scrollTo(0,e.scrollTo,e.scrollDuration)})},e.prototype._pointerStart=function(t){"touchstart"===t.type&&(this._isTouch=!0),(this._isTouch||!this._isTouch&&"mousedown"===t.type)&&this._app.isEnabled()&&(this._coord=Object(u.f)(t))},e.prototype._pointerEnd=function(t){if(this._isTouch&&"mouseup"===t.type||!this._app.isEnabled())t.preventDefault(),t.stopPropagation();else if(this._coord){var e=Object(u.f)(t);Object(u.d)(8,this._coord,e)||this.isFocus()||(t.preventDefault(),t.stopPropagation(),this._jsSetFocus())}this._coord=null},e.prototype._jsSetFocus=function(){var t=this,e=this._content;e||this.setFocus();var n=this._getScrollData();Math.abs(n.scrollAmount)<4?this.setFocus():(this._relocateInput(!0),this.setFocus(),e.scrollTo(0,n.scrollTo,n.scrollDuration,function(){t._relocateInput(!1),t.setFocus()}))},e.decorators=[{type:i.k,args:[{selector:"ion-input,ion-textarea",template:'
',encapsulation:i._2.None,changeDetection:i.h.OnPush,inputs:["value"]}]}],e.ctorParameters=function(){return[{type:l.a},{type:g.a},{type:d.a},{type:s.a},{type:i.p},{type:i.O},{type:c.a,decorators:[{type:i.I}]},{type:m.a,decorators:[{type:i.I}]},{type:r.r,decorators:[{type:i.I}]},{type:p.a}]},e.propDecorators={clearInput:[{type:i.A}],type:[{type:i.A}],readonly:[{type:i.A}],clearOnEdit:[{type:i.A}],_native:[{type:i.Z,args:["textInput",{read:i.p}]}],autocomplete:[{type:i.A}],autocorrect:[{type:i.A}],placeholder:[{type:i.A}],min:[{type:i.A}],max:[{type:i.A}],step:[{type:i.A}],input:[{type:i.J}],blur:[{type:i.J}],focus:[{type:i.J}]},e}(h.a),b=.3},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(0),r=n(5),o=n(10),a=function(){function t(t,e){this._elementRef=t,this._plt=e,this.ionSwipe=new i.s}return t.prototype.isRightSide=function(){return Object(o.m)(this.side,this._plt.isRTL,!0)},t.prototype.width=function(){return this._elementRef.nativeElement.offsetWidth},t.decorators=[{type:i.o,args:[{selector:"ion-item-options"}]}],t.ctorParameters=function(){return[{type:i.p},{type:r.a}]},t.propDecorators={side:[{type:i.A}],ionSwipe:[{type:i.J}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(0),r=n(10),o=n(54),a=n(85),s=n(5),l=n(170),c=function(){function t(t,e,n,r,o){this._plt=e,this._renderer=n,this._elementRef=r,this._zone=o,this._openAmount=0,this._startX=0,this._optsWidthRightSide=0,this._optsWidthLeftSide=0,this._tmr=null,this._optsDirty=!0,this._state=2,this.ionDrag=new i.s,t&&t.containsSlidingItem(!0),r.nativeElement.$ionComponent=this,this.setElementClass("item-wrapper",!0)}return Object.defineProperty(t.prototype,"_itemOptions",{set:function(t){var e=0;this._leftOptions=this._rightOptions=null;for(var n=0,i=t.toArray();n0?t/this._optsWidthRightSide:t<0?t/this._optsWidthLeftSide:0},t.prototype.startSliding=function(t){this._tmr&&(this._plt.cancelTimeout(this._tmr),this._tmr=null),0===this._openAmount&&(this._optsDirty=!0,this._setState(4)),this._startX=t+this._openAmount,this.item.setElementStyle(this._plt.Css.transition,"none")},t.prototype.moveSliding=function(t){if(!this._optsDirty){var e=this._startX-t;switch(this._sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return}if(e>this._optsWidthRightSide){e=(n=this._optsWidthRightSide)+.55*(e-n)}else if(e<-this._optsWidthLeftSide){var n;e=(n=-this._optsWidthLeftSide)+.55*(e-n)}return this._setOpenAmount(e,!1),e}this.calculateOptsWidth()},t.prototype.endSliding=function(t){var e=this._openAmount>0?this._optsWidthRightSide:-this._optsWidthLeftSide,n=this._openAmount>0==!(t<0),i=Math.abs(t)>.3,o=Math.abs(this._openAmount)0){this._setState(t>=this._optsWidthRightSide+30?40:8)}else{if(!(t<0))return this._tmr=i.timeout(function(){n._setState(2),n._tmr=null},600),void this.item.setElementStyle(i.Css.transform,"");this._setState(t<=-this._optsWidthLeftSide-30?80:16)}this.item.setElementStyle(i.Css.transform,"translate3d("+-t+"px,0,0)");var r=this.ionDrag;r.observers.length>0&&r.emit(this)},t.prototype._setState=function(t){t!==this._state&&(this.setElementClass("active-slide",2!==t),this.setElementClass("active-options-right",!!(8&t)),this.setElementClass("active-options-left",!!(16&t)),this.setElementClass("active-swipe-right",!!(32&t)),this.setElementClass("active-swipe-left",!!(64&t)),this._state=t)},t.prototype.close=function(){this._setOpenAmount(0,!0)},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.decorators=[{type:i.k,args:[{selector:"ion-item-sliding",template:'\n \n \n ',changeDetection:i.h.OnPush,encapsulation:i._2.None}]}],t.ctorParameters=function(){return[{type:a.a,decorators:[{type:i.I}]},{type:s.a},{type:i.O},{type:i.p},{type:i.H}]},t.propDecorators={item:[{type:i.m,args:[o.a]}],ionDrag:[{type:i.J}],_itemOptions:[{type:i.n,args:[Object(i._6)(function(){return l.a})]}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(0),r=n(298),o=function(){function t(t){this.elementRef=t,t.nativeElement.$ionComponent=this}return t.prototype.getReorderNode=function(){return Object(r.a)(this.elementRef.nativeElement,null)},t.prototype.onClick=function(t){t.preventDefault(),t.stopPropagation()},t.decorators=[{type:i.k,args:[{selector:"ion-reorder",template:''}]}],t.ctorParameters=function(){return[{type:i.p}]},t.propDecorators={onClick:[{type:i.v,args:["click",["$event"]]}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n(0),r=n(2),o=n(37),a=n(10),s=n(88),l=n(12),c=n(6),u=function(){function t(t,e,n,i,r,a){this._viewCtrl=t,this._config=e,this.gestureBlocker=i.createBlocker(o.a),this.d=r.data,a.setElementClass(n.nativeElement,"loading-"+e.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&a.setElementClass(n.nativeElement,t,!0)}),this.id=++p}return t.prototype.ngOnInit=function(){Object(a.p)(this.d.spinner)&&(this.d.spinner=this._config.get("loadingSpinner",this._config.get("spinner","ios"))),this.showSpinner=Object(a.h)(this.d.spinner)&&"hide"!==this.d.spinner},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this;this.d&&this.d.duration&&(this.durationTimeout=setTimeout(function(){return t.dismiss("backdrop")},this.d.duration))},t.prototype.keyUp=function(t){this._viewCtrl.isLast()&&t.keyCode===s.c&&this.bdClick()},t.prototype.bdClick=function(){this.d.enableBackdropDismiss&&this.dismiss("backdrop")},t.prototype.dismiss=function(t){return this.durationTimeout&&clearTimeout(this.durationTimeout),this._viewCtrl.dismiss(null,t)},t.prototype.ngOnDestroy=function(){this.gestureBlocker.destroy()},t.decorators=[{type:i.k,args:[{selector:"ion-loading",template:'
',host:{role:"dialog"},encapsulation:i._2.None}]}],t.ctorParameters=function(){return[{type:c.a},{type:r.a},{type:i.p},{type:o.l},{type:l.a},{type:i.O}]},t.propDecorators={keyUp:[{type:i.v,args:["body:keyup",["$event"]]}]},t}(),p=-1},function(t,e,n){"use strict";var i=n(0),r=n(8),o=n(81),a=n(2),s=n(15),l=n(9),c=n(37),u=n(10),p=n(18),d=n(211),h=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),f=function(t){function e(e,n,i,r){var o=t.call(this,e,e.doc().body,{direction:"x",edge:n.side,threshold:5,maxEdgeStart:n.maxEdgeStart||50,zone:!1,passive:!0,domController:r,gesture:i.createGesture({name:c.d,priority:c.f,disableScroll:!0})})||this;return o.menu=n,o}return h(e,t),e.prototype.canStart=function(e){var n=this.menu;return!!n.canSwipe()&&(!!n.isOpen||!n.getMenuController().getOpen()&&t.prototype.canStart.call(this,e))},e.prototype.onSlideBeforeStart=function(){this.menu._swipeBeforeStart()},e.prototype.onSlideStart=function(){this.menu._swipeStart()},e.prototype.onSlide=function(t){this.menu._swipeProgress(t.distance/(this.menu.isRightSide!==this.plt.isRTL?t.min:t.max))},e.prototype.onSlideEnd=function(t){var e=this.menu.isRightSide!==this.plt.isRTL?t.min:t.max,n=t.distance/e,i=t.velocity;e=Math.abs(.5*e);this.menu._swipeEnd(i<=0&&(i<-.2||t.delta<-e),i>=0&&(i>.2||t.delta>e),n,i)},e.prototype.getElementStartPos=function(t){var e=this.menu;return e.isRightSide!==this.plt.isRTL?e.isOpen?t.min:t.max:e.isOpen?t.max:t.min},e.prototype.getSlideBoundaries=function(){var t=this.menu;return t.isRightSide!==this.plt.isRTL?{min:-t.width(),max:0}:{min:0,max:t.width()}},e}(d.a),m=n(22),g=n(145),_=n(5),y=n(98),b=n(101);n.d(e,"a",function(){return v});var v=function(){function t(t,e,n,r,o,a,s,l,u){this._menuCtrl=t,this._elementRef=e,this._config=n,this._plt=r,this._renderer=o,this._keyboard=a,this._gestureCtrl=s,this._domCtrl=l,this._app=u,this._isSwipeEnabled=!0,this._isAnimating=!1,this._isPersistent=!1,this._init=!1,this._isPane=!1,this.isOpen=!1,this.isRightSide=!1,this.ionDrag=new i.s,this.ionOpen=new i.s,this.ionClose=new i.s,this._events=new y.a(r),this._gestureBlocker=s.createBlocker({disable:[c.b]}),this.side="start"}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){var e=Object(u.o)(t);this.enable(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"side",{get:function(){return this._side},set:function(t){this.isRightSide=Object(u.m)(t,this._plt.isRTL),this._side=this.isRightSide?"right":"left"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"swipeEnabled",{get:function(){return this._isSwipeEnabled},set:function(t){var e=Object(u.o)(t);this.swipeEnable(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"persistent",{get:function(){return this._isPersistent},set:function(t){this._isPersistent=Object(u.o)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._init=!0;var e=this.content;if(this._cntEle=e instanceof Node?e:e&&e.getNativeElement&&e.getNativeElement(),!this._cntEle)return console.error('Menu: must have a [content] element to listen for drag events on. Example:\n\n\n\n');this.setElementAttribute("side",this._side),this.type||(this.type=this._config.get("menuType")),this.setElementAttribute("type",this.type),this._gesture=new f(this._plt,this,this._gestureCtrl,this._domCtrl),this._cntEle.classList.add("menu-content"),this._cntEle.classList.add("menu-content-"+this.type);var n=this._isEnabled;!0!==n&&void 0!==n||(n=!this._menuCtrl.getMenus().some(function(e){return e.side===t.side&&e.enabled})),this._menuCtrl._register(this),this.enable(n)},t.prototype.onBackdropClick=function(t){t.preventDefault(),t.stopPropagation(),this._menuCtrl.close()},t.prototype._getType=function(){return this._type||(this._type=m.a.create(this.type,this,this._plt),!1===this._config.get("animate")&&this._type.ani.duration(0)),this._type},t.prototype.setOpen=function(t,e){var n=this;return void 0===e&&(e=!0),t===this.isOpen||!this._canOpen()||this._isAnimating?Promise.resolve(this.isOpen):new Promise(function(i){n._before(),n._getType().setOpen(t,e,function(){n._after(t),i(n.isOpen)})})},t.prototype._forceClosing=function(){var t=this;this._isAnimating=!0,this._getType().setOpen(!1,!1,function(){t._after(!1)})},t.prototype.canSwipe=function(){return this._isSwipeEnabled&&!this._isAnimating&&this._canOpen()&&this._app.isEnabled()},t.prototype.isAnimating=function(){return this._isAnimating},t.prototype._swipeBeforeStart=function(){this.canSwipe()&&this._before()},t.prototype._swipeStart=function(){this._isAnimating&&this._getType().setProgressStart(this.isOpen)},t.prototype._swipeProgress=function(t){if(this._isAnimating){this._getType().setProgessStep(t);var e=this.ionDrag;e.observers.length>0&&e.emit(t)}},t.prototype._swipeEnd=function(t,e,n,i){var r=this;if(this._isAnimating){var o=this.isRightSide,a=this._plt.isRTL,s=!this.isOpen?o!==a?t:e:o!==a?e:t;this._getType().setProgressEnd(s,n,i,function(t){r._after(t)})}},t.prototype._before=function(){this.setElementClass("show-menu",!0),this.backdrop.setElementClass("show-backdrop",!0),this.resize(),this._keyboard.close(),this._isAnimating=!0},t.prototype._after=function(t){if(this._app.setEnabled(!1,100),this.isOpen=t,this._isAnimating=!1,this._events.unlistenAll(),t){this._gestureBlocker.block(),this._cntEle.classList.add("menu-content-open");var e=this.onBackdropClick.bind(this);this._events.listen(this._cntEle,"click",e,{capture:!0}),this._events.listen(this.backdrop.getNativeElement(),"click",e,{capture:!0}),this.ionOpen.emit(!0)}else this._gestureBlocker.unblock(),this._cntEle.classList.remove("menu-content-open"),this.setElementClass("show-menu",!1),this.backdrop.setElementClass("show-menu",!1),this.ionClose.emit(!0)},t.prototype.open=function(){return this.setOpen(!0)},t.prototype.close=function(){return this.setOpen(!1)},t.prototype.resize=function(){var t=this.menuContent?this.menuContent:this.menuNav;t&&t.resize()},t.prototype.toggle=function(){return this.setOpen(!this.isOpen)},t.prototype._canOpen=function(){return this._isEnabled&&!this._isPane},t.prototype._updateState=function(){var t=this._canOpen();if(!t&&this.isOpen&&this._forceClosing(),this._isEnabled&&this._menuCtrl&&this._menuCtrl._setActiveMenu(this),this._init){var e=this._gesture;t&&this._isSwipeEnabled&&!e.isListening?e.listen():!e.isListening||t&&this._isSwipeEnabled||e.unlisten(),(this.isOpen||this._isPane&&this._isEnabled)&&this.resize()}},t.prototype.enable=function(t){return this._isEnabled=t,this.setElementClass("menu-enabled",t),this._updateState(),this},t.prototype.initPane=function(){return!1},t.prototype.paneChanged=function(t){this._isPane=t,this._updateState()},t.prototype.swipeEnable=function(t){return this._isSwipeEnabled=t,this._updateState(),this},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.getMenuElement=function(){return this.getNativeElement().querySelector(".menu-inner")},t.prototype.getContentElement=function(){return this._cntEle},t.prototype.getBackdropElement=function(){return this.backdrop.getNativeElement()},t.prototype.width=function(){return this.getMenuElement().offsetWidth},t.prototype.getMenuController=function(){return this._menuCtrl},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.getElementRef=function(){return this._elementRef},t.prototype.ngOnDestroy=function(){this._menuCtrl._unregister(this),this._events.destroy(),this._gesture&&this._gesture.destroy(),this._type&&this._type.destroy(),this._gesture=null,this._type=null,this._cntEle=null},t.decorators=[{type:i.k,args:[{selector:"ion-menu",template:'',host:{role:"navigation"},changeDetection:i.h.OnPush,encapsulation:i._2.None,providers:[{provide:b.a,useExisting:Object(i._6)(function(){return t})}]}]}],t.ctorParameters=function(){return[{type:m.a},{type:i.p},{type:a.a},{type:_.a},{type:i.O},{type:p.a},{type:c.l},{type:l.a},{type:r.a}]},t.propDecorators={backdrop:[{type:i.Z,args:[o.a]}],menuContent:[{type:i.m,args:[s.a]}],menuNav:[{type:i.m,args:[g.a]}],content:[{type:i.A}],id:[{type:i.A}],type:[{type:i.A}],enabled:[{type:i.A}],side:[{type:i.A}],swipeEnabled:[{type:i.A}],persistent:[{type:i.A}],maxEdgeStart:[{type:i.A}],ionDrag:[{type:i.J}],ionOpen:[{type:i.J}],ionClose:[{type:i.J}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n(0),r=n(88),o=n(12),a=n(6),s=n(37),l=n(120),c=function(){function t(t,e,n,i,r,o,a){this._cfr=t,this._renderer=e,this._elementRef=n,this._navParams=i,this._viewCtrl=r,this.moduleLoader=a;var l=i.get("opts");this._gestureBlocker=o.createBlocker({disable:[s.d,s.b]}),this._bdDismiss=l.enableBackdropDismiss,l.cssClass&&l.cssClass.split(" ").forEach(function(t){""!==t.trim()&&e.setElementClass(n.nativeElement,t,!0)})}return t.prototype.ionViewPreLoad=function(){var t=this._navParams.data.component;if(t){var e=this.moduleLoader.getComponentFactoryResolver(t);e||(e=this._cfr);var n=e.resolveComponentFactory(t),i=this._viewport.createComponent(n,this._viewport.length,this._viewport.parentInjector,[]);this._setCssClass(i,"ion-page"),this._setCssClass(i,"show-page"),this._viewCtrl._setInstance(i.instance),this._viewCtrl.willEnter.subscribe(this._viewWillEnter.bind(this)),this._viewCtrl.didLeave.subscribe(this._viewDidLeave.bind(this)),this._enabled=!0}else console.warn("modal's page was not defined")},t.prototype._viewWillEnter=function(){this._gestureBlocker.block()},t.prototype._viewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype._setCssClass=function(t,e){this._renderer.setElementClass(t.location.nativeElement,e,!0)},t.prototype._bdClick=function(){if(this._enabled&&this._bdDismiss){return this._viewCtrl.dismiss(null,"backdrop",{minClickBlockDuration:400})}},t.prototype._keyUp=function(t){this._enabled&&this._viewCtrl.isLast()&&t.keyCode===r.c&&this._bdClick()},t.prototype.ngOnDestroy=function(){this._gestureBlocker.destroy()},t.decorators=[{type:i.k,args:[{selector:"ion-modal",template:''}]}],t.ctorParameters=function(){return[{type:i.l},{type:i.O},{type:i.p},{type:o.a},{type:a.a},{type:s.l},{type:l.b}]},t.propDecorators={_viewport:[{type:i.Z,args:["viewport",{read:i._1}]}],_keyUp:[{type:i.v,args:["body:keyup",["$event"]]}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(8),o=n(2),a=n(309),s=n(64),l=function(){function t(t,e,n){this._app=t,this.config=e,this.deepLinker=n}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new a.a(this._app,t,e,n,this.config,this.deepLinker)},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[{type:r.a},{type:o.a},{type:s.a}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n(0),r=n(2),o=n(88),a=n(12),s=n(6),l=n(37),c=n(120),u=function(){function t(t,e,n,i,r,o,a,s){this._cfr=t,this._elementRef=e,this._renderer=n,this._config=i,this._navParams=r,this._viewCtrl=o,this.moduleLoader=s,this._gestureBlocker=a.createBlocker(l.a),this.d=r.data.opts,n.setElementClass(e.nativeElement,"popover-"+i.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&n.setElementClass(e.nativeElement,t,!0)}),this.id=++p}return t.prototype.ionViewPreLoad=function(){this._load(this._navParams.data.component)},t.prototype._load=function(t){if(t){var e=this.moduleLoader.getComponentFactoryResolver(t);e||(e=this._cfr);var n=e.resolveComponentFactory(t),i=this._viewport.createComponent(n,this._viewport.length,this._viewport.parentInjector,[]);this._viewCtrl._setInstance(i.instance),this._enabled=!0,this._viewCtrl.willEnter.subscribe(this._viewWillEnter.bind(this)),this._viewCtrl.didLeave.subscribe(this._viewDidLeave.bind(this))}},t.prototype._viewWillEnter=function(){this._gestureBlocker.block()},t.prototype._viewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype._setCssClass=function(t,e){this._renderer.setElementClass(t.location.nativeElement,e,!0)},t.prototype._bdClick=function(){if(this._enabled&&this.d.enableBackdropDismiss)return this._viewCtrl.dismiss(null,"backdrop")},t.prototype._keyUp=function(t){this._enabled&&t.keyCode===o.c&&this._viewCtrl.isLast()&&this._bdClick()},t.prototype.ngOnDestroy=function(){this._gestureBlocker.destroy()},t.decorators=[{type:i.k,args:[{selector:"ion-popover",template:'
'}]}],t.ctorParameters=function(){return[{type:i.l},{type:i.p},{type:i.O},{type:r.a},{type:a.a},{type:s.a},{type:l.l},{type:c.b}]},t.propDecorators={_viewport:[{type:i.Z,args:["viewport",{read:i._1}]}],_keyUp:[{type:i.v,args:["body:keyup",["$event"]]}]},t}(),p=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n(0),r=n(2),o=n(52),a=n(43),s=n(10),l=n(54),c=n(146),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p=function(t){function e(e,n,r,o,a,s){var l=t.call(this,n,r,o,"radio")||this;return l._form=e,l._item=a,l._group=s,l._checked=!1,l._disabled=!1,l._value=null,l.ionSelect=new i.s,e.register(l),s&&(l.id="rb-"+s.add(l)),a&&(l.id="rb-"+a.registerInput("radio"),l._labelId="lbl-"+a.id,l._item.setElementClass("item-radio",!0)),l}return u(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor(t),this._item&&this._item._updateColor(t,"item-radio")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return Object(s.f)(this._value)?this.id:this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=Object(s.o)(t),this._item&&this._item.setElementClass("item-radio-checked",this._checked)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||null!=this._group&&this._group.disabled},set:function(t){this._disabled=Object(s.o)(t),this._item&&this._item.setElementClass("item-radio-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.initFocus=function(){this._elementRef.nativeElement.querySelector("button").focus()},e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.checked=!0,this.ionSelect.emit(this.value)},e.prototype.ngOnInit=function(){this._group&&Object(s.l)(this._group.value)&&(this.checked=Object(s.g)(this._group.value,this.value)),this._group&&this._group.disabled&&(this.disabled=this._group.disabled)},e.prototype.ngOnDestroy=function(){this._form.deregister(this),this._group&&this._group.remove(this)},e.decorators=[{type:i.k,args:[{selector:"ion-radio",template:'
',host:{"[class.radio-disabled]":"_disabled"},encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:o.a},{type:r.a},{type:i.p},{type:i.O},{type:l.a,decorators:[{type:i.I}]},{type:c.a,decorators:[{type:i.I}]}]},e.propDecorators={color:[{type:i.A}],ionSelect:[{type:i.J}],value:[{type:i.A}],checked:[{type:i.A}],disabled:[{type:i.A}],_click:[{type:i.v,args:["click",["$event"]]}]},e}(a.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(0),r=n(10),o=function(){function t(){this._scrollX=!1,this._scrollY=!1,this._zoom=!1,this._maxZoom=1,this.maxScale=3,this.zoomDuration=250}return Object.defineProperty(t.prototype,"scrollX",{get:function(){return this._scrollX},set:function(t){this._scrollX=Object(r.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollY",{get:function(){return this._scrollY},set:function(t){this._scrollY=Object(r.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this._zoom},set:function(t){this._zoom=Object(r.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxZoom",{get:function(){return this._maxZoom},set:function(t){this._maxZoom=t},enumerable:!0,configurable:!0}),t.prototype.addScrollEventListener=function(t){var e=this._scrollContent.nativeElement;return e.addEventListener("scroll",t),function(){e.removeEventListener("scroll",t)}},t.decorators=[{type:i.k,args:[{selector:"ion-scroll",template:'
',host:{"[class.scroll-x]":"scrollX","[class.scroll-y]":"scrollY"},changeDetection:i.h.OnPush,encapsulation:i._2.None}]}],t.ctorParameters=function(){return[]},t.propDecorators={scrollX:[{type:i.A}],scrollY:[{type:i.A}],zoom:[{type:i.A}],maxZoom:[{type:i.A}],_scrollContent:[{type:i.Z,args:["scrollContent",{read:i.p}]}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(0),r=n(12),o=n(6),a=function(){function t(t,e){this.navParams=t,this.viewController=e}return Object.defineProperty(t.prototype,"value",{get:function(){var t=this.options.find(function(t){return t.checked});return t?t.value:void 0},set:function(t){var e=this.options.find(function(e){return e.value===t});e&&e.handler&&e.handler(),this.viewController.dismiss(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.options=this.navParams.data.options},t.decorators=[{type:i.k,args:[{template:'\n \n \n {{option.text}}\n \n \n \n '}]}],t.ctorParameters=function(){return[{type:r.a},{type:o.a}]},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=n(2),o=n(12),a=n(6),s=function(){function t(t,e,n,i,r){this._viewCtrl=t,this._config=e,this._elementRef=n,this.dismissTimeout=void 0,r.setElementClass(n.nativeElement,"toast-"+e.get("mode"),!0),this.d=i.data,this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&r.setElementClass(n.nativeElement,t,!0)}),this.id=++l,this.d.message&&(this.hdrId="toast-hdr-"+this.id)}return t.prototype.ngAfterViewInit=function(){var t=this;this.d.duration&&(this.dismissTimeout=setTimeout(function(){t.dismiss("backdrop")},this.d.duration)),this.enabled=!0},t.prototype.ionViewDidEnter=function(){var t=document.activeElement;t&&t.blur();var e=this._elementRef.nativeElement.querySelector("button");e&&e.focus()},t.prototype.cbClick=function(){this.enabled&&this.dismiss("close")},t.prototype.dismiss=function(t){return clearTimeout(this.dismissTimeout),this.dismissTimeout=void 0,this._viewCtrl.dismiss(null,t,{disableApp:!1})},t.decorators=[{type:i.k,args:[{selector:"ion-toast",template:'
{{d.message}}
',host:{role:"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"}}]}],t.ctorParameters=function(){return[{type:a.a},{type:r.a},{type:i.p},{type:o.a},{type:i.O}]},t}(),l=-1},function(t,e,n){"use strict";var i=n(0),r=n(3),o=n(2),a=n(9),s=n(52),l=n(37),c=n(84),u=n(10),p=n(100),d=n(54),h=n(88),f=n(5),m=n(162),g=n(59),_=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),y=function(t){function e(e,n,i,r){var o=t.call(this,e,n.getNativeElement(),{threshold:0,zone:!1,domController:r,gesture:i.createGesture({name:l.k,priority:l.i})})||this;return o.toggle=n,o}return _(e,t),e.prototype.canStart=function(){return!0},e.prototype.onDragStart=function(t){t.preventDefault(),this.toggle._onDragStart(Object(g.f)(t).x)},e.prototype.onDragMove=function(t){t.preventDefault(),this.toggle._onDragMove(Object(g.f)(t).x)},e.prototype.onDragEnd=function(t){t.preventDefault(),this.toggle._onDragEnd(Object(g.f)(t).x)},e}(m.a);n.d(e,"a",function(){return v});var b=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=function(t){function e(e,n,i,r,o,a,s,l,c,u){var p=t.call(this,n,r,o,"toggle",!1,e,s,null)||this;return p._plt=i,p._haptic=a,p._gestureCtrl=l,p._domCtrl=c,p._zone=u,p._activated=!1,p}return b(e,t),Object.defineProperty(e.prototype,"checked",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._initialize(),this._gesture=new y(this._plt,this,this._gestureCtrl,this._domCtrl),this._gesture.listen()},e.prototype._inputUpdated=function(){},e.prototype._inputNormalize=function(t){return Object(u.o)(t)},e.prototype._onDragStart=function(t){var e=this;this._zone.run(function(){e._startX=t,e._fireFocus(),e._activated=!0})},e.prototype._onDragMove=function(t){var e=this;this._startX&&this._shouldToggle(t,-15)&&this._zone.run(function(){e.value=!e.value,e._startX=t,e._haptic.selection()})},e.prototype._onDragEnd=function(t){var e=this;this._startX&&this._zone.run(function(){e._shouldToggle(t,4)&&(e.value=!e.value,e._haptic.selection()),e._activated=!1,e._fireBlur(),e._startX=null})},e.prototype._shouldToggle=function(t,e){var n=!this._plt.isRTL,i=this._startX;return this._value?n&&i+e>t||!n&&i-et},e.prototype._keyup=function(t){t.keyCode!==h.f&&t.keyCode!==h.b||(t.preventDefault(),t.stopPropagation(),this.value=!this.value)},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._gesture&&this._gesture.destroy()},e.decorators=[{type:i.k,args:[{selector:"ion-toggle",template:'
',host:{"[class.toggle-disabled]":"_disabled","[class.toggle-checked]":"_value","[class.toggle-activated]":"_activated"},providers:[{provide:r.q,useExisting:e,multi:!0}],encapsulation:i._2.None}]}],e.ctorParameters=function(){return[{type:s.a},{type:o.a},{type:f.a},{type:i.p},{type:i.O},{type:c.a},{type:d.a,decorators:[{type:i.I}]},{type:l.l},{type:a.a},{type:i.H}]},e.propDecorators={checked:[{type:i.A}],_keyup:[{type:i.v,args:["keyup",["$event"]]}]},e}(p.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(91),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=this&&this.__decorate||function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.show=function(){},e.prototype.hide=function(){},e.decorators=[{type:i.x}],e.ctorParameters=function(){return[]},a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"show",null),a([Object(r.a)({sync:!0}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"hide",null),e=a([Object(r.g)({pluginName:"SplashScreen",plugin:"cordova-plugin-splashscreen",pluginRef:"navigator.splashscreen",repo:"https://github.com/apache/cordova-plugin-splashscreen",platforms:["Amazon Fire OS","Android","BlackBerry 10","iOS","Tizen","Ubuntu","Windows","Windows Phone"]})],e)}(r.f)},function(t,e,n){!function(e,i){t.exports=i(n(42))}(0,function(t){return function(e){var n=t.lib,i=n.Base,r=n.WordArray,o=t.x64={};o.Word=i.extend({init:function(t,e){this.high=t,this.low=e}}),o.WordArray=i.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:8*t.length},toX32:function(){for(var t=this.words,e=t.length,n=[],i=0;i